1/* SPDX-License-Identifier: Apache-2.0 */ 2 3#include "skeleton.dtsi" 4 5/ { 6 cpus { 7 #address-cells = <1>; 8 #size-cells = <0>; 9 10 cpu: cpu@0 { 11 device_type = "cpu"; 12 compatible = "qemu,nios2-zephyr"; 13 reg = <0>; 14 interrupt-controller; 15 #interrupt-cells = <1>; 16 }; 17 }; 18 19 flash0: flash@420000 { 20 compatible = "soc-nv-flash"; 21 reg = <0x420000 0x20000>; 22 }; 23 24 sram0: memory@400000 { 25 compatible = "mmio-sram"; 26 reg = <0x400000 0x20000>; 27 }; 28 29 soc { 30 #address-cells = <1>; 31 #size-cells = <1>; 32 compatible = "simple-bus"; 33 interrupt-parent = <&cpu>; 34 ranges; 35 36 jtag_uart: uart@201000 { 37 compatible = "altr,jtag-uart"; 38 reg = <0x201000 0x400>; 39 interrupts = <0>; 40 status = "disabled"; 41 }; 42 43 ns16550_uart: uart@440000 { 44 compatible = "ns16550"; 45 reg = <0x440000 0x400>; 46 interrupts = <1>; 47 clock-frequency = <50000000>; 48 reg-shift = <2>; 49 status = "disabled"; 50 }; 51 }; 52}; 53