2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-05-14 19:10:47 +08:00
|
|
|
#include "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2020-03-28 01:22:55 +08:00
|
|
|
cpu: cpu@0 {
|
2018-05-14 19:10:47 +08:00
|
|
|
device_type = "cpu";
|
2020-03-28 01:22:55 +08:00
|
|
|
compatible = "qemu,nios2-zephyr";
|
2018-05-14 19:10:47 +08:00
|
|
|
reg = <0>;
|
2020-03-28 01:22:55 +08:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
2018-05-14 19:10:47 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-07-03 00:49:09 +08:00
|
|
|
flash0: flash@420000 {
|
2018-09-21 07:39:55 +08:00
|
|
|
compatible = "soc-nv-flash";
|
2018-05-14 19:10:47 +08:00
|
|
|
reg = <0x420000 0x20000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@400000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x400000 0x20000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
2020-03-28 01:22:55 +08:00
|
|
|
interrupt-parent = <&cpu>;
|
2018-05-14 19:10:47 +08:00
|
|
|
ranges;
|
|
|
|
|
2018-09-14 16:55:04 +08:00
|
|
|
jtag_uart: uart@201000 {
|
2020-10-21 04:05:49 +08:00
|
|
|
compatible = "altr,jtag-uart";
|
2018-05-14 19:10:47 +08:00
|
|
|
reg = <0x201000 0x400>;
|
|
|
|
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-09-14 16:55:04 +08:00
|
|
|
ns16550_uart: uart@440000 {
|
|
|
|
compatible = "ns16550";
|
|
|
|
reg = <0x440000 0x400>;
|
2020-03-28 01:22:55 +08:00
|
|
|
interrupts = <1>;
|
2020-03-09 22:37:20 +08:00
|
|
|
clock-frequency = <50000000>;
|
2022-06-15 19:59:22 +08:00
|
|
|
reg-shift = <2>;
|
2018-09-14 16:55:04 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-05-14 19:10:47 +08:00
|
|
|
};
|
|
|
|
};
|