1151b88e8SPaul Mackerras/dts-v1/; 2151b88e8SPaul Mackerras 3151b88e8SPaul Mackerras/ { 4151b88e8SPaul Mackerras #size-cells = <0x02>; 5151b88e8SPaul Mackerras #address-cells = <0x02>; 6151b88e8SPaul Mackerras model-name = "microwatt"; 7151b88e8SPaul Mackerras compatible = "microwatt-soc"; 8151b88e8SPaul Mackerras 948b545b8SBenjamin Herrenschmidt aliases { 1048b545b8SBenjamin Herrenschmidt serial0 = &UART0; 1148b545b8SBenjamin Herrenschmidt }; 1248b545b8SBenjamin Herrenschmidt 13151b88e8SPaul Mackerras reserved-memory { 14151b88e8SPaul Mackerras #size-cells = <0x02>; 15151b88e8SPaul Mackerras #address-cells = <0x02>; 16151b88e8SPaul Mackerras ranges; 17151b88e8SPaul Mackerras }; 18151b88e8SPaul Mackerras 19151b88e8SPaul Mackerras memory@0 { 20151b88e8SPaul Mackerras device_type = "memory"; 21151b88e8SPaul Mackerras reg = <0x00000000 0x00000000 0x00000000 0x10000000>; 22151b88e8SPaul Mackerras }; 23151b88e8SPaul Mackerras 24*5825603fSJoel Stanley clocks { 25*5825603fSJoel Stanley sys_clk: litex_sys_clk { 26*5825603fSJoel Stanley #clock-cells = <0>; 27*5825603fSJoel Stanley compatible = "fixed-clock"; 28*5825603fSJoel Stanley clock-frequency = <100000000>; 29*5825603fSJoel Stanley }; 30*5825603fSJoel Stanley }; 31*5825603fSJoel Stanley 32151b88e8SPaul Mackerras cpus { 33151b88e8SPaul Mackerras #size-cells = <0x00>; 34151b88e8SPaul Mackerras #address-cells = <0x01>; 35151b88e8SPaul Mackerras 36151b88e8SPaul Mackerras ibm,powerpc-cpu-features { 37151b88e8SPaul Mackerras display-name = "Microwatt"; 38151b88e8SPaul Mackerras isa = <3000>; 39151b88e8SPaul Mackerras device_type = "cpu-features"; 40151b88e8SPaul Mackerras compatible = "ibm,powerpc-cpu-features"; 41151b88e8SPaul Mackerras 42151b88e8SPaul Mackerras mmu-radix { 43151b88e8SPaul Mackerras isa = <3000>; 44151b88e8SPaul Mackerras usable-privilege = <2>; 45151b88e8SPaul Mackerras }; 46151b88e8SPaul Mackerras 47151b88e8SPaul Mackerras little-endian { 48151b88e8SPaul Mackerras isa = <2050>; 49151b88e8SPaul Mackerras usable-privilege = <3>; 50151b88e8SPaul Mackerras hwcap-bit-nr = <1>; 51151b88e8SPaul Mackerras }; 52151b88e8SPaul Mackerras 53151b88e8SPaul Mackerras cache-inhibited-large-page { 54151b88e8SPaul Mackerras isa = <2040>; 55151b88e8SPaul Mackerras usable-privilege = <2>; 56151b88e8SPaul Mackerras }; 57151b88e8SPaul Mackerras 58151b88e8SPaul Mackerras fixed-point-v3 { 59151b88e8SPaul Mackerras isa = <3000>; 60151b88e8SPaul Mackerras usable-privilege = <3>; 61151b88e8SPaul Mackerras }; 62151b88e8SPaul Mackerras 63151b88e8SPaul Mackerras no-execute { 64151b88e8SPaul Mackerras isa = <2010>; 65151b88e8SPaul Mackerras usable-privilege = <2>; 66151b88e8SPaul Mackerras }; 67151b88e8SPaul Mackerras 68151b88e8SPaul Mackerras floating-point { 69151b88e8SPaul Mackerras hwcap-bit-nr = <27>; 70151b88e8SPaul Mackerras isa = <0>; 71151b88e8SPaul Mackerras usable-privilege = <3>; 72151b88e8SPaul Mackerras }; 73151b88e8SPaul Mackerras }; 74151b88e8SPaul Mackerras 75151b88e8SPaul Mackerras PowerPC,Microwatt@0 { 76151b88e8SPaul Mackerras i-cache-sets = <2>; 77151b88e8SPaul Mackerras ibm,dec-bits = <64>; 78151b88e8SPaul Mackerras reservation-granule-size = <64>; 79151b88e8SPaul Mackerras clock-frequency = <100000000>; 80151b88e8SPaul Mackerras timebase-frequency = <100000000>; 81151b88e8SPaul Mackerras i-tlb-sets = <1>; 82151b88e8SPaul Mackerras ibm,ppc-interrupt-server#s = <0>; 83151b88e8SPaul Mackerras i-cache-block-size = <64>; 84151b88e8SPaul Mackerras d-cache-block-size = <64>; 85151b88e8SPaul Mackerras d-cache-sets = <2>; 86151b88e8SPaul Mackerras i-tlb-size = <64>; 87151b88e8SPaul Mackerras cpu-version = <0x990000>; 88151b88e8SPaul Mackerras status = "okay"; 89151b88e8SPaul Mackerras i-cache-size = <0x1000>; 90151b88e8SPaul Mackerras ibm,processor-radix-AP-encodings = <0x0c 0xa0000010 0x20000015 0x4000001e>; 91151b88e8SPaul Mackerras tlb-size = <0>; 92151b88e8SPaul Mackerras tlb-sets = <0>; 93151b88e8SPaul Mackerras device_type = "cpu"; 94151b88e8SPaul Mackerras d-tlb-size = <128>; 95151b88e8SPaul Mackerras d-tlb-sets = <2>; 96151b88e8SPaul Mackerras reg = <0>; 97151b88e8SPaul Mackerras general-purpose; 98151b88e8SPaul Mackerras 64-bit; 99151b88e8SPaul Mackerras d-cache-size = <0x1000>; 100151b88e8SPaul Mackerras ibm,chip-id = <0>; 1010ef1ffc7SJoel Stanley ibm,mmu-lpid-bits = <12>; 1020ef1ffc7SJoel Stanley ibm,mmu-pid-bits = <20>; 103151b88e8SPaul Mackerras }; 104151b88e8SPaul Mackerras }; 105151b88e8SPaul Mackerras 1060d0f9e5fSBenjamin Herrenschmidt soc@c0000000 { 1070d0f9e5fSBenjamin Herrenschmidt compatible = "simple-bus"; 1080d0f9e5fSBenjamin Herrenschmidt #address-cells = <1>; 1090d0f9e5fSBenjamin Herrenschmidt #size-cells = <1>; 110aa9c5adfSBenjamin Herrenschmidt interrupt-parent = <&ICS>; 1110d0f9e5fSBenjamin Herrenschmidt 1120d0f9e5fSBenjamin Herrenschmidt ranges = <0 0 0xc0000000 0x40000000>; 113aa9c5adfSBenjamin Herrenschmidt 114aa9c5adfSBenjamin Herrenschmidt interrupt-controller@4000 { 115aa9c5adfSBenjamin Herrenschmidt compatible = "openpower,xics-presentation", "ibm,ppc-xicp"; 116aa9c5adfSBenjamin Herrenschmidt ibm,interrupt-server-ranges = <0x0 0x1>; 117aa9c5adfSBenjamin Herrenschmidt reg = <0x4000 0x100>; 118aa9c5adfSBenjamin Herrenschmidt }; 119aa9c5adfSBenjamin Herrenschmidt 120aa9c5adfSBenjamin Herrenschmidt ICS: interrupt-controller@5000 { 121aa9c5adfSBenjamin Herrenschmidt compatible = "openpower,xics-sources"; 122aa9c5adfSBenjamin Herrenschmidt interrupt-controller; 123aa9c5adfSBenjamin Herrenschmidt interrupt-ranges = <0x10 0x10>; 124aa9c5adfSBenjamin Herrenschmidt reg = <0x5000 0x100>; 125aa9c5adfSBenjamin Herrenschmidt #address-cells = <0>; 126aa9c5adfSBenjamin Herrenschmidt #size-cells = <0>; 127aa9c5adfSBenjamin Herrenschmidt #interrupt-cells = <2>; 128aa9c5adfSBenjamin Herrenschmidt }; 129aa9c5adfSBenjamin Herrenschmidt 13048b545b8SBenjamin Herrenschmidt UART0: serial@2000 { 13148b545b8SBenjamin Herrenschmidt device_type = "serial"; 13248b545b8SBenjamin Herrenschmidt compatible = "ns16550"; 13348b545b8SBenjamin Herrenschmidt reg = <0x2000 0x8>; 13448b545b8SBenjamin Herrenschmidt clock-frequency = <100000000>; 13548b545b8SBenjamin Herrenschmidt current-speed = <115200>; 13648b545b8SBenjamin Herrenschmidt reg-shift = <2>; 13748b545b8SBenjamin Herrenschmidt fifo-size = <16>; 13848b545b8SBenjamin Herrenschmidt interrupts = <0x10 0x1>; 13948b545b8SBenjamin Herrenschmidt }; 140602d0f96SJoel Stanley 141602d0f96SJoel Stanley ethernet@8020000 { 142602d0f96SJoel Stanley compatible = "litex,liteeth"; 143602d0f96SJoel Stanley reg = <0x8021000 0x100 144602d0f96SJoel Stanley 0x8020800 0x100 145602d0f96SJoel Stanley 0x8030000 0x2000>; 146602d0f96SJoel Stanley reg-names = "mac", "mido", "buffer"; 147602d0f96SJoel Stanley litex,rx-slots = <2>; 148602d0f96SJoel Stanley litex,tx-slots = <2>; 149602d0f96SJoel Stanley litex,slot-size = <0x800>; 150602d0f96SJoel Stanley interrupts = <0x11 0x1>; 151602d0f96SJoel Stanley }; 152*5825603fSJoel Stanley 153*5825603fSJoel Stanley mmc@8040000 { 154*5825603fSJoel Stanley compatible = "litex,mmc"; 155*5825603fSJoel Stanley reg = <0x8042800 0x800 156*5825603fSJoel Stanley 0x8041000 0x800 157*5825603fSJoel Stanley 0x8040800 0x800 158*5825603fSJoel Stanley 0x8042000 0x800 159*5825603fSJoel Stanley 0x8041800 0x800>; 160*5825603fSJoel Stanley reg-names = "phy", "core", "reader", "writer", "irq"; 161*5825603fSJoel Stanley bus-width = <4>; 162*5825603fSJoel Stanley interrupts = <0x13 1>; 163*5825603fSJoel Stanley cap-sd-highspeed; 164*5825603fSJoel Stanley clocks = <&sys_clk>; 165*5825603fSJoel Stanley }; 16648b545b8SBenjamin Herrenschmidt }; 16748b545b8SBenjamin Herrenschmidt 16848b545b8SBenjamin Herrenschmidt chosen { 16948b545b8SBenjamin Herrenschmidt bootargs = ""; 17048b545b8SBenjamin Herrenschmidt ibm,architecture-vec-5 = [19 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 17148b545b8SBenjamin Herrenschmidt 00 00 00 00 00 00 00 00 40 00 40]; 17248b545b8SBenjamin Herrenschmidt stdout-path = &UART0; 1730d0f9e5fSBenjamin Herrenschmidt }; 174151b88e8SPaul Mackerras}; 175