diff options
Diffstat (limited to 'target/csky/ck810.dts')
-rw-r--r-- | target/csky/ck810.dts | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/target/csky/ck810.dts b/target/csky/ck810.dts new file mode 100644 index 000000000..de5ad3d0a --- /dev/null +++ b/target/csky/ck810.dts @@ -0,0 +1,98 @@ +/dts-v1/; + +/ { + model = "qemu.csky.ck810"; + compatible = "csky"; + #address-cells = <1>; + #size-cells = <1>; + + memory { + device_type = "memory"; + reg = <0x0 0x1f400000>; + }; + + cpus { + #address-cells = <0>; + #size-cells = <0>; + + cpu { + device_type = "cpu"; + ccr = <0x417d>; + hint = <0xe>; + }; + }; + + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges; + + intc: interrupt-controller { + compatible = "csky,intc-v1"; + reg = <0x1ffff000 0x1000>; + interrupt-controller; + #interrupt-cells = <1>; + }; + + /* clockevent */ + timer0 { + compatible = "snps,dw-apb-timer"; + reg = <0x1fffd000 0x1000>; + clocks = <&dummy_apb>; + clock-names = "timer"; + interrupts = <1>; + interrupt-parent = <&intc>; + }; + + /* clocksource */ + timer1 { + compatible = "snps,dw-apb-timer"; + reg = <0x1fffd014 0x800>; + clocks = <&dummy_apb>; + clock-names = "timer"; + interrupts = <2>; + interrupt-parent = <&intc>; + }; + + serial0 { + compatible = "ns16550a"; + reg = <0x1fffe000 0x1000>; + interrupt-parent = <&intc>; + interrupts = <3>; + clocks = <&dummy_apb>; + baud = <115200>; + reg-shift = <2>; + reg-io-width = <1>; + }; + + dummy_apb: apb-clock { + compatible = "fixed-clock"; + clock-frequency = <40000000>; + clock-output-names = "dummy_apb"; + #clock-cells = <0>; + }; + + gmac: ethernet { + compatible = "snps,dwmac"; + reg = <0x1fffa000 0x2000>; + interrupt-parent = <&intc>; + interrupts = <4>; + interrupt-names = "macirq"; + clocks = <&dummy_apb>; + clock-names = "stmmaceth"; + phy-mode = "mii"; + snps,pbl = <32>; + snps,fixed-burst; + }; + + qemu-exit { + compatible = "csky,qemu-exit"; + reg = <0x1fffc000 0x1000>; + }; + }; + + chosen { + bootargs = "console=ttyS0,115200 rdinit=/sbin/init root=/dev/ram0"; + }; +}; |