2018-05-14 19:38:43 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <nios2-qemu.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "qemu_nios2";
|
|
|
|
compatible = "qemu,nios2";
|
|
|
|
|
|
|
|
aliases {
|
2018-11-09 20:48:55 +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-20 10:21:14 +08:00
|
|
|
zephyr,console = &ns16550_uart;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &ns16550_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>;
|
|
|
|
};
|