1 /dts-v1/; 1 /dts-v1/; 2 2 3 / { 3 / { 4 #size-cells = <0x02>; 4 #size-cells = <0x02>; 5 #address-cells = <0x02>; 5 #address-cells = <0x02>; 6 model-name = "microwatt"; 6 model-name = "microwatt"; 7 compatible = "microwatt-soc"; 7 compatible = "microwatt-soc"; 8 8 9 aliases { 9 aliases { 10 serial0 = &UART0; 10 serial0 = &UART0; 11 }; 11 }; 12 12 13 reserved-memory { 13 reserved-memory { 14 #size-cells = <0x02>; 14 #size-cells = <0x02>; 15 #address-cells = <0x02>; 15 #address-cells = <0x02>; 16 ranges; 16 ranges; 17 }; 17 }; 18 18 19 memory@0 { 19 memory@0 { 20 device_type = "memory"; 20 device_type = "memory"; 21 reg = <0x00000000 0x00000000 0 21 reg = <0x00000000 0x00000000 0x00000000 0x10000000>; 22 }; 22 }; 23 23 24 clocks { 24 clocks { 25 sys_clk: litex_sys_clk { 25 sys_clk: litex_sys_clk { 26 #clock-cells = <0>; 26 #clock-cells = <0>; 27 compatible = "fixed-cl 27 compatible = "fixed-clock"; 28 clock-frequency = <100 28 clock-frequency = <100000000>; 29 }; 29 }; 30 }; 30 }; 31 31 32 cpus { 32 cpus { 33 #size-cells = <0x00>; 33 #size-cells = <0x00>; 34 #address-cells = <0x01>; 34 #address-cells = <0x01>; 35 35 36 ibm,powerpc-cpu-features { 36 ibm,powerpc-cpu-features { 37 display-name = "Microw 37 display-name = "Microwatt"; 38 isa = <3000>; 38 isa = <3000>; 39 device_type = "cpu-fea 39 device_type = "cpu-features"; 40 compatible = "ibm,powe 40 compatible = "ibm,powerpc-cpu-features"; 41 41 42 mmu-radix { 42 mmu-radix { 43 isa = <3000>; 43 isa = <3000>; 44 usable-privile 44 usable-privilege = <2>; 45 }; 45 }; 46 46 47 little-endian { 47 little-endian { 48 isa = <2050>; 48 isa = <2050>; 49 usable-privile 49 usable-privilege = <3>; 50 hwcap-bit-nr = 50 hwcap-bit-nr = <1>; 51 }; 51 }; 52 52 53 cache-inhibited-large- 53 cache-inhibited-large-page { 54 isa = <2040>; 54 isa = <2040>; 55 usable-privile 55 usable-privilege = <2>; 56 }; 56 }; 57 57 58 fixed-point-v3 { 58 fixed-point-v3 { 59 isa = <3000>; 59 isa = <3000>; 60 usable-privile 60 usable-privilege = <3>; 61 }; 61 }; 62 62 63 no-execute { 63 no-execute { 64 isa = <2010>; 64 isa = <2010>; 65 usable-privile 65 usable-privilege = <2>; 66 }; 66 }; 67 67 68 floating-point { 68 floating-point { 69 hwcap-bit-nr = 69 hwcap-bit-nr = <27>; 70 isa = <0>; 70 isa = <0>; 71 usable-privile 71 usable-privilege = <3>; 72 }; 72 }; 73 }; 73 }; 74 74 75 PowerPC,Microwatt@0 { 75 PowerPC,Microwatt@0 { 76 i-cache-sets = <2>; 76 i-cache-sets = <2>; 77 ibm,dec-bits = <64>; 77 ibm,dec-bits = <64>; 78 reservation-granule-si 78 reservation-granule-size = <64>; 79 clock-frequency = <100 79 clock-frequency = <100000000>; 80 timebase-frequency = < 80 timebase-frequency = <100000000>; 81 i-tlb-sets = <1>; 81 i-tlb-sets = <1>; 82 ibm,ppc-interrupt-serv 82 ibm,ppc-interrupt-server#s = <0>; 83 i-cache-block-size = < 83 i-cache-block-size = <64>; 84 d-cache-block-size = < 84 d-cache-block-size = <64>; 85 d-cache-sets = <2>; 85 d-cache-sets = <2>; 86 i-tlb-size = <64>; 86 i-tlb-size = <64>; 87 cpu-version = <0x99000 87 cpu-version = <0x990000>; 88 status = "okay"; 88 status = "okay"; 89 i-cache-size = <0x1000 89 i-cache-size = <0x1000>; 90 ibm,processor-radix-AP 90 ibm,processor-radix-AP-encodings = <0x0c 0xa0000010 0x20000015 0x4000001e>; 91 tlb-size = <0>; 91 tlb-size = <0>; 92 tlb-sets = <0>; 92 tlb-sets = <0>; 93 device_type = "cpu"; 93 device_type = "cpu"; 94 d-tlb-size = <128>; 94 d-tlb-size = <128>; 95 d-tlb-sets = <2>; 95 d-tlb-sets = <2>; 96 reg = <0>; 96 reg = <0>; 97 general-purpose; 97 general-purpose; 98 64-bit; 98 64-bit; 99 d-cache-size = <0x1000 99 d-cache-size = <0x1000>; 100 ibm,chip-id = <0>; 100 ibm,chip-id = <0>; 101 ibm,mmu-lpid-bits = <1 101 ibm,mmu-lpid-bits = <12>; 102 ibm,mmu-pid-bits = <20 102 ibm,mmu-pid-bits = <20>; 103 }; 103 }; 104 }; 104 }; 105 105 106 soc@c0000000 { 106 soc@c0000000 { 107 compatible = "simple-bus"; 107 compatible = "simple-bus"; 108 #address-cells = <1>; 108 #address-cells = <1>; 109 #size-cells = <1>; 109 #size-cells = <1>; 110 interrupt-parent = <&ICS>; 110 interrupt-parent = <&ICS>; 111 111 112 ranges = <0 0 0xc0000000 0x400 112 ranges = <0 0 0xc0000000 0x40000000>; 113 113 114 interrupt-controller@4000 { 114 interrupt-controller@4000 { 115 compatible = "openpowe 115 compatible = "openpower,xics-presentation", "ibm,ppc-xicp"; 116 ibm,interrupt-server-r 116 ibm,interrupt-server-ranges = <0x0 0x1>; 117 reg = <0x4000 0x100>; 117 reg = <0x4000 0x100>; 118 }; 118 }; 119 119 120 ICS: interrupt-controller@5000 120 ICS: interrupt-controller@5000 { 121 compatible = "openpowe 121 compatible = "openpower,xics-sources"; 122 interrupt-controller; 122 interrupt-controller; 123 interrupt-ranges = <0x 123 interrupt-ranges = <0x10 0x10>; 124 reg = <0x5000 0x100>; 124 reg = <0x5000 0x100>; 125 #address-cells = <0>; 125 #address-cells = <0>; 126 #size-cells = <0>; 126 #size-cells = <0>; 127 #interrupt-cells = <2> 127 #interrupt-cells = <2>; 128 }; 128 }; 129 129 130 UART0: serial@2000 { 130 UART0: serial@2000 { 131 device_type = "serial" 131 device_type = "serial"; 132 compatible = "ns16550" 132 compatible = "ns16550"; 133 reg = <0x2000 0x8>; 133 reg = <0x2000 0x8>; 134 clock-frequency = <100 134 clock-frequency = <100000000>; 135 current-speed = <11520 135 current-speed = <115200>; 136 reg-shift = <2>; 136 reg-shift = <2>; 137 fifo-size = <16>; 137 fifo-size = <16>; 138 interrupts = <0x10 0x1 138 interrupts = <0x10 0x1>; 139 }; 139 }; 140 140 141 ethernet@8020000 { 141 ethernet@8020000 { 142 compatible = "litex,li 142 compatible = "litex,liteeth"; 143 reg = <0x8021000 0x100 143 reg = <0x8021000 0x100 144 0x8020800 0x10 144 0x8020800 0x100 145 0x8030000 0x20 145 0x8030000 0x2000>; 146 reg-names = "mac", "mi 146 reg-names = "mac", "mido", "buffer"; 147 litex,rx-slots = <2>; 147 litex,rx-slots = <2>; 148 litex,tx-slots = <2>; 148 litex,tx-slots = <2>; 149 litex,slot-size = <0x8 149 litex,slot-size = <0x800>; 150 interrupts = <0x11 0x1 150 interrupts = <0x11 0x1>; 151 }; 151 }; 152 152 153 mmc@8040000 { 153 mmc@8040000 { 154 compatible = "litex,mm 154 compatible = "litex,mmc"; 155 reg = <0x8042800 0x800 155 reg = <0x8042800 0x800 156 0x8041000 0x80 156 0x8041000 0x800 157 0x8040800 0x80 157 0x8040800 0x800 158 0x8042000 0x80 158 0x8042000 0x800 159 0x8041800 0x80 159 0x8041800 0x800>; 160 reg-names = "phy", "co 160 reg-names = "phy", "core", "reader", "writer", "irq"; 161 bus-width = <4>; 161 bus-width = <4>; 162 interrupts = <0x13 1>; 162 interrupts = <0x13 1>; 163 cap-sd-highspeed; 163 cap-sd-highspeed; 164 clocks = <&sys_clk>; 164 clocks = <&sys_clk>; 165 }; 165 }; 166 }; 166 }; 167 167 168 chosen { 168 chosen { 169 bootargs = ""; 169 bootargs = ""; 170 ibm,architecture-vec-5 = [19 0 170 ibm,architecture-vec-5 = [19 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 171 00 0 171 00 00 00 00 00 00 00 00 40 00 40]; 172 stdout-path = &UART0; 172 stdout-path = &UART0; 173 }; 173 }; 174 }; 174 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.