2018-05-14 19:38:43 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <nios2-qemu.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "qemu_nios2";
|
|
|
|
compatible = "qemu,nios2";
|
|
|
|
|
|
|
|
aliases {
|
2018-09-14 16:55:04 +08:00
|
|
|
uart_0 = &jtag_uart;
|
|
|
|
uart_1 = &ns16550_uart;
|
2018-05-14 19:38:43 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
2018-09-14 16:55:04 +08:00
|
|
|
zephyr,console = &jtag_uart;
|
2018-05-14 19:38:43 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-09-14 16:55:04 +08:00
|
|
|
&jtag_uart {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&ns16550_uart {
|
2018-05-14 19:38:43 +08:00
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|