diff options
-rw-r--r-- | arch/powerpc/boot/dts/bamboo.dts | 142 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/canyonlands.dts | 222 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/ebony.dts | 164 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/ep405.dts | 100 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/glacier.dts | 262 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/haleakala.dts | 136 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/holly.dts | 122 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/katmai.dts | 210 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/kilauea.dts | 182 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/makalu.dts | 182 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/ps3.dts | 16 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/rainier.dts | 162 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/sequoia.dts | 172 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/taishan.dts | 212 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/walnut.dts | 118 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/warp.dts | 106 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/yosemite.dts | 146 |
17 files changed, 1344 insertions, 1310 deletions
diff --git a/arch/powerpc/boot/dts/bamboo.dts b/arch/powerpc/boot/dts/bamboo.dts index ba2521bdaab1..6ce0cc2c0208 100644 --- a/arch/powerpc/boot/dts/bamboo.dts +++ b/arch/powerpc/boot/dts/bamboo.dts | |||
@@ -11,12 +11,14 @@ | |||
11 | * any warranty of any kind, whether express or implied. | 11 | * any warranty of any kind, whether express or implied. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /dts-v1/; | ||
15 | |||
14 | / { | 16 | / { |
15 | #address-cells = <2>; | 17 | #address-cells = <2>; |
16 | #size-cells = <1>; | 18 | #size-cells = <1>; |
17 | model = "amcc,bamboo"; | 19 | model = "amcc,bamboo"; |
18 | compatible = "amcc,bamboo"; | 20 | compatible = "amcc,bamboo"; |
19 | dcr-parent = <&/cpus/cpu@0>; | 21 | dcr-parent = <&{/cpus/cpu@0}>; |
20 | 22 | ||
21 | aliases { | 23 | aliases { |
22 | ethernet0 = &EMAC0; | 24 | ethernet0 = &EMAC0; |
@@ -34,13 +36,13 @@ | |||
34 | cpu@0 { | 36 | cpu@0 { |
35 | device_type = "cpu"; | 37 | device_type = "cpu"; |
36 | model = "PowerPC,440EP"; | 38 | model = "PowerPC,440EP"; |
37 | reg = <0>; | 39 | reg = <0x00000000>; |
38 | clock-frequency = <0>; /* Filled in by zImage */ | 40 | clock-frequency = <0>; /* Filled in by zImage */ |
39 | timebase-frequency = <0>; /* Filled in by zImage */ | 41 | timebase-frequency = <0>; /* Filled in by zImage */ |
40 | i-cache-line-size = <20>; | 42 | i-cache-line-size = <32>; |
41 | d-cache-line-size = <20>; | 43 | d-cache-line-size = <32>; |
42 | i-cache-size = <8000>; | 44 | i-cache-size = <32768>; |
43 | d-cache-size = <8000>; | 45 | d-cache-size = <32768>; |
44 | dcr-controller; | 46 | dcr-controller; |
45 | dcr-access-method = "native"; | 47 | dcr-access-method = "native"; |
46 | }; | 48 | }; |
@@ -48,14 +50,14 @@ | |||
48 | 50 | ||
49 | memory { | 51 | memory { |
50 | device_type = "memory"; | 52 | device_type = "memory"; |
51 | reg = <0 0 0>; /* Filled in by zImage */ | 53 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
52 | }; | 54 | }; |
53 | 55 | ||
54 | UIC0: interrupt-controller0 { | 56 | UIC0: interrupt-controller0 { |
55 | compatible = "ibm,uic-440ep","ibm,uic"; | 57 | compatible = "ibm,uic-440ep","ibm,uic"; |
56 | interrupt-controller; | 58 | interrupt-controller; |
57 | cell-index = <0>; | 59 | cell-index = <0>; |
58 | dcr-reg = <0c0 009>; | 60 | dcr-reg = <0x0c0 0x009>; |
59 | #address-cells = <0>; | 61 | #address-cells = <0>; |
60 | #size-cells = <0>; | 62 | #size-cells = <0>; |
61 | #interrupt-cells = <2>; | 63 | #interrupt-cells = <2>; |
@@ -65,22 +67,22 @@ | |||
65 | compatible = "ibm,uic-440ep","ibm,uic"; | 67 | compatible = "ibm,uic-440ep","ibm,uic"; |
66 | interrupt-controller; | 68 | interrupt-controller; |
67 | cell-index = <1>; | 69 | cell-index = <1>; |
68 | dcr-reg = <0d0 009>; | 70 | dcr-reg = <0x0d0 0x009>; |
69 | #address-cells = <0>; | 71 | #address-cells = <0>; |
70 | #size-cells = <0>; | 72 | #size-cells = <0>; |
71 | #interrupt-cells = <2>; | 73 | #interrupt-cells = <2>; |
72 | interrupts = <1e 4 1f 4>; /* cascade */ | 74 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
73 | interrupt-parent = <&UIC0>; | 75 | interrupt-parent = <&UIC0>; |
74 | }; | 76 | }; |
75 | 77 | ||
76 | SDR0: sdr { | 78 | SDR0: sdr { |
77 | compatible = "ibm,sdr-440ep"; | 79 | compatible = "ibm,sdr-440ep"; |
78 | dcr-reg = <00e 002>; | 80 | dcr-reg = <0x00e 0x002>; |
79 | }; | 81 | }; |
80 | 82 | ||
81 | CPR0: cpr { | 83 | CPR0: cpr { |
82 | compatible = "ibm,cpr-440ep"; | 84 | compatible = "ibm,cpr-440ep"; |
83 | dcr-reg = <00c 002>; | 85 | dcr-reg = <0x00c 0x002>; |
84 | }; | 86 | }; |
85 | 87 | ||
86 | plb { | 88 | plb { |
@@ -92,29 +94,29 @@ | |||
92 | 94 | ||
93 | SDRAM0: sdram { | 95 | SDRAM0: sdram { |
94 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; | 96 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; |
95 | dcr-reg = <010 2>; | 97 | dcr-reg = <0x010 0x002>; |
96 | }; | 98 | }; |
97 | 99 | ||
98 | DMA0: dma { | 100 | DMA0: dma { |
99 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; | 101 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; |
100 | dcr-reg = <100 027>; | 102 | dcr-reg = <0x100 0x027>; |
101 | }; | 103 | }; |
102 | 104 | ||
103 | MAL0: mcmal { | 105 | MAL0: mcmal { |
104 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; | 106 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; |
105 | dcr-reg = <180 62>; | 107 | dcr-reg = <0x180 0x062>; |
106 | num-tx-chans = <4>; | 108 | num-tx-chans = <4>; |
107 | num-rx-chans = <2>; | 109 | num-rx-chans = <2>; |
108 | interrupt-parent = <&MAL0>; | 110 | interrupt-parent = <&MAL0>; |
109 | interrupts = <0 1 2 3 4>; | 111 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
110 | #interrupt-cells = <1>; | 112 | #interrupt-cells = <1>; |
111 | #address-cells = <0>; | 113 | #address-cells = <0>; |
112 | #size-cells = <0>; | 114 | #size-cells = <0>; |
113 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 115 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
114 | /*RXEOB*/ 1 &UIC0 b 4 | 116 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
115 | /*SERR*/ 2 &UIC1 0 4 | 117 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
116 | /*TXDE*/ 3 &UIC1 1 4 | 118 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
117 | /*RXDE*/ 4 &UIC1 2 4>; | 119 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
118 | }; | 120 | }; |
119 | 121 | ||
120 | POB0: opb { | 122 | POB0: opb { |
@@ -124,101 +126,101 @@ | |||
124 | /* Bamboo is oddball in the 44x world and doesn't use the ERPN | 126 | /* Bamboo is oddball in the 44x world and doesn't use the ERPN |
125 | * bits. | 127 | * bits. |
126 | */ | 128 | */ |
127 | ranges = <00000000 0 00000000 80000000 | 129 | ranges = <0x00000000 0x00000000 0x00000000 0x80000000 |
128 | 80000000 0 80000000 80000000>; | 130 | 0x80000000 0x00000000 0x80000000 0x80000000>; |
129 | interrupt-parent = <&UIC1>; | 131 | interrupt-parent = <&UIC1>; |
130 | interrupts = <7 4>; | 132 | interrupts = <0x7 0x4>; |
131 | clock-frequency = <0>; /* Filled in by zImage */ | 133 | clock-frequency = <0>; /* Filled in by zImage */ |
132 | 134 | ||
133 | EBC0: ebc { | 135 | EBC0: ebc { |
134 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; | 136 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; |
135 | dcr-reg = <012 2>; | 137 | dcr-reg = <0x012 0x002>; |
136 | #address-cells = <2>; | 138 | #address-cells = <2>; |
137 | #size-cells = <1>; | 139 | #size-cells = <1>; |
138 | clock-frequency = <0>; /* Filled in by zImage */ | 140 | clock-frequency = <0>; /* Filled in by zImage */ |
139 | interrupts = <5 1>; | 141 | interrupts = <0x5 0x1>; |
140 | interrupt-parent = <&UIC1>; | 142 | interrupt-parent = <&UIC1>; |
141 | }; | 143 | }; |
142 | 144 | ||
143 | UART0: serial@ef600300 { | 145 | UART0: serial@ef600300 { |
144 | device_type = "serial"; | 146 | device_type = "serial"; |
145 | compatible = "ns16550"; | 147 | compatible = "ns16550"; |
146 | reg = <ef600300 8>; | 148 | reg = <0xef600300 0x00000008>; |
147 | virtual-reg = <ef600300>; | 149 | virtual-reg = <0xef600300>; |
148 | clock-frequency = <0>; /* Filled in by zImage */ | 150 | clock-frequency = <0>; /* Filled in by zImage */ |
149 | current-speed = <1c200>; | 151 | current-speed = <115200>; |
150 | interrupt-parent = <&UIC0>; | 152 | interrupt-parent = <&UIC0>; |
151 | interrupts = <0 4>; | 153 | interrupts = <0x0 0x4>; |
152 | }; | 154 | }; |
153 | 155 | ||
154 | UART1: serial@ef600400 { | 156 | UART1: serial@ef600400 { |
155 | device_type = "serial"; | 157 | device_type = "serial"; |
156 | compatible = "ns16550"; | 158 | compatible = "ns16550"; |
157 | reg = <ef600400 8>; | 159 | reg = <0xef600400 0x00000008>; |
158 | virtual-reg = <ef600400>; | 160 | virtual-reg = <0xef600400>; |
159 | clock-frequency = <0>; | 161 | clock-frequency = <0>; |
160 | current-speed = <0>; | 162 | current-speed = <0>; |
161 | interrupt-parent = <&UIC0>; | 163 | interrupt-parent = <&UIC0>; |
162 | interrupts = <1 4>; | 164 | interrupts = <0x1 0x4>; |
163 | }; | 165 | }; |
164 | 166 | ||
165 | UART2: serial@ef600500 { | 167 | UART2: serial@ef600500 { |
166 | device_type = "serial"; | 168 | device_type = "serial"; |
167 | compatible = "ns16550"; | 169 | compatible = "ns16550"; |
168 | reg = <ef600500 8>; | 170 | reg = <0xef600500 0x00000008>; |
169 | virtual-reg = <ef600500>; | 171 | virtual-reg = <0xef600500>; |
170 | clock-frequency = <0>; | 172 | clock-frequency = <0>; |
171 | current-speed = <0>; | 173 | current-speed = <0>; |
172 | interrupt-parent = <&UIC0>; | 174 | interrupt-parent = <&UIC0>; |
173 | interrupts = <3 4>; | 175 | interrupts = <0x3 0x4>; |
174 | }; | 176 | }; |
175 | 177 | ||
176 | UART3: serial@ef600600 { | 178 | UART3: serial@ef600600 { |
177 | device_type = "serial"; | 179 | device_type = "serial"; |
178 | compatible = "ns16550"; | 180 | compatible = "ns16550"; |
179 | reg = <ef600600 8>; | 181 | reg = <0xef600600 0x00000008>; |
180 | virtual-reg = <ef600600>; | 182 | virtual-reg = <0xef600600>; |
181 | clock-frequency = <0>; | 183 | clock-frequency = <0>; |
182 | current-speed = <0>; | 184 | current-speed = <0>; |
183 | interrupt-parent = <&UIC0>; | 185 | interrupt-parent = <&UIC0>; |
184 | interrupts = <4 4>; | 186 | interrupts = <0x4 0x4>; |
185 | }; | 187 | }; |
186 | 188 | ||
187 | IIC0: i2c@ef600700 { | 189 | IIC0: i2c@ef600700 { |
188 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | 190 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
189 | reg = <ef600700 14>; | 191 | reg = <0xef600700 0x00000014>; |
190 | interrupt-parent = <&UIC0>; | 192 | interrupt-parent = <&UIC0>; |
191 | interrupts = <2 4>; | 193 | interrupts = <0x2 0x4>; |
192 | }; | 194 | }; |
193 | 195 | ||
194 | IIC1: i2c@ef600800 { | 196 | IIC1: i2c@ef600800 { |
195 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | 197 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
196 | reg = <ef600800 14>; | 198 | reg = <0xef600800 0x00000014>; |
197 | interrupt-parent = <&UIC0>; | 199 | interrupt-parent = <&UIC0>; |
198 | interrupts = <7 4>; | 200 | interrupts = <0x7 0x4>; |
199 | }; | 201 | }; |
200 | 202 | ||
201 | ZMII0: emac-zmii@ef600d00 { | 203 | ZMII0: emac-zmii@ef600d00 { |
202 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; | 204 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; |
203 | reg = <ef600d00 c>; | 205 | reg = <0xef600d00 0x0000000c>; |
204 | }; | 206 | }; |
205 | 207 | ||
206 | EMAC0: ethernet@ef600e00 { | 208 | EMAC0: ethernet@ef600e00 { |
207 | device_type = "network"; | 209 | device_type = "network"; |
208 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | 210 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; |
209 | interrupt-parent = <&UIC1>; | 211 | interrupt-parent = <&UIC1>; |
210 | interrupts = <1c 4 1d 4>; | 212 | interrupts = <0x1c 0x4 0x1d 0x4>; |
211 | reg = <ef600e00 70>; | 213 | reg = <0xef600e00 0x00000070>; |
212 | local-mac-address = [000000000000]; | 214 | local-mac-address = [000000000000]; |
213 | mal-device = <&MAL0>; | 215 | mal-device = <&MAL0>; |
214 | mal-tx-channel = <0 1>; | 216 | mal-tx-channel = <0 1>; |
215 | mal-rx-channel = <0>; | 217 | mal-rx-channel = <0>; |
216 | cell-index = <0>; | 218 | cell-index = <0>; |
217 | max-frame-size = <5dc>; | 219 | max-frame-size = <1500>; |
218 | rx-fifo-size = <1000>; | 220 | rx-fifo-size = <4096>; |
219 | tx-fifo-size = <800>; | 221 | tx-fifo-size = <2048>; |
220 | phy-mode = "rmii"; | 222 | phy-mode = "rmii"; |
221 | phy-map = <00000000>; | 223 | phy-map = <0x00000000>; |
222 | zmii-device = <&ZMII0>; | 224 | zmii-device = <&ZMII0>; |
223 | zmii-channel = <0>; | 225 | zmii-channel = <0>; |
224 | }; | 226 | }; |
@@ -227,26 +229,26 @@ | |||
227 | device_type = "network"; | 229 | device_type = "network"; |
228 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | 230 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; |
229 | interrupt-parent = <&UIC1>; | 231 | interrupt-parent = <&UIC1>; |
230 | interrupts = <1e 4 1f 4>; | 232 | interrupts = <0x1e 0x4 0x1f 0x4>; |
231 | reg = <ef600f00 70>; | 233 | reg = <0xef600f00 0x00000070>; |
232 | local-mac-address = [000000000000]; | 234 | local-mac-address = [000000000000]; |
233 | mal-device = <&MAL0>; | 235 | mal-device = <&MAL0>; |
234 | mal-tx-channel = <2 3>; | 236 | mal-tx-channel = <2 3>; |
235 | mal-rx-channel = <1>; | 237 | mal-rx-channel = <1>; |
236 | cell-index = <1>; | 238 | cell-index = <1>; |
237 | max-frame-size = <5dc>; | 239 | max-frame-size = <1500>; |
238 | rx-fifo-size = <1000>; | 240 | rx-fifo-size = <4096>; |
239 | tx-fifo-size = <800>; | 241 | tx-fifo-size = <2048>; |
240 | phy-mode = "rmii"; | 242 | phy-mode = "rmii"; |
241 | phy-map = <00000000>; | 243 | phy-map = <0x00000000>; |
242 | zmii-device = <&ZMII0>; | 244 | zmii-device = <&ZMII0>; |
243 | zmii-channel = <1>; | 245 | zmii-channel = <1>; |
244 | }; | 246 | }; |
245 | 247 | ||
246 | usb@ef601000 { | 248 | usb@ef601000 { |
247 | compatible = "ohci-be"; | 249 | compatible = "ohci-be"; |
248 | reg = <ef601000 80>; | 250 | reg = <0xef601000 0x00000080>; |
249 | interrupts = <8 1 9 1>; | 251 | interrupts = <0x8 0x1 0x9 0x1>; |
250 | interrupt-parent = < &UIC1 >; | 252 | interrupt-parent = < &UIC1 >; |
251 | }; | 253 | }; |
252 | }; | 254 | }; |
@@ -258,35 +260,35 @@ | |||
258 | #address-cells = <3>; | 260 | #address-cells = <3>; |
259 | compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; | 261 | compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; |
260 | primary; | 262 | primary; |
261 | reg = <0 eec00000 8 /* Config space access */ | 263 | reg = <0x00000000 0xeec00000 0x00000008 /* Config space access */ |
262 | 0 eed00000 4 /* IACK */ | 264 | 0x00000000 0xeed00000 0x00000004 /* IACK */ |
263 | 0 eed00000 4 /* Special cycle */ | 265 | 0x00000000 0xeed00000 0x00000004 /* Special cycle */ |
264 | 0 ef400000 40>; /* Internal registers */ | 266 | 0x00000000 0xef400000 0x00000040>; /* Internal registers */ |
265 | 267 | ||
266 | /* Outbound ranges, one memory and one IO, | 268 | /* Outbound ranges, one memory and one IO, |
267 | * later cannot be changed. Chip supports a second | 269 | * later cannot be changed. Chip supports a second |
268 | * IO range but we don't use it for now | 270 | * IO range but we don't use it for now |
269 | */ | 271 | */ |
270 | ranges = <02000000 0 a0000000 0 a0000000 0 20000000 | 272 | ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x20000000 |
271 | 01000000 0 00000000 0 e8000000 0 00010000>; | 273 | 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; |
272 | 274 | ||
273 | /* Inbound 2GB range starting at 0 */ | 275 | /* Inbound 2GB range starting at 0 */ |
274 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 276 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
275 | 277 | ||
276 | /* Bamboo has all 4 IRQ pins tied together per slot */ | 278 | /* Bamboo has all 4 IRQ pins tied together per slot */ |
277 | interrupt-map-mask = <f800 0 0 0>; | 279 | interrupt-map-mask = <0xf800 0x0 0x0 0x0>; |
278 | interrupt-map = < | 280 | interrupt-map = < |
279 | /* IDSEL 1 */ | 281 | /* IDSEL 1 */ |
280 | 0800 0 0 0 &UIC0 1c 8 | 282 | 0x800 0x0 0x0 0x0 &UIC0 0x1c 0x8 |
281 | 283 | ||
282 | /* IDSEL 2 */ | 284 | /* IDSEL 2 */ |
283 | 1000 0 0 0 &UIC0 1b 8 | 285 | 0x1000 0x0 0x0 0x0 &UIC0 0x1b 0x8 |
284 | 286 | ||
285 | /* IDSEL 3 */ | 287 | /* IDSEL 3 */ |
286 | 1800 0 0 0 &UIC0 1a 8 | 288 | 0x1800 0x0 0x0 0x0 &UIC0 0x1a 0x8 |
287 | 289 | ||
288 | /* IDSEL 4 */ | 290 | /* IDSEL 4 */ |
289 | 2000 0 0 0 &UIC0 19 8 | 291 | 0x2000 0x0 0x0 0x0 &UIC0 0x19 0x8 |
290 | >; | 292 | >; |
291 | }; | 293 | }; |
292 | }; | 294 | }; |
diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts index 39634124929b..f9fe03252150 100644 --- a/arch/powerpc/boot/dts/canyonlands.dts +++ b/arch/powerpc/boot/dts/canyonlands.dts | |||
@@ -8,12 +8,14 @@ | |||
8 | * any warranty of any kind, whether express or implied. | 8 | * any warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | ||
12 | |||
11 | / { | 13 | / { |
12 | #address-cells = <2>; | 14 | #address-cells = <2>; |
13 | #size-cells = <1>; | 15 | #size-cells = <1>; |
14 | model = "amcc,canyonlands"; | 16 | model = "amcc,canyonlands"; |
15 | compatible = "amcc,canyonlands"; | 17 | compatible = "amcc,canyonlands"; |
16 | dcr-parent = <&/cpus/cpu@0>; | 18 | dcr-parent = <&{/cpus/cpu@0}>; |
17 | 19 | ||
18 | aliases { | 20 | aliases { |
19 | ethernet0 = &EMAC0; | 21 | ethernet0 = &EMAC0; |
@@ -29,13 +31,13 @@ | |||
29 | cpu@0 { | 31 | cpu@0 { |
30 | device_type = "cpu"; | 32 | device_type = "cpu"; |
31 | model = "PowerPC,460EX"; | 33 | model = "PowerPC,460EX"; |
32 | reg = <0>; | 34 | reg = <0x00000000>; |
33 | clock-frequency = <0>; /* Filled in by U-Boot */ | 35 | clock-frequency = <0>; /* Filled in by U-Boot */ |
34 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 36 | timebase-frequency = <0>; /* Filled in by U-Boot */ |
35 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
36 | d-cache-line-size = <20>; | 38 | d-cache-line-size = <32>; |
37 | i-cache-size = <8000>; | 39 | i-cache-size = <32768>; |
38 | d-cache-size = <8000>; | 40 | d-cache-size = <32768>; |
39 | dcr-controller; | 41 | dcr-controller; |
40 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
41 | }; | 43 | }; |
@@ -43,14 +45,14 @@ | |||
43 | 45 | ||
44 | memory { | 46 | memory { |
45 | device_type = "memory"; | 47 | device_type = "memory"; |
46 | reg = <0 0 0>; /* Filled in by U-Boot */ | 48 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */ |
47 | }; | 49 | }; |
48 | 50 | ||
49 | UIC0: interrupt-controller0 { | 51 | UIC0: interrupt-controller0 { |
50 | compatible = "ibm,uic-460ex","ibm,uic"; | 52 | compatible = "ibm,uic-460ex","ibm,uic"; |
51 | interrupt-controller; | 53 | interrupt-controller; |
52 | cell-index = <0>; | 54 | cell-index = <0>; |
53 | dcr-reg = <0c0 009>; | 55 | dcr-reg = <0x0c0 0x009>; |
54 | #address-cells = <0>; | 56 | #address-cells = <0>; |
55 | #size-cells = <0>; | 57 | #size-cells = <0>; |
56 | #interrupt-cells = <2>; | 58 | #interrupt-cells = <2>; |
@@ -60,11 +62,11 @@ | |||
60 | compatible = "ibm,uic-460ex","ibm,uic"; | 62 | compatible = "ibm,uic-460ex","ibm,uic"; |
61 | interrupt-controller; | 63 | interrupt-controller; |
62 | cell-index = <1>; | 64 | cell-index = <1>; |
63 | dcr-reg = <0d0 009>; | 65 | dcr-reg = <0x0d0 0x009>; |
64 | #address-cells = <0>; | 66 | #address-cells = <0>; |
65 | #size-cells = <0>; | 67 | #size-cells = <0>; |
66 | #interrupt-cells = <2>; | 68 | #interrupt-cells = <2>; |
67 | interrupts = <1e 4 1f 4>; /* cascade */ | 69 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
68 | interrupt-parent = <&UIC0>; | 70 | interrupt-parent = <&UIC0>; |
69 | }; | 71 | }; |
70 | 72 | ||
@@ -72,11 +74,11 @@ | |||
72 | compatible = "ibm,uic-460ex","ibm,uic"; | 74 | compatible = "ibm,uic-460ex","ibm,uic"; |
73 | interrupt-controller; | 75 | interrupt-controller; |
74 | cell-index = <2>; | 76 | cell-index = <2>; |
75 | dcr-reg = <0e0 009>; | 77 | dcr-reg = <0x0e0 0x009>; |
76 | #address-cells = <0>; | 78 | #address-cells = <0>; |
77 | #size-cells = <0>; | 79 | #size-cells = <0>; |
78 | #interrupt-cells = <2>; | 80 | #interrupt-cells = <2>; |
79 | interrupts = <a 4 b 4>; /* cascade */ | 81 | interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ |
80 | interrupt-parent = <&UIC0>; | 82 | interrupt-parent = <&UIC0>; |
81 | }; | 83 | }; |
82 | 84 | ||
@@ -84,22 +86,22 @@ | |||
84 | compatible = "ibm,uic-460ex","ibm,uic"; | 86 | compatible = "ibm,uic-460ex","ibm,uic"; |
85 | interrupt-controller; | 87 | interrupt-controller; |
86 | cell-index = <3>; | 88 | cell-index = <3>; |
87 | dcr-reg = <0f0 009>; | 89 | dcr-reg = <0x0f0 0x009>; |
88 | #address-cells = <0>; | 90 | #address-cells = <0>; |
89 | #size-cells = <0>; | 91 | #size-cells = <0>; |
90 | #interrupt-cells = <2>; | 92 | #interrupt-cells = <2>; |
91 | interrupts = <10 4 11 4>; /* cascade */ | 93 | interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ |
92 | interrupt-parent = <&UIC0>; | 94 | interrupt-parent = <&UIC0>; |
93 | }; | 95 | }; |
94 | 96 | ||
95 | SDR0: sdr { | 97 | SDR0: sdr { |
96 | compatible = "ibm,sdr-460ex"; | 98 | compatible = "ibm,sdr-460ex"; |
97 | dcr-reg = <00e 002>; | 99 | dcr-reg = <0x00e 0x002>; |
98 | }; | 100 | }; |
99 | 101 | ||
100 | CPR0: cpr { | 102 | CPR0: cpr { |
101 | compatible = "ibm,cpr-460ex"; | 103 | compatible = "ibm,cpr-460ex"; |
102 | dcr-reg = <00c 002>; | 104 | dcr-reg = <0x00c 0x002>; |
103 | }; | 105 | }; |
104 | 106 | ||
105 | plb { | 107 | plb { |
@@ -111,74 +113,74 @@ | |||
111 | 113 | ||
112 | SDRAM0: sdram { | 114 | SDRAM0: sdram { |
113 | compatible = "ibm,sdram-460ex", "ibm,sdram-405gp"; | 115 | compatible = "ibm,sdram-460ex", "ibm,sdram-405gp"; |
114 | dcr-reg = <010 2>; | 116 | dcr-reg = <0x010 0x002>; |
115 | }; | 117 | }; |
116 | 118 | ||
117 | MAL0: mcmal { | 119 | MAL0: mcmal { |
118 | compatible = "ibm,mcmal-460ex", "ibm,mcmal2"; | 120 | compatible = "ibm,mcmal-460ex", "ibm,mcmal2"; |
119 | dcr-reg = <180 62>; | 121 | dcr-reg = <0x180 0x062>; |
120 | num-tx-chans = <2>; | 122 | num-tx-chans = <2>; |
121 | num-rx-chans = <10>; | 123 | num-rx-chans = <16>; |
122 | #address-cells = <0>; | 124 | #address-cells = <0>; |
123 | #size-cells = <0>; | 125 | #size-cells = <0>; |
124 | interrupt-parent = <&UIC2>; | 126 | interrupt-parent = <&UIC2>; |
125 | interrupts = < /*TXEOB*/ 6 4 | 127 | interrupts = < /*TXEOB*/ 0x6 0x4 |
126 | /*RXEOB*/ 7 4 | 128 | /*RXEOB*/ 0x7 0x4 |
127 | /*SERR*/ 3 4 | 129 | /*SERR*/ 0x3 0x4 |
128 | /*TXDE*/ 4 4 | 130 | /*TXDE*/ 0x4 0x4 |
129 | /*RXDE*/ 5 4>; | 131 | /*RXDE*/ 0x5 0x4>; |
130 | }; | 132 | }; |
131 | 133 | ||
132 | POB0: opb { | 134 | POB0: opb { |
133 | compatible = "ibm,opb-460ex", "ibm,opb"; | 135 | compatible = "ibm,opb-460ex", "ibm,opb"; |
134 | #address-cells = <1>; | 136 | #address-cells = <1>; |
135 | #size-cells = <1>; | 137 | #size-cells = <1>; |
136 | ranges = <b0000000 4 b0000000 50000000>; | 138 | ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>; |
137 | clock-frequency = <0>; /* Filled in by U-Boot */ | 139 | clock-frequency = <0>; /* Filled in by U-Boot */ |
138 | 140 | ||
139 | EBC0: ebc { | 141 | EBC0: ebc { |
140 | compatible = "ibm,ebc-460ex", "ibm,ebc"; | 142 | compatible = "ibm,ebc-460ex", "ibm,ebc"; |
141 | dcr-reg = <012 2>; | 143 | dcr-reg = <0x012 0x002>; |
142 | #address-cells = <2>; | 144 | #address-cells = <2>; |
143 | #size-cells = <1>; | 145 | #size-cells = <1>; |
144 | clock-frequency = <0>; /* Filled in by U-Boot */ | 146 | clock-frequency = <0>; /* Filled in by U-Boot */ |
145 | /* ranges property is supplied by U-Boot */ | 147 | /* ranges property is supplied by U-Boot */ |
146 | interrupts = <6 4>; | 148 | interrupts = <0x6 0x4>; |
147 | interrupt-parent = <&UIC1>; | 149 | interrupt-parent = <&UIC1>; |
148 | 150 | ||
149 | nor_flash@0,0 { | 151 | nor_flash@0,0 { |
150 | compatible = "amd,s29gl512n", "cfi-flash"; | 152 | compatible = "amd,s29gl512n", "cfi-flash"; |
151 | bank-width = <2>; | 153 | bank-width = <2>; |
152 | reg = <0 000000 4000000>; | 154 | reg = <0x00000000 0x00000000 0x04000000>; |
153 | #address-cells = <1>; | 155 | #address-cells = <1>; |
154 | #size-cells = <1>; | 156 | #size-cells = <1>; |
155 | partition@0 { | 157 | partition@0 { |
156 | label = "kernel"; | 158 | label = "kernel"; |
157 | reg = <0 1e0000>; | 159 | reg = <0x00000000 0x001e0000>; |
158 | }; | 160 | }; |
159 | partition@1e0000 { | 161 | partition@1e0000 { |
160 | label = "dtb"; | 162 | label = "dtb"; |
161 | reg = <1e0000 20000>; | 163 | reg = <0x001e0000 0x00020000>; |
162 | }; | 164 | }; |
163 | partition@200000 { | 165 | partition@200000 { |
164 | label = "ramdisk"; | 166 | label = "ramdisk"; |
165 | reg = <200000 1400000>; | 167 | reg = <0x00200000 0x01400000>; |
166 | }; | 168 | }; |
167 | partition@1600000 { | 169 | partition@1600000 { |
168 | label = "jffs2"; | 170 | label = "jffs2"; |
169 | reg = <1600000 400000>; | 171 | reg = <0x01600000 0x00400000>; |
170 | }; | 172 | }; |
171 | partition@1a00000 { | 173 | partition@1a00000 { |
172 | label = "user"; | 174 | label = "user"; |
173 | reg = <1a00000 2560000>; | 175 | reg = <0x01a00000 0x02560000>; |
174 | }; | 176 | }; |
175 | partition@3f60000 { | 177 | partition@3f60000 { |
176 | label = "env"; | 178 | label = "env"; |
177 | reg = <3f60000 40000>; | 179 | reg = <0x03f60000 0x00040000>; |
178 | }; | 180 | }; |
179 | partition@3fa0000 { | 181 | partition@3fa0000 { |
180 | label = "u-boot"; | 182 | label = "u-boot"; |
181 | reg = <3fa0000 60000>; | 183 | reg = <0x03fa0000 0x00060000>; |
182 | }; | 184 | }; |
183 | }; | 185 | }; |
184 | }; | 186 | }; |
@@ -186,103 +188,103 @@ | |||
186 | UART0: serial@ef600300 { | 188 | UART0: serial@ef600300 { |
187 | device_type = "serial"; | 189 | device_type = "serial"; |
188 | compatible = "ns16550"; | 190 | compatible = "ns16550"; |
189 | reg = <ef600300 8>; | 191 | reg = <0xef600300 0x00000008>; |
190 | virtual-reg = <ef600300>; | 192 | virtual-reg = <0xef600300>; |
191 | clock-frequency = <0>; /* Filled in by U-Boot */ | 193 | clock-frequency = <0>; /* Filled in by U-Boot */ |
192 | current-speed = <0>; /* Filled in by U-Boot */ | 194 | current-speed = <0>; /* Filled in by U-Boot */ |
193 | interrupt-parent = <&UIC1>; | 195 | interrupt-parent = <&UIC1>; |
194 | interrupts = <1 4>; | 196 | interrupts = <0x1 0x4>; |
195 | }; | 197 | }; |
196 | 198 | ||
197 | UART1: serial@ef600400 { | 199 | UART1: serial@ef600400 { |
198 | device_type = "serial"; | 200 | device_type = "serial"; |
199 | compatible = "ns16550"; | 201 | compatible = "ns16550"; |
200 | reg = <ef600400 8>; | 202 | reg = <0xef600400 0x00000008>; |
201 | virtual-reg = <ef600400>; | 203 | virtual-reg = <0xef600400>; |
202 | clock-frequency = <0>; /* Filled in by U-Boot */ | 204 | clock-frequency = <0>; /* Filled in by U-Boot */ |
203 | current-speed = <0>; /* Filled in by U-Boot */ | 205 | current-speed = <0>; /* Filled in by U-Boot */ |
204 | interrupt-parent = <&UIC0>; | 206 | interrupt-parent = <&UIC0>; |
205 | interrupts = <1 4>; | 207 | interrupts = <0x1 0x4>; |
206 | }; | 208 | }; |
207 | 209 | ||
208 | UART2: serial@ef600500 { | 210 | UART2: serial@ef600500 { |
209 | device_type = "serial"; | 211 | device_type = "serial"; |
210 | compatible = "ns16550"; | 212 | compatible = "ns16550"; |
211 | reg = <ef600500 8>; | 213 | reg = <0xef600500 0x00000008>; |
212 | virtual-reg = <ef600500>; | 214 | virtual-reg = <0xef600500>; |
213 | clock-frequency = <0>; /* Filled in by U-Boot */ | 215 | clock-frequency = <0>; /* Filled in by U-Boot */ |
214 | current-speed = <0>; /* Filled in by U-Boot */ | 216 | current-speed = <0>; /* Filled in by U-Boot */ |
215 | interrupt-parent = <&UIC1>; | 217 | interrupt-parent = <&UIC1>; |
216 | interrupts = <1d 4>; | 218 | interrupts = <0x1d 0x4>; |
217 | }; | 219 | }; |
218 | 220 | ||
219 | UART3: serial@ef600600 { | 221 | UART3: serial@ef600600 { |
220 | device_type = "serial"; | 222 | device_type = "serial"; |
221 | compatible = "ns16550"; | 223 | compatible = "ns16550"; |
222 | reg = <ef600600 8>; | 224 | reg = <0xef600600 0x00000008>; |
223 | virtual-reg = <ef600600>; | 225 | virtual-reg = <0xef600600>; |
224 | clock-frequency = <0>; /* Filled in by U-Boot */ | 226 | clock-frequency = <0>; /* Filled in by U-Boot */ |
225 | current-speed = <0>; /* Filled in by U-Boot */ | 227 | current-speed = <0>; /* Filled in by U-Boot */ |
226 | interrupt-parent = <&UIC1>; | 228 | interrupt-parent = <&UIC1>; |
227 | interrupts = <1e 4>; | 229 | interrupts = <0x1e 0x4>; |
228 | }; | 230 | }; |
229 | 231 | ||
230 | IIC0: i2c@ef600700 { | 232 | IIC0: i2c@ef600700 { |
231 | compatible = "ibm,iic-460ex", "ibm,iic"; | 233 | compatible = "ibm,iic-460ex", "ibm,iic"; |
232 | reg = <ef600700 14>; | 234 | reg = <0xef600700 0x00000014>; |
233 | interrupt-parent = <&UIC0>; | 235 | interrupt-parent = <&UIC0>; |
234 | interrupts = <2 4>; | 236 | interrupts = <0x2 0x4>; |
235 | }; | 237 | }; |
236 | 238 | ||
237 | IIC1: i2c@ef600800 { | 239 | IIC1: i2c@ef600800 { |
238 | compatible = "ibm,iic-460ex", "ibm,iic"; | 240 | compatible = "ibm,iic-460ex", "ibm,iic"; |
239 | reg = <ef600800 14>; | 241 | reg = <0xef600800 0x00000014>; |
240 | interrupt-parent = <&UIC0>; | 242 | interrupt-parent = <&UIC0>; |
241 | interrupts = <3 4>; | 243 | interrupts = <0x3 0x4>; |
242 | }; | 244 | }; |
243 | 245 | ||
244 | ZMII0: emac-zmii@ef600d00 { | 246 | ZMII0: emac-zmii@ef600d00 { |
245 | compatible = "ibm,zmii-460ex", "ibm,zmii"; | 247 | compatible = "ibm,zmii-460ex", "ibm,zmii"; |
246 | reg = <ef600d00 c>; | 248 | reg = <0xef600d00 0x0000000c>; |
247 | }; | 249 | }; |
248 | 250 | ||
249 | RGMII0: emac-rgmii@ef601500 { | 251 | RGMII0: emac-rgmii@ef601500 { |
250 | compatible = "ibm,rgmii-460ex", "ibm,rgmii"; | 252 | compatible = "ibm,rgmii-460ex", "ibm,rgmii"; |
251 | reg = <ef601500 8>; | 253 | reg = <0xef601500 0x00000008>; |
252 | has-mdio; | 254 | has-mdio; |
253 | }; | 255 | }; |
254 | 256 | ||
255 | TAH0: emac-tah@ef601350 { | 257 | TAH0: emac-tah@ef601350 { |
256 | compatible = "ibm,tah-460ex", "ibm,tah"; | 258 | compatible = "ibm,tah-460ex", "ibm,tah"; |
257 | reg = <ef601350 30>; | 259 | reg = <0xef601350 0x00000030>; |
258 | }; | 260 | }; |
259 | 261 | ||
260 | TAH1: emac-tah@ef601450 { | 262 | TAH1: emac-tah@ef601450 { |
261 | compatible = "ibm,tah-460ex", "ibm,tah"; | 263 | compatible = "ibm,tah-460ex", "ibm,tah"; |
262 | reg = <ef601450 30>; | 264 | reg = <0xef601450 0x00000030>; |
263 | }; | 265 | }; |
264 | 266 | ||
265 | EMAC0: ethernet@ef600e00 { | 267 | EMAC0: ethernet@ef600e00 { |
266 | device_type = "network"; | 268 | device_type = "network"; |
267 | compatible = "ibm,emac-460ex", "ibm,emac4"; | 269 | compatible = "ibm,emac-460ex", "ibm,emac4"; |
268 | interrupt-parent = <&EMAC0>; | 270 | interrupt-parent = <&EMAC0>; |
269 | interrupts = <0 1>; | 271 | interrupts = <0x0 0x1>; |
270 | #interrupt-cells = <1>; | 272 | #interrupt-cells = <1>; |
271 | #address-cells = <0>; | 273 | #address-cells = <0>; |
272 | #size-cells = <0>; | 274 | #size-cells = <0>; |
273 | interrupt-map = </*Status*/ 0 &UIC2 10 4 | 275 | interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 |
274 | /*Wake*/ 1 &UIC2 14 4>; | 276 | /*Wake*/ 0x1 &UIC2 0x14 0x4>; |
275 | reg = <ef600e00 70>; | 277 | reg = <0xef600e00 0x00000070>; |
276 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 278 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
277 | mal-device = <&MAL0>; | 279 | mal-device = <&MAL0>; |
278 | mal-tx-channel = <0>; | 280 | mal-tx-channel = <0>; |
279 | mal-rx-channel = <0>; | 281 | mal-rx-channel = <0>; |
280 | cell-index = <0>; | 282 | cell-index = <0>; |
281 | max-frame-size = <2328>; | 283 | max-frame-size = <9000>; |
282 | rx-fifo-size = <1000>; | 284 | rx-fifo-size = <4096>; |
283 | tx-fifo-size = <800>; | 285 | tx-fifo-size = <2048>; |
284 | phy-mode = "rgmii"; | 286 | phy-mode = "rgmii"; |
285 | phy-map = <00000000>; | 287 | phy-map = <0x00000000>; |
286 | rgmii-device = <&RGMII0>; | 288 | rgmii-device = <&RGMII0>; |
287 | rgmii-channel = <0>; | 289 | rgmii-channel = <0>; |
288 | tah-device = <&TAH0>; | 290 | tah-device = <&TAH0>; |
@@ -295,23 +297,23 @@ | |||
295 | device_type = "network"; | 297 | device_type = "network"; |
296 | compatible = "ibm,emac-460ex", "ibm,emac4"; | 298 | compatible = "ibm,emac-460ex", "ibm,emac4"; |
297 | interrupt-parent = <&EMAC1>; | 299 | interrupt-parent = <&EMAC1>; |
298 | interrupts = <0 1>; | 300 | interrupts = <0x0 0x1>; |
299 | #interrupt-cells = <1>; | 301 | #interrupt-cells = <1>; |
300 | #address-cells = <0>; | 302 | #address-cells = <0>; |
301 | #size-cells = <0>; | 303 | #size-cells = <0>; |
302 | interrupt-map = </*Status*/ 0 &UIC2 11 4 | 304 | interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 |
303 | /*Wake*/ 1 &UIC2 15 4>; | 305 | /*Wake*/ 0x1 &UIC2 0x15 0x4>; |
304 | reg = <ef600f00 70>; | 306 | reg = <0xef600f00 0x00000070>; |
305 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 307 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
306 | mal-device = <&MAL0>; | 308 | mal-device = <&MAL0>; |
307 | mal-tx-channel = <1>; | 309 | mal-tx-channel = <1>; |
308 | mal-rx-channel = <8>; | 310 | mal-rx-channel = <8>; |
309 | cell-index = <1>; | 311 | cell-index = <1>; |
310 | max-frame-size = <2328>; | 312 | max-frame-size = <9000>; |
311 | rx-fifo-size = <1000>; | 313 | rx-fifo-size = <4096>; |
312 | tx-fifo-size = <800>; | 314 | tx-fifo-size = <2048>; |
313 | phy-mode = "rgmii"; | 315 | phy-mode = "rgmii"; |
314 | phy-map = <00000000>; | 316 | phy-map = <0x00000000>; |
315 | rgmii-device = <&RGMII0>; | 317 | rgmii-device = <&RGMII0>; |
316 | rgmii-channel = <1>; | 318 | rgmii-channel = <1>; |
317 | tah-device = <&TAH1>; | 319 | tah-device = <&TAH1>; |
@@ -331,27 +333,27 @@ | |||
331 | primary; | 333 | primary; |
332 | large-inbound-windows; | 334 | large-inbound-windows; |
333 | enable-msi-hole; | 335 | enable-msi-hole; |
334 | reg = <c 0ec00000 8 /* Config space access */ | 336 | reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ |
335 | 0 0 0 /* no IACK cycles */ | 337 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
336 | c 0ed00000 4 /* Special cycles */ | 338 | 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ |
337 | c 0ec80000 100 /* Internal registers */ | 339 | 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ |
338 | c 0ec80100 fc>; /* Internal messaging registers */ | 340 | 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
339 | 341 | ||
340 | /* Outbound ranges, one memory and one IO, | 342 | /* Outbound ranges, one memory and one IO, |
341 | * later cannot be changed | 343 | * later cannot be changed |
342 | */ | 344 | */ |
343 | ranges = <02000000 0 80000000 0000000d 80000000 0 80000000 | 345 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 |
344 | 01000000 0 00000000 0000000c 08000000 0 00010000>; | 346 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; |
345 | 347 | ||
346 | /* Inbound 2GB range starting at 0 */ | 348 | /* Inbound 2GB range starting at 0 */ |
347 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 349 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
348 | 350 | ||
349 | /* This drives busses 0 to 0x3f */ | 351 | /* This drives busses 0 to 0x3f */ |
350 | bus-range = <0 3f>; | 352 | bus-range = <0x0 0x3f>; |
351 | 353 | ||
352 | /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ | 354 | /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ |
353 | interrupt-map-mask = <0000 0 0 0>; | 355 | interrupt-map-mask = <0x0 0x0 0x0 0x0>; |
354 | interrupt-map = < 0000 0 0 0 &UIC1 0 8 >; | 356 | interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >; |
355 | }; | 357 | }; |
356 | 358 | ||
357 | PCIE0: pciex@d00000000 { | 359 | PCIE0: pciex@d00000000 { |
@@ -361,23 +363,23 @@ | |||
361 | #address-cells = <3>; | 363 | #address-cells = <3>; |
362 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; | 364 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; |
363 | primary; | 365 | primary; |
364 | port = <0>; /* port number */ | 366 | port = <0x0>; /* port number */ |
365 | reg = <d 00000000 20000000 /* Config space access */ | 367 | reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ |
366 | c 08010000 00001000>; /* Registers */ | 368 | 0x0000000c 0x08010000 0x00001000>; /* Registers */ |
367 | dcr-reg = <100 020>; | 369 | dcr-reg = <0x100 0x020>; |
368 | sdr-base = <300>; | 370 | sdr-base = <0x300>; |
369 | 371 | ||
370 | /* Outbound ranges, one memory and one IO, | 372 | /* Outbound ranges, one memory and one IO, |
371 | * later cannot be changed | 373 | * later cannot be changed |
372 | */ | 374 | */ |
373 | ranges = <02000000 0 80000000 0000000e 00000000 0 80000000 | 375 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 |
374 | 01000000 0 00000000 0000000f 80000000 0 00010000>; | 376 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; |
375 | 377 | ||
376 | /* Inbound 2GB range starting at 0 */ | 378 | /* Inbound 2GB range starting at 0 */ |
377 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 379 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
378 | 380 | ||
379 | /* This drives busses 40 to 0x7f */ | 381 | /* This drives busses 40 to 0x7f */ |
380 | bus-range = <40 7f>; | 382 | bus-range = <0x40 0x7f>; |
381 | 383 | ||
382 | /* Legacy interrupts (note the weird polarity, the bridge seems | 384 | /* Legacy interrupts (note the weird polarity, the bridge seems |
383 | * to invert PCIe legacy interrupts). | 385 | * to invert PCIe legacy interrupts). |
@@ -387,12 +389,12 @@ | |||
387 | * below are basically de-swizzled numbers. | 389 | * below are basically de-swizzled numbers. |
388 | * The real slot is on idsel 0, so the swizzling is 1:1 | 390 | * The real slot is on idsel 0, so the swizzling is 1:1 |
389 | */ | 391 | */ |
390 | interrupt-map-mask = <0000 0 0 7>; | 392 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
391 | interrupt-map = < | 393 | interrupt-map = < |
392 | 0000 0 0 1 &UIC3 c 4 /* swizzled int A */ | 394 | 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */ |
393 | 0000 0 0 2 &UIC3 d 4 /* swizzled int B */ | 395 | 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */ |
394 | 0000 0 0 3 &UIC3 e 4 /* swizzled int C */ | 396 | 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */ |
395 | 0000 0 0 4 &UIC3 f 4 /* swizzled int D */>; | 397 | 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>; |
396 | }; | 398 | }; |
397 | 399 | ||
398 | PCIE1: pciex@d20000000 { | 400 | PCIE1: pciex@d20000000 { |
@@ -402,23 +404,23 @@ | |||
402 | #address-cells = <3>; | 404 | #address-cells = <3>; |
403 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; | 405 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; |
404 | primary; | 406 | primary; |
405 | port = <1>; /* port number */ | 407 | port = <0x1>; /* port number */ |
406 | reg = <d 20000000 20000000 /* Config space access */ | 408 | reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ |
407 | c 08011000 00001000>; /* Registers */ | 409 | 0x0000000c 0x08011000 0x00001000>; /* Registers */ |
408 | dcr-reg = <120 020>; | 410 | dcr-reg = <0x120 0x020>; |
409 | sdr-base = <340>; | 411 | sdr-base = <0x340>; |
410 | 412 | ||
411 | /* Outbound ranges, one memory and one IO, | 413 | /* Outbound ranges, one memory and one IO, |
412 | * later cannot be changed | 414 | * later cannot be changed |
413 | */ | 415 | */ |
414 | ranges = <02000000 0 80000000 0000000e 80000000 0 80000000 | 416 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 |
415 | 01000000 0 00000000 0000000f 80010000 0 00010000>; | 417 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; |
416 | 418 | ||
417 | /* Inbound 2GB range starting at 0 */ | 419 | /* Inbound 2GB range starting at 0 */ |
418 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 420 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
419 | 421 | ||
420 | /* This drives busses 80 to 0xbf */ | 422 | /* This drives busses 80 to 0xbf */ |
421 | bus-range = <80 bf>; | 423 | bus-range = <0x80 0xbf>; |
422 | 424 | ||
423 | /* Legacy interrupts (note the weird polarity, the bridge seems | 425 | /* Legacy interrupts (note the weird polarity, the bridge seems |
424 | * to invert PCIe legacy interrupts). | 426 | * to invert PCIe legacy interrupts). |
@@ -428,12 +430,12 @@ | |||
428 | * below are basically de-swizzled numbers. | 430 | * below are basically de-swizzled numbers. |
429 | * The real slot is on idsel 0, so the swizzling is 1:1 | 431 | * The real slot is on idsel 0, so the swizzling is 1:1 |
430 | */ | 432 | */ |
431 | interrupt-map-mask = <0000 0 0 7>; | 433 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
432 | interrupt-map = < | 434 | interrupt-map = < |
433 | 0000 0 0 1 &UIC3 10 4 /* swizzled int A */ | 435 | 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */ |
434 | 0000 0 0 2 &UIC3 11 4 /* swizzled int B */ | 436 | 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */ |
435 | 0000 0 0 3 &UIC3 12 4 /* swizzled int C */ | 437 | 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ |
436 | 0000 0 0 4 &UIC3 13 4 /* swizzled int D */>; | 438 | 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; |
437 | }; | 439 | }; |
438 | }; | 440 | }; |
439 | }; | 441 | }; |
diff --git a/arch/powerpc/boot/dts/ebony.dts b/arch/powerpc/boot/dts/ebony.dts index 5079dc890e0e..ec2d142291b4 100644 --- a/arch/powerpc/boot/dts/ebony.dts +++ b/arch/powerpc/boot/dts/ebony.dts | |||
@@ -11,12 +11,14 @@ | |||
11 | * any warranty of any kind, whether express or implied. | 11 | * any warranty of any kind, whether express or implied. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /dts-v1/; | ||
15 | |||
14 | / { | 16 | / { |
15 | #address-cells = <2>; | 17 | #address-cells = <2>; |
16 | #size-cells = <1>; | 18 | #size-cells = <1>; |
17 | model = "ibm,ebony"; | 19 | model = "ibm,ebony"; |
18 | compatible = "ibm,ebony"; | 20 | compatible = "ibm,ebony"; |
19 | dcr-parent = <&/cpus/cpu@0>; | 21 | dcr-parent = <&{/cpus/cpu@0}>; |
20 | 22 | ||
21 | aliases { | 23 | aliases { |
22 | ethernet0 = &EMAC0; | 24 | ethernet0 = &EMAC0; |
@@ -32,13 +34,13 @@ | |||
32 | cpu@0 { | 34 | cpu@0 { |
33 | device_type = "cpu"; | 35 | device_type = "cpu"; |
34 | model = "PowerPC,440GP"; | 36 | model = "PowerPC,440GP"; |
35 | reg = <0>; | 37 | reg = <0x00000000>; |
36 | clock-frequency = <0>; // Filled in by zImage | 38 | clock-frequency = <0>; // Filled in by zImage |
37 | timebase-frequency = <0>; // Filled in by zImage | 39 | timebase-frequency = <0>; // Filled in by zImage |
38 | i-cache-line-size = <20>; | 40 | i-cache-line-size = <32>; |
39 | d-cache-line-size = <20>; | 41 | d-cache-line-size = <32>; |
40 | i-cache-size = <8000>; /* 32 kB */ | 42 | i-cache-size = <32768>; /* 32 kB */ |
41 | d-cache-size = <8000>; /* 32 kB */ | 43 | d-cache-size = <32768>; /* 32 kB */ |
42 | dcr-controller; | 44 | dcr-controller; |
43 | dcr-access-method = "native"; | 45 | dcr-access-method = "native"; |
44 | }; | 46 | }; |
@@ -46,14 +48,14 @@ | |||
46 | 48 | ||
47 | memory { | 49 | memory { |
48 | device_type = "memory"; | 50 | device_type = "memory"; |
49 | reg = <0 0 0>; // Filled in by zImage | 51 | reg = <0x00000000 0x00000000 0x00000000>; // Filled in by zImage |
50 | }; | 52 | }; |
51 | 53 | ||
52 | UIC0: interrupt-controller0 { | 54 | UIC0: interrupt-controller0 { |
53 | compatible = "ibm,uic-440gp", "ibm,uic"; | 55 | compatible = "ibm,uic-440gp", "ibm,uic"; |
54 | interrupt-controller; | 56 | interrupt-controller; |
55 | cell-index = <0>; | 57 | cell-index = <0>; |
56 | dcr-reg = <0c0 009>; | 58 | dcr-reg = <0x0c0 0x009>; |
57 | #address-cells = <0>; | 59 | #address-cells = <0>; |
58 | #size-cells = <0>; | 60 | #size-cells = <0>; |
59 | #interrupt-cells = <2>; | 61 | #interrupt-cells = <2>; |
@@ -64,17 +66,17 @@ | |||
64 | compatible = "ibm,uic-440gp", "ibm,uic"; | 66 | compatible = "ibm,uic-440gp", "ibm,uic"; |
65 | interrupt-controller; | 67 | interrupt-controller; |
66 | cell-index = <1>; | 68 | cell-index = <1>; |
67 | dcr-reg = <0d0 009>; | 69 | dcr-reg = <0x0d0 0x009>; |
68 | #address-cells = <0>; | 70 | #address-cells = <0>; |
69 | #size-cells = <0>; | 71 | #size-cells = <0>; |
70 | #interrupt-cells = <2>; | 72 | #interrupt-cells = <2>; |
71 | interrupts = <1e 4 1f 4>; /* cascade */ | 73 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
72 | interrupt-parent = <&UIC0>; | 74 | interrupt-parent = <&UIC0>; |
73 | }; | 75 | }; |
74 | 76 | ||
75 | CPC0: cpc { | 77 | CPC0: cpc { |
76 | compatible = "ibm,cpc-440gp"; | 78 | compatible = "ibm,cpc-440gp"; |
77 | dcr-reg = <0b0 003 0e0 010>; | 79 | dcr-reg = <0x0b0 0x003 0x0e0 0x010>; |
78 | // FIXME: anything else? | 80 | // FIXME: anything else? |
79 | }; | 81 | }; |
80 | 82 | ||
@@ -87,37 +89,37 @@ | |||
87 | 89 | ||
88 | SDRAM0: memory-controller { | 90 | SDRAM0: memory-controller { |
89 | compatible = "ibm,sdram-440gp"; | 91 | compatible = "ibm,sdram-440gp"; |
90 | dcr-reg = <010 2>; | 92 | dcr-reg = <0x010 0x002>; |
91 | // FIXME: anything else? | 93 | // FIXME: anything else? |
92 | }; | 94 | }; |
93 | 95 | ||
94 | SRAM0: sram { | 96 | SRAM0: sram { |
95 | compatible = "ibm,sram-440gp"; | 97 | compatible = "ibm,sram-440gp"; |
96 | dcr-reg = <020 8 00a 1>; | 98 | dcr-reg = <0x020 0x008 0x00a 0x001>; |
97 | }; | 99 | }; |
98 | 100 | ||
99 | DMA0: dma { | 101 | DMA0: dma { |
100 | // FIXME: ??? | 102 | // FIXME: ??? |
101 | compatible = "ibm,dma-440gp"; | 103 | compatible = "ibm,dma-440gp"; |
102 | dcr-reg = <100 027>; | 104 | dcr-reg = <0x100 0x027>; |
103 | }; | 105 | }; |
104 | 106 | ||
105 | MAL0: mcmal { | 107 | MAL0: mcmal { |
106 | compatible = "ibm,mcmal-440gp", "ibm,mcmal"; | 108 | compatible = "ibm,mcmal-440gp", "ibm,mcmal"; |
107 | dcr-reg = <180 62>; | 109 | dcr-reg = <0x180 0x062>; |
108 | num-tx-chans = <4>; | 110 | num-tx-chans = <4>; |
109 | num-rx-chans = <4>; | 111 | num-rx-chans = <4>; |
110 | interrupt-parent = <&MAL0>; | 112 | interrupt-parent = <&MAL0>; |
111 | interrupts = <0 1 2 3 4>; | 113 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
112 | #interrupt-cells = <1>; | 114 | #interrupt-cells = <1>; |
113 | #address-cells = <0>; | 115 | #address-cells = <0>; |
114 | #size-cells = <0>; | 116 | #size-cells = <0>; |
115 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 117 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
116 | /*RXEOB*/ 1 &UIC0 b 4 | 118 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
117 | /*SERR*/ 2 &UIC1 0 4 | 119 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
118 | /*TXDE*/ 3 &UIC1 1 4 | 120 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
119 | /*RXDE*/ 4 &UIC1 2 4>; | 121 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
120 | interrupt-map-mask = <ffffffff>; | 122 | interrupt-map-mask = <0xffffffff>; |
121 | }; | 123 | }; |
122 | 124 | ||
123 | POB0: opb { | 125 | POB0: opb { |
@@ -126,34 +128,34 @@ | |||
126 | #size-cells = <1>; | 128 | #size-cells = <1>; |
127 | /* Wish there was a nicer way of specifying a full 32-bit | 129 | /* Wish there was a nicer way of specifying a full 32-bit |
128 | range */ | 130 | range */ |
129 | ranges = <00000000 1 00000000 80000000 | 131 | ranges = <0x00000000 0x00000001 0x00000000 0x80000000 |
130 | 80000000 1 80000000 80000000>; | 132 | 0x80000000 0x00000001 0x80000000 0x80000000>; |
131 | dcr-reg = <090 00b>; | 133 | dcr-reg = <0x090 0x00b>; |
132 | interrupt-parent = <&UIC1>; | 134 | interrupt-parent = <&UIC1>; |
133 | interrupts = <7 4>; | 135 | interrupts = <0x7 0x4>; |
134 | clock-frequency = <0>; // Filled in by zImage | 136 | clock-frequency = <0>; // Filled in by zImage |
135 | 137 | ||
136 | EBC0: ebc { | 138 | EBC0: ebc { |
137 | compatible = "ibm,ebc-440gp", "ibm,ebc"; | 139 | compatible = "ibm,ebc-440gp", "ibm,ebc"; |
138 | dcr-reg = <012 2>; | 140 | dcr-reg = <0x012 0x002>; |
139 | #address-cells = <2>; | 141 | #address-cells = <2>; |
140 | #size-cells = <1>; | 142 | #size-cells = <1>; |
141 | clock-frequency = <0>; // Filled in by zImage | 143 | clock-frequency = <0>; // Filled in by zImage |
142 | // ranges property is supplied by zImage | 144 | // ranges property is supplied by zImage |
143 | // based on firmware's configuration of the | 145 | // based on firmware's configuration of the |
144 | // EBC bridge | 146 | // EBC bridge |
145 | interrupts = <5 4>; | 147 | interrupts = <0x5 0x4>; |
146 | interrupt-parent = <&UIC1>; | 148 | interrupt-parent = <&UIC1>; |
147 | 149 | ||
148 | small-flash@0,80000 { | 150 | small-flash@0,80000 { |
149 | compatible = "jedec-flash"; | 151 | compatible = "jedec-flash"; |
150 | bank-width = <1>; | 152 | bank-width = <1>; |
151 | reg = <0 80000 80000>; | 153 | reg = <0x00000000 0x00080000 0x00080000>; |
152 | #address-cells = <1>; | 154 | #address-cells = <1>; |
153 | #size-cells = <1>; | 155 | #size-cells = <1>; |
154 | partition@0 { | 156 | partition@0 { |
155 | label = "OpenBIOS"; | 157 | label = "OpenBIOS"; |
156 | reg = <0 80000>; | 158 | reg = <0x00000000 0x00080000>; |
157 | read-only; | 159 | read-only; |
158 | }; | 160 | }; |
159 | }; | 161 | }; |
@@ -161,101 +163,101 @@ | |||
161 | nvram@1,0 { | 163 | nvram@1,0 { |
162 | /* NVRAM & RTC */ | 164 | /* NVRAM & RTC */ |
163 | compatible = "ds1743-nvram"; | 165 | compatible = "ds1743-nvram"; |
164 | #bytes = <2000>; | 166 | #bytes = <0x2000>; |
165 | reg = <1 0 2000>; | 167 | reg = <0x00000001 0x00000000 0x00002000>; |
166 | }; | 168 | }; |
167 | 169 | ||
168 | large-flash@2,0 { | 170 | large-flash@2,0 { |
169 | compatible = "jedec-flash"; | 171 | compatible = "jedec-flash"; |
170 | bank-width = <1>; | 172 | bank-width = <1>; |
171 | reg = <2 0 400000>; | 173 | reg = <0x00000002 0x00000000 0x00400000>; |
172 | #address-cells = <1>; | 174 | #address-cells = <1>; |
173 | #size-cells = <1>; | 175 | #size-cells = <1>; |
174 | partition@0 { | 176 | partition@0 { |
175 | label = "fs"; | 177 | label = "fs"; |
176 | reg = <0 380000>; | 178 | reg = <0x00000000 0x00380000>; |
177 | }; | 179 | }; |
178 | partition@380000 { | 180 | partition@380000 { |
179 | label = "firmware"; | 181 | label = "firmware"; |
180 | reg = <380000 80000>; | 182 | reg = <0x00380000 0x00080000>; |
181 | }; | 183 | }; |
182 | }; | 184 | }; |
183 | 185 | ||
184 | ir@3,0 { | 186 | ir@3,0 { |
185 | reg = <3 0 10>; | 187 | reg = <0x00000003 0x00000000 0x00000010>; |
186 | }; | 188 | }; |
187 | 189 | ||
188 | fpga@7,0 { | 190 | fpga@7,0 { |
189 | compatible = "Ebony-FPGA"; | 191 | compatible = "Ebony-FPGA"; |
190 | reg = <7 0 10>; | 192 | reg = <0x00000007 0x00000000 0x00000010>; |
191 | virtual-reg = <e8300000>; | 193 | virtual-reg = <0xe8300000>; |
192 | }; | 194 | }; |
193 | }; | 195 | }; |
194 | 196 | ||
195 | UART0: serial@40000200 { | 197 | UART0: serial@40000200 { |
196 | device_type = "serial"; | 198 | device_type = "serial"; |
197 | compatible = "ns16550"; | 199 | compatible = "ns16550"; |
198 | reg = <40000200 8>; | 200 | reg = <0x40000200 0x00000008>; |
199 | virtual-reg = <e0000200>; | 201 | virtual-reg = <0xe0000200>; |
200 | clock-frequency = <A8C000>; | 202 | clock-frequency = <11059200>; |
201 | current-speed = <2580>; | 203 | current-speed = <9600>; |
202 | interrupt-parent = <&UIC0>; | 204 | interrupt-parent = <&UIC0>; |
203 | interrupts = <0 4>; | 205 | interrupts = <0x0 0x4>; |
204 | }; | 206 | }; |
205 | 207 | ||
206 | UART1: serial@40000300 { | 208 | UART1: serial@40000300 { |
207 | device_type = "serial"; | 209 | device_type = "serial"; |
208 | compatible = "ns16550"; | 210 | compatible = "ns16550"; |
209 | reg = <40000300 8>; | 211 | reg = <0x40000300 0x00000008>; |
210 | virtual-reg = <e0000300>; | 212 | virtual-reg = <0xe0000300>; |
211 | clock-frequency = <A8C000>; | 213 | clock-frequency = <11059200>; |
212 | current-speed = <2580>; | 214 | current-speed = <9600>; |
213 | interrupt-parent = <&UIC0>; | 215 | interrupt-parent = <&UIC0>; |
214 | interrupts = <1 4>; | 216 | interrupts = <0x1 0x4>; |
215 | }; | 217 | }; |
216 | 218 | ||
217 | IIC0: i2c@40000400 { | 219 | IIC0: i2c@40000400 { |
218 | /* FIXME */ | 220 | /* FIXME */ |
219 | compatible = "ibm,iic-440gp", "ibm,iic"; | 221 | compatible = "ibm,iic-440gp", "ibm,iic"; |
220 | reg = <40000400 14>; | 222 | reg = <0x40000400 0x00000014>; |
221 | interrupt-parent = <&UIC0>; | 223 | interrupt-parent = <&UIC0>; |
222 | interrupts = <2 4>; | 224 | interrupts = <0x2 0x4>; |
223 | }; | 225 | }; |
224 | IIC1: i2c@40000500 { | 226 | IIC1: i2c@40000500 { |
225 | /* FIXME */ | 227 | /* FIXME */ |
226 | compatible = "ibm,iic-440gp", "ibm,iic"; | 228 | compatible = "ibm,iic-440gp", "ibm,iic"; |
227 | reg = <40000500 14>; | 229 | reg = <0x40000500 0x00000014>; |
228 | interrupt-parent = <&UIC0>; | 230 | interrupt-parent = <&UIC0>; |
229 | interrupts = <3 4>; | 231 | interrupts = <0x3 0x4>; |
230 | }; | 232 | }; |
231 | 233 | ||
232 | GPIO0: gpio@40000700 { | 234 | GPIO0: gpio@40000700 { |
233 | /* FIXME */ | 235 | /* FIXME */ |
234 | compatible = "ibm,gpio-440gp"; | 236 | compatible = "ibm,gpio-440gp"; |
235 | reg = <40000700 20>; | 237 | reg = <0x40000700 0x00000020>; |
236 | }; | 238 | }; |
237 | 239 | ||
238 | ZMII0: emac-zmii@40000780 { | 240 | ZMII0: emac-zmii@40000780 { |
239 | compatible = "ibm,zmii-440gp", "ibm,zmii"; | 241 | compatible = "ibm,zmii-440gp", "ibm,zmii"; |
240 | reg = <40000780 c>; | 242 | reg = <0x40000780 0x0000000c>; |
241 | }; | 243 | }; |
242 | 244 | ||
243 | EMAC0: ethernet@40000800 { | 245 | EMAC0: ethernet@40000800 { |
244 | device_type = "network"; | 246 | device_type = "network"; |
245 | compatible = "ibm,emac-440gp", "ibm,emac"; | 247 | compatible = "ibm,emac-440gp", "ibm,emac"; |
246 | interrupt-parent = <&UIC1>; | 248 | interrupt-parent = <&UIC1>; |
247 | interrupts = <1c 4 1d 4>; | 249 | interrupts = <0x1c 0x4 0x1d 0x4>; |
248 | reg = <40000800 70>; | 250 | reg = <0x40000800 0x00000070>; |
249 | local-mac-address = [000000000000]; // Filled in by zImage | 251 | local-mac-address = [000000000000]; // Filled in by zImage |
250 | mal-device = <&MAL0>; | 252 | mal-device = <&MAL0>; |
251 | mal-tx-channel = <0 1>; | 253 | mal-tx-channel = <0 1>; |
252 | mal-rx-channel = <0>; | 254 | mal-rx-channel = <0>; |
253 | cell-index = <0>; | 255 | cell-index = <0>; |
254 | max-frame-size = <5dc>; | 256 | max-frame-size = <1500>; |
255 | rx-fifo-size = <1000>; | 257 | rx-fifo-size = <4096>; |
256 | tx-fifo-size = <800>; | 258 | tx-fifo-size = <2048>; |
257 | phy-mode = "rmii"; | 259 | phy-mode = "rmii"; |
258 | phy-map = <00000001>; | 260 | phy-map = <0x00000001>; |
259 | zmii-device = <&ZMII0>; | 261 | zmii-device = <&ZMII0>; |
260 | zmii-channel = <0>; | 262 | zmii-channel = <0>; |
261 | }; | 263 | }; |
@@ -263,18 +265,18 @@ | |||
263 | device_type = "network"; | 265 | device_type = "network"; |
264 | compatible = "ibm,emac-440gp", "ibm,emac"; | 266 | compatible = "ibm,emac-440gp", "ibm,emac"; |
265 | interrupt-parent = <&UIC1>; | 267 | interrupt-parent = <&UIC1>; |
266 | interrupts = <1e 4 1f 4>; | 268 | interrupts = <0x1e 0x4 0x1f 0x4>; |
267 | reg = <40000900 70>; | 269 | reg = <0x40000900 0x00000070>; |
268 | local-mac-address = [000000000000]; // Filled in by zImage | 270 | local-mac-address = [000000000000]; // Filled in by zImage |
269 | mal-device = <&MAL0>; | 271 | mal-device = <&MAL0>; |
270 | mal-tx-channel = <2 3>; | 272 | mal-tx-channel = <2 3>; |
271 | mal-rx-channel = <1>; | 273 | mal-rx-channel = <1>; |
272 | cell-index = <1>; | 274 | cell-index = <1>; |
273 | max-frame-size = <5dc>; | 275 | max-frame-size = <1500>; |
274 | rx-fifo-size = <1000>; | 276 | rx-fifo-size = <4096>; |
275 | tx-fifo-size = <800>; | 277 | tx-fifo-size = <2048>; |
276 | phy-mode = "rmii"; | 278 | phy-mode = "rmii"; |
277 | phy-map = <00000001>; | 279 | phy-map = <0x00000001>; |
278 | zmii-device = <&ZMII0>; | 280 | zmii-device = <&ZMII0>; |
279 | zmii-channel = <1>; | 281 | zmii-channel = <1>; |
280 | }; | 282 | }; |
@@ -282,9 +284,9 @@ | |||
282 | 284 | ||
283 | GPT0: gpt@40000a00 { | 285 | GPT0: gpt@40000a00 { |
284 | /* FIXME */ | 286 | /* FIXME */ |
285 | reg = <40000a00 d4>; | 287 | reg = <0x40000a00 0x000000d4>; |
286 | interrupt-parent = <&UIC0>; | 288 | interrupt-parent = <&UIC0>; |
287 | interrupts = <12 4 13 4 14 4 15 4 16 4>; | 289 | interrupts = <0x12 0x4 0x13 0x4 0x14 0x4 0x15 0x4 0x16 0x4>; |
288 | }; | 290 | }; |
289 | 291 | ||
290 | }; | 292 | }; |
@@ -296,35 +298,35 @@ | |||
296 | #address-cells = <3>; | 298 | #address-cells = <3>; |
297 | compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix"; | 299 | compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix"; |
298 | primary; | 300 | primary; |
299 | reg = <2 0ec00000 8 /* Config space access */ | 301 | reg = <0x00000002 0x0ec00000 0x00000008 /* Config space access */ |
300 | 0 0 0 /* no IACK cycles */ | 302 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
301 | 2 0ed00000 4 /* Special cycles */ | 303 | 0x00000002 0x0ed00000 0x00000004 /* Special cycles */ |
302 | 2 0ec80000 f0 /* Internal registers */ | 304 | 0x00000002 0x0ec80000 0x000000f0 /* Internal registers */ |
303 | 2 0ec80100 fc>; /* Internal messaging registers */ | 305 | 0x00000002 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
304 | 306 | ||
305 | /* Outbound ranges, one memory and one IO, | 307 | /* Outbound ranges, one memory and one IO, |
306 | * later cannot be changed | 308 | * later cannot be changed |
307 | */ | 309 | */ |
308 | ranges = <02000000 0 80000000 00000003 80000000 0 80000000 | 310 | ranges = <0x02000000 0x00000000 0x80000000 0x00000003 0x80000000 0x00000000 0x80000000 |
309 | 01000000 0 00000000 00000002 08000000 0 00010000>; | 311 | 0x01000000 0x00000000 0x00000000 0x00000002 0x08000000 0x00000000 0x00010000>; |
310 | 312 | ||
311 | /* Inbound 2GB range starting at 0 */ | 313 | /* Inbound 2GB range starting at 0 */ |
312 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 314 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
313 | 315 | ||
314 | /* Ebony has all 4 IRQ pins tied together per slot */ | 316 | /* Ebony has all 4 IRQ pins tied together per slot */ |
315 | interrupt-map-mask = <f800 0 0 0>; | 317 | interrupt-map-mask = <0xf800 0x0 0x0 0x0>; |
316 | interrupt-map = < | 318 | interrupt-map = < |
317 | /* IDSEL 1 */ | 319 | /* IDSEL 1 */ |
318 | 0800 0 0 0 &UIC0 17 8 | 320 | 0x800 0x0 0x0 0x0 &UIC0 0x17 0x8 |
319 | 321 | ||
320 | /* IDSEL 2 */ | 322 | /* IDSEL 2 */ |
321 | 1000 0 0 0 &UIC0 18 8 | 323 | 0x1000 0x0 0x0 0x0 &UIC0 0x18 0x8 |
322 | 324 | ||
323 | /* IDSEL 3 */ | 325 | /* IDSEL 3 */ |
324 | 1800 0 0 0 &UIC0 19 8 | 326 | 0x1800 0x0 0x0 0x0 &UIC0 0x19 0x8 |
325 | 327 | ||
326 | /* IDSEL 4 */ | 328 | /* IDSEL 4 */ |
327 | 2000 0 0 0 &UIC0 1a 8 | 329 | 0x2000 0x0 0x0 0x0 &UIC0 0x1a 0x8 |
328 | >; | 330 | >; |
329 | }; | 331 | }; |
330 | }; | 332 | }; |
diff --git a/arch/powerpc/boot/dts/ep405.dts b/arch/powerpc/boot/dts/ep405.dts index 92938557ac8a..53ef06cc2134 100644 --- a/arch/powerpc/boot/dts/ep405.dts +++ b/arch/powerpc/boot/dts/ep405.dts | |||
@@ -9,12 +9,14 @@ | |||
9 | * any warranty of any kind, whether express or implied. | 9 | * any warranty of any kind, whether express or implied. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | ||
13 | |||
12 | / { | 14 | / { |
13 | #address-cells = <1>; | 15 | #address-cells = <1>; |
14 | #size-cells = <1>; | 16 | #size-cells = <1>; |
15 | model = "ep405"; | 17 | model = "ep405"; |
16 | compatible = "ep405"; | 18 | compatible = "ep405"; |
17 | dcr-parent = <&/cpus/cpu@0>; | 19 | dcr-parent = <&{/cpus/cpu@0}>; |
18 | 20 | ||
19 | aliases { | 21 | aliases { |
20 | ethernet0 = &EMAC; | 22 | ethernet0 = &EMAC; |
@@ -29,13 +31,13 @@ | |||
29 | cpu@0 { | 31 | cpu@0 { |
30 | device_type = "cpu"; | 32 | device_type = "cpu"; |
31 | model = "PowerPC,405GP"; | 33 | model = "PowerPC,405GP"; |
32 | reg = <0>; | 34 | reg = <0x00000000>; |
33 | clock-frequency = <bebc200>; /* Filled in by zImage */ | 35 | clock-frequency = <200000000>; /* Filled in by zImage */ |
34 | timebase-frequency = <0>; /* Filled in by zImage */ | 36 | timebase-frequency = <0>; /* Filled in by zImage */ |
35 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
36 | d-cache-line-size = <20>; | 38 | d-cache-line-size = <32>; |
37 | i-cache-size = <4000>; | 39 | i-cache-size = <16384>; |
38 | d-cache-size = <4000>; | 40 | d-cache-size = <16384>; |
39 | dcr-controller; | 41 | dcr-controller; |
40 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
41 | }; | 43 | }; |
@@ -43,14 +45,14 @@ | |||
43 | 45 | ||
44 | memory { | 46 | memory { |
45 | device_type = "memory"; | 47 | device_type = "memory"; |
46 | reg = <0 0>; /* Filled in by zImage */ | 48 | reg = <0x00000000 0x00000000>; /* Filled in by zImage */ |
47 | }; | 49 | }; |
48 | 50 | ||
49 | UIC0: interrupt-controller { | 51 | UIC0: interrupt-controller { |
50 | compatible = "ibm,uic"; | 52 | compatible = "ibm,uic"; |
51 | interrupt-controller; | 53 | interrupt-controller; |
52 | cell-index = <0>; | 54 | cell-index = <0>; |
53 | dcr-reg = <0c0 9>; | 55 | dcr-reg = <0x0c0 0x009>; |
54 | #address-cells = <0>; | 56 | #address-cells = <0>; |
55 | #size-cells = <0>; | 57 | #size-cells = <0>; |
56 | #interrupt-cells = <2>; | 58 | #interrupt-cells = <2>; |
@@ -65,91 +67,91 @@ | |||
65 | 67 | ||
66 | SDRAM0: memory-controller { | 68 | SDRAM0: memory-controller { |
67 | compatible = "ibm,sdram-405gp"; | 69 | compatible = "ibm,sdram-405gp"; |
68 | dcr-reg = <010 2>; | 70 | dcr-reg = <0x010 0x002>; |
69 | }; | 71 | }; |
70 | 72 | ||
71 | MAL: mcmal { | 73 | MAL: mcmal { |
72 | compatible = "ibm,mcmal-405gp", "ibm,mcmal"; | 74 | compatible = "ibm,mcmal-405gp", "ibm,mcmal"; |
73 | dcr-reg = <180 62>; | 75 | dcr-reg = <0x180 0x062>; |
74 | num-tx-chans = <1>; | 76 | num-tx-chans = <1>; |
75 | num-rx-chans = <1>; | 77 | num-rx-chans = <1>; |
76 | interrupt-parent = <&UIC0>; | 78 | interrupt-parent = <&UIC0>; |
77 | interrupts = < | 79 | interrupts = < |
78 | b 4 /* TXEOB */ | 80 | 0xb 0x4 /* TXEOB */ |
79 | c 4 /* RXEOB */ | 81 | 0xc 0x4 /* RXEOB */ |
80 | a 4 /* SERR */ | 82 | 0xa 0x4 /* SERR */ |
81 | d 4 /* TXDE */ | 83 | 0xd 0x4 /* TXDE */ |
82 | e 4 /* RXDE */>; | 84 | 0xe 0x4 /* RXDE */>; |
83 | }; | 85 | }; |
84 | 86 | ||
85 | POB0: opb { | 87 | POB0: opb { |
86 | compatible = "ibm,opb-405gp", "ibm,opb"; | 88 | compatible = "ibm,opb-405gp", "ibm,opb"; |
87 | #address-cells = <1>; | 89 | #address-cells = <1>; |
88 | #size-cells = <1>; | 90 | #size-cells = <1>; |
89 | ranges = <ef600000 ef600000 a00000>; | 91 | ranges = <0xef600000 0xef600000 0x00a00000>; |
90 | dcr-reg = <0a0 5>; | 92 | dcr-reg = <0x0a0 0x005>; |
91 | clock-frequency = <0>; /* Filled in by zImage */ | 93 | clock-frequency = <0>; /* Filled in by zImage */ |
92 | 94 | ||
93 | UART0: serial@ef600300 { | 95 | UART0: serial@ef600300 { |
94 | device_type = "serial"; | 96 | device_type = "serial"; |
95 | compatible = "ns16550"; | 97 | compatible = "ns16550"; |
96 | reg = <ef600300 8>; | 98 | reg = <0xef600300 0x00000008>; |
97 | virtual-reg = <ef600300>; | 99 | virtual-reg = <0xef600300>; |
98 | clock-frequency = <0>; /* Filled in by zImage */ | 100 | clock-frequency = <0>; /* Filled in by zImage */ |
99 | current-speed = <2580>; | 101 | current-speed = <9600>; |
100 | interrupt-parent = <&UIC0>; | 102 | interrupt-parent = <&UIC0>; |
101 | interrupts = <0 4>; | 103 | interrupts = <0x0 0x4>; |
102 | }; | 104 | }; |
103 | 105 | ||
104 | UART1: serial@ef600400 { | 106 | UART1: serial@ef600400 { |
105 | device_type = "serial"; | 107 | device_type = "serial"; |
106 | compatible = "ns16550"; | 108 | compatible = "ns16550"; |
107 | reg = <ef600400 8>; | 109 | reg = <0xef600400 0x00000008>; |
108 | virtual-reg = <ef600400>; | 110 | virtual-reg = <0xef600400>; |
109 | clock-frequency = <0>; /* Filled in by zImage */ | 111 | clock-frequency = <0>; /* Filled in by zImage */ |
110 | current-speed = <2580>; | 112 | current-speed = <9600>; |
111 | interrupt-parent = <&UIC0>; | 113 | interrupt-parent = <&UIC0>; |
112 | interrupts = <1 4>; | 114 | interrupts = <0x1 0x4>; |
113 | }; | 115 | }; |
114 | 116 | ||
115 | IIC: i2c@ef600500 { | 117 | IIC: i2c@ef600500 { |
116 | compatible = "ibm,iic-405gp", "ibm,iic"; | 118 | compatible = "ibm,iic-405gp", "ibm,iic"; |
117 | reg = <ef600500 11>; | 119 | reg = <0xef600500 0x00000011>; |
118 | interrupt-parent = <&UIC0>; | 120 | interrupt-parent = <&UIC0>; |
119 | interrupts = <2 4>; | 121 | interrupts = <0x2 0x4>; |
120 | }; | 122 | }; |
121 | 123 | ||
122 | GPIO: gpio@ef600700 { | 124 | GPIO: gpio@ef600700 { |
123 | compatible = "ibm,gpio-405gp"; | 125 | compatible = "ibm,gpio-405gp"; |
124 | reg = <ef600700 20>; | 126 | reg = <0xef600700 0x00000020>; |
125 | }; | 127 | }; |
126 | 128 | ||
127 | EMAC: ethernet@ef600800 { | 129 | EMAC: ethernet@ef600800 { |
128 | linux,network-index = <0>; | 130 | linux,network-index = <0x0>; |
129 | device_type = "network"; | 131 | device_type = "network"; |
130 | compatible = "ibm,emac-405gp", "ibm,emac"; | 132 | compatible = "ibm,emac-405gp", "ibm,emac"; |
131 | interrupt-parent = <&UIC0>; | 133 | interrupt-parent = <&UIC0>; |
132 | interrupts = < | 134 | interrupts = < |
133 | f 4 /* Ethernet */ | 135 | 0xf 0x4 /* Ethernet */ |
134 | 9 4 /* Ethernet Wake Up */>; | 136 | 0x9 0x4 /* Ethernet Wake Up */>; |
135 | local-mac-address = [000000000000]; /* Filled in by zImage */ | 137 | local-mac-address = [000000000000]; /* Filled in by zImage */ |
136 | reg = <ef600800 70>; | 138 | reg = <0xef600800 0x00000070>; |
137 | mal-device = <&MAL>; | 139 | mal-device = <&MAL>; |
138 | mal-tx-channel = <0>; | 140 | mal-tx-channel = <0>; |
139 | mal-rx-channel = <0>; | 141 | mal-rx-channel = <0>; |
140 | cell-index = <0>; | 142 | cell-index = <0>; |
141 | max-frame-size = <5dc>; | 143 | max-frame-size = <1500>; |
142 | rx-fifo-size = <1000>; | 144 | rx-fifo-size = <4096>; |
143 | tx-fifo-size = <800>; | 145 | tx-fifo-size = <2048>; |
144 | phy-mode = "rmii"; | 146 | phy-mode = "rmii"; |
145 | phy-map = <00000000>; | 147 | phy-map = <0x00000000>; |
146 | }; | 148 | }; |
147 | 149 | ||
148 | }; | 150 | }; |
149 | 151 | ||
150 | EBC0: ebc { | 152 | EBC0: ebc { |
151 | compatible = "ibm,ebc-405gp", "ibm,ebc"; | 153 | compatible = "ibm,ebc-405gp", "ibm,ebc"; |
152 | dcr-reg = <012 2>; | 154 | dcr-reg = <0x012 0x002>; |
153 | #address-cells = <2>; | 155 | #address-cells = <2>; |
154 | #size-cells = <1>; | 156 | #size-cells = <1>; |
155 | 157 | ||
@@ -163,13 +165,13 @@ | |||
163 | /* NVRAM and RTC */ | 165 | /* NVRAM and RTC */ |
164 | nvrtc@4,200000 { | 166 | nvrtc@4,200000 { |
165 | compatible = "ds1742"; | 167 | compatible = "ds1742"; |
166 | reg = <4 200000 0>; /* size fixed up by zImage */ | 168 | reg = <0x00000004 0x00200000 0x00000000>; /* size fixed up by zImage */ |
167 | }; | 169 | }; |
168 | 170 | ||
169 | /* "BCSR" CPLD contains a PCI irq controller */ | 171 | /* "BCSR" CPLD contains a PCI irq controller */ |
170 | bcsr@4,0 { | 172 | bcsr@4,0 { |
171 | compatible = "ep405-bcsr"; | 173 | compatible = "ep405-bcsr"; |
172 | reg = <4 0 10>; | 174 | reg = <0x00000004 0x00000000 0x00000010>; |
173 | interrupt-controller; | 175 | interrupt-controller; |
174 | /* Routing table */ | 176 | /* Routing table */ |
175 | irq-routing = [ 00 /* SYSERR */ | 177 | irq-routing = [ 00 /* SYSERR */ |
@@ -198,26 +200,26 @@ | |||
198 | #address-cells = <3>; | 200 | #address-cells = <3>; |
199 | compatible = "ibm,plb405gp-pci", "ibm,plb-pci"; | 201 | compatible = "ibm,plb405gp-pci", "ibm,plb-pci"; |
200 | primary; | 202 | primary; |
201 | reg = <eec00000 8 /* Config space access */ | 203 | reg = <0xeec00000 0x00000008 /* Config space access */ |
202 | eed80000 4 /* IACK */ | 204 | 0xeed80000 0x00000004 /* IACK */ |
203 | eed80000 4 /* Special cycle */ | 205 | 0xeed80000 0x00000004 /* Special cycle */ |
204 | ef480000 40>; /* Internal registers */ | 206 | 0xef480000 0x00000040>; /* Internal registers */ |
205 | 207 | ||
206 | /* Outbound ranges, one memory and one IO, | 208 | /* Outbound ranges, one memory and one IO, |
207 | * later cannot be changed. Chip supports a second | 209 | * later cannot be changed. Chip supports a second |
208 | * IO range but we don't use it for now | 210 | * IO range but we don't use it for now |
209 | */ | 211 | */ |
210 | ranges = <02000000 0 80000000 80000000 0 20000000 | 212 | ranges = <0x02000000 0x00000000 0x80000000 0x80000000 0x00000000 0x20000000 |
211 | 01000000 0 00000000 e8000000 0 00010000>; | 213 | 0x01000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; |
212 | 214 | ||
213 | /* Inbound 2GB range starting at 0 */ | 215 | /* Inbound 2GB range starting at 0 */ |
214 | dma-ranges = <42000000 0 0 0 0 80000000>; | 216 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
215 | 217 | ||
216 | /* That's all I know about IRQs on that thing ... */ | 218 | /* That's all I know about IRQs on that thing ... */ |
217 | interrupt-map-mask = <f800 0 0 0>; | 219 | interrupt-map-mask = <0xf800 0x0 0x0 0x0>; |
218 | interrupt-map = < | 220 | interrupt-map = < |
219 | /* USB */ | 221 | /* USB */ |
220 | 7000 0 0 0 &UIC0 1e 8 /* IRQ5 */ | 222 | 0x7000 0x0 0x0 0x0 &UIC0 0x1e 0x8 /* IRQ5 */ |
221 | >; | 223 | >; |
222 | }; | 224 | }; |
223 | }; | 225 | }; |
diff --git a/arch/powerpc/boot/dts/glacier.dts b/arch/powerpc/boot/dts/glacier.dts index 0f2fc077d8db..463650c5f61d 100644 --- a/arch/powerpc/boot/dts/glacier.dts +++ b/arch/powerpc/boot/dts/glacier.dts | |||
@@ -8,12 +8,14 @@ | |||
8 | * any warranty of any kind, whether express or implied. | 8 | * any warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | ||
12 | |||
11 | / { | 13 | / { |
12 | #address-cells = <2>; | 14 | #address-cells = <2>; |
13 | #size-cells = <1>; | 15 | #size-cells = <1>; |
14 | model = "amcc,glacier"; | 16 | model = "amcc,glacier"; |
15 | compatible = "amcc,glacier", "amcc,canyonlands"; | 17 | compatible = "amcc,glacier", "amcc,canyonlands"; |
16 | dcr-parent = <&/cpus/cpu@0>; | 18 | dcr-parent = <&{/cpus/cpu@0}>; |
17 | 19 | ||
18 | aliases { | 20 | aliases { |
19 | ethernet0 = &EMAC0; | 21 | ethernet0 = &EMAC0; |
@@ -31,13 +33,13 @@ | |||
31 | cpu@0 { | 33 | cpu@0 { |
32 | device_type = "cpu"; | 34 | device_type = "cpu"; |
33 | model = "PowerPC,460GT"; | 35 | model = "PowerPC,460GT"; |
34 | reg = <0>; | 36 | reg = <0x00000000>; |
35 | clock-frequency = <0>; /* Filled in by U-Boot */ | 37 | clock-frequency = <0>; /* Filled in by U-Boot */ |
36 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 38 | timebase-frequency = <0>; /* Filled in by U-Boot */ |
37 | i-cache-line-size = <20>; | 39 | i-cache-line-size = <32>; |
38 | d-cache-line-size = <20>; | 40 | d-cache-line-size = <32>; |
39 | i-cache-size = <8000>; | 41 | i-cache-size = <32768>; |
40 | d-cache-size = <8000>; | 42 | d-cache-size = <32768>; |
41 | dcr-controller; | 43 | dcr-controller; |
42 | dcr-access-method = "native"; | 44 | dcr-access-method = "native"; |
43 | }; | 45 | }; |
@@ -45,14 +47,14 @@ | |||
45 | 47 | ||
46 | memory { | 48 | memory { |
47 | device_type = "memory"; | 49 | device_type = "memory"; |
48 | reg = <0 0 0>; /* Filled in by U-Boot */ | 50 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */ |
49 | }; | 51 | }; |
50 | 52 | ||
51 | UIC0: interrupt-controller0 { | 53 | UIC0: interrupt-controller0 { |
52 | compatible = "ibm,uic-460gt","ibm,uic"; | 54 | compatible = "ibm,uic-460gt","ibm,uic"; |
53 | interrupt-controller; | 55 | interrupt-controller; |
54 | cell-index = <0>; | 56 | cell-index = <0>; |
55 | dcr-reg = <0c0 009>; | 57 | dcr-reg = <0x0c0 0x009>; |
56 | #address-cells = <0>; | 58 | #address-cells = <0>; |
57 | #size-cells = <0>; | 59 | #size-cells = <0>; |
58 | #interrupt-cells = <2>; | 60 | #interrupt-cells = <2>; |
@@ -62,11 +64,11 @@ | |||
62 | compatible = "ibm,uic-460gt","ibm,uic"; | 64 | compatible = "ibm,uic-460gt","ibm,uic"; |
63 | interrupt-controller; | 65 | interrupt-controller; |
64 | cell-index = <1>; | 66 | cell-index = <1>; |
65 | dcr-reg = <0d0 009>; | 67 | dcr-reg = <0x0d0 0x009>; |
66 | #address-cells = <0>; | 68 | #address-cells = <0>; |
67 | #size-cells = <0>; | 69 | #size-cells = <0>; |
68 | #interrupt-cells = <2>; | 70 | #interrupt-cells = <2>; |
69 | interrupts = <1e 4 1f 4>; /* cascade */ | 71 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
70 | interrupt-parent = <&UIC0>; | 72 | interrupt-parent = <&UIC0>; |
71 | }; | 73 | }; |
72 | 74 | ||
@@ -74,11 +76,11 @@ | |||
74 | compatible = "ibm,uic-460gt","ibm,uic"; | 76 | compatible = "ibm,uic-460gt","ibm,uic"; |
75 | interrupt-controller; | 77 | interrupt-controller; |
76 | cell-index = <2>; | 78 | cell-index = <2>; |
77 | dcr-reg = <0e0 009>; | 79 | dcr-reg = <0x0e0 0x009>; |
78 | #address-cells = <0>; | 80 | #address-cells = <0>; |
79 | #size-cells = <0>; | 81 | #size-cells = <0>; |
80 | #interrupt-cells = <2>; | 82 | #interrupt-cells = <2>; |
81 | interrupts = <a 4 b 4>; /* cascade */ | 83 | interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ |
82 | interrupt-parent = <&UIC0>; | 84 | interrupt-parent = <&UIC0>; |
83 | }; | 85 | }; |
84 | 86 | ||
@@ -86,22 +88,22 @@ | |||
86 | compatible = "ibm,uic-460gt","ibm,uic"; | 88 | compatible = "ibm,uic-460gt","ibm,uic"; |
87 | interrupt-controller; | 89 | interrupt-controller; |
88 | cell-index = <3>; | 90 | cell-index = <3>; |
89 | dcr-reg = <0f0 009>; | 91 | dcr-reg = <0x0f0 0x009>; |
90 | #address-cells = <0>; | 92 | #address-cells = <0>; |
91 | #size-cells = <0>; | 93 | #size-cells = <0>; |
92 | #interrupt-cells = <2>; | 94 | #interrupt-cells = <2>; |
93 | interrupts = <10 4 11 4>; /* cascade */ | 95 | interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ |
94 | interrupt-parent = <&UIC0>; | 96 | interrupt-parent = <&UIC0>; |
95 | }; | 97 | }; |
96 | 98 | ||
97 | SDR0: sdr { | 99 | SDR0: sdr { |
98 | compatible = "ibm,sdr-460gt"; | 100 | compatible = "ibm,sdr-460gt"; |
99 | dcr-reg = <00e 002>; | 101 | dcr-reg = <0x00e 0x002>; |
100 | }; | 102 | }; |
101 | 103 | ||
102 | CPR0: cpr { | 104 | CPR0: cpr { |
103 | compatible = "ibm,cpr-460gt"; | 105 | compatible = "ibm,cpr-460gt"; |
104 | dcr-reg = <00c 002>; | 106 | dcr-reg = <0x00c 0x002>; |
105 | }; | 107 | }; |
106 | 108 | ||
107 | plb { | 109 | plb { |
@@ -113,75 +115,75 @@ | |||
113 | 115 | ||
114 | SDRAM0: sdram { | 116 | SDRAM0: sdram { |
115 | compatible = "ibm,sdram-460gt", "ibm,sdram-405gp"; | 117 | compatible = "ibm,sdram-460gt", "ibm,sdram-405gp"; |
116 | dcr-reg = <010 2>; | 118 | dcr-reg = <0x010 0x002>; |
117 | }; | 119 | }; |
118 | 120 | ||
119 | MAL0: mcmal { | 121 | MAL0: mcmal { |
120 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; | 122 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; |
121 | dcr-reg = <180 62>; | 123 | dcr-reg = <0x180 0x062>; |
122 | num-tx-chans = <4>; | 124 | num-tx-chans = <4>; |
123 | num-rx-chans = <20>; | 125 | num-rx-chans = <32>; |
124 | #address-cells = <0>; | 126 | #address-cells = <0>; |
125 | #size-cells = <0>; | 127 | #size-cells = <0>; |
126 | interrupt-parent = <&UIC2>; | 128 | interrupt-parent = <&UIC2>; |
127 | interrupts = < /*TXEOB*/ 6 4 | 129 | interrupts = < /*TXEOB*/ 0x6 0x4 |
128 | /*RXEOB*/ 7 4 | 130 | /*RXEOB*/ 0x7 0x4 |
129 | /*SERR*/ 3 4 | 131 | /*SERR*/ 0x3 0x4 |
130 | /*TXDE*/ 4 4 | 132 | /*TXDE*/ 0x4 0x4 |
131 | /*RXDE*/ 5 4>; | 133 | /*RXDE*/ 0x5 0x4>; |
132 | desc-base-addr-high = <8>; | 134 | desc-base-addr-high = <0x8>; |
133 | }; | 135 | }; |
134 | 136 | ||
135 | POB0: opb { | 137 | POB0: opb { |
136 | compatible = "ibm,opb-460gt", "ibm,opb"; | 138 | compatible = "ibm,opb-460gt", "ibm,opb"; |
137 | #address-cells = <1>; | 139 | #address-cells = <1>; |
138 | #size-cells = <1>; | 140 | #size-cells = <1>; |
139 | ranges = <b0000000 4 b0000000 50000000>; | 141 | ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>; |
140 | clock-frequency = <0>; /* Filled in by U-Boot */ | 142 | clock-frequency = <0>; /* Filled in by U-Boot */ |
141 | 143 | ||
142 | EBC0: ebc { | 144 | EBC0: ebc { |
143 | compatible = "ibm,ebc-460gt", "ibm,ebc"; | 145 | compatible = "ibm,ebc-460gt", "ibm,ebc"; |
144 | dcr-reg = <012 2>; | 146 | dcr-reg = <0x012 0x002>; |
145 | #address-cells = <2>; | 147 | #address-cells = <2>; |
146 | #size-cells = <1>; | 148 | #size-cells = <1>; |
147 | clock-frequency = <0>; /* Filled in by U-Boot */ | 149 | clock-frequency = <0>; /* Filled in by U-Boot */ |
148 | /* ranges property is supplied by U-Boot */ | 150 | /* ranges property is supplied by U-Boot */ |
149 | interrupts = <6 4>; | 151 | interrupts = <0x6 0x4>; |
150 | interrupt-parent = <&UIC1>; | 152 | interrupt-parent = <&UIC1>; |
151 | 153 | ||
152 | nor_flash@0,0 { | 154 | nor_flash@0,0 { |
153 | compatible = "amd,s29gl512n", "cfi-flash"; | 155 | compatible = "amd,s29gl512n", "cfi-flash"; |
154 | bank-width = <2>; | 156 | bank-width = <2>; |
155 | reg = <0 000000 4000000>; | 157 | reg = <0x00000000 0x00000000 0x04000000>; |
156 | #address-cells = <1>; | 158 | #address-cells = <1>; |
157 | #size-cells = <1>; | 159 | #size-cells = <1>; |
158 | partition@0 { | 160 | partition@0 { |
159 | label = "kernel"; | 161 | label = "kernel"; |
160 | reg = <0 1e0000>; | 162 | reg = <0x00000000 0x001e0000>; |
161 | }; | 163 | }; |
162 | partition@1e0000 { | 164 | partition@1e0000 { |
163 | label = "dtb"; | 165 | label = "dtb"; |
164 | reg = <1e0000 20000>; | 166 | reg = <0x001e0000 0x00020000>; |
165 | }; | 167 | }; |
166 | partition@200000 { | 168 | partition@200000 { |
167 | label = "ramdisk"; | 169 | label = "ramdisk"; |
168 | reg = <200000 1400000>; | 170 | reg = <0x00200000 0x01400000>; |
169 | }; | 171 | }; |
170 | partition@1600000 { | 172 | partition@1600000 { |
171 | label = "jffs2"; | 173 | label = "jffs2"; |
172 | reg = <1600000 400000>; | 174 | reg = <0x01600000 0x00400000>; |
173 | }; | 175 | }; |
174 | partition@1a00000 { | 176 | partition@1a00000 { |
175 | label = "user"; | 177 | label = "user"; |
176 | reg = <1a00000 2560000>; | 178 | reg = <0x01a00000 0x02560000>; |
177 | }; | 179 | }; |
178 | partition@3f60000 { | 180 | partition@3f60000 { |
179 | label = "env"; | 181 | label = "env"; |
180 | reg = <3f60000 40000>; | 182 | reg = <0x03f60000 0x00040000>; |
181 | }; | 183 | }; |
182 | partition@3fa0000 { | 184 | partition@3fa0000 { |
183 | label = "u-boot"; | 185 | label = "u-boot"; |
184 | reg = <3fa0000 60000>; | 186 | reg = <0x03fa0000 0x00060000>; |
185 | }; | 187 | }; |
186 | }; | 188 | }; |
187 | }; | 189 | }; |
@@ -189,109 +191,109 @@ | |||
189 | UART0: serial@ef600300 { | 191 | UART0: serial@ef600300 { |
190 | device_type = "serial"; | 192 | device_type = "serial"; |
191 | compatible = "ns16550"; | 193 | compatible = "ns16550"; |
192 | reg = <ef600300 8>; | 194 | reg = <0xef600300 0x00000008>; |
193 | virtual-reg = <ef600300>; | 195 | virtual-reg = <0xef600300>; |
194 | clock-frequency = <0>; /* Filled in by U-Boot */ | 196 | clock-frequency = <0>; /* Filled in by U-Boot */ |
195 | current-speed = <0>; /* Filled in by U-Boot */ | 197 | current-speed = <0>; /* Filled in by U-Boot */ |
196 | interrupt-parent = <&UIC1>; | 198 | interrupt-parent = <&UIC1>; |
197 | interrupts = <1 4>; | 199 | interrupts = <0x1 0x4>; |
198 | }; | 200 | }; |
199 | 201 | ||
200 | UART1: serial@ef600400 { | 202 | UART1: serial@ef600400 { |
201 | device_type = "serial"; | 203 | device_type = "serial"; |
202 | compatible = "ns16550"; | 204 | compatible = "ns16550"; |
203 | reg = <ef600400 8>; | 205 | reg = <0xef600400 0x00000008>; |
204 | virtual-reg = <ef600400>; | 206 | virtual-reg = <0xef600400>; |
205 | clock-frequency = <0>; /* Filled in by U-Boot */ | 207 | clock-frequency = <0>; /* Filled in by U-Boot */ |
206 | current-speed = <0>; /* Filled in by U-Boot */ | 208 | current-speed = <0>; /* Filled in by U-Boot */ |
207 | interrupt-parent = <&UIC0>; | 209 | interrupt-parent = <&UIC0>; |
208 | interrupts = <1 4>; | 210 | interrupts = <0x1 0x4>; |
209 | }; | 211 | }; |
210 | 212 | ||
211 | UART2: serial@ef600500 { | 213 | UART2: serial@ef600500 { |
212 | device_type = "serial"; | 214 | device_type = "serial"; |
213 | compatible = "ns16550"; | 215 | compatible = "ns16550"; |
214 | reg = <ef600500 8>; | 216 | reg = <0xef600500 0x00000008>; |
215 | virtual-reg = <ef600500>; | 217 | virtual-reg = <0xef600500>; |
216 | clock-frequency = <0>; /* Filled in by U-Boot */ | 218 | clock-frequency = <0>; /* Filled in by U-Boot */ |
217 | current-speed = <0>; /* Filled in by U-Boot */ | 219 | current-speed = <0>; /* Filled in by U-Boot */ |
218 | interrupt-parent = <&UIC1>; | 220 | interrupt-parent = <&UIC1>; |
219 | interrupts = <1d 4>; | 221 | interrupts = <0x1d 0x4>; |
220 | }; | 222 | }; |
221 | 223 | ||
222 | UART3: serial@ef600600 { | 224 | UART3: serial@ef600600 { |
223 | device_type = "serial"; | 225 | device_type = "serial"; |
224 | compatible = "ns16550"; | 226 | compatible = "ns16550"; |
225 | reg = <ef600600 8>; | 227 | reg = <0xef600600 0x00000008>; |
226 | virtual-reg = <ef600600>; | 228 | virtual-reg = <0xef600600>; |
227 | clock-frequency = <0>; /* Filled in by U-Boot */ | 229 | clock-frequency = <0>; /* Filled in by U-Boot */ |
228 | current-speed = <0>; /* Filled in by U-Boot */ | 230 | current-speed = <0>; /* Filled in by U-Boot */ |
229 | interrupt-parent = <&UIC1>; | 231 | interrupt-parent = <&UIC1>; |
230 | interrupts = <1e 4>; | 232 | interrupts = <0x1e 0x4>; |
231 | }; | 233 | }; |
232 | 234 | ||
233 | IIC0: i2c@ef600700 { | 235 | IIC0: i2c@ef600700 { |
234 | compatible = "ibm,iic-460gt", "ibm,iic"; | 236 | compatible = "ibm,iic-460gt", "ibm,iic"; |
235 | reg = <ef600700 14>; | 237 | reg = <0xef600700 0x00000014>; |
236 | interrupt-parent = <&UIC0>; | 238 | interrupt-parent = <&UIC0>; |
237 | interrupts = <2 4>; | 239 | interrupts = <0x2 0x4>; |
238 | }; | 240 | }; |
239 | 241 | ||
240 | IIC1: i2c@ef600800 { | 242 | IIC1: i2c@ef600800 { |
241 | compatible = "ibm,iic-460gt", "ibm,iic"; | 243 | compatible = "ibm,iic-460gt", "ibm,iic"; |
242 | reg = <ef600800 14>; | 244 | reg = <0xef600800 0x00000014>; |
243 | interrupt-parent = <&UIC0>; | 245 | interrupt-parent = <&UIC0>; |
244 | interrupts = <3 4>; | 246 | interrupts = <0x3 0x4>; |
245 | }; | 247 | }; |
246 | 248 | ||
247 | ZMII0: emac-zmii@ef600d00 { | 249 | ZMII0: emac-zmii@ef600d00 { |
248 | compatible = "ibm,zmii-460gt", "ibm,zmii"; | 250 | compatible = "ibm,zmii-460gt", "ibm,zmii"; |
249 | reg = <ef600d00 c>; | 251 | reg = <0xef600d00 0x0000000c>; |
250 | }; | 252 | }; |
251 | 253 | ||
252 | RGMII0: emac-rgmii@ef601500 { | 254 | RGMII0: emac-rgmii@ef601500 { |
253 | compatible = "ibm,rgmii-460gt", "ibm,rgmii"; | 255 | compatible = "ibm,rgmii-460gt", "ibm,rgmii"; |
254 | reg = <ef601500 8>; | 256 | reg = <0xef601500 0x00000008>; |
255 | has-mdio; | 257 | has-mdio; |
256 | }; | 258 | }; |
257 | 259 | ||
258 | RGMII1: emac-rgmii@ef601600 { | 260 | RGMII1: emac-rgmii@ef601600 { |
259 | compatible = "ibm,rgmii-460gt", "ibm,rgmii"; | 261 | compatible = "ibm,rgmii-460gt", "ibm,rgmii"; |
260 | reg = <ef601600 8>; | 262 | reg = <0xef601600 0x00000008>; |
261 | has-mdio; | 263 | has-mdio; |
262 | }; | 264 | }; |
263 | 265 | ||
264 | TAH0: emac-tah@ef601350 { | 266 | TAH0: emac-tah@ef601350 { |
265 | compatible = "ibm,tah-460gt", "ibm,tah"; | 267 | compatible = "ibm,tah-460gt", "ibm,tah"; |
266 | reg = <ef601350 30>; | 268 | reg = <0xef601350 0x00000030>; |
267 | }; | 269 | }; |
268 | 270 | ||
269 | TAH1: emac-tah@ef601450 { | 271 | TAH1: emac-tah@ef601450 { |
270 | compatible = "ibm,tah-460gt", "ibm,tah"; | 272 | compatible = "ibm,tah-460gt", "ibm,tah"; |
271 | reg = <ef601450 30>; | 273 | reg = <0xef601450 0x00000030>; |
272 | }; | 274 | }; |
273 | 275 | ||
274 | EMAC0: ethernet@ef600e00 { | 276 | EMAC0: ethernet@ef600e00 { |
275 | device_type = "network"; | 277 | device_type = "network"; |
276 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 278 | compatible = "ibm,emac-460gt", "ibm,emac4"; |
277 | interrupt-parent = <&EMAC0>; | 279 | interrupt-parent = <&EMAC0>; |
278 | interrupts = <0 1>; | 280 | interrupts = <0x0 0x1>; |
279 | #interrupt-cells = <1>; | 281 | #interrupt-cells = <1>; |
280 | #address-cells = <0>; | 282 | #address-cells = <0>; |
281 | #size-cells = <0>; | 283 | #size-cells = <0>; |
282 | interrupt-map = </*Status*/ 0 &UIC2 10 4 | 284 | interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 |
283 | /*Wake*/ 1 &UIC2 14 4>; | 285 | /*Wake*/ 0x1 &UIC2 0x14 0x4>; |
284 | reg = <ef600e00 70>; | 286 | reg = <0xef600e00 0x00000070>; |
285 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 287 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
286 | mal-device = <&MAL0>; | 288 | mal-device = <&MAL0>; |
287 | mal-tx-channel = <0>; | 289 | mal-tx-channel = <0>; |
288 | mal-rx-channel = <0>; | 290 | mal-rx-channel = <0>; |
289 | cell-index = <0>; | 291 | cell-index = <0>; |
290 | max-frame-size = <2328>; | 292 | max-frame-size = <9000>; |
291 | rx-fifo-size = <1000>; | 293 | rx-fifo-size = <4096>; |
292 | tx-fifo-size = <800>; | 294 | tx-fifo-size = <2048>; |
293 | phy-mode = "rgmii"; | 295 | phy-mode = "rgmii"; |
294 | phy-map = <00000000>; | 296 | phy-map = <0x00000000>; |
295 | rgmii-device = <&RGMII0>; | 297 | rgmii-device = <&RGMII0>; |
296 | rgmii-channel = <0>; | 298 | rgmii-channel = <0>; |
297 | tah-device = <&TAH0>; | 299 | tah-device = <&TAH0>; |
@@ -304,23 +306,23 @@ | |||
304 | device_type = "network"; | 306 | device_type = "network"; |
305 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 307 | compatible = "ibm,emac-460gt", "ibm,emac4"; |
306 | interrupt-parent = <&EMAC1>; | 308 | interrupt-parent = <&EMAC1>; |
307 | interrupts = <0 1>; | 309 | interrupts = <0x0 0x1>; |
308 | #interrupt-cells = <1>; | 310 | #interrupt-cells = <1>; |
309 | #address-cells = <0>; | 311 | #address-cells = <0>; |
310 | #size-cells = <0>; | 312 | #size-cells = <0>; |
311 | interrupt-map = </*Status*/ 0 &UIC2 11 4 | 313 | interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 |
312 | /*Wake*/ 1 &UIC2 15 4>; | 314 | /*Wake*/ 0x1 &UIC2 0x15 0x4>; |
313 | reg = <ef600f00 70>; | 315 | reg = <0xef600f00 0x00000070>; |
314 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 316 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
315 | mal-device = <&MAL0>; | 317 | mal-device = <&MAL0>; |
316 | mal-tx-channel = <1>; | 318 | mal-tx-channel = <1>; |
317 | mal-rx-channel = <8>; | 319 | mal-rx-channel = <8>; |
318 | cell-index = <1>; | 320 | cell-index = <1>; |
319 | max-frame-size = <2328>; | 321 | max-frame-size = <9000>; |
320 | rx-fifo-size = <1000>; | 322 | rx-fifo-size = <4096>; |
321 | tx-fifo-size = <800>; | 323 | tx-fifo-size = <2048>; |
322 | phy-mode = "rgmii"; | 324 | phy-mode = "rgmii"; |
323 | phy-map = <00000000>; | 325 | phy-map = <0x00000000>; |
324 | rgmii-device = <&RGMII0>; | 326 | rgmii-device = <&RGMII0>; |
325 | rgmii-channel = <1>; | 327 | rgmii-channel = <1>; |
326 | tah-device = <&TAH1>; | 328 | tah-device = <&TAH1>; |
@@ -334,23 +336,23 @@ | |||
334 | device_type = "network"; | 336 | device_type = "network"; |
335 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 337 | compatible = "ibm,emac-460gt", "ibm,emac4"; |
336 | interrupt-parent = <&EMAC2>; | 338 | interrupt-parent = <&EMAC2>; |
337 | interrupts = <0 1>; | 339 | interrupts = <0x0 0x1>; |
338 | #interrupt-cells = <1>; | 340 | #interrupt-cells = <1>; |
339 | #address-cells = <0>; | 341 | #address-cells = <0>; |
340 | #size-cells = <0>; | 342 | #size-cells = <0>; |
341 | interrupt-map = </*Status*/ 0 &UIC2 12 4 | 343 | interrupt-map = </*Status*/ 0x0 &UIC2 0x12 0x4 |
342 | /*Wake*/ 1 &UIC2 16 4>; | 344 | /*Wake*/ 0x1 &UIC2 0x16 0x4>; |
343 | reg = <ef601100 70>; | 345 | reg = <0xef601100 0x00000070>; |
344 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 346 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
345 | mal-device = <&MAL0>; | 347 | mal-device = <&MAL0>; |
346 | mal-tx-channel = <2>; | 348 | mal-tx-channel = <2>; |
347 | mal-rx-channel = <10>; | 349 | mal-rx-channel = <16>; |
348 | cell-index = <2>; | 350 | cell-index = <2>; |
349 | max-frame-size = <2328>; | 351 | max-frame-size = <9000>; |
350 | rx-fifo-size = <1000>; | 352 | rx-fifo-size = <4096>; |
351 | tx-fifo-size = <800>; | 353 | tx-fifo-size = <2048>; |
352 | phy-mode = "rgmii"; | 354 | phy-mode = "rgmii"; |
353 | phy-map = <00000000>; | 355 | phy-map = <0x00000000>; |
354 | rgmii-device = <&RGMII1>; | 356 | rgmii-device = <&RGMII1>; |
355 | rgmii-channel = <0>; | 357 | rgmii-channel = <0>; |
356 | has-inverted-stacr-oc; | 358 | has-inverted-stacr-oc; |
@@ -362,23 +364,23 @@ | |||
362 | device_type = "network"; | 364 | device_type = "network"; |
363 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 365 | compatible = "ibm,emac-460gt", "ibm,emac4"; |
364 | interrupt-parent = <&EMAC3>; | 366 | interrupt-parent = <&EMAC3>; |
365 | interrupts = <0 1>; | 367 | interrupts = <0x0 0x1>; |
366 | #interrupt-cells = <1>; | 368 | #interrupt-cells = <1>; |
367 | #address-cells = <0>; | 369 | #address-cells = <0>; |
368 | #size-cells = <0>; | 370 | #size-cells = <0>; |
369 | interrupt-map = </*Status*/ 0 &UIC2 13 4 | 371 | interrupt-map = </*Status*/ 0x0 &UIC2 0x13 0x4 |
370 | /*Wake*/ 1 &UIC2 17 4>; | 372 | /*Wake*/ 0x1 &UIC2 0x17 0x4>; |
371 | reg = <ef601200 70>; | 373 | reg = <0xef601200 0x00000070>; |
372 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 374 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
373 | mal-device = <&MAL0>; | 375 | mal-device = <&MAL0>; |
374 | mal-tx-channel = <3>; | 376 | mal-tx-channel = <3>; |
375 | mal-rx-channel = <18>; | 377 | mal-rx-channel = <24>; |
376 | cell-index = <3>; | 378 | cell-index = <3>; |
377 | max-frame-size = <2328>; | 379 | max-frame-size = <9000>; |
378 | rx-fifo-size = <1000>; | 380 | rx-fifo-size = <4096>; |
379 | tx-fifo-size = <800>; | 381 | tx-fifo-size = <2048>; |
380 | phy-mode = "rgmii"; | 382 | phy-mode = "rgmii"; |
381 | phy-map = <00000000>; | 383 | phy-map = <0x00000000>; |
382 | rgmii-device = <&RGMII1>; | 384 | rgmii-device = <&RGMII1>; |
383 | rgmii-channel = <1>; | 385 | rgmii-channel = <1>; |
384 | has-inverted-stacr-oc; | 386 | has-inverted-stacr-oc; |
@@ -396,27 +398,27 @@ | |||
396 | primary; | 398 | primary; |
397 | large-inbound-windows; | 399 | large-inbound-windows; |
398 | enable-msi-hole; | 400 | enable-msi-hole; |
399 | reg = <c 0ec00000 8 /* Config space access */ | 401 | reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ |
400 | 0 0 0 /* no IACK cycles */ | 402 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
401 | c 0ed00000 4 /* Special cycles */ | 403 | 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ |
402 | c 0ec80000 100 /* Internal registers */ | 404 | 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ |
403 | c 0ec80100 fc>; /* Internal messaging registers */ | 405 | 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
404 | 406 | ||
405 | /* Outbound ranges, one memory and one IO, | 407 | /* Outbound ranges, one memory and one IO, |
406 | * later cannot be changed | 408 | * later cannot be changed |
407 | */ | 409 | */ |
408 | ranges = <02000000 0 80000000 0000000d 80000000 0 80000000 | 410 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 |
409 | 01000000 0 00000000 0000000c 08000000 0 00010000>; | 411 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; |
410 | 412 | ||
411 | /* Inbound 2GB range starting at 0 */ | 413 | /* Inbound 2GB range starting at 0 */ |
412 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 414 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
413 | 415 | ||
414 | /* This drives busses 0 to 0x3f */ | 416 | /* This drives busses 0 to 0x3f */ |
415 | bus-range = <0 3f>; | 417 | bus-range = <0x0 0x3f>; |
416 | 418 | ||
417 | /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ | 419 | /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ |
418 | interrupt-map-mask = <0000 0 0 0>; | 420 | interrupt-map-mask = <0x0 0x0 0x0 0x0>; |
419 | interrupt-map = < 0000 0 0 0 &UIC1 0 8 >; | 421 | interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >; |
420 | }; | 422 | }; |
421 | 423 | ||
422 | PCIE0: pciex@d00000000 { | 424 | PCIE0: pciex@d00000000 { |
@@ -426,23 +428,23 @@ | |||
426 | #address-cells = <3>; | 428 | #address-cells = <3>; |
427 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; | 429 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; |
428 | primary; | 430 | primary; |
429 | port = <0>; /* port number */ | 431 | port = <0x0>; /* port number */ |
430 | reg = <d 00000000 20000000 /* Config space access */ | 432 | reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ |
431 | c 08010000 00001000>; /* Registers */ | 433 | 0x0000000c 0x08010000 0x00001000>; /* Registers */ |
432 | dcr-reg = <100 020>; | 434 | dcr-reg = <0x100 0x020>; |
433 | sdr-base = <300>; | 435 | sdr-base = <0x300>; |
434 | 436 | ||
435 | /* Outbound ranges, one memory and one IO, | 437 | /* Outbound ranges, one memory and one IO, |
436 | * later cannot be changed | 438 | * later cannot be changed |
437 | */ | 439 | */ |
438 | ranges = <02000000 0 80000000 0000000e 00000000 0 80000000 | 440 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 |
439 | 01000000 0 00000000 0000000f 80000000 0 00010000>; | 441 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; |
440 | 442 | ||
441 | /* Inbound 2GB range starting at 0 */ | 443 | /* Inbound 2GB range starting at 0 */ |
442 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 444 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
443 | 445 | ||
444 | /* This drives busses 40 to 0x7f */ | 446 | /* This drives busses 40 to 0x7f */ |
445 | bus-range = <40 7f>; | 447 | bus-range = <0x40 0x7f>; |
446 | 448 | ||
447 | /* Legacy interrupts (note the weird polarity, the bridge seems | 449 | /* Legacy interrupts (note the weird polarity, the bridge seems |
448 | * to invert PCIe legacy interrupts). | 450 | * to invert PCIe legacy interrupts). |
@@ -452,12 +454,12 @@ | |||
452 | * below are basically de-swizzled numbers. | 454 | * below are basically de-swizzled numbers. |
453 | * The real slot is on idsel 0, so the swizzling is 1:1 | 455 | * The real slot is on idsel 0, so the swizzling is 1:1 |
454 | */ | 456 | */ |
455 | interrupt-map-mask = <0000 0 0 7>; | 457 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
456 | interrupt-map = < | 458 | interrupt-map = < |
457 | 0000 0 0 1 &UIC3 c 4 /* swizzled int A */ | 459 | 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */ |
458 | 0000 0 0 2 &UIC3 d 4 /* swizzled int B */ | 460 | 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */ |
459 | 0000 0 0 3 &UIC3 e 4 /* swizzled int C */ | 461 | 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */ |
460 | 0000 0 0 4 &UIC3 f 4 /* swizzled int D */>; | 462 | 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>; |
461 | }; | 463 | }; |
462 | 464 | ||
463 | PCIE1: pciex@d20000000 { | 465 | PCIE1: pciex@d20000000 { |
@@ -467,23 +469,23 @@ | |||
467 | #address-cells = <3>; | 469 | #address-cells = <3>; |
468 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; | 470 | compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; |
469 | primary; | 471 | primary; |
470 | port = <1>; /* port number */ | 472 | port = <0x1>; /* port number */ |
471 | reg = <d 20000000 20000000 /* Config space access */ | 473 | reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ |
472 | c 08011000 00001000>; /* Registers */ | 474 | 0x0000000c 0x08011000 0x00001000>; /* Registers */ |
473 | dcr-reg = <120 020>; | 475 | dcr-reg = <0x120 0x020>; |
474 | sdr-base = <340>; | 476 | sdr-base = <0x340>; |
475 | 477 | ||
476 | /* Outbound ranges, one memory and one IO, | 478 | /* Outbound ranges, one memory and one IO, |
477 | * later cannot be changed | 479 | * later cannot be changed |
478 | */ | 480 | */ |
479 | ranges = <02000000 0 80000000 0000000e 80000000 0 80000000 | 481 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 |
480 | 01000000 0 00000000 0000000f 80010000 0 00010000>; | 482 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; |
481 | 483 | ||
482 | /* Inbound 2GB range starting at 0 */ | 484 | /* Inbound 2GB range starting at 0 */ |
483 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 485 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
484 | 486 | ||
485 | /* This drives busses 80 to 0xbf */ | 487 | /* This drives busses 80 to 0xbf */ |
486 | bus-range = <80 bf>; | 488 | bus-range = <0x80 0xbf>; |
487 | 489 | ||
488 | /* Legacy interrupts (note the weird polarity, the bridge seems | 490 | /* Legacy interrupts (note the weird polarity, the bridge seems |
489 | * to invert PCIe legacy interrupts). | 491 | * to invert PCIe legacy interrupts). |
@@ -493,12 +495,12 @@ | |||
493 | * below are basically de-swizzled numbers. | 495 | * below are basically de-swizzled numbers. |
494 | * The real slot is on idsel 0, so the swizzling is 1:1 | 496 | * The real slot is on idsel 0, so the swizzling is 1:1 |
495 | */ | 497 | */ |
496 | interrupt-map-mask = <0000 0 0 7>; | 498 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
497 | interrupt-map = < | 499 | interrupt-map = < |
498 | 0000 0 0 1 &UIC3 10 4 /* swizzled int A */ | 500 | 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */ |
499 | 0000 0 0 2 &UIC3 11 4 /* swizzled int B */ | 501 | 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */ |
500 | 0000 0 0 3 &UIC3 12 4 /* swizzled int C */ | 502 | 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ |
501 | 0000 0 0 4 &UIC3 13 4 /* swizzled int D */>; | 503 | 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; |
502 | }; | 504 | }; |
503 | }; | 505 | }; |
504 | }; | 506 | }; |
diff --git a/arch/powerpc/boot/dts/haleakala.dts b/arch/powerpc/boot/dts/haleakala.dts index b5d95ac24dbf..2c2fceaabbcd 100644 --- a/arch/powerpc/boot/dts/haleakala.dts +++ b/arch/powerpc/boot/dts/haleakala.dts | |||
@@ -8,12 +8,14 @@ | |||
8 | * any warranty of any kind, whether express or implied. | 8 | * any warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | ||
12 | |||
11 | / { | 13 | / { |
12 | #address-cells = <1>; | 14 | #address-cells = <1>; |
13 | #size-cells = <1>; | 15 | #size-cells = <1>; |
14 | model = "amcc,haleakala"; | 16 | model = "amcc,haleakala"; |
15 | compatible = "amcc,haleakala", "amcc,kilauea"; | 17 | compatible = "amcc,haleakala", "amcc,kilauea"; |
16 | dcr-parent = <&/cpus/cpu@0>; | 18 | dcr-parent = <&{/cpus/cpu@0}>; |
17 | 19 | ||
18 | aliases { | 20 | aliases { |
19 | ethernet0 = &EMAC0; | 21 | ethernet0 = &EMAC0; |
@@ -28,13 +30,13 @@ | |||
28 | cpu@0 { | 30 | cpu@0 { |
29 | device_type = "cpu"; | 31 | device_type = "cpu"; |
30 | model = "PowerPC,405EXr"; | 32 | model = "PowerPC,405EXr"; |
31 | reg = <0>; | 33 | reg = <0x00000000>; |
32 | clock-frequency = <0>; /* Filled in by U-Boot */ | 34 | clock-frequency = <0>; /* Filled in by U-Boot */ |
33 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 35 | timebase-frequency = <0>; /* Filled in by U-Boot */ |
34 | i-cache-line-size = <20>; | 36 | i-cache-line-size = <32>; |
35 | d-cache-line-size = <20>; | 37 | d-cache-line-size = <32>; |
36 | i-cache-size = <4000>; /* 16 kB */ | 38 | i-cache-size = <16384>; /* 16 kB */ |
37 | d-cache-size = <4000>; /* 16 kB */ | 39 | d-cache-size = <16384>; /* 16 kB */ |
38 | dcr-controller; | 40 | dcr-controller; |
39 | dcr-access-method = "native"; | 41 | dcr-access-method = "native"; |
40 | }; | 42 | }; |
@@ -42,14 +44,14 @@ | |||
42 | 44 | ||
43 | memory { | 45 | memory { |
44 | device_type = "memory"; | 46 | device_type = "memory"; |
45 | reg = <0 0>; /* Filled in by U-Boot */ | 47 | reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ |
46 | }; | 48 | }; |
47 | 49 | ||
48 | UIC0: interrupt-controller { | 50 | UIC0: interrupt-controller { |
49 | compatible = "ibm,uic-405exr", "ibm,uic"; | 51 | compatible = "ibm,uic-405exr", "ibm,uic"; |
50 | interrupt-controller; | 52 | interrupt-controller; |
51 | cell-index = <0>; | 53 | cell-index = <0>; |
52 | dcr-reg = <0c0 009>; | 54 | dcr-reg = <0x0c0 0x009>; |
53 | #address-cells = <0>; | 55 | #address-cells = <0>; |
54 | #size-cells = <0>; | 56 | #size-cells = <0>; |
55 | #interrupt-cells = <2>; | 57 | #interrupt-cells = <2>; |
@@ -59,11 +61,11 @@ | |||
59 | compatible = "ibm,uic-405exr","ibm,uic"; | 61 | compatible = "ibm,uic-405exr","ibm,uic"; |
60 | interrupt-controller; | 62 | interrupt-controller; |
61 | cell-index = <1>; | 63 | cell-index = <1>; |
62 | dcr-reg = <0d0 009>; | 64 | dcr-reg = <0x0d0 0x009>; |
63 | #address-cells = <0>; | 65 | #address-cells = <0>; |
64 | #size-cells = <0>; | 66 | #size-cells = <0>; |
65 | #interrupt-cells = <2>; | 67 | #interrupt-cells = <2>; |
66 | interrupts = <1e 4 1f 4>; /* cascade */ | 68 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
67 | interrupt-parent = <&UIC0>; | 69 | interrupt-parent = <&UIC0>; |
68 | }; | 70 | }; |
69 | 71 | ||
@@ -71,11 +73,11 @@ | |||
71 | compatible = "ibm,uic-405exr","ibm,uic"; | 73 | compatible = "ibm,uic-405exr","ibm,uic"; |
72 | interrupt-controller; | 74 | interrupt-controller; |
73 | cell-index = <2>; | 75 | cell-index = <2>; |
74 | dcr-reg = <0e0 009>; | 76 | dcr-reg = <0x0e0 0x009>; |
75 | #address-cells = <0>; | 77 | #address-cells = <0>; |
76 | #size-cells = <0>; | 78 | #size-cells = <0>; |
77 | #interrupt-cells = <2>; | 79 | #interrupt-cells = <2>; |
78 | interrupts = <1c 4 1d 4>; /* cascade */ | 80 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ |
79 | interrupt-parent = <&UIC0>; | 81 | interrupt-parent = <&UIC0>; |
80 | }; | 82 | }; |
81 | 83 | ||
@@ -88,72 +90,72 @@ | |||
88 | 90 | ||
89 | SDRAM0: memory-controller { | 91 | SDRAM0: memory-controller { |
90 | compatible = "ibm,sdram-405exr"; | 92 | compatible = "ibm,sdram-405exr"; |
91 | dcr-reg = <010 2>; | 93 | dcr-reg = <0x010 0x002>; |
92 | }; | 94 | }; |
93 | 95 | ||
94 | MAL0: mcmal { | 96 | MAL0: mcmal { |
95 | compatible = "ibm,mcmal-405exr", "ibm,mcmal2"; | 97 | compatible = "ibm,mcmal-405exr", "ibm,mcmal2"; |
96 | dcr-reg = <180 62>; | 98 | dcr-reg = <0x180 0x062>; |
97 | num-tx-chans = <2>; | 99 | num-tx-chans = <2>; |
98 | num-rx-chans = <2>; | 100 | num-rx-chans = <2>; |
99 | interrupt-parent = <&MAL0>; | 101 | interrupt-parent = <&MAL0>; |
100 | interrupts = <0 1 2 3 4>; | 102 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
101 | #interrupt-cells = <1>; | 103 | #interrupt-cells = <1>; |
102 | #address-cells = <0>; | 104 | #address-cells = <0>; |
103 | #size-cells = <0>; | 105 | #size-cells = <0>; |
104 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 106 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
105 | /*RXEOB*/ 1 &UIC0 b 4 | 107 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
106 | /*SERR*/ 2 &UIC1 0 4 | 108 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
107 | /*TXDE*/ 3 &UIC1 1 4 | 109 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
108 | /*RXDE*/ 4 &UIC1 2 4>; | 110 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
109 | interrupt-map-mask = <ffffffff>; | 111 | interrupt-map-mask = <0xffffffff>; |
110 | }; | 112 | }; |
111 | 113 | ||
112 | POB0: opb { | 114 | POB0: opb { |
113 | compatible = "ibm,opb-405exr", "ibm,opb"; | 115 | compatible = "ibm,opb-405exr", "ibm,opb"; |
114 | #address-cells = <1>; | 116 | #address-cells = <1>; |
115 | #size-cells = <1>; | 117 | #size-cells = <1>; |
116 | ranges = <80000000 80000000 10000000 | 118 | ranges = <0x80000000 0x80000000 0x10000000 |
117 | ef600000 ef600000 a00000 | 119 | 0xef600000 0xef600000 0x00a00000 |
118 | f0000000 f0000000 10000000>; | 120 | 0xf0000000 0xf0000000 0x10000000>; |
119 | dcr-reg = <0a0 5>; | 121 | dcr-reg = <0x0a0 0x005>; |
120 | clock-frequency = <0>; /* Filled in by U-Boot */ | 122 | clock-frequency = <0>; /* Filled in by U-Boot */ |
121 | 123 | ||
122 | EBC0: ebc { | 124 | EBC0: ebc { |
123 | compatible = "ibm,ebc-405exr", "ibm,ebc"; | 125 | compatible = "ibm,ebc-405exr", "ibm,ebc"; |
124 | dcr-reg = <012 2>; | 126 | dcr-reg = <0x012 0x002>; |
125 | #address-cells = <2>; | 127 | #address-cells = <2>; |
126 | #size-cells = <1>; | 128 | #size-cells = <1>; |
127 | clock-frequency = <0>; /* Filled in by U-Boot */ | 129 | clock-frequency = <0>; /* Filled in by U-Boot */ |
128 | /* ranges property is supplied by U-Boot */ | 130 | /* ranges property is supplied by U-Boot */ |
129 | interrupts = <5 1>; | 131 | interrupts = <0x5 0x1>; |
130 | interrupt-parent = <&UIC1>; | 132 | interrupt-parent = <&UIC1>; |
131 | 133 | ||
132 | nor_flash@0,0 { | 134 | nor_flash@0,0 { |
133 | compatible = "amd,s29gl512n", "cfi-flash"; | 135 | compatible = "amd,s29gl512n", "cfi-flash"; |
134 | bank-width = <2>; | 136 | bank-width = <2>; |
135 | reg = <0 000000 4000000>; | 137 | reg = <0x00000000 0x00000000 0x04000000>; |
136 | #address-cells = <1>; | 138 | #address-cells = <1>; |
137 | #size-cells = <1>; | 139 | #size-cells = <1>; |
138 | partition@0 { | 140 | partition@0 { |
139 | label = "kernel"; | 141 | label = "kernel"; |
140 | reg = <0 200000>; | 142 | reg = <0x00000000 0x00200000>; |
141 | }; | 143 | }; |
142 | partition@200000 { | 144 | partition@200000 { |
143 | label = "root"; | 145 | label = "root"; |
144 | reg = <200000 200000>; | 146 | reg = <0x00200000 0x00200000>; |
145 | }; | 147 | }; |
146 | partition@400000 { | 148 | partition@400000 { |
147 | label = "user"; | 149 | label = "user"; |
148 | reg = <400000 3b60000>; | 150 | reg = <0x00400000 0x03b60000>; |
149 | }; | 151 | }; |
150 | partition@3f60000 { | 152 | partition@3f60000 { |
151 | label = "env"; | 153 | label = "env"; |
152 | reg = <3f60000 40000>; | 154 | reg = <0x03f60000 0x00040000>; |
153 | }; | 155 | }; |
154 | partition@3fa0000 { | 156 | partition@3fa0000 { |
155 | label = "u-boot"; | 157 | label = "u-boot"; |
156 | reg = <3fa0000 60000>; | 158 | reg = <0x03fa0000 0x00060000>; |
157 | }; | 159 | }; |
158 | }; | 160 | }; |
159 | }; | 161 | }; |
@@ -161,68 +163,68 @@ | |||
161 | UART0: serial@ef600200 { | 163 | UART0: serial@ef600200 { |
162 | device_type = "serial"; | 164 | device_type = "serial"; |
163 | compatible = "ns16550"; | 165 | compatible = "ns16550"; |
164 | reg = <ef600200 8>; | 166 | reg = <0xef600200 0x00000008>; |
165 | virtual-reg = <ef600200>; | 167 | virtual-reg = <0xef600200>; |
166 | clock-frequency = <0>; /* Filled in by U-Boot */ | 168 | clock-frequency = <0>; /* Filled in by U-Boot */ |
167 | current-speed = <0>; | 169 | current-speed = <0>; |
168 | interrupt-parent = <&UIC0>; | 170 | interrupt-parent = <&UIC0>; |
169 | interrupts = <1a 4>; | 171 | interrupts = <0x1a 0x4>; |
170 | }; | 172 | }; |
171 | 173 | ||
172 | UART1: serial@ef600300 { | 174 | UART1: serial@ef600300 { |
173 | device_type = "serial"; | 175 | device_type = "serial"; |
174 | compatible = "ns16550"; | 176 | compatible = "ns16550"; |
175 | reg = <ef600300 8>; | 177 | reg = <0xef600300 0x00000008>; |
176 | virtual-reg = <ef600300>; | 178 | virtual-reg = <0xef600300>; |
177 | clock-frequency = <0>; /* Filled in by U-Boot */ | 179 | clock-frequency = <0>; /* Filled in by U-Boot */ |
178 | current-speed = <0>; | 180 | current-speed = <0>; |
179 | interrupt-parent = <&UIC0>; | 181 | interrupt-parent = <&UIC0>; |
180 | interrupts = <1 4>; | 182 | interrupts = <0x1 0x4>; |
181 | }; | 183 | }; |
182 | 184 | ||
183 | IIC0: i2c@ef600400 { | 185 | IIC0: i2c@ef600400 { |
184 | compatible = "ibm,iic-405exr", "ibm,iic"; | 186 | compatible = "ibm,iic-405exr", "ibm,iic"; |
185 | reg = <ef600400 14>; | 187 | reg = <0xef600400 0x00000014>; |
186 | interrupt-parent = <&UIC0>; | 188 | interrupt-parent = <&UIC0>; |
187 | interrupts = <2 4>; | 189 | interrupts = <0x2 0x4>; |
188 | }; | 190 | }; |
189 | 191 | ||
190 | IIC1: i2c@ef600500 { | 192 | IIC1: i2c@ef600500 { |
191 | compatible = "ibm,iic-405exr", "ibm,iic"; | 193 | compatible = "ibm,iic-405exr", "ibm,iic"; |
192 | reg = <ef600500 14>; | 194 | reg = <0xef600500 0x00000014>; |
193 | interrupt-parent = <&UIC0>; | 195 | interrupt-parent = <&UIC0>; |
194 | interrupts = <7 4>; | 196 | interrupts = <0x7 0x4>; |
195 | }; | 197 | }; |
196 | 198 | ||
197 | 199 | ||
198 | RGMII0: emac-rgmii@ef600b00 { | 200 | RGMII0: emac-rgmii@ef600b00 { |
199 | compatible = "ibm,rgmii-405exr", "ibm,rgmii"; | 201 | compatible = "ibm,rgmii-405exr", "ibm,rgmii"; |
200 | reg = <ef600b00 104>; | 202 | reg = <0xef600b00 0x00000104>; |
201 | has-mdio; | 203 | has-mdio; |
202 | }; | 204 | }; |
203 | 205 | ||
204 | EMAC0: ethernet@ef600900 { | 206 | EMAC0: ethernet@ef600900 { |
205 | linux,network-index = <0>; | 207 | linux,network-index = <0x0>; |
206 | device_type = "network"; | 208 | device_type = "network"; |
207 | compatible = "ibm,emac-405exr", "ibm,emac4"; | 209 | compatible = "ibm,emac-405exr", "ibm,emac4"; |
208 | interrupt-parent = <&EMAC0>; | 210 | interrupt-parent = <&EMAC0>; |
209 | interrupts = <0 1>; | 211 | interrupts = <0x0 0x1>; |
210 | #interrupt-cells = <1>; | 212 | #interrupt-cells = <1>; |
211 | #address-cells = <0>; | 213 | #address-cells = <0>; |
212 | #size-cells = <0>; | 214 | #size-cells = <0>; |
213 | interrupt-map = </*Status*/ 0 &UIC0 18 4 | 215 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 |
214 | /*Wake*/ 1 &UIC1 1d 4>; | 216 | /*Wake*/ 0x1 &UIC1 0x1d 0x4>; |
215 | reg = <ef600900 70>; | 217 | reg = <0xef600900 0x00000070>; |
216 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 218 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
217 | mal-device = <&MAL0>; | 219 | mal-device = <&MAL0>; |
218 | mal-tx-channel = <0>; | 220 | mal-tx-channel = <0>; |
219 | mal-rx-channel = <0>; | 221 | mal-rx-channel = <0>; |
220 | cell-index = <0>; | 222 | cell-index = <0>; |
221 | max-frame-size = <2328>; | 223 | max-frame-size = <9000>; |
222 | rx-fifo-size = <1000>; | 224 | rx-fifo-size = <4096>; |
223 | tx-fifo-size = <800>; | 225 | tx-fifo-size = <2048>; |
224 | phy-mode = "rgmii"; | 226 | phy-mode = "rgmii"; |
225 | phy-map = <00000000>; | 227 | phy-map = <0x00000000>; |
226 | rgmii-device = <&RGMII0>; | 228 | rgmii-device = <&RGMII0>; |
227 | rgmii-channel = <0>; | 229 | rgmii-channel = <0>; |
228 | has-inverted-stacr-oc; | 230 | has-inverted-stacr-oc; |
@@ -237,23 +239,23 @@ | |||
237 | #address-cells = <3>; | 239 | #address-cells = <3>; |
238 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 240 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; |
239 | primary; | 241 | primary; |
240 | port = <0>; /* port number */ | 242 | port = <0x0>; /* port number */ |
241 | reg = <a0000000 20000000 /* Config space access */ | 243 | reg = <0xa0000000 0x20000000 /* Config space access */ |
242 | ef000000 00001000>; /* Registers */ | 244 | 0xef000000 0x00001000>; /* Registers */ |
243 | dcr-reg = <040 020>; | 245 | dcr-reg = <0x040 0x020>; |
244 | sdr-base = <400>; | 246 | sdr-base = <0x400>; |
245 | 247 | ||
246 | /* Outbound ranges, one memory and one IO, | 248 | /* Outbound ranges, one memory and one IO, |
247 | * later cannot be changed | 249 | * later cannot be changed |
248 | */ | 250 | */ |
249 | ranges = <02000000 0 80000000 90000000 0 08000000 | 251 | ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000 |
250 | 01000000 0 00000000 e0000000 0 00010000>; | 252 | 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>; |
251 | 253 | ||
252 | /* Inbound 2GB range starting at 0 */ | 254 | /* Inbound 2GB range starting at 0 */ |
253 | dma-ranges = <42000000 0 0 0 0 80000000>; | 255 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
254 | 256 | ||
255 | /* This drives busses 0x00 to 0x3f */ | 257 | /* This drives busses 0x00 to 0x3f */ |
256 | bus-range = <00 3f>; | 258 | bus-range = <0x0 0x3f>; |
257 | 259 | ||
258 | /* Legacy interrupts (note the weird polarity, the bridge seems | 260 | /* Legacy interrupts (note the weird polarity, the bridge seems |
259 | * to invert PCIe legacy interrupts). | 261 | * to invert PCIe legacy interrupts). |
@@ -263,12 +265,12 @@ | |||
263 | * below are basically de-swizzled numbers. | 265 | * below are basically de-swizzled numbers. |
264 | * The real slot is on idsel 0, so the swizzling is 1:1 | 266 | * The real slot is on idsel 0, so the swizzling is 1:1 |
265 | */ | 267 | */ |
266 | interrupt-map-mask = <0000 0 0 7>; | 268 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
267 | interrupt-map = < | 269 | interrupt-map = < |
268 | 0000 0 0 1 &UIC2 0 4 /* swizzled int A */ | 270 | 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */ |
269 | 0000 0 0 2 &UIC2 1 4 /* swizzled int B */ | 271 | 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */ |
270 | 0000 0 0 3 &UIC2 2 4 /* swizzled int C */ | 272 | 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */ |
271 | 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>; | 273 | 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>; |
272 | }; | 274 | }; |
273 | }; | 275 | }; |
274 | }; | 276 | }; |
diff --git a/arch/powerpc/boot/dts/holly.dts b/arch/powerpc/boot/dts/holly.dts index b5d87895fe06..f87fe7b9ced9 100644 --- a/arch/powerpc/boot/dts/holly.dts +++ b/arch/powerpc/boot/dts/holly.dts | |||
@@ -10,6 +10,8 @@ | |||
10 | * any warranty of any kind, whether express or implied. | 10 | * any warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /dts-v1/; | ||
14 | |||
13 | / { | 15 | / { |
14 | model = "41K7339"; | 16 | model = "41K7339"; |
15 | compatible = "ibm,holly"; | 17 | compatible = "ibm,holly"; |
@@ -21,22 +23,22 @@ | |||
21 | #size-cells =<0>; | 23 | #size-cells =<0>; |
22 | PowerPC,750CL@0 { | 24 | PowerPC,750CL@0 { |
23 | device_type = "cpu"; | 25 | device_type = "cpu"; |
24 | reg = <0>; | 26 | reg = <0x00000000>; |
25 | d-cache-line-size = <20>; | 27 | d-cache-line-size = <32>; |
26 | i-cache-line-size = <20>; | 28 | i-cache-line-size = <32>; |
27 | d-cache-size = <8000>; | 29 | d-cache-size = <32768>; |
28 | i-cache-size = <8000>; | 30 | i-cache-size = <32768>; |
29 | d-cache-sets = <80>; | 31 | d-cache-sets = <128>; |
30 | i-cache-sets = <80>; | 32 | i-cache-sets = <128>; |
31 | timebase-frequency = <2faf080>; | 33 | timebase-frequency = <50000000>; |
32 | clock-frequency = <23c34600>; | 34 | clock-frequency = <600000000>; |
33 | bus-frequency = <bebc200>; | 35 | bus-frequency = <200000000>; |
34 | }; | 36 | }; |
35 | }; | 37 | }; |
36 | 38 | ||
37 | memory@0 { | 39 | memory@0 { |
38 | device_type = "memory"; | 40 | device_type = "memory"; |
39 | reg = <00000000 20000000>; | 41 | reg = <0x00000000 0x20000000>; |
40 | }; | 42 | }; |
41 | 43 | ||
42 | tsi109@c0000000 { | 44 | tsi109@c0000000 { |
@@ -44,33 +46,33 @@ | |||
44 | compatible = "tsi109-bridge", "tsi108-bridge"; | 46 | compatible = "tsi109-bridge", "tsi108-bridge"; |
45 | #address-cells = <1>; | 47 | #address-cells = <1>; |
46 | #size-cells = <1>; | 48 | #size-cells = <1>; |
47 | ranges = <00000000 c0000000 00010000>; | 49 | ranges = <0x00000000 0xc0000000 0x00010000>; |
48 | reg = <c0000000 00010000>; | 50 | reg = <0xc0000000 0x00010000>; |
49 | 51 | ||
50 | i2c@7000 { | 52 | i2c@7000 { |
51 | device_type = "i2c"; | 53 | device_type = "i2c"; |
52 | compatible = "tsi109-i2c", "tsi108-i2c"; | 54 | compatible = "tsi109-i2c", "tsi108-i2c"; |
53 | interrupt-parent = <&MPIC>; | 55 | interrupt-parent = <&MPIC>; |
54 | interrupts = <e 2>; | 56 | interrupts = <0xe 0x2>; |
55 | reg = <7000 400>; | 57 | reg = <0x00007000 0x00000400>; |
56 | }; | 58 | }; |
57 | 59 | ||
58 | MDIO: mdio@6000 { | 60 | MDIO: mdio@6000 { |
59 | device_type = "mdio"; | 61 | device_type = "mdio"; |
60 | compatible = "tsi109-mdio", "tsi108-mdio"; | 62 | compatible = "tsi109-mdio", "tsi108-mdio"; |
61 | reg = <6000 50>; | 63 | reg = <0x00006000 0x00000050>; |
62 | #address-cells = <1>; | 64 | #address-cells = <1>; |
63 | #size-cells = <0>; | 65 | #size-cells = <0>; |
64 | 66 | ||
65 | PHY1: ethernet-phy@1 { | 67 | PHY1: ethernet-phy@1 { |
66 | compatible = "bcm5461a"; | 68 | compatible = "bcm5461a"; |
67 | reg = <1>; | 69 | reg = <0x00000001>; |
68 | txc-rxc-delay-disable; | 70 | txc-rxc-delay-disable; |
69 | }; | 71 | }; |
70 | 72 | ||
71 | PHY2: ethernet-phy@2 { | 73 | PHY2: ethernet-phy@2 { |
72 | compatible = "bcm5461a"; | 74 | compatible = "bcm5461a"; |
73 | reg = <2>; | 75 | reg = <0x00000002>; |
74 | txc-rxc-delay-disable; | 76 | txc-rxc-delay-disable; |
75 | }; | 77 | }; |
76 | }; | 78 | }; |
@@ -80,10 +82,10 @@ | |||
80 | compatible = "tsi109-ethernet", "tsi108-ethernet"; | 82 | compatible = "tsi109-ethernet", "tsi108-ethernet"; |
81 | #address-cells = <1>; | 83 | #address-cells = <1>; |
82 | #size-cells = <0>; | 84 | #size-cells = <0>; |
83 | reg = <6000 200>; | 85 | reg = <0x00006000 0x00000200>; |
84 | local-mac-address = [ 00 00 00 00 00 00 ]; | 86 | local-mac-address = [ 00 00 00 00 00 00 ]; |
85 | interrupt-parent = <&MPIC>; | 87 | interrupt-parent = <&MPIC>; |
86 | interrupts = <10 2>; | 88 | interrupts = <0x10 0x2>; |
87 | mdio-handle = <&MDIO>; | 89 | mdio-handle = <&MDIO>; |
88 | phy-handle = <&PHY1>; | 90 | phy-handle = <&PHY1>; |
89 | }; | 91 | }; |
@@ -93,10 +95,10 @@ | |||
93 | compatible = "tsi109-ethernet", "tsi108-ethernet"; | 95 | compatible = "tsi109-ethernet", "tsi108-ethernet"; |
94 | #address-cells = <1>; | 96 | #address-cells = <1>; |
95 | #size-cells = <0>; | 97 | #size-cells = <0>; |
96 | reg = <6400 200>; | 98 | reg = <0x00006400 0x00000200>; |
97 | local-mac-address = [ 00 00 00 00 00 00 ]; | 99 | local-mac-address = [ 00 00 00 00 00 00 ]; |
98 | interrupt-parent = <&MPIC>; | 100 | interrupt-parent = <&MPIC>; |
99 | interrupts = <11 2>; | 101 | interrupts = <0x11 0x2>; |
100 | mdio-handle = <&MDIO>; | 102 | mdio-handle = <&MDIO>; |
101 | phy-handle = <&PHY2>; | 103 | phy-handle = <&PHY2>; |
102 | }; | 104 | }; |
@@ -104,23 +106,23 @@ | |||
104 | serial@7808 { | 106 | serial@7808 { |
105 | device_type = "serial"; | 107 | device_type = "serial"; |
106 | compatible = "ns16550"; | 108 | compatible = "ns16550"; |
107 | reg = <7808 200>; | 109 | reg = <0x00007808 0x00000200>; |
108 | virtual-reg = <c0007808>; | 110 | virtual-reg = <0xc0007808>; |
109 | clock-frequency = <3F9C6000>; | 111 | clock-frequency = <1067212800>; |
110 | current-speed = <1c200>; | 112 | current-speed = <115200>; |
111 | interrupt-parent = <&MPIC>; | 113 | interrupt-parent = <&MPIC>; |
112 | interrupts = <c 2>; | 114 | interrupts = <0xc 0x2>; |
113 | }; | 115 | }; |
114 | 116 | ||
115 | serial@7c08 { | 117 | serial@7c08 { |
116 | device_type = "serial"; | 118 | device_type = "serial"; |
117 | compatible = "ns16550"; | 119 | compatible = "ns16550"; |
118 | reg = <7c08 200>; | 120 | reg = <0x00007c08 0x00000200>; |
119 | virtual-reg = <c0007c08>; | 121 | virtual-reg = <0xc0007c08>; |
120 | clock-frequency = <3F9C6000>; | 122 | clock-frequency = <1067212800>; |
121 | current-speed = <1c200>; | 123 | current-speed = <115200>; |
122 | interrupt-parent = <&MPIC>; | 124 | interrupt-parent = <&MPIC>; |
123 | interrupts = <d 2>; | 125 | interrupts = <0xd 0x2>; |
124 | }; | 126 | }; |
125 | 127 | ||
126 | MPIC: pic@7400 { | 128 | MPIC: pic@7400 { |
@@ -128,7 +130,7 @@ | |||
128 | compatible = "chrp,open-pic"; | 130 | compatible = "chrp,open-pic"; |
129 | interrupt-controller; | 131 | interrupt-controller; |
130 | #interrupt-cells = <2>; | 132 | #interrupt-cells = <2>; |
131 | reg = <7400 400>; | 133 | reg = <0x00007400 0x00000400>; |
132 | big-endian; | 134 | big-endian; |
133 | }; | 135 | }; |
134 | 136 | ||
@@ -138,42 +140,42 @@ | |||
138 | #interrupt-cells = <1>; | 140 | #interrupt-cells = <1>; |
139 | #size-cells = <2>; | 141 | #size-cells = <2>; |
140 | #address-cells = <3>; | 142 | #address-cells = <3>; |
141 | reg = <1000 1000>; | 143 | reg = <0x00001000 0x00001000>; |
142 | bus-range = <0 0>; | 144 | bus-range = <0x0 0x0>; |
143 | /*----------------------------------------------------+ | 145 | /*----------------------------------------------------+ |
144 | | PCI memory range. | 146 | | PCI memory range. |
145 | | 01 denotes I/O space | 147 | | 01 denotes I/O space |
146 | | 02 denotes 32-bit memory space | 148 | | 02 denotes 32-bit memory space |
147 | +----------------------------------------------------*/ | 149 | +----------------------------------------------------*/ |
148 | ranges = <02000000 0 40000000 40000000 0 10000000 | 150 | ranges = <0x02000000 0x00000000 0x40000000 0x40000000 0x00000000 0x10000000 |
149 | 01000000 0 00000000 7e000000 0 00010000>; | 151 | 0x01000000 0x00000000 0x00000000 0x7e000000 0x00000000 0x00010000>; |
150 | clock-frequency = <7f28154>; | 152 | clock-frequency = <133333332>; |
151 | interrupt-parent = <&MPIC>; | 153 | interrupt-parent = <&MPIC>; |
152 | interrupts = <17 2>; | 154 | interrupts = <0x17 0x2>; |
153 | interrupt-map-mask = <f800 0 0 7>; | 155 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
154 | /*----------------------------------------------------+ | 156 | /*----------------------------------------------------+ |
155 | | The INTA, INTB, INTC, INTD are shared. | 157 | | The INTA, INTB, INTC, INTD are shared. |
156 | +----------------------------------------------------*/ | 158 | +----------------------------------------------------*/ |
157 | interrupt-map = < | 159 | interrupt-map = < |
158 | 0800 0 0 1 &RT0 24 0 | 160 | 0x800 0x0 0x0 0x1 &RT0 0x24 0x0 |
159 | 0800 0 0 2 &RT0 25 0 | 161 | 0x800 0x0 0x0 0x2 &RT0 0x25 0x0 |
160 | 0800 0 0 3 &RT0 26 0 | 162 | 0x800 0x0 0x0 0x3 &RT0 0x26 0x0 |
161 | 0800 0 0 4 &RT0 27 0 | 163 | 0x800 0x0 0x0 0x4 &RT0 0x27 0x0 |
162 | 164 | ||
163 | 1000 0 0 1 &RT0 25 0 | 165 | 0x1000 0x0 0x0 0x1 &RT0 0x25 0x0 |
164 | 1000 0 0 2 &RT0 26 0 | 166 | 0x1000 0x0 0x0 0x2 &RT0 0x26 0x0 |
165 | 1000 0 0 3 &RT0 27 0 | 167 | 0x1000 0x0 0x0 0x3 &RT0 0x27 0x0 |
166 | 1000 0 0 4 &RT0 24 0 | 168 | 0x1000 0x0 0x0 0x4 &RT0 0x24 0x0 |
167 | 169 | ||
168 | 1800 0 0 1 &RT0 26 0 | 170 | 0x1800 0x0 0x0 0x1 &RT0 0x26 0x0 |
169 | 1800 0 0 2 &RT0 27 0 | 171 | 0x1800 0x0 0x0 0x2 &RT0 0x27 0x0 |
170 | 1800 0 0 3 &RT0 24 0 | 172 | 0x1800 0x0 0x0 0x3 &RT0 0x24 0x0 |
171 | 1800 0 0 4 &RT0 25 0 | 173 | 0x1800 0x0 0x0 0x4 &RT0 0x25 0x0 |
172 | 174 | ||
173 | 2000 0 0 1 &RT0 27 0 | 175 | 0x2000 0x0 0x0 0x1 &RT0 0x27 0x0 |
174 | 2000 0 0 2 &RT0 24 0 | 176 | 0x2000 0x0 0x0 0x2 &RT0 0x24 0x0 |
175 | 2000 0 0 3 &RT0 25 0 | 177 | 0x2000 0x0 0x0 0x3 &RT0 0x25 0x0 |
176 | 2000 0 0 4 &RT0 26 0 | 178 | 0x2000 0x0 0x0 0x4 &RT0 0x26 0x0 |
177 | >; | 179 | >; |
178 | 180 | ||
179 | RT0: router@1180 { | 181 | RT0: router@1180 { |
@@ -183,7 +185,7 @@ | |||
183 | clock-frequency = <0>; | 185 | clock-frequency = <0>; |
184 | #address-cells = <0>; | 186 | #address-cells = <0>; |
185 | #interrupt-cells = <2>; | 187 | #interrupt-cells = <2>; |
186 | interrupts = <17 2>; | 188 | interrupts = <0x17 0x2>; |
187 | interrupt-parent = <&MPIC>; | 189 | interrupt-parent = <&MPIC>; |
188 | }; | 190 | }; |
189 | }; | 191 | }; |
diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dts index cc2873a531d2..b94bf61b9bcc 100644 --- a/arch/powerpc/boot/dts/katmai.dts +++ b/arch/powerpc/boot/dts/katmai.dts | |||
@@ -12,12 +12,14 @@ | |||
12 | * any warranty of any kind, whether express or implied. | 12 | * any warranty of any kind, whether express or implied. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /dts-v1/; | ||
16 | |||
15 | / { | 17 | / { |
16 | #address-cells = <2>; | 18 | #address-cells = <2>; |
17 | #size-cells = <1>; | 19 | #size-cells = <1>; |
18 | model = "amcc,katmai"; | 20 | model = "amcc,katmai"; |
19 | compatible = "amcc,katmai"; | 21 | compatible = "amcc,katmai"; |
20 | dcr-parent = <&/cpus/cpu@0>; | 22 | dcr-parent = <&{/cpus/cpu@0}>; |
21 | 23 | ||
22 | aliases { | 24 | aliases { |
23 | ethernet0 = &EMAC0; | 25 | ethernet0 = &EMAC0; |
@@ -33,13 +35,13 @@ | |||
33 | cpu@0 { | 35 | cpu@0 { |
34 | device_type = "cpu"; | 36 | device_type = "cpu"; |
35 | model = "PowerPC,440SPe"; | 37 | model = "PowerPC,440SPe"; |
36 | reg = <0>; | 38 | reg = <0x00000000>; |
37 | clock-frequency = <0>; /* Filled in by zImage */ | 39 | clock-frequency = <0>; /* Filled in by zImage */ |
38 | timebase-frequency = <0>; /* Filled in by zImage */ | 40 | timebase-frequency = <0>; /* Filled in by zImage */ |
39 | i-cache-line-size = <20>; | 41 | i-cache-line-size = <32>; |
40 | d-cache-line-size = <20>; | 42 | d-cache-line-size = <32>; |
41 | i-cache-size = <8000>; | 43 | i-cache-size = <32768>; |
42 | d-cache-size = <8000>; | 44 | d-cache-size = <32768>; |
43 | dcr-controller; | 45 | dcr-controller; |
44 | dcr-access-method = "native"; | 46 | dcr-access-method = "native"; |
45 | }; | 47 | }; |
@@ -47,14 +49,14 @@ | |||
47 | 49 | ||
48 | memory { | 50 | memory { |
49 | device_type = "memory"; | 51 | device_type = "memory"; |
50 | reg = <0 0 0>; /* Filled in by zImage */ | 52 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
51 | }; | 53 | }; |
52 | 54 | ||
53 | UIC0: interrupt-controller0 { | 55 | UIC0: interrupt-controller0 { |
54 | compatible = "ibm,uic-440spe","ibm,uic"; | 56 | compatible = "ibm,uic-440spe","ibm,uic"; |
55 | interrupt-controller; | 57 | interrupt-controller; |
56 | cell-index = <0>; | 58 | cell-index = <0>; |
57 | dcr-reg = <0c0 009>; | 59 | dcr-reg = <0x0c0 0x009>; |
58 | #address-cells = <0>; | 60 | #address-cells = <0>; |
59 | #size-cells = <0>; | 61 | #size-cells = <0>; |
60 | #interrupt-cells = <2>; | 62 | #interrupt-cells = <2>; |
@@ -64,11 +66,11 @@ | |||
64 | compatible = "ibm,uic-440spe","ibm,uic"; | 66 | compatible = "ibm,uic-440spe","ibm,uic"; |
65 | interrupt-controller; | 67 | interrupt-controller; |
66 | cell-index = <1>; | 68 | cell-index = <1>; |
67 | dcr-reg = <0d0 009>; | 69 | dcr-reg = <0x0d0 0x009>; |
68 | #address-cells = <0>; | 70 | #address-cells = <0>; |
69 | #size-cells = <0>; | 71 | #size-cells = <0>; |
70 | #interrupt-cells = <2>; | 72 | #interrupt-cells = <2>; |
71 | interrupts = <1e 4 1f 4>; /* cascade */ | 73 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
72 | interrupt-parent = <&UIC0>; | 74 | interrupt-parent = <&UIC0>; |
73 | }; | 75 | }; |
74 | 76 | ||
@@ -76,11 +78,11 @@ | |||
76 | compatible = "ibm,uic-440spe","ibm,uic"; | 78 | compatible = "ibm,uic-440spe","ibm,uic"; |
77 | interrupt-controller; | 79 | interrupt-controller; |
78 | cell-index = <2>; | 80 | cell-index = <2>; |
79 | dcr-reg = <0e0 009>; | 81 | dcr-reg = <0x0e0 0x009>; |
80 | #address-cells = <0>; | 82 | #address-cells = <0>; |
81 | #size-cells = <0>; | 83 | #size-cells = <0>; |
82 | #interrupt-cells = <2>; | 84 | #interrupt-cells = <2>; |
83 | interrupts = <a 4 b 4>; /* cascade */ | 85 | interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ |
84 | interrupt-parent = <&UIC0>; | 86 | interrupt-parent = <&UIC0>; |
85 | }; | 87 | }; |
86 | 88 | ||
@@ -88,22 +90,22 @@ | |||
88 | compatible = "ibm,uic-440spe","ibm,uic"; | 90 | compatible = "ibm,uic-440spe","ibm,uic"; |
89 | interrupt-controller; | 91 | interrupt-controller; |
90 | cell-index = <3>; | 92 | cell-index = <3>; |
91 | dcr-reg = <0f0 009>; | 93 | dcr-reg = <0x0f0 0x009>; |
92 | #address-cells = <0>; | 94 | #address-cells = <0>; |
93 | #size-cells = <0>; | 95 | #size-cells = <0>; |
94 | #interrupt-cells = <2>; | 96 | #interrupt-cells = <2>; |
95 | interrupts = <10 4 11 4>; /* cascade */ | 97 | interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ |
96 | interrupt-parent = <&UIC0>; | 98 | interrupt-parent = <&UIC0>; |
97 | }; | 99 | }; |
98 | 100 | ||
99 | SDR0: sdr { | 101 | SDR0: sdr { |
100 | compatible = "ibm,sdr-440spe"; | 102 | compatible = "ibm,sdr-440spe"; |
101 | dcr-reg = <00e 002>; | 103 | dcr-reg = <0x00e 0x002>; |
102 | }; | 104 | }; |
103 | 105 | ||
104 | CPR0: cpr { | 106 | CPR0: cpr { |
105 | compatible = "ibm,cpr-440spe"; | 107 | compatible = "ibm,cpr-440spe"; |
106 | dcr-reg = <00c 002>; | 108 | dcr-reg = <0x00c 0x002>; |
107 | }; | 109 | }; |
108 | 110 | ||
109 | plb { | 111 | plb { |
@@ -115,108 +117,108 @@ | |||
115 | 117 | ||
116 | SDRAM0: sdram { | 118 | SDRAM0: sdram { |
117 | compatible = "ibm,sdram-440spe", "ibm,sdram-405gp"; | 119 | compatible = "ibm,sdram-440spe", "ibm,sdram-405gp"; |
118 | dcr-reg = <010 2>; | 120 | dcr-reg = <0x010 0x002>; |
119 | }; | 121 | }; |
120 | 122 | ||
121 | MAL0: mcmal { | 123 | MAL0: mcmal { |
122 | compatible = "ibm,mcmal-440spe", "ibm,mcmal2"; | 124 | compatible = "ibm,mcmal-440spe", "ibm,mcmal2"; |
123 | dcr-reg = <180 62>; | 125 | dcr-reg = <0x180 0x062>; |
124 | num-tx-chans = <2>; | 126 | num-tx-chans = <2>; |
125 | num-rx-chans = <1>; | 127 | num-rx-chans = <1>; |
126 | interrupt-parent = <&MAL0>; | 128 | interrupt-parent = <&MAL0>; |
127 | interrupts = <0 1 2 3 4>; | 129 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
128 | #interrupt-cells = <1>; | 130 | #interrupt-cells = <1>; |
129 | #address-cells = <0>; | 131 | #address-cells = <0>; |
130 | #size-cells = <0>; | 132 | #size-cells = <0>; |
131 | interrupt-map = </*TXEOB*/ 0 &UIC1 6 4 | 133 | interrupt-map = </*TXEOB*/ 0x0 &UIC1 0x6 0x4 |
132 | /*RXEOB*/ 1 &UIC1 7 4 | 134 | /*RXEOB*/ 0x1 &UIC1 0x7 0x4 |
133 | /*SERR*/ 2 &UIC1 1 4 | 135 | /*SERR*/ 0x2 &UIC1 0x1 0x4 |
134 | /*TXDE*/ 3 &UIC1 2 4 | 136 | /*TXDE*/ 0x3 &UIC1 0x2 0x4 |
135 | /*RXDE*/ 4 &UIC1 3 4>; | 137 | /*RXDE*/ 0x4 &UIC1 0x3 0x4>; |
136 | }; | 138 | }; |
137 | 139 | ||
138 | POB0: opb { | 140 | POB0: opb { |
139 | compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb"; | 141 | compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb"; |
140 | #address-cells = <1>; | 142 | #address-cells = <1>; |
141 | #size-cells = <1>; | 143 | #size-cells = <1>; |
142 | ranges = <00000000 4 e0000000 20000000>; | 144 | ranges = <0x00000000 0x00000004 0xe0000000 0x20000000>; |
143 | clock-frequency = <0>; /* Filled in by zImage */ | 145 | clock-frequency = <0>; /* Filled in by zImage */ |
144 | 146 | ||
145 | EBC0: ebc { | 147 | EBC0: ebc { |
146 | compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc"; | 148 | compatible = "ibm,ebc-440spe", "ibm,ebc-440gp", "ibm,ebc"; |
147 | dcr-reg = <012 2>; | 149 | dcr-reg = <0x012 0x002>; |
148 | #address-cells = <2>; | 150 | #address-cells = <2>; |
149 | #size-cells = <1>; | 151 | #size-cells = <1>; |
150 | clock-frequency = <0>; /* Filled in by zImage */ | 152 | clock-frequency = <0>; /* Filled in by zImage */ |
151 | interrupts = <5 1>; | 153 | interrupts = <0x5 0x1>; |
152 | interrupt-parent = <&UIC1>; | 154 | interrupt-parent = <&UIC1>; |
153 | }; | 155 | }; |
154 | 156 | ||
155 | UART0: serial@10000200 { | 157 | UART0: serial@10000200 { |
156 | device_type = "serial"; | 158 | device_type = "serial"; |
157 | compatible = "ns16550"; | 159 | compatible = "ns16550"; |
158 | reg = <10000200 8>; | 160 | reg = <0x10000200 0x00000008>; |
159 | virtual-reg = <a0000200>; | 161 | virtual-reg = <0xa0000200>; |
160 | clock-frequency = <0>; /* Filled in by zImage */ | 162 | clock-frequency = <0>; /* Filled in by zImage */ |
161 | current-speed = <1c200>; | 163 | current-speed = <115200>; |
162 | interrupt-parent = <&UIC0>; | 164 | interrupt-parent = <&UIC0>; |
163 | interrupts = <0 4>; | 165 | interrupts = <0x0 0x4>; |
164 | }; | 166 | }; |
165 | 167 | ||
166 | UART1: serial@10000300 { | 168 | UART1: serial@10000300 { |
167 | device_type = "serial"; | 169 | device_type = "serial"; |
168 | compatible = "ns16550"; | 170 | compatible = "ns16550"; |
169 | reg = <10000300 8>; | 171 | reg = <0x10000300 0x00000008>; |
170 | virtual-reg = <a0000300>; | 172 | virtual-reg = <0xa0000300>; |
171 | clock-frequency = <0>; | 173 | clock-frequency = <0>; |
172 | current-speed = <0>; | 174 | current-speed = <0>; |
173 | interrupt-parent = <&UIC0>; | 175 | interrupt-parent = <&UIC0>; |
174 | interrupts = <1 4>; | 176 | interrupts = <0x1 0x4>; |
175 | }; | 177 | }; |
176 | 178 | ||
177 | 179 | ||
178 | UART2: serial@10000600 { | 180 | UART2: serial@10000600 { |
179 | device_type = "serial"; | 181 | device_type = "serial"; |
180 | compatible = "ns16550"; | 182 | compatible = "ns16550"; |
181 | reg = <10000600 8>; | 183 | reg = <0x10000600 0x00000008>; |
182 | virtual-reg = <a0000600>; | 184 | virtual-reg = <0xa0000600>; |
183 | clock-frequency = <0>; | 185 | clock-frequency = <0>; |
184 | current-speed = <0>; | 186 | current-speed = <0>; |
185 | interrupt-parent = <&UIC1>; | 187 | interrupt-parent = <&UIC1>; |
186 | interrupts = <5 4>; | 188 | interrupts = <0x5 0x4>; |
187 | }; | 189 | }; |
188 | 190 | ||
189 | IIC0: i2c@10000400 { | 191 | IIC0: i2c@10000400 { |
190 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; | 192 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; |
191 | reg = <10000400 14>; | 193 | reg = <0x10000400 0x00000014>; |
192 | interrupt-parent = <&UIC0>; | 194 | interrupt-parent = <&UIC0>; |
193 | interrupts = <2 4>; | 195 | interrupts = <0x2 0x4>; |
194 | }; | 196 | }; |
195 | 197 | ||
196 | IIC1: i2c@10000500 { | 198 | IIC1: i2c@10000500 { |
197 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; | 199 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; |
198 | reg = <10000500 14>; | 200 | reg = <0x10000500 0x00000014>; |
199 | interrupt-parent = <&UIC0>; | 201 | interrupt-parent = <&UIC0>; |
200 | interrupts = <3 4>; | 202 | interrupts = <0x3 0x4>; |
201 | }; | 203 | }; |
202 | 204 | ||
203 | EMAC0: ethernet@10000800 { | 205 | EMAC0: ethernet@10000800 { |
204 | linux,network-index = <0>; | 206 | linux,network-index = <0x0>; |
205 | device_type = "network"; | 207 | device_type = "network"; |
206 | compatible = "ibm,emac-440spe", "ibm,emac4"; | 208 | compatible = "ibm,emac-440spe", "ibm,emac4"; |
207 | interrupt-parent = <&UIC1>; | 209 | interrupt-parent = <&UIC1>; |
208 | interrupts = <1c 4 1d 4>; | 210 | interrupts = <0x1c 0x4 0x1d 0x4>; |
209 | reg = <10000800 70>; | 211 | reg = <0x10000800 0x00000070>; |
210 | local-mac-address = [000000000000]; | 212 | local-mac-address = [000000000000]; |
211 | mal-device = <&MAL0>; | 213 | mal-device = <&MAL0>; |
212 | mal-tx-channel = <0>; | 214 | mal-tx-channel = <0>; |
213 | mal-rx-channel = <0>; | 215 | mal-rx-channel = <0>; |
214 | cell-index = <0>; | 216 | cell-index = <0>; |
215 | max-frame-size = <2328>; | 217 | max-frame-size = <9000>; |
216 | rx-fifo-size = <1000>; | 218 | rx-fifo-size = <4096>; |
217 | tx-fifo-size = <800>; | 219 | tx-fifo-size = <2048>; |
218 | phy-mode = "gmii"; | 220 | phy-mode = "gmii"; |
219 | phy-map = <00000000>; | 221 | phy-map = <0x00000000>; |
220 | has-inverted-stacr-oc; | 222 | has-inverted-stacr-oc; |
221 | has-new-stacr-staopc; | 223 | has-new-stacr-staopc; |
222 | }; | 224 | }; |
@@ -231,23 +233,23 @@ | |||
231 | primary; | 233 | primary; |
232 | large-inbound-windows; | 234 | large-inbound-windows; |
233 | enable-msi-hole; | 235 | enable-msi-hole; |
234 | reg = <c 0ec00000 8 /* Config space access */ | 236 | reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ |
235 | 0 0 0 /* no IACK cycles */ | 237 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
236 | c 0ed00000 4 /* Special cycles */ | 238 | 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ |
237 | c 0ec80000 100 /* Internal registers */ | 239 | 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ |
238 | c 0ec80100 fc>; /* Internal messaging registers */ | 240 | 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
239 | 241 | ||
240 | /* Outbound ranges, one memory and one IO, | 242 | /* Outbound ranges, one memory and one IO, |
241 | * later cannot be changed | 243 | * later cannot be changed |
242 | */ | 244 | */ |
243 | ranges = <02000000 0 80000000 0000000d 80000000 0 80000000 | 245 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 |
244 | 01000000 0 00000000 0000000c 08000000 0 00010000>; | 246 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; |
245 | 247 | ||
246 | /* Inbound 2GB range starting at 0 */ | 248 | /* Inbound 2GB range starting at 0 */ |
247 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 249 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
248 | 250 | ||
249 | /* This drives busses 0 to 0xf */ | 251 | /* This drives busses 0 to 0xf */ |
250 | bus-range = <0 f>; | 252 | bus-range = <0x0 0xf>; |
251 | 253 | ||
252 | /* | 254 | /* |
253 | * On Katmai, the following PCI-X interrupts signals | 255 | * On Katmai, the following PCI-X interrupts signals |
@@ -258,13 +260,13 @@ | |||
258 | * INTC: J2: 1-2 | 260 | * INTC: J2: 1-2 |
259 | * INTD: J1: 1-2 | 261 | * INTD: J1: 1-2 |
260 | */ | 262 | */ |
261 | interrupt-map-mask = <f800 0 0 7>; | 263 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
262 | interrupt-map = < | 264 | interrupt-map = < |
263 | /* IDSEL 1 */ | 265 | /* IDSEL 1 */ |
264 | 0800 0 0 1 &UIC1 14 8 | 266 | 0x800 0x0 0x0 0x1 &UIC1 0x14 0x8 |
265 | 0800 0 0 2 &UIC1 13 8 | 267 | 0x800 0x0 0x0 0x2 &UIC1 0x13 0x8 |
266 | 0800 0 0 3 &UIC1 12 8 | 268 | 0x800 0x0 0x0 0x3 &UIC1 0x12 0x8 |
267 | 0800 0 0 4 &UIC1 11 8 | 269 | 0x800 0x0 0x0 0x4 &UIC1 0x11 0x8 |
268 | >; | 270 | >; |
269 | }; | 271 | }; |
270 | 272 | ||
@@ -275,23 +277,23 @@ | |||
275 | #address-cells = <3>; | 277 | #address-cells = <3>; |
276 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; | 278 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; |
277 | primary; | 279 | primary; |
278 | port = <0>; /* port number */ | 280 | port = <0x0>; /* port number */ |
279 | reg = <d 00000000 20000000 /* Config space access */ | 281 | reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ |
280 | c 10000000 00001000>; /* Registers */ | 282 | 0x0000000c 0x10000000 0x00001000>; /* Registers */ |
281 | dcr-reg = <100 020>; | 283 | dcr-reg = <0x100 0x020>; |
282 | sdr-base = <300>; | 284 | sdr-base = <0x300>; |
283 | 285 | ||
284 | /* Outbound ranges, one memory and one IO, | 286 | /* Outbound ranges, one memory and one IO, |
285 | * later cannot be changed | 287 | * later cannot be changed |
286 | */ | 288 | */ |
287 | ranges = <02000000 0 80000000 0000000e 00000000 0 80000000 | 289 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 |
288 | 01000000 0 00000000 0000000f 80000000 0 00010000>; | 290 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; |
289 | 291 | ||
290 | /* Inbound 2GB range starting at 0 */ | 292 | /* Inbound 2GB range starting at 0 */ |
291 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 293 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
292 | 294 | ||
293 | /* This drives busses 10 to 0x1f */ | 295 | /* This drives busses 10 to 0x1f */ |
294 | bus-range = <10 1f>; | 296 | bus-range = <0x10 0x1f>; |
295 | 297 | ||
296 | /* Legacy interrupts (note the weird polarity, the bridge seems | 298 | /* Legacy interrupts (note the weird polarity, the bridge seems |
297 | * to invert PCIe legacy interrupts). | 299 | * to invert PCIe legacy interrupts). |
@@ -301,12 +303,12 @@ | |||
301 | * below are basically de-swizzled numbers. | 303 | * below are basically de-swizzled numbers. |
302 | * The real slot is on idsel 0, so the swizzling is 1:1 | 304 | * The real slot is on idsel 0, so the swizzling is 1:1 |
303 | */ | 305 | */ |
304 | interrupt-map-mask = <0000 0 0 7>; | 306 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
305 | interrupt-map = < | 307 | interrupt-map = < |
306 | 0000 0 0 1 &UIC3 0 4 /* swizzled int A */ | 308 | 0x0 0x0 0x0 0x1 &UIC3 0x0 0x4 /* swizzled int A */ |
307 | 0000 0 0 2 &UIC3 1 4 /* swizzled int B */ | 309 | 0x0 0x0 0x0 0x2 &UIC3 0x1 0x4 /* swizzled int B */ |
308 | 0000 0 0 3 &UIC3 2 4 /* swizzled int C */ | 310 | 0x0 0x0 0x0 0x3 &UIC3 0x2 0x4 /* swizzled int C */ |
309 | 0000 0 0 4 &UIC3 3 4 /* swizzled int D */>; | 311 | 0x0 0x0 0x0 0x4 &UIC3 0x3 0x4 /* swizzled int D */>; |
310 | }; | 312 | }; |
311 | 313 | ||
312 | PCIE1: pciex@d20000000 { | 314 | PCIE1: pciex@d20000000 { |
@@ -316,23 +318,23 @@ | |||
316 | #address-cells = <3>; | 318 | #address-cells = <3>; |
317 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; | 319 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; |
318 | primary; | 320 | primary; |
319 | port = <1>; /* port number */ | 321 | port = <0x1>; /* port number */ |
320 | reg = <d 20000000 20000000 /* Config space access */ | 322 | reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ |
321 | c 10001000 00001000>; /* Registers */ | 323 | 0x0000000c 0x10001000 0x00001000>; /* Registers */ |
322 | dcr-reg = <120 020>; | 324 | dcr-reg = <0x120 0x020>; |
323 | sdr-base = <340>; | 325 | sdr-base = <0x340>; |
324 | 326 | ||
325 | /* Outbound ranges, one memory and one IO, | 327 | /* Outbound ranges, one memory and one IO, |
326 | * later cannot be changed | 328 | * later cannot be changed |
327 | */ | 329 | */ |
328 | ranges = <02000000 0 80000000 0000000e 80000000 0 80000000 | 330 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 |
329 | 01000000 0 00000000 0000000f 80010000 0 00010000>; | 331 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; |
330 | 332 | ||
331 | /* Inbound 2GB range starting at 0 */ | 333 | /* Inbound 2GB range starting at 0 */ |
332 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 334 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
333 | 335 | ||
334 | /* This drives busses 10 to 0x1f */ | 336 | /* This drives busses 10 to 0x1f */ |
335 | bus-range = <20 2f>; | 337 | bus-range = <0x20 0x2f>; |
336 | 338 | ||
337 | /* Legacy interrupts (note the weird polarity, the bridge seems | 339 | /* Legacy interrupts (note the weird polarity, the bridge seems |
338 | * to invert PCIe legacy interrupts). | 340 | * to invert PCIe legacy interrupts). |
@@ -342,12 +344,12 @@ | |||
342 | * below are basically de-swizzled numbers. | 344 | * below are basically de-swizzled numbers. |
343 | * The real slot is on idsel 0, so the swizzling is 1:1 | 345 | * The real slot is on idsel 0, so the swizzling is 1:1 |
344 | */ | 346 | */ |
345 | interrupt-map-mask = <0000 0 0 7>; | 347 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
346 | interrupt-map = < | 348 | interrupt-map = < |
347 | 0000 0 0 1 &UIC3 4 4 /* swizzled int A */ | 349 | 0x0 0x0 0x0 0x1 &UIC3 0x4 0x4 /* swizzled int A */ |
348 | 0000 0 0 2 &UIC3 5 4 /* swizzled int B */ | 350 | 0x0 0x0 0x0 0x2 &UIC3 0x5 0x4 /* swizzled int B */ |
349 | 0000 0 0 3 &UIC3 6 4 /* swizzled int C */ | 351 | 0x0 0x0 0x0 0x3 &UIC3 0x6 0x4 /* swizzled int C */ |
350 | 0000 0 0 4 &UIC3 7 4 /* swizzled int D */>; | 352 | 0x0 0x0 0x0 0x4 &UIC3 0x7 0x4 /* swizzled int D */>; |
351 | }; | 353 | }; |
352 | 354 | ||
353 | PCIE2: pciex@d40000000 { | 355 | PCIE2: pciex@d40000000 { |
@@ -357,23 +359,23 @@ | |||
357 | #address-cells = <3>; | 359 | #address-cells = <3>; |
358 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; | 360 | compatible = "ibm,plb-pciex-440spe", "ibm,plb-pciex"; |
359 | primary; | 361 | primary; |
360 | port = <2>; /* port number */ | 362 | port = <0x2>; /* port number */ |
361 | reg = <d 40000000 20000000 /* Config space access */ | 363 | reg = <0x0000000d 0x40000000 0x20000000 /* Config space access */ |
362 | c 10002000 00001000>; /* Registers */ | 364 | 0x0000000c 0x10002000 0x00001000>; /* Registers */ |
363 | dcr-reg = <140 020>; | 365 | dcr-reg = <0x140 0x020>; |
364 | sdr-base = <370>; | 366 | sdr-base = <0x370>; |
365 | 367 | ||
366 | /* Outbound ranges, one memory and one IO, | 368 | /* Outbound ranges, one memory and one IO, |
367 | * later cannot be changed | 369 | * later cannot be changed |
368 | */ | 370 | */ |
369 | ranges = <02000000 0 80000000 0000000f 00000000 0 80000000 | 371 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000f 0x00000000 0x00000000 0x80000000 |
370 | 01000000 0 00000000 0000000f 80020000 0 00010000>; | 372 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80020000 0x00000000 0x00010000>; |
371 | 373 | ||
372 | /* Inbound 2GB range starting at 0 */ | 374 | /* Inbound 2GB range starting at 0 */ |
373 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 375 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
374 | 376 | ||
375 | /* This drives busses 10 to 0x1f */ | 377 | /* This drives busses 10 to 0x1f */ |
376 | bus-range = <30 3f>; | 378 | bus-range = <0x30 0x3f>; |
377 | 379 | ||
378 | /* Legacy interrupts (note the weird polarity, the bridge seems | 380 | /* Legacy interrupts (note the weird polarity, the bridge seems |
379 | * to invert PCIe legacy interrupts). | 381 | * to invert PCIe legacy interrupts). |
@@ -383,12 +385,12 @@ | |||
383 | * below are basically de-swizzled numbers. | 385 | * below are basically de-swizzled numbers. |
384 | * The real slot is on idsel 0, so the swizzling is 1:1 | 386 | * The real slot is on idsel 0, so the swizzling is 1:1 |
385 | */ | 387 | */ |
386 | interrupt-map-mask = <0000 0 0 7>; | 388 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
387 | interrupt-map = < | 389 | interrupt-map = < |
388 | 0000 0 0 1 &UIC3 8 4 /* swizzled int A */ | 390 | 0x0 0x0 0x0 0x1 &UIC3 0x8 0x4 /* swizzled int A */ |
389 | 0000 0 0 2 &UIC3 9 4 /* swizzled int B */ | 391 | 0x0 0x0 0x0 0x2 &UIC3 0x9 0x4 /* swizzled int B */ |
390 | 0000 0 0 3 &UIC3 a 4 /* swizzled int C */ | 392 | 0x0 0x0 0x0 0x3 &UIC3 0xa 0x4 /* swizzled int C */ |
391 | 0000 0 0 4 &UIC3 b 4 /* swizzled int D */>; | 393 | 0x0 0x0 0x0 0x4 &UIC3 0xb 0x4 /* swizzled int D */>; |
392 | }; | 394 | }; |
393 | }; | 395 | }; |
394 | 396 | ||
diff --git a/arch/powerpc/boot/dts/kilauea.dts b/arch/powerpc/boot/dts/kilauea.dts index 48c9a6e71f1a..3ed6a8fee1d5 100644 --- a/arch/powerpc/boot/dts/kilauea.dts +++ b/arch/powerpc/boot/dts/kilauea.dts | |||
@@ -8,12 +8,14 @@ | |||
8 | * any warranty of any kind, whether express or implied. | 8 | * any warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | ||
12 | |||
11 | / { | 13 | / { |
12 | #address-cells = <1>; | 14 | #address-cells = <1>; |
13 | #size-cells = <1>; | 15 | #size-cells = <1>; |
14 | model = "amcc,kilauea"; | 16 | model = "amcc,kilauea"; |
15 | compatible = "amcc,kilauea"; | 17 | compatible = "amcc,kilauea"; |
16 | dcr-parent = <&/cpus/cpu@0>; | 18 | dcr-parent = <&{/cpus/cpu@0}>; |
17 | 19 | ||
18 | aliases { | 20 | aliases { |
19 | ethernet0 = &EMAC0; | 21 | ethernet0 = &EMAC0; |
@@ -29,13 +31,13 @@ | |||
29 | cpu@0 { | 31 | cpu@0 { |
30 | device_type = "cpu"; | 32 | device_type = "cpu"; |
31 | model = "PowerPC,405EX"; | 33 | model = "PowerPC,405EX"; |
32 | reg = <0>; | 34 | reg = <0x00000000>; |
33 | clock-frequency = <0>; /* Filled in by U-Boot */ | 35 | clock-frequency = <0>; /* Filled in by U-Boot */ |
34 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 36 | timebase-frequency = <0>; /* Filled in by U-Boot */ |
35 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
36 | d-cache-line-size = <20>; | 38 | d-cache-line-size = <32>; |
37 | i-cache-size = <4000>; /* 16 kB */ | 39 | i-cache-size = <16384>; /* 16 kB */ |
38 | d-cache-size = <4000>; /* 16 kB */ | 40 | d-cache-size = <16384>; /* 16 kB */ |
39 | dcr-controller; | 41 | dcr-controller; |
40 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
41 | }; | 43 | }; |
@@ -43,14 +45,14 @@ | |||
43 | 45 | ||
44 | memory { | 46 | memory { |
45 | device_type = "memory"; | 47 | device_type = "memory"; |
46 | reg = <0 0>; /* Filled in by U-Boot */ | 48 | reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ |
47 | }; | 49 | }; |
48 | 50 | ||
49 | UIC0: interrupt-controller { | 51 | UIC0: interrupt-controller { |
50 | compatible = "ibm,uic-405ex", "ibm,uic"; | 52 | compatible = "ibm,uic-405ex", "ibm,uic"; |
51 | interrupt-controller; | 53 | interrupt-controller; |
52 | cell-index = <0>; | 54 | cell-index = <0>; |
53 | dcr-reg = <0c0 009>; | 55 | dcr-reg = <0x0c0 0x009>; |
54 | #address-cells = <0>; | 56 | #address-cells = <0>; |
55 | #size-cells = <0>; | 57 | #size-cells = <0>; |
56 | #interrupt-cells = <2>; | 58 | #interrupt-cells = <2>; |
@@ -60,11 +62,11 @@ | |||
60 | compatible = "ibm,uic-405ex","ibm,uic"; | 62 | compatible = "ibm,uic-405ex","ibm,uic"; |
61 | interrupt-controller; | 63 | interrupt-controller; |
62 | cell-index = <1>; | 64 | cell-index = <1>; |
63 | dcr-reg = <0d0 009>; | 65 | dcr-reg = <0x0d0 0x009>; |
64 | #address-cells = <0>; | 66 | #address-cells = <0>; |
65 | #size-cells = <0>; | 67 | #size-cells = <0>; |
66 | #interrupt-cells = <2>; | 68 | #interrupt-cells = <2>; |
67 | interrupts = <1e 4 1f 4>; /* cascade */ | 69 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
68 | interrupt-parent = <&UIC0>; | 70 | interrupt-parent = <&UIC0>; |
69 | }; | 71 | }; |
70 | 72 | ||
@@ -72,11 +74,11 @@ | |||
72 | compatible = "ibm,uic-405ex","ibm,uic"; | 74 | compatible = "ibm,uic-405ex","ibm,uic"; |
73 | interrupt-controller; | 75 | interrupt-controller; |
74 | cell-index = <2>; | 76 | cell-index = <2>; |
75 | dcr-reg = <0e0 009>; | 77 | dcr-reg = <0x0e0 0x009>; |
76 | #address-cells = <0>; | 78 | #address-cells = <0>; |
77 | #size-cells = <0>; | 79 | #size-cells = <0>; |
78 | #interrupt-cells = <2>; | 80 | #interrupt-cells = <2>; |
79 | interrupts = <1c 4 1d 4>; /* cascade */ | 81 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ |
80 | interrupt-parent = <&UIC0>; | 82 | interrupt-parent = <&UIC0>; |
81 | }; | 83 | }; |
82 | 84 | ||
@@ -89,72 +91,72 @@ | |||
89 | 91 | ||
90 | SDRAM0: memory-controller { | 92 | SDRAM0: memory-controller { |
91 | compatible = "ibm,sdram-405ex"; | 93 | compatible = "ibm,sdram-405ex"; |
92 | dcr-reg = <010 2>; | 94 | dcr-reg = <0x010 0x002>; |
93 | }; | 95 | }; |
94 | 96 | ||
95 | MAL0: mcmal { | 97 | MAL0: mcmal { |
96 | compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; | 98 | compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; |
97 | dcr-reg = <180 62>; | 99 | dcr-reg = <0x180 0x062>; |
98 | num-tx-chans = <2>; | 100 | num-tx-chans = <2>; |
99 | num-rx-chans = <2>; | 101 | num-rx-chans = <2>; |
100 | interrupt-parent = <&MAL0>; | 102 | interrupt-parent = <&MAL0>; |
101 | interrupts = <0 1 2 3 4>; | 103 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
102 | #interrupt-cells = <1>; | 104 | #interrupt-cells = <1>; |
103 | #address-cells = <0>; | 105 | #address-cells = <0>; |
104 | #size-cells = <0>; | 106 | #size-cells = <0>; |
105 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 107 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
106 | /*RXEOB*/ 1 &UIC0 b 4 | 108 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
107 | /*SERR*/ 2 &UIC1 0 4 | 109 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
108 | /*TXDE*/ 3 &UIC1 1 4 | 110 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
109 | /*RXDE*/ 4 &UIC1 2 4>; | 111 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
110 | interrupt-map-mask = <ffffffff>; | 112 | interrupt-map-mask = <0xffffffff>; |
111 | }; | 113 | }; |
112 | 114 | ||
113 | POB0: opb { | 115 | POB0: opb { |
114 | compatible = "ibm,opb-405ex", "ibm,opb"; | 116 | compatible = "ibm,opb-405ex", "ibm,opb"; |
115 | #address-cells = <1>; | 117 | #address-cells = <1>; |
116 | #size-cells = <1>; | 118 | #size-cells = <1>; |
117 | ranges = <80000000 80000000 10000000 | 119 | ranges = <0x80000000 0x80000000 0x10000000 |
118 | ef600000 ef600000 a00000 | 120 | 0xef600000 0xef600000 0x00a00000 |
119 | f0000000 f0000000 10000000>; | 121 | 0xf0000000 0xf0000000 0x10000000>; |
120 | dcr-reg = <0a0 5>; | 122 | dcr-reg = <0x0a0 0x005>; |
121 | clock-frequency = <0>; /* Filled in by U-Boot */ | 123 | clock-frequency = <0>; /* Filled in by U-Boot */ |
122 | 124 | ||
123 | EBC0: ebc { | 125 | EBC0: ebc { |
124 | compatible = "ibm,ebc-405ex", "ibm,ebc"; | 126 | compatible = "ibm,ebc-405ex", "ibm,ebc"; |
125 | dcr-reg = <012 2>; | 127 | dcr-reg = <0x012 0x002>; |
126 | #address-cells = <2>; | 128 | #address-cells = <2>; |
127 | #size-cells = <1>; | 129 | #size-cells = <1>; |
128 | clock-frequency = <0>; /* Filled in by U-Boot */ | 130 | clock-frequency = <0>; /* Filled in by U-Boot */ |
129 | /* ranges property is supplied by U-Boot */ | 131 | /* ranges property is supplied by U-Boot */ |
130 | interrupts = <5 1>; | 132 | interrupts = <0x5 0x1>; |
131 | interrupt-parent = <&UIC1>; | 133 | interrupt-parent = <&UIC1>; |
132 | 134 | ||
133 | nor_flash@0,0 { | 135 | nor_flash@0,0 { |
134 | compatible = "amd,s29gl512n", "cfi-flash"; | 136 | compatible = "amd,s29gl512n", "cfi-flash"; |
135 | bank-width = <2>; | 137 | bank-width = <2>; |
136 | reg = <0 000000 4000000>; | 138 | reg = <0x00000000 0x00000000 0x04000000>; |
137 | #address-cells = <1>; | 139 | #address-cells = <1>; |
138 | #size-cells = <1>; | 140 | #size-cells = <1>; |
139 | partition@0 { | 141 | partition@0 { |
140 | label = "kernel"; | 142 | label = "kernel"; |
141 | reg = <0 200000>; | 143 | reg = <0x00000000 0x00200000>; |
142 | }; | 144 | }; |
143 | partition@200000 { | 145 | partition@200000 { |
144 | label = "root"; | 146 | label = "root"; |
145 | reg = <200000 200000>; | 147 | reg = <0x00200000 0x00200000>; |
146 | }; | 148 | }; |
147 | partition@400000 { | 149 | partition@400000 { |
148 | label = "user"; | 150 | label = "user"; |
149 | reg = <400000 3b60000>; | 151 | reg = <0x00400000 0x03b60000>; |
150 | }; | 152 | }; |
151 | partition@3f60000 { | 153 | partition@3f60000 { |
152 | label = "env"; | 154 | label = "env"; |
153 | reg = <3f60000 40000>; | 155 | reg = <0x03f60000 0x00040000>; |
154 | }; | 156 | }; |
155 | partition@3fa0000 { | 157 | partition@3fa0000 { |
156 | label = "u-boot"; | 158 | label = "u-boot"; |
157 | reg = <3fa0000 60000>; | 159 | reg = <0x03fa0000 0x00060000>; |
158 | }; | 160 | }; |
159 | }; | 161 | }; |
160 | }; | 162 | }; |
@@ -162,68 +164,68 @@ | |||
162 | UART0: serial@ef600200 { | 164 | UART0: serial@ef600200 { |
163 | device_type = "serial"; | 165 | device_type = "serial"; |
164 | compatible = "ns16550"; | 166 | compatible = "ns16550"; |
165 | reg = <ef600200 8>; | 167 | reg = <0xef600200 0x00000008>; |
166 | virtual-reg = <ef600200>; | 168 | virtual-reg = <0xef600200>; |
167 | clock-frequency = <0>; /* Filled in by U-Boot */ | 169 | clock-frequency = <0>; /* Filled in by U-Boot */ |
168 | current-speed = <0>; | 170 | current-speed = <0>; |
169 | interrupt-parent = <&UIC0>; | 171 | interrupt-parent = <&UIC0>; |
170 | interrupts = <1a 4>; | 172 | interrupts = <0x1a 0x4>; |
171 | }; | 173 | }; |
172 | 174 | ||
173 | UART1: serial@ef600300 { | 175 | UART1: serial@ef600300 { |
174 | device_type = "serial"; | 176 | device_type = "serial"; |
175 | compatible = "ns16550"; | 177 | compatible = "ns16550"; |
176 | reg = <ef600300 8>; | 178 | reg = <0xef600300 0x00000008>; |
177 | virtual-reg = <ef600300>; | 179 | virtual-reg = <0xef600300>; |
178 | clock-frequency = <0>; /* Filled in by U-Boot */ | 180 | clock-frequency = <0>; /* Filled in by U-Boot */ |
179 | current-speed = <0>; | 181 | current-speed = <0>; |
180 | interrupt-parent = <&UIC0>; | 182 | interrupt-parent = <&UIC0>; |
181 | interrupts = <1 4>; | 183 | interrupts = <0x1 0x4>; |
182 | }; | 184 | }; |
183 | 185 | ||
184 | IIC0: i2c@ef600400 { | 186 | IIC0: i2c@ef600400 { |
185 | compatible = "ibm,iic-405ex", "ibm,iic"; | 187 | compatible = "ibm,iic-405ex", "ibm,iic"; |
186 | reg = <ef600400 14>; | 188 | reg = <0xef600400 0x00000014>; |
187 | interrupt-parent = <&UIC0>; | 189 | interrupt-parent = <&UIC0>; |
188 | interrupts = <2 4>; | 190 | interrupts = <0x2 0x4>; |
189 | }; | 191 | }; |
190 | 192 | ||
191 | IIC1: i2c@ef600500 { | 193 | IIC1: i2c@ef600500 { |
192 | compatible = "ibm,iic-405ex", "ibm,iic"; | 194 | compatible = "ibm,iic-405ex", "ibm,iic"; |
193 | reg = <ef600500 14>; | 195 | reg = <0xef600500 0x00000014>; |
194 | interrupt-parent = <&UIC0>; | 196 | interrupt-parent = <&UIC0>; |
195 | interrupts = <7 4>; | 197 | interrupts = <0x7 0x4>; |
196 | }; | 198 | }; |
197 | 199 | ||
198 | 200 | ||
199 | RGMII0: emac-rgmii@ef600b00 { | 201 | RGMII0: emac-rgmii@ef600b00 { |
200 | compatible = "ibm,rgmii-405ex", "ibm,rgmii"; | 202 | compatible = "ibm,rgmii-405ex", "ibm,rgmii"; |
201 | reg = <ef600b00 104>; | 203 | reg = <0xef600b00 0x00000104>; |
202 | has-mdio; | 204 | has-mdio; |
203 | }; | 205 | }; |
204 | 206 | ||
205 | EMAC0: ethernet@ef600900 { | 207 | EMAC0: ethernet@ef600900 { |
206 | linux,network-index = <0>; | 208 | linux,network-index = <0x0>; |
207 | device_type = "network"; | 209 | device_type = "network"; |
208 | compatible = "ibm,emac-405ex", "ibm,emac4"; | 210 | compatible = "ibm,emac-405ex", "ibm,emac4"; |
209 | interrupt-parent = <&EMAC0>; | 211 | interrupt-parent = <&EMAC0>; |
210 | interrupts = <0 1>; | 212 | interrupts = <0x0 0x1>; |
211 | #interrupt-cells = <1>; | 213 | #interrupt-cells = <1>; |
212 | #address-cells = <0>; | 214 | #address-cells = <0>; |
213 | #size-cells = <0>; | 215 | #size-cells = <0>; |
214 | interrupt-map = </*Status*/ 0 &UIC0 18 4 | 216 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 |
215 | /*Wake*/ 1 &UIC1 1d 4>; | 217 | /*Wake*/ 0x1 &UIC1 0x1d 0x4>; |
216 | reg = <ef600900 70>; | 218 | reg = <0xef600900 0x00000070>; |
217 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 219 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
218 | mal-device = <&MAL0>; | 220 | mal-device = <&MAL0>; |
219 | mal-tx-channel = <0>; | 221 | mal-tx-channel = <0>; |
220 | mal-rx-channel = <0>; | 222 | mal-rx-channel = <0>; |
221 | cell-index = <0>; | 223 | cell-index = <0>; |
222 | max-frame-size = <2328>; | 224 | max-frame-size = <9000>; |
223 | rx-fifo-size = <1000>; | 225 | rx-fifo-size = <4096>; |
224 | tx-fifo-size = <800>; | 226 | tx-fifo-size = <2048>; |
225 | phy-mode = "rgmii"; | 227 | phy-mode = "rgmii"; |
226 | phy-map = <00000000>; | 228 | phy-map = <0x00000000>; |
227 | rgmii-device = <&RGMII0>; | 229 | rgmii-device = <&RGMII0>; |
228 | rgmii-channel = <0>; | 230 | rgmii-channel = <0>; |
229 | has-inverted-stacr-oc; | 231 | has-inverted-stacr-oc; |
@@ -231,27 +233,27 @@ | |||
231 | }; | 233 | }; |
232 | 234 | ||
233 | EMAC1: ethernet@ef600a00 { | 235 | EMAC1: ethernet@ef600a00 { |
234 | linux,network-index = <1>; | 236 | linux,network-index = <0x1>; |
235 | device_type = "network"; | 237 | device_type = "network"; |
236 | compatible = "ibm,emac-405ex", "ibm,emac4"; | 238 | compatible = "ibm,emac-405ex", "ibm,emac4"; |
237 | interrupt-parent = <&EMAC1>; | 239 | interrupt-parent = <&EMAC1>; |
238 | interrupts = <0 1>; | 240 | interrupts = <0x0 0x1>; |
239 | #interrupt-cells = <1>; | 241 | #interrupt-cells = <1>; |
240 | #address-cells = <0>; | 242 | #address-cells = <0>; |
241 | #size-cells = <0>; | 243 | #size-cells = <0>; |
242 | interrupt-map = </*Status*/ 0 &UIC0 19 4 | 244 | interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 |
243 | /*Wake*/ 1 &UIC1 1f 4>; | 245 | /*Wake*/ 0x1 &UIC1 0x1f 0x4>; |
244 | reg = <ef600a00 70>; | 246 | reg = <0xef600a00 0x00000070>; |
245 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 247 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
246 | mal-device = <&MAL0>; | 248 | mal-device = <&MAL0>; |
247 | mal-tx-channel = <1>; | 249 | mal-tx-channel = <1>; |
248 | mal-rx-channel = <1>; | 250 | mal-rx-channel = <1>; |
249 | cell-index = <1>; | 251 | cell-index = <1>; |
250 | max-frame-size = <2328>; | 252 | max-frame-size = <9000>; |
251 | rx-fifo-size = <1000>; | 253 | rx-fifo-size = <4096>; |
252 | tx-fifo-size = <800>; | 254 | tx-fifo-size = <2048>; |
253 | phy-mode = "rgmii"; | 255 | phy-mode = "rgmii"; |
254 | phy-map = <00000000>; | 256 | phy-map = <0x00000000>; |
255 | rgmii-device = <&RGMII0>; | 257 | rgmii-device = <&RGMII0>; |
256 | rgmii-channel = <1>; | 258 | rgmii-channel = <1>; |
257 | has-inverted-stacr-oc; | 259 | has-inverted-stacr-oc; |
@@ -266,23 +268,23 @@ | |||
266 | #address-cells = <3>; | 268 | #address-cells = <3>; |
267 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 269 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; |
268 | primary; | 270 | primary; |
269 | port = <0>; /* port number */ | 271 | port = <0x0>; /* port number */ |
270 | reg = <a0000000 20000000 /* Config space access */ | 272 | reg = <0xa0000000 0x20000000 /* Config space access */ |
271 | ef000000 00001000>; /* Registers */ | 273 | 0xef000000 0x00001000>; /* Registers */ |
272 | dcr-reg = <040 020>; | 274 | dcr-reg = <0x040 0x020>; |
273 | sdr-base = <400>; | 275 | sdr-base = <0x400>; |
274 | 276 | ||
275 | /* Outbound ranges, one memory and one IO, | 277 | /* Outbound ranges, one memory and one IO, |
276 | * later cannot be changed | 278 | * later cannot be changed |
277 | */ | 279 | */ |
278 | ranges = <02000000 0 80000000 90000000 0 08000000 | 280 | ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000 |
279 | 01000000 0 00000000 e0000000 0 00010000>; | 281 | 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>; |
280 | 282 | ||
281 | /* Inbound 2GB range starting at 0 */ | 283 | /* Inbound 2GB range starting at 0 */ |
282 | dma-ranges = <42000000 0 0 0 0 80000000>; | 284 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
283 | 285 | ||
284 | /* This drives busses 0x00 to 0x3f */ | 286 | /* This drives busses 0x00 to 0x3f */ |
285 | bus-range = <00 3f>; | 287 | bus-range = <0x0 0x3f>; |
286 | 288 | ||
287 | /* Legacy interrupts (note the weird polarity, the bridge seems | 289 | /* Legacy interrupts (note the weird polarity, the bridge seems |
288 | * to invert PCIe legacy interrupts). | 290 | * to invert PCIe legacy interrupts). |
@@ -292,12 +294,12 @@ | |||
292 | * below are basically de-swizzled numbers. | 294 | * below are basically de-swizzled numbers. |
293 | * The real slot is on idsel 0, so the swizzling is 1:1 | 295 | * The real slot is on idsel 0, so the swizzling is 1:1 |
294 | */ | 296 | */ |
295 | interrupt-map-mask = <0000 0 0 7>; | 297 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
296 | interrupt-map = < | 298 | interrupt-map = < |
297 | 0000 0 0 1 &UIC2 0 4 /* swizzled int A */ | 299 | 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */ |
298 | 0000 0 0 2 &UIC2 1 4 /* swizzled int B */ | 300 | 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */ |
299 | 0000 0 0 3 &UIC2 2 4 /* swizzled int C */ | 301 | 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */ |
300 | 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>; | 302 | 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>; |
301 | }; | 303 | }; |
302 | 304 | ||
303 | PCIE1: pciex@0c0000000 { | 305 | PCIE1: pciex@0c0000000 { |
@@ -307,23 +309,23 @@ | |||
307 | #address-cells = <3>; | 309 | #address-cells = <3>; |
308 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 310 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; |
309 | primary; | 311 | primary; |
310 | port = <1>; /* port number */ | 312 | port = <0x1>; /* port number */ |
311 | reg = <c0000000 20000000 /* Config space access */ | 313 | reg = <0xc0000000 0x20000000 /* Config space access */ |
312 | ef001000 00001000>; /* Registers */ | 314 | 0xef001000 0x00001000>; /* Registers */ |
313 | dcr-reg = <060 020>; | 315 | dcr-reg = <0x060 0x020>; |
314 | sdr-base = <440>; | 316 | sdr-base = <0x440>; |
315 | 317 | ||
316 | /* Outbound ranges, one memory and one IO, | 318 | /* Outbound ranges, one memory and one IO, |
317 | * later cannot be changed | 319 | * later cannot be changed |
318 | */ | 320 | */ |
319 | ranges = <02000000 0 80000000 98000000 0 08000000 | 321 | ranges = <0x02000000 0x00000000 0x80000000 0x98000000 0x00000000 0x08000000 |
320 | 01000000 0 00000000 e0010000 0 00010000>; | 322 | 0x01000000 0x00000000 0x00000000 0xe0010000 0x00000000 0x00010000>; |
321 | 323 | ||
322 | /* Inbound 2GB range starting at 0 */ | 324 | /* Inbound 2GB range starting at 0 */ |
323 | dma-ranges = <42000000 0 0 0 0 80000000>; | 325 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
324 | 326 | ||
325 | /* This drives busses 0x40 to 0x7f */ | 327 | /* This drives busses 0x40 to 0x7f */ |
326 | bus-range = <40 7f>; | 328 | bus-range = <0x40 0x7f>; |
327 | 329 | ||
328 | /* Legacy interrupts (note the weird polarity, the bridge seems | 330 | /* Legacy interrupts (note the weird polarity, the bridge seems |
329 | * to invert PCIe legacy interrupts). | 331 | * to invert PCIe legacy interrupts). |
@@ -333,12 +335,12 @@ | |||
333 | * below are basically de-swizzled numbers. | 335 | * below are basically de-swizzled numbers. |
334 | * The real slot is on idsel 0, so the swizzling is 1:1 | 336 | * The real slot is on idsel 0, so the swizzling is 1:1 |
335 | */ | 337 | */ |
336 | interrupt-map-mask = <0000 0 0 7>; | 338 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
337 | interrupt-map = < | 339 | interrupt-map = < |
338 | 0000 0 0 1 &UIC2 b 4 /* swizzled int A */ | 340 | 0x0 0x0 0x0 0x1 &UIC2 0xb 0x4 /* swizzled int A */ |
339 | 0000 0 0 2 &UIC2 c 4 /* swizzled int B */ | 341 | 0x0 0x0 0x0 0x2 &UIC2 0xc 0x4 /* swizzled int B */ |
340 | 0000 0 0 3 &UIC2 d 4 /* swizzled int C */ | 342 | 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ |
341 | 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>; | 343 | 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; |
342 | }; | 344 | }; |
343 | }; | 345 | }; |
344 | }; | 346 | }; |
diff --git a/arch/powerpc/boot/dts/makalu.dts b/arch/powerpc/boot/dts/makalu.dts index 84cc5e72ddd8..1dfcd7ed199c 100644 --- a/arch/powerpc/boot/dts/makalu.dts +++ b/arch/powerpc/boot/dts/makalu.dts | |||
@@ -8,12 +8,14 @@ | |||
8 | * any warranty of any kind, whether express or implied. | 8 | * any warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | ||
12 | |||
11 | / { | 13 | / { |
12 | #address-cells = <1>; | 14 | #address-cells = <1>; |
13 | #size-cells = <1>; | 15 | #size-cells = <1>; |
14 | model = "amcc,makalu"; | 16 | model = "amcc,makalu"; |
15 | compatible = "amcc,makalu"; | 17 | compatible = "amcc,makalu"; |
16 | dcr-parent = <&/cpus/cpu@0>; | 18 | dcr-parent = <&{/cpus/cpu@0}>; |
17 | 19 | ||
18 | aliases { | 20 | aliases { |
19 | ethernet0 = &EMAC0; | 21 | ethernet0 = &EMAC0; |
@@ -29,13 +31,13 @@ | |||
29 | cpu@0 { | 31 | cpu@0 { |
30 | device_type = "cpu"; | 32 | device_type = "cpu"; |
31 | model = "PowerPC,405EX"; | 33 | model = "PowerPC,405EX"; |
32 | reg = <0>; | 34 | reg = <0x00000000>; |
33 | clock-frequency = <0>; /* Filled in by U-Boot */ | 35 | clock-frequency = <0>; /* Filled in by U-Boot */ |
34 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 36 | timebase-frequency = <0>; /* Filled in by U-Boot */ |
35 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
36 | d-cache-line-size = <20>; | 38 | d-cache-line-size = <32>; |
37 | i-cache-size = <4000>; /* 16 kB */ | 39 | i-cache-size = <16384>; /* 16 kB */ |
38 | d-cache-size = <4000>; /* 16 kB */ | 40 | d-cache-size = <16384>; /* 16 kB */ |
39 | dcr-controller; | 41 | dcr-controller; |
40 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
41 | }; | 43 | }; |
@@ -43,14 +45,14 @@ | |||
43 | 45 | ||
44 | memory { | 46 | memory { |
45 | device_type = "memory"; | 47 | device_type = "memory"; |
46 | reg = <0 0>; /* Filled in by U-Boot */ | 48 | reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ |
47 | }; | 49 | }; |
48 | 50 | ||
49 | UIC0: interrupt-controller { | 51 | UIC0: interrupt-controller { |
50 | compatible = "ibm,uic-405ex", "ibm,uic"; | 52 | compatible = "ibm,uic-405ex", "ibm,uic"; |
51 | interrupt-controller; | 53 | interrupt-controller; |
52 | cell-index = <0>; | 54 | cell-index = <0>; |
53 | dcr-reg = <0c0 009>; | 55 | dcr-reg = <0x0c0 0x009>; |
54 | #address-cells = <0>; | 56 | #address-cells = <0>; |
55 | #size-cells = <0>; | 57 | #size-cells = <0>; |
56 | #interrupt-cells = <2>; | 58 | #interrupt-cells = <2>; |
@@ -60,11 +62,11 @@ | |||
60 | compatible = "ibm,uic-405ex","ibm,uic"; | 62 | compatible = "ibm,uic-405ex","ibm,uic"; |
61 | interrupt-controller; | 63 | interrupt-controller; |
62 | cell-index = <1>; | 64 | cell-index = <1>; |
63 | dcr-reg = <0d0 009>; | 65 | dcr-reg = <0x0d0 0x009>; |
64 | #address-cells = <0>; | 66 | #address-cells = <0>; |
65 | #size-cells = <0>; | 67 | #size-cells = <0>; |
66 | #interrupt-cells = <2>; | 68 | #interrupt-cells = <2>; |
67 | interrupts = <1e 4 1f 4>; /* cascade */ | 69 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
68 | interrupt-parent = <&UIC0>; | 70 | interrupt-parent = <&UIC0>; |
69 | }; | 71 | }; |
70 | 72 | ||
@@ -72,11 +74,11 @@ | |||
72 | compatible = "ibm,uic-405ex","ibm,uic"; | 74 | compatible = "ibm,uic-405ex","ibm,uic"; |
73 | interrupt-controller; | 75 | interrupt-controller; |
74 | cell-index = <2>; | 76 | cell-index = <2>; |
75 | dcr-reg = <0e0 009>; | 77 | dcr-reg = <0x0e0 0x009>; |
76 | #address-cells = <0>; | 78 | #address-cells = <0>; |
77 | #size-cells = <0>; | 79 | #size-cells = <0>; |
78 | #interrupt-cells = <2>; | 80 | #interrupt-cells = <2>; |
79 | interrupts = <1c 4 1d 4>; /* cascade */ | 81 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ |
80 | interrupt-parent = <&UIC0>; | 82 | interrupt-parent = <&UIC0>; |
81 | }; | 83 | }; |
82 | 84 | ||
@@ -89,72 +91,72 @@ | |||
89 | 91 | ||
90 | SDRAM0: memory-controller { | 92 | SDRAM0: memory-controller { |
91 | compatible = "ibm,sdram-405ex"; | 93 | compatible = "ibm,sdram-405ex"; |
92 | dcr-reg = <010 2>; | 94 | dcr-reg = <0x010 0x002>; |
93 | }; | 95 | }; |
94 | 96 | ||
95 | MAL0: mcmal { | 97 | MAL0: mcmal { |
96 | compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; | 98 | compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; |
97 | dcr-reg = <180 62>; | 99 | dcr-reg = <0x180 0x062>; |
98 | num-tx-chans = <2>; | 100 | num-tx-chans = <2>; |
99 | num-rx-chans = <2>; | 101 | num-rx-chans = <2>; |
100 | interrupt-parent = <&MAL0>; | 102 | interrupt-parent = <&MAL0>; |
101 | interrupts = <0 1 2 3 4>; | 103 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
102 | #interrupt-cells = <1>; | 104 | #interrupt-cells = <1>; |
103 | #address-cells = <0>; | 105 | #address-cells = <0>; |
104 | #size-cells = <0>; | 106 | #size-cells = <0>; |
105 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 107 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
106 | /*RXEOB*/ 1 &UIC0 b 4 | 108 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
107 | /*SERR*/ 2 &UIC1 0 4 | 109 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
108 | /*TXDE*/ 3 &UIC1 1 4 | 110 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
109 | /*RXDE*/ 4 &UIC1 2 4>; | 111 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
110 | interrupt-map-mask = <ffffffff>; | 112 | interrupt-map-mask = <0xffffffff>; |
111 | }; | 113 | }; |
112 | 114 | ||
113 | POB0: opb { | 115 | POB0: opb { |
114 | compatible = "ibm,opb-405ex", "ibm,opb"; | 116 | compatible = "ibm,opb-405ex", "ibm,opb"; |
115 | #address-cells = <1>; | 117 | #address-cells = <1>; |
116 | #size-cells = <1>; | 118 | #size-cells = <1>; |
117 | ranges = <80000000 80000000 10000000 | 119 | ranges = <0x80000000 0x80000000 0x10000000 |
118 | ef600000 ef600000 a00000 | 120 | 0xef600000 0xef600000 0x00a00000 |
119 | f0000000 f0000000 10000000>; | 121 | 0xf0000000 0xf0000000 0x10000000>; |
120 | dcr-reg = <0a0 5>; | 122 | dcr-reg = <0x0a0 0x005>; |
121 | clock-frequency = <0>; /* Filled in by U-Boot */ | 123 | clock-frequency = <0>; /* Filled in by U-Boot */ |
122 | 124 | ||
123 | EBC0: ebc { | 125 | EBC0: ebc { |
124 | compatible = "ibm,ebc-405ex", "ibm,ebc"; | 126 | compatible = "ibm,ebc-405ex", "ibm,ebc"; |
125 | dcr-reg = <012 2>; | 127 | dcr-reg = <0x012 0x002>; |
126 | #address-cells = <2>; | 128 | #address-cells = <2>; |
127 | #size-cells = <1>; | 129 | #size-cells = <1>; |
128 | clock-frequency = <0>; /* Filled in by U-Boot */ | 130 | clock-frequency = <0>; /* Filled in by U-Boot */ |
129 | /* ranges property is supplied by U-Boot */ | 131 | /* ranges property is supplied by U-Boot */ |
130 | interrupts = <5 1>; | 132 | interrupts = <0x5 0x1>; |
131 | interrupt-parent = <&UIC1>; | 133 | interrupt-parent = <&UIC1>; |
132 | 134 | ||
133 | nor_flash@0,0 { | 135 | nor_flash@0,0 { |
134 | compatible = "amd,s29gl512n", "cfi-flash"; | 136 | compatible = "amd,s29gl512n", "cfi-flash"; |
135 | bank-width = <2>; | 137 | bank-width = <2>; |
136 | reg = <0 000000 4000000>; | 138 | reg = <0x00000000 0x00000000 0x04000000>; |
137 | #address-cells = <1>; | 139 | #address-cells = <1>; |
138 | #size-cells = <1>; | 140 | #size-cells = <1>; |
139 | partition@0 { | 141 | partition@0 { |
140 | label = "kernel"; | 142 | label = "kernel"; |
141 | reg = <0 200000>; | 143 | reg = <0x00000000 0x00200000>; |
142 | }; | 144 | }; |
143 | partition@200000 { | 145 | partition@200000 { |
144 | label = "root"; | 146 | label = "root"; |
145 | reg = <200000 200000>; | 147 | reg = <0x00200000 0x00200000>; |
146 | }; | 148 | }; |
147 | partition@400000 { | 149 | partition@400000 { |
148 | label = "user"; | 150 | label = "user"; |
149 | reg = <400000 3b60000>; | 151 | reg = <0x00400000 0x03b60000>; |
150 | }; | 152 | }; |
151 | partition@3f60000 { | 153 | partition@3f60000 { |
152 | label = "env"; | 154 | label = "env"; |
153 | reg = <3f60000 40000>; | 155 | reg = <0x03f60000 0x00040000>; |
154 | }; | 156 | }; |
155 | partition@3fa0000 { | 157 | partition@3fa0000 { |
156 | label = "u-boot"; | 158 | label = "u-boot"; |
157 | reg = <3fa0000 60000>; | 159 | reg = <0x03fa0000 0x00060000>; |
158 | }; | 160 | }; |
159 | }; | 161 | }; |
160 | }; | 162 | }; |
@@ -162,68 +164,68 @@ | |||
162 | UART0: serial@ef600200 { | 164 | UART0: serial@ef600200 { |
163 | device_type = "serial"; | 165 | device_type = "serial"; |
164 | compatible = "ns16550"; | 166 | compatible = "ns16550"; |
165 | reg = <ef600200 8>; | 167 | reg = <0xef600200 0x00000008>; |
166 | virtual-reg = <ef600200>; | 168 | virtual-reg = <0xef600200>; |
167 | clock-frequency = <0>; /* Filled in by U-Boot */ | 169 | clock-frequency = <0>; /* Filled in by U-Boot */ |
168 | current-speed = <0>; | 170 | current-speed = <0>; |
169 | interrupt-parent = <&UIC0>; | 171 | interrupt-parent = <&UIC0>; |
170 | interrupts = <1a 4>; | 172 | interrupts = <0x1a 0x4>; |
171 | }; | 173 | }; |
172 | 174 | ||
173 | UART1: serial@ef600300 { | 175 | UART1: serial@ef600300 { |
174 | device_type = "serial"; | 176 | device_type = "serial"; |
175 | compatible = "ns16550"; | 177 | compatible = "ns16550"; |
176 | reg = <ef600300 8>; | 178 | reg = <0xef600300 0x00000008>; |
177 | virtual-reg = <ef600300>; | 179 | virtual-reg = <0xef600300>; |
178 | clock-frequency = <0>; /* Filled in by U-Boot */ | 180 | clock-frequency = <0>; /* Filled in by U-Boot */ |
179 | current-speed = <0>; | 181 | current-speed = <0>; |
180 | interrupt-parent = <&UIC0>; | 182 | interrupt-parent = <&UIC0>; |
181 | interrupts = <1 4>; | 183 | interrupts = <0x1 0x4>; |
182 | }; | 184 | }; |
183 | 185 | ||
184 | IIC0: i2c@ef600400 { | 186 | IIC0: i2c@ef600400 { |
185 | compatible = "ibm,iic-405ex", "ibm,iic"; | 187 | compatible = "ibm,iic-405ex", "ibm,iic"; |
186 | reg = <ef600400 14>; | 188 | reg = <0xef600400 0x00000014>; |
187 | interrupt-parent = <&UIC0>; | 189 | interrupt-parent = <&UIC0>; |
188 | interrupts = <2 4>; | 190 | interrupts = <0x2 0x4>; |
189 | }; | 191 | }; |
190 | 192 | ||
191 | IIC1: i2c@ef600500 { | 193 | IIC1: i2c@ef600500 { |
192 | compatible = "ibm,iic-405ex", "ibm,iic"; | 194 | compatible = "ibm,iic-405ex", "ibm,iic"; |
193 | reg = <ef600500 14>; | 195 | reg = <0xef600500 0x00000014>; |
194 | interrupt-parent = <&UIC0>; | 196 | interrupt-parent = <&UIC0>; |
195 | interrupts = <7 4>; | 197 | interrupts = <0x7 0x4>; |
196 | }; | 198 | }; |
197 | 199 | ||
198 | 200 | ||
199 | RGMII0: emac-rgmii@ef600b00 { | 201 | RGMII0: emac-rgmii@ef600b00 { |
200 | compatible = "ibm,rgmii-405ex", "ibm,rgmii"; | 202 | compatible = "ibm,rgmii-405ex", "ibm,rgmii"; |
201 | reg = <ef600b00 104>; | 203 | reg = <0xef600b00 0x00000104>; |
202 | has-mdio; | 204 | has-mdio; |
203 | }; | 205 | }; |
204 | 206 | ||
205 | EMAC0: ethernet@ef600900 { | 207 | EMAC0: ethernet@ef600900 { |
206 | linux,network-index = <0>; | 208 | linux,network-index = <0x0>; |
207 | device_type = "network"; | 209 | device_type = "network"; |
208 | compatible = "ibm,emac-405ex", "ibm,emac4"; | 210 | compatible = "ibm,emac-405ex", "ibm,emac4"; |
209 | interrupt-parent = <&EMAC0>; | 211 | interrupt-parent = <&EMAC0>; |
210 | interrupts = <0 1>; | 212 | interrupts = <0x0 0x1>; |
211 | #interrupt-cells = <1>; | 213 | #interrupt-cells = <1>; |
212 | #address-cells = <0>; | 214 | #address-cells = <0>; |
213 | #size-cells = <0>; | 215 | #size-cells = <0>; |
214 | interrupt-map = </*Status*/ 0 &UIC0 18 4 | 216 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 |
215 | /*Wake*/ 1 &UIC1 1d 4>; | 217 | /*Wake*/ 0x1 &UIC1 0x1d 0x4>; |
216 | reg = <ef600900 70>; | 218 | reg = <0xef600900 0x00000070>; |
217 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 219 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
218 | mal-device = <&MAL0>; | 220 | mal-device = <&MAL0>; |
219 | mal-tx-channel = <0>; | 221 | mal-tx-channel = <0>; |
220 | mal-rx-channel = <0>; | 222 | mal-rx-channel = <0>; |
221 | cell-index = <0>; | 223 | cell-index = <0>; |
222 | max-frame-size = <2328>; | 224 | max-frame-size = <9000>; |
223 | rx-fifo-size = <1000>; | 225 | rx-fifo-size = <4096>; |
224 | tx-fifo-size = <800>; | 226 | tx-fifo-size = <2048>; |
225 | phy-mode = "rgmii"; | 227 | phy-mode = "rgmii"; |
226 | phy-map = <0000003f>; /* Start at 6 */ | 228 | phy-map = <0x0000003f>; /* Start at 6 */ |
227 | rgmii-device = <&RGMII0>; | 229 | rgmii-device = <&RGMII0>; |
228 | rgmii-channel = <0>; | 230 | rgmii-channel = <0>; |
229 | has-inverted-stacr-oc; | 231 | has-inverted-stacr-oc; |
@@ -231,27 +233,27 @@ | |||
231 | }; | 233 | }; |
232 | 234 | ||
233 | EMAC1: ethernet@ef600a00 { | 235 | EMAC1: ethernet@ef600a00 { |
234 | linux,network-index = <1>; | 236 | linux,network-index = <0x1>; |
235 | device_type = "network"; | 237 | device_type = "network"; |
236 | compatible = "ibm,emac-405ex", "ibm,emac4"; | 238 | compatible = "ibm,emac-405ex", "ibm,emac4"; |
237 | interrupt-parent = <&EMAC1>; | 239 | interrupt-parent = <&EMAC1>; |
238 | interrupts = <0 1>; | 240 | interrupts = <0x0 0x1>; |
239 | #interrupt-cells = <1>; | 241 | #interrupt-cells = <1>; |
240 | #address-cells = <0>; | 242 | #address-cells = <0>; |
241 | #size-cells = <0>; | 243 | #size-cells = <0>; |
242 | interrupt-map = </*Status*/ 0 &UIC0 19 4 | 244 | interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 |
243 | /*Wake*/ 1 &UIC1 1f 4>; | 245 | /*Wake*/ 0x1 &UIC1 0x1f 0x4>; |
244 | reg = <ef600a00 70>; | 246 | reg = <0xef600a00 0x00000070>; |
245 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 247 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
246 | mal-device = <&MAL0>; | 248 | mal-device = <&MAL0>; |
247 | mal-tx-channel = <1>; | 249 | mal-tx-channel = <1>; |
248 | mal-rx-channel = <1>; | 250 | mal-rx-channel = <1>; |
249 | cell-index = <1>; | 251 | cell-index = <1>; |
250 | max-frame-size = <2328>; | 252 | max-frame-size = <9000>; |
251 | rx-fifo-size = <1000>; | 253 | rx-fifo-size = <4096>; |
252 | tx-fifo-size = <800>; | 254 | tx-fifo-size = <2048>; |
253 | phy-mode = "rgmii"; | 255 | phy-mode = "rgmii"; |
254 | phy-map = <00000000>; | 256 | phy-map = <0x00000000>; |
255 | rgmii-device = <&RGMII0>; | 257 | rgmii-device = <&RGMII0>; |
256 | rgmii-channel = <1>; | 258 | rgmii-channel = <1>; |
257 | has-inverted-stacr-oc; | 259 | has-inverted-stacr-oc; |
@@ -266,23 +268,23 @@ | |||
266 | #address-cells = <3>; | 268 | #address-cells = <3>; |
267 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 269 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; |
268 | primary; | 270 | primary; |
269 | port = <0>; /* port number */ | 271 | port = <0x0>; /* port number */ |
270 | reg = <a0000000 20000000 /* Config space access */ | 272 | reg = <0xa0000000 0x20000000 /* Config space access */ |
271 | ef000000 00001000>; /* Registers */ | 273 | 0xef000000 0x00001000>; /* Registers */ |
272 | dcr-reg = <040 020>; | 274 | dcr-reg = <0x040 0x020>; |
273 | sdr-base = <400>; | 275 | sdr-base = <0x400>; |
274 | 276 | ||
275 | /* Outbound ranges, one memory and one IO, | 277 | /* Outbound ranges, one memory and one IO, |
276 | * later cannot be changed | 278 | * later cannot be changed |
277 | */ | 279 | */ |
278 | ranges = <02000000 0 80000000 90000000 0 08000000 | 280 | ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000 |
279 | 01000000 0 00000000 e0000000 0 00010000>; | 281 | 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>; |
280 | 282 | ||
281 | /* Inbound 2GB range starting at 0 */ | 283 | /* Inbound 2GB range starting at 0 */ |
282 | dma-ranges = <42000000 0 0 0 0 80000000>; | 284 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
283 | 285 | ||
284 | /* This drives busses 0x00 to 0x3f */ | 286 | /* This drives busses 0x00 to 0x3f */ |
285 | bus-range = <00 3f>; | 287 | bus-range = <0x0 0x3f>; |
286 | 288 | ||
287 | /* Legacy interrupts (note the weird polarity, the bridge seems | 289 | /* Legacy interrupts (note the weird polarity, the bridge seems |
288 | * to invert PCIe legacy interrupts). | 290 | * to invert PCIe legacy interrupts). |
@@ -292,12 +294,12 @@ | |||
292 | * below are basically de-swizzled numbers. | 294 | * below are basically de-swizzled numbers. |
293 | * The real slot is on idsel 0, so the swizzling is 1:1 | 295 | * The real slot is on idsel 0, so the swizzling is 1:1 |
294 | */ | 296 | */ |
295 | interrupt-map-mask = <0000 0 0 7>; | 297 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
296 | interrupt-map = < | 298 | interrupt-map = < |
297 | 0000 0 0 1 &UIC2 0 4 /* swizzled int A */ | 299 | 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */ |
298 | 0000 0 0 2 &UIC2 1 4 /* swizzled int B */ | 300 | 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */ |
299 | 0000 0 0 3 &UIC2 2 4 /* swizzled int C */ | 301 | 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */ |
300 | 0000 0 0 4 &UIC2 3 4 /* swizzled int D */>; | 302 | 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>; |
301 | }; | 303 | }; |
302 | 304 | ||
303 | PCIE1: pciex@0c0000000 { | 305 | PCIE1: pciex@0c0000000 { |
@@ -307,23 +309,23 @@ | |||
307 | #address-cells = <3>; | 309 | #address-cells = <3>; |
308 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 310 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; |
309 | primary; | 311 | primary; |
310 | port = <1>; /* port number */ | 312 | port = <0x1>; /* port number */ |
311 | reg = <c0000000 20000000 /* Config space access */ | 313 | reg = <0xc0000000 0x20000000 /* Config space access */ |
312 | ef001000 00001000>; /* Registers */ | 314 | 0xef001000 0x00001000>; /* Registers */ |
313 | dcr-reg = <060 020>; | 315 | dcr-reg = <0x060 0x020>; |
314 | sdr-base = <440>; | 316 | sdr-base = <0x440>; |
315 | 317 | ||
316 | /* Outbound ranges, one memory and one IO, | 318 | /* Outbound ranges, one memory and one IO, |
317 | * later cannot be changed | 319 | * later cannot be changed |
318 | */ | 320 | */ |
319 | ranges = <02000000 0 80000000 98000000 0 08000000 | 321 | ranges = <0x02000000 0x00000000 0x80000000 0x98000000 0x00000000 0x08000000 |
320 | 01000000 0 00000000 e0010000 0 00010000>; | 322 | 0x01000000 0x00000000 0x00000000 0xe0010000 0x00000000 0x00010000>; |
321 | 323 | ||
322 | /* Inbound 2GB range starting at 0 */ | 324 | /* Inbound 2GB range starting at 0 */ |
323 | dma-ranges = <42000000 0 0 0 0 80000000>; | 325 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
324 | 326 | ||
325 | /* This drives busses 0x40 to 0x7f */ | 327 | /* This drives busses 0x40 to 0x7f */ |
326 | bus-range = <40 7f>; | 328 | bus-range = <0x40 0x7f>; |
327 | 329 | ||
328 | /* Legacy interrupts (note the weird polarity, the bridge seems | 330 | /* Legacy interrupts (note the weird polarity, the bridge seems |
329 | * to invert PCIe legacy interrupts). | 331 | * to invert PCIe legacy interrupts). |
@@ -333,12 +335,12 @@ | |||
333 | * below are basically de-swizzled numbers. | 335 | * below are basically de-swizzled numbers. |
334 | * The real slot is on idsel 0, so the swizzling is 1:1 | 336 | * The real slot is on idsel 0, so the swizzling is 1:1 |
335 | */ | 337 | */ |
336 | interrupt-map-mask = <0000 0 0 7>; | 338 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
337 | interrupt-map = < | 339 | interrupt-map = < |
338 | 0000 0 0 1 &UIC2 b 4 /* swizzled int A */ | 340 | 0x0 0x0 0x0 0x1 &UIC2 0xb 0x4 /* swizzled int A */ |
339 | 0000 0 0 2 &UIC2 c 4 /* swizzled int B */ | 341 | 0x0 0x0 0x0 0x2 &UIC2 0xc 0x4 /* swizzled int B */ |
340 | 0000 0 0 3 &UIC2 d 4 /* swizzled int C */ | 342 | 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ |
341 | 0000 0 0 4 &UIC2 e 4 /* swizzled int D */>; | 343 | 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; |
342 | }; | 344 | }; |
343 | }; | 345 | }; |
344 | }; | 346 | }; |
diff --git a/arch/powerpc/boot/dts/ps3.dts b/arch/powerpc/boot/dts/ps3.dts index 379ded282d5e..96ba5b512afe 100644 --- a/arch/powerpc/boot/dts/ps3.dts +++ b/arch/powerpc/boot/dts/ps3.dts | |||
@@ -18,6 +18,8 @@ | |||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /dts-v1/; | ||
22 | |||
21 | / { | 23 | / { |
22 | model = "SonyPS3"; | 24 | model = "SonyPS3"; |
23 | compatible = "sony,ps3"; | 25 | compatible = "sony,ps3"; |
@@ -34,7 +36,7 @@ | |||
34 | 36 | ||
35 | memory { | 37 | memory { |
36 | device_type = "memory"; | 38 | device_type = "memory"; |
37 | reg = <0 0 0 0>; | 39 | reg = <0x00000000 0x00000000 0x00000000 0x00000000>; |
38 | }; | 40 | }; |
39 | 41 | ||
40 | /* | 42 | /* |
@@ -55,14 +57,14 @@ | |||
55 | 57 | ||
56 | cpu@0 { | 58 | cpu@0 { |
57 | device_type = "cpu"; | 59 | device_type = "cpu"; |
58 | reg = <0>; | 60 | reg = <0x00000000>; |
59 | ibm,ppc-interrupt-server#s = <0 1>; | 61 | ibm,ppc-interrupt-server#s = <0x0 0x1>; |
60 | clock-frequency = <0>; | 62 | clock-frequency = <0>; |
61 | timebase-frequency = <0>; | 63 | timebase-frequency = <0>; |
62 | i-cache-size = <8000>; | 64 | i-cache-size = <32768>; |
63 | d-cache-size = <8000>; | 65 | d-cache-size = <32768>; |
64 | i-cache-line-size = <80>; | 66 | i-cache-line-size = <128>; |
65 | d-cache-line-size = <80>; | 67 | d-cache-line-size = <128>; |
66 | }; | 68 | }; |
67 | }; | 69 | }; |
68 | }; | 70 | }; |
diff --git a/arch/powerpc/boot/dts/rainier.dts b/arch/powerpc/boot/dts/rainier.dts index 6a8fa7089ea2..2cd87f66f81f 100644 --- a/arch/powerpc/boot/dts/rainier.dts +++ b/arch/powerpc/boot/dts/rainier.dts | |||
@@ -12,12 +12,14 @@ | |||
12 | * | 12 | * |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /dts-v1/; | ||
16 | |||
15 | / { | 17 | / { |
16 | #address-cells = <2>; | 18 | #address-cells = <2>; |
17 | #size-cells = <1>; | 19 | #size-cells = <1>; |
18 | model = "amcc,rainier"; | 20 | model = "amcc,rainier"; |
19 | compatible = "amcc,rainier"; | 21 | compatible = "amcc,rainier"; |
20 | dcr-parent = <&/cpus/cpu@0>; | 22 | dcr-parent = <&{/cpus/cpu@0}>; |
21 | 23 | ||
22 | aliases { | 24 | aliases { |
23 | ethernet0 = &EMAC0; | 25 | ethernet0 = &EMAC0; |
@@ -35,13 +37,13 @@ | |||
35 | cpu@0 { | 37 | cpu@0 { |
36 | device_type = "cpu"; | 38 | device_type = "cpu"; |
37 | model = "PowerPC,440GRx"; | 39 | model = "PowerPC,440GRx"; |
38 | reg = <0>; | 40 | reg = <0x00000000>; |
39 | clock-frequency = <0>; /* Filled in by zImage */ | 41 | clock-frequency = <0>; /* Filled in by zImage */ |
40 | timebase-frequency = <0>; /* Filled in by zImage */ | 42 | timebase-frequency = <0>; /* Filled in by zImage */ |
41 | i-cache-line-size = <20>; | 43 | i-cache-line-size = <32>; |
42 | d-cache-line-size = <20>; | 44 | d-cache-line-size = <32>; |
43 | i-cache-size = <8000>; | 45 | i-cache-size = <32768>; |
44 | d-cache-size = <8000>; | 46 | d-cache-size = <32768>; |
45 | dcr-controller; | 47 | dcr-controller; |
46 | dcr-access-method = "native"; | 48 | dcr-access-method = "native"; |
47 | }; | 49 | }; |
@@ -49,14 +51,14 @@ | |||
49 | 51 | ||
50 | memory { | 52 | memory { |
51 | device_type = "memory"; | 53 | device_type = "memory"; |
52 | reg = <0 0 0>; /* Filled in by zImage */ | 54 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
53 | }; | 55 | }; |
54 | 56 | ||
55 | UIC0: interrupt-controller0 { | 57 | UIC0: interrupt-controller0 { |
56 | compatible = "ibm,uic-440grx","ibm,uic"; | 58 | compatible = "ibm,uic-440grx","ibm,uic"; |
57 | interrupt-controller; | 59 | interrupt-controller; |
58 | cell-index = <0>; | 60 | cell-index = <0>; |
59 | dcr-reg = <0c0 009>; | 61 | dcr-reg = <0x0c0 0x009>; |
60 | #address-cells = <0>; | 62 | #address-cells = <0>; |
61 | #size-cells = <0>; | 63 | #size-cells = <0>; |
62 | #interrupt-cells = <2>; | 64 | #interrupt-cells = <2>; |
@@ -66,11 +68,11 @@ | |||
66 | compatible = "ibm,uic-440grx","ibm,uic"; | 68 | compatible = "ibm,uic-440grx","ibm,uic"; |
67 | interrupt-controller; | 69 | interrupt-controller; |
68 | cell-index = <1>; | 70 | cell-index = <1>; |
69 | dcr-reg = <0d0 009>; | 71 | dcr-reg = <0x0d0 0x009>; |
70 | #address-cells = <0>; | 72 | #address-cells = <0>; |
71 | #size-cells = <0>; | 73 | #size-cells = <0>; |
72 | #interrupt-cells = <2>; | 74 | #interrupt-cells = <2>; |
73 | interrupts = <1e 4 1f 4>; /* cascade */ | 75 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
74 | interrupt-parent = <&UIC0>; | 76 | interrupt-parent = <&UIC0>; |
75 | }; | 77 | }; |
76 | 78 | ||
@@ -78,22 +80,22 @@ | |||
78 | compatible = "ibm,uic-440grx","ibm,uic"; | 80 | compatible = "ibm,uic-440grx","ibm,uic"; |
79 | interrupt-controller; | 81 | interrupt-controller; |
80 | cell-index = <2>; | 82 | cell-index = <2>; |
81 | dcr-reg = <0e0 009>; | 83 | dcr-reg = <0x0e0 0x009>; |
82 | #address-cells = <0>; | 84 | #address-cells = <0>; |
83 | #size-cells = <0>; | 85 | #size-cells = <0>; |
84 | #interrupt-cells = <2>; | 86 | #interrupt-cells = <2>; |
85 | interrupts = <1c 4 1d 4>; /* cascade */ | 87 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ |
86 | interrupt-parent = <&UIC0>; | 88 | interrupt-parent = <&UIC0>; |
87 | }; | 89 | }; |
88 | 90 | ||
89 | SDR0: sdr { | 91 | SDR0: sdr { |
90 | compatible = "ibm,sdr-440grx", "ibm,sdr-440ep"; | 92 | compatible = "ibm,sdr-440grx", "ibm,sdr-440ep"; |
91 | dcr-reg = <00e 002>; | 93 | dcr-reg = <0x00e 0x002>; |
92 | }; | 94 | }; |
93 | 95 | ||
94 | CPR0: cpr { | 96 | CPR0: cpr { |
95 | compatible = "ibm,cpr-440grx", "ibm,cpr-440ep"; | 97 | compatible = "ibm,cpr-440grx", "ibm,cpr-440ep"; |
96 | dcr-reg = <00c 002>; | 98 | dcr-reg = <0x00c 0x002>; |
97 | }; | 99 | }; |
98 | 100 | ||
99 | plb { | 101 | plb { |
@@ -105,80 +107,80 @@ | |||
105 | 107 | ||
106 | SDRAM0: sdram { | 108 | SDRAM0: sdram { |
107 | compatible = "ibm,sdram-440grx", "ibm,sdram-44x-ddr2denali"; | 109 | compatible = "ibm,sdram-440grx", "ibm,sdram-44x-ddr2denali"; |
108 | dcr-reg = <010 2>; | 110 | dcr-reg = <0x010 0x002>; |
109 | }; | 111 | }; |
110 | 112 | ||
111 | DMA0: dma { | 113 | DMA0: dma { |
112 | compatible = "ibm,dma-440grx", "ibm,dma-4xx"; | 114 | compatible = "ibm,dma-440grx", "ibm,dma-4xx"; |
113 | dcr-reg = <100 027>; | 115 | dcr-reg = <0x100 0x027>; |
114 | }; | 116 | }; |
115 | 117 | ||
116 | MAL0: mcmal { | 118 | MAL0: mcmal { |
117 | compatible = "ibm,mcmal-440grx", "ibm,mcmal2"; | 119 | compatible = "ibm,mcmal-440grx", "ibm,mcmal2"; |
118 | dcr-reg = <180 62>; | 120 | dcr-reg = <0x180 0x062>; |
119 | num-tx-chans = <2>; | 121 | num-tx-chans = <2>; |
120 | num-rx-chans = <2>; | 122 | num-rx-chans = <2>; |
121 | interrupt-parent = <&MAL0>; | 123 | interrupt-parent = <&MAL0>; |
122 | interrupts = <0 1 2 3 4>; | 124 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
123 | #interrupt-cells = <1>; | 125 | #interrupt-cells = <1>; |
124 | #address-cells = <0>; | 126 | #address-cells = <0>; |
125 | #size-cells = <0>; | 127 | #size-cells = <0>; |
126 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 128 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
127 | /*RXEOB*/ 1 &UIC0 b 4 | 129 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
128 | /*SERR*/ 2 &UIC1 0 4 | 130 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
129 | /*TXDE*/ 3 &UIC1 1 4 | 131 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
130 | /*RXDE*/ 4 &UIC1 2 4>; | 132 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
131 | interrupt-map-mask = <ffffffff>; | 133 | interrupt-map-mask = <0xffffffff>; |
132 | }; | 134 | }; |
133 | 135 | ||
134 | POB0: opb { | 136 | POB0: opb { |
135 | compatible = "ibm,opb-440grx", "ibm,opb"; | 137 | compatible = "ibm,opb-440grx", "ibm,opb"; |
136 | #address-cells = <1>; | 138 | #address-cells = <1>; |
137 | #size-cells = <1>; | 139 | #size-cells = <1>; |
138 | ranges = <00000000 1 00000000 80000000 | 140 | ranges = <0x00000000 0x00000001 0x00000000 0x80000000 |
139 | 80000000 1 80000000 80000000>; | 141 | 0x80000000 0x00000001 0x80000000 0x80000000>; |
140 | interrupt-parent = <&UIC1>; | 142 | interrupt-parent = <&UIC1>; |
141 | interrupts = <7 4>; | 143 | interrupts = <0x7 0x4>; |
142 | clock-frequency = <0>; /* Filled in by zImage */ | 144 | clock-frequency = <0>; /* Filled in by zImage */ |
143 | 145 | ||
144 | EBC0: ebc { | 146 | EBC0: ebc { |
145 | compatible = "ibm,ebc-440grx", "ibm,ebc"; | 147 | compatible = "ibm,ebc-440grx", "ibm,ebc"; |
146 | dcr-reg = <012 2>; | 148 | dcr-reg = <0x012 0x002>; |
147 | #address-cells = <2>; | 149 | #address-cells = <2>; |
148 | #size-cells = <1>; | 150 | #size-cells = <1>; |
149 | clock-frequency = <0>; /* Filled in by zImage */ | 151 | clock-frequency = <0>; /* Filled in by zImage */ |
150 | interrupts = <5 1>; | 152 | interrupts = <0x5 0x1>; |
151 | interrupt-parent = <&UIC1>; | 153 | interrupt-parent = <&UIC1>; |
152 | 154 | ||
153 | nor_flash@0,0 { | 155 | nor_flash@0,0 { |
154 | compatible = "amd,s29gl256n", "cfi-flash"; | 156 | compatible = "amd,s29gl256n", "cfi-flash"; |
155 | bank-width = <2>; | 157 | bank-width = <2>; |
156 | reg = <0 000000 4000000>; | 158 | reg = <0x00000000 0x00000000 0x04000000>; |
157 | #address-cells = <1>; | 159 | #address-cells = <1>; |
158 | #size-cells = <1>; | 160 | #size-cells = <1>; |
159 | partition@0 { | 161 | partition@0 { |
160 | label = "Kernel"; | 162 | label = "Kernel"; |
161 | reg = <0 180000>; | 163 | reg = <0x00000000 0x00180000>; |
162 | }; | 164 | }; |
163 | partition@180000 { | 165 | partition@180000 { |
164 | label = "ramdisk"; | 166 | label = "ramdisk"; |
165 | reg = <180000 200000>; | 167 | reg = <0x00180000 0x00200000>; |
166 | }; | 168 | }; |
167 | partition@380000 { | 169 | partition@380000 { |
168 | label = "file system"; | 170 | label = "file system"; |
169 | reg = <380000 3aa0000>; | 171 | reg = <0x00380000 0x03aa0000>; |
170 | }; | 172 | }; |
171 | partition@3e20000 { | 173 | partition@3e20000 { |
172 | label = "kozio"; | 174 | label = "kozio"; |
173 | reg = <3e20000 140000>; | 175 | reg = <0x03e20000 0x00140000>; |
174 | }; | 176 | }; |
175 | partition@3f60000 { | 177 | partition@3f60000 { |
176 | label = "env"; | 178 | label = "env"; |
177 | reg = <3f60000 40000>; | 179 | reg = <0x03f60000 0x00040000>; |
178 | }; | 180 | }; |
179 | partition@3fa0000 { | 181 | partition@3fa0000 { |
180 | label = "u-boot"; | 182 | label = "u-boot"; |
181 | reg = <3fa0000 60000>; | 183 | reg = <0x03fa0000 0x00060000>; |
182 | }; | 184 | }; |
183 | }; | 185 | }; |
184 | 186 | ||
@@ -187,69 +189,69 @@ | |||
187 | UART0: serial@ef600300 { | 189 | UART0: serial@ef600300 { |
188 | device_type = "serial"; | 190 | device_type = "serial"; |
189 | compatible = "ns16550"; | 191 | compatible = "ns16550"; |
190 | reg = <ef600300 8>; | 192 | reg = <0xef600300 0x00000008>; |
191 | virtual-reg = <ef600300>; | 193 | virtual-reg = <0xef600300>; |
192 | clock-frequency = <0>; /* Filled in by zImage */ | 194 | clock-frequency = <0>; /* Filled in by zImage */ |
193 | current-speed = <1c200>; | 195 | current-speed = <115200>; |
194 | interrupt-parent = <&UIC0>; | 196 | interrupt-parent = <&UIC0>; |
195 | interrupts = <0 4>; | 197 | interrupts = <0x0 0x4>; |
196 | }; | 198 | }; |
197 | 199 | ||
198 | UART1: serial@ef600400 { | 200 | UART1: serial@ef600400 { |
199 | device_type = "serial"; | 201 | device_type = "serial"; |
200 | compatible = "ns16550"; | 202 | compatible = "ns16550"; |
201 | reg = <ef600400 8>; | 203 | reg = <0xef600400 0x00000008>; |
202 | virtual-reg = <ef600400>; | 204 | virtual-reg = <0xef600400>; |
203 | clock-frequency = <0>; | 205 | clock-frequency = <0>; |
204 | current-speed = <0>; | 206 | current-speed = <0>; |
205 | interrupt-parent = <&UIC0>; | 207 | interrupt-parent = <&UIC0>; |
206 | interrupts = <1 4>; | 208 | interrupts = <0x1 0x4>; |
207 | }; | 209 | }; |
208 | 210 | ||
209 | UART2: serial@ef600500 { | 211 | UART2: serial@ef600500 { |
210 | device_type = "serial"; | 212 | device_type = "serial"; |
211 | compatible = "ns16550"; | 213 | compatible = "ns16550"; |
212 | reg = <ef600500 8>; | 214 | reg = <0xef600500 0x00000008>; |
213 | virtual-reg = <ef600500>; | 215 | virtual-reg = <0xef600500>; |
214 | clock-frequency = <0>; | 216 | clock-frequency = <0>; |
215 | current-speed = <0>; | 217 | current-speed = <0>; |
216 | interrupt-parent = <&UIC1>; | 218 | interrupt-parent = <&UIC1>; |
217 | interrupts = <3 4>; | 219 | interrupts = <0x3 0x4>; |
218 | }; | 220 | }; |
219 | 221 | ||
220 | UART3: serial@ef600600 { | 222 | UART3: serial@ef600600 { |
221 | device_type = "serial"; | 223 | device_type = "serial"; |
222 | compatible = "ns16550"; | 224 | compatible = "ns16550"; |
223 | reg = <ef600600 8>; | 225 | reg = <0xef600600 0x00000008>; |
224 | virtual-reg = <ef600600>; | 226 | virtual-reg = <0xef600600>; |
225 | clock-frequency = <0>; | 227 | clock-frequency = <0>; |
226 | current-speed = <0>; | 228 | current-speed = <0>; |
227 | interrupt-parent = <&UIC1>; | 229 | interrupt-parent = <&UIC1>; |
228 | interrupts = <4 4>; | 230 | interrupts = <0x4 0x4>; |
229 | }; | 231 | }; |
230 | 232 | ||
231 | IIC0: i2c@ef600700 { | 233 | IIC0: i2c@ef600700 { |
232 | compatible = "ibm,iic-440grx", "ibm,iic"; | 234 | compatible = "ibm,iic-440grx", "ibm,iic"; |
233 | reg = <ef600700 14>; | 235 | reg = <0xef600700 0x00000014>; |
234 | interrupt-parent = <&UIC0>; | 236 | interrupt-parent = <&UIC0>; |
235 | interrupts = <2 4>; | 237 | interrupts = <0x2 0x4>; |
236 | }; | 238 | }; |
237 | 239 | ||
238 | IIC1: i2c@ef600800 { | 240 | IIC1: i2c@ef600800 { |
239 | compatible = "ibm,iic-440grx", "ibm,iic"; | 241 | compatible = "ibm,iic-440grx", "ibm,iic"; |
240 | reg = <ef600800 14>; | 242 | reg = <0xef600800 0x00000014>; |
241 | interrupt-parent = <&UIC0>; | 243 | interrupt-parent = <&UIC0>; |
242 | interrupts = <7 4>; | 244 | interrupts = <0x7 0x4>; |
243 | }; | 245 | }; |
244 | 246 | ||
245 | ZMII0: emac-zmii@ef600d00 { | 247 | ZMII0: emac-zmii@ef600d00 { |
246 | compatible = "ibm,zmii-440grx", "ibm,zmii"; | 248 | compatible = "ibm,zmii-440grx", "ibm,zmii"; |
247 | reg = <ef600d00 c>; | 249 | reg = <0xef600d00 0x0000000c>; |
248 | }; | 250 | }; |
249 | 251 | ||
250 | RGMII0: emac-rgmii@ef601000 { | 252 | RGMII0: emac-rgmii@ef601000 { |
251 | compatible = "ibm,rgmii-440grx", "ibm,rgmii"; | 253 | compatible = "ibm,rgmii-440grx", "ibm,rgmii"; |
252 | reg = <ef601000 8>; | 254 | reg = <0xef601000 0x00000008>; |
253 | has-mdio; | 255 | has-mdio; |
254 | }; | 256 | }; |
255 | 257 | ||
@@ -257,23 +259,23 @@ | |||
257 | device_type = "network"; | 259 | device_type = "network"; |
258 | compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4"; | 260 | compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4"; |
259 | interrupt-parent = <&EMAC0>; | 261 | interrupt-parent = <&EMAC0>; |
260 | interrupts = <0 1>; | 262 | interrupts = <0x0 0x1>; |
261 | #interrupt-cells = <1>; | 263 | #interrupt-cells = <1>; |
262 | #address-cells = <0>; | 264 | #address-cells = <0>; |
263 | #size-cells = <0>; | 265 | #size-cells = <0>; |
264 | interrupt-map = </*Status*/ 0 &UIC0 18 4 | 266 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 |
265 | /*Wake*/ 1 &UIC1 1d 4>; | 267 | /*Wake*/ 0x1 &UIC1 0x1d 0x4>; |
266 | reg = <ef600e00 70>; | 268 | reg = <0xef600e00 0x00000070>; |
267 | local-mac-address = [000000000000]; | 269 | local-mac-address = [000000000000]; |
268 | mal-device = <&MAL0>; | 270 | mal-device = <&MAL0>; |
269 | mal-tx-channel = <0>; | 271 | mal-tx-channel = <0>; |
270 | mal-rx-channel = <0>; | 272 | mal-rx-channel = <0>; |
271 | cell-index = <0>; | 273 | cell-index = <0>; |
272 | max-frame-size = <2328>; | 274 | max-frame-size = <9000>; |
273 | rx-fifo-size = <1000>; | 275 | rx-fifo-size = <4096>; |
274 | tx-fifo-size = <800>; | 276 | tx-fifo-size = <2048>; |
275 | phy-mode = "rgmii"; | 277 | phy-mode = "rgmii"; |
276 | phy-map = <00000000>; | 278 | phy-map = <0x00000000>; |
277 | zmii-device = <&ZMII0>; | 279 | zmii-device = <&ZMII0>; |
278 | zmii-channel = <0>; | 280 | zmii-channel = <0>; |
279 | rgmii-device = <&RGMII0>; | 281 | rgmii-device = <&RGMII0>; |
@@ -286,23 +288,23 @@ | |||
286 | device_type = "network"; | 288 | device_type = "network"; |
287 | compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4"; | 289 | compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4"; |
288 | interrupt-parent = <&EMAC1>; | 290 | interrupt-parent = <&EMAC1>; |
289 | interrupts = <0 1>; | 291 | interrupts = <0x0 0x1>; |
290 | #interrupt-cells = <1>; | 292 | #interrupt-cells = <1>; |
291 | #address-cells = <0>; | 293 | #address-cells = <0>; |
292 | #size-cells = <0>; | 294 | #size-cells = <0>; |
293 | interrupt-map = </*Status*/ 0 &UIC0 19 4 | 295 | interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 |
294 | /*Wake*/ 1 &UIC1 1f 4>; | 296 | /*Wake*/ 0x1 &UIC1 0x1f 0x4>; |
295 | reg = <ef600f00 70>; | 297 | reg = <0xef600f00 0x00000070>; |
296 | local-mac-address = [000000000000]; | 298 | local-mac-address = [000000000000]; |
297 | mal-device = <&MAL0>; | 299 | mal-device = <&MAL0>; |
298 | mal-tx-channel = <1>; | 300 | mal-tx-channel = <1>; |
299 | mal-rx-channel = <1>; | 301 | mal-rx-channel = <1>; |
300 | cell-index = <1>; | 302 | cell-index = <1>; |
301 | max-frame-size = <2328>; | 303 | max-frame-size = <9000>; |
302 | rx-fifo-size = <1000>; | 304 | rx-fifo-size = <4096>; |
303 | tx-fifo-size = <800>; | 305 | tx-fifo-size = <2048>; |
304 | phy-mode = "rgmii"; | 306 | phy-mode = "rgmii"; |
305 | phy-map = <00000000>; | 307 | phy-map = <0x00000000>; |
306 | zmii-device = <&ZMII0>; | 308 | zmii-device = <&ZMII0>; |
307 | zmii-channel = <1>; | 309 | zmii-channel = <1>; |
308 | rgmii-device = <&RGMII0>; | 310 | rgmii-device = <&RGMII0>; |
@@ -319,24 +321,24 @@ | |||
319 | #address-cells = <3>; | 321 | #address-cells = <3>; |
320 | compatible = "ibm,plb440grx-pci", "ibm,plb-pci"; | 322 | compatible = "ibm,plb440grx-pci", "ibm,plb-pci"; |
321 | primary; | 323 | primary; |
322 | reg = <1 eec00000 8 /* Config space access */ | 324 | reg = <0x00000001 0xeec00000 0x00000008 /* Config space access */ |
323 | 1 eed00000 4 /* IACK */ | 325 | 0x00000001 0xeed00000 0x00000004 /* IACK */ |
324 | 1 eed00000 4 /* Special cycle */ | 326 | 0x00000001 0xeed00000 0x00000004 /* Special cycle */ |
325 | 1 ef400000 40>; /* Internal registers */ | 327 | 0x00000001 0xef400000 0x00000040>; /* Internal registers */ |
326 | 328 | ||
327 | /* Outbound ranges, one memory and one IO, | 329 | /* Outbound ranges, one memory and one IO, |
328 | * later cannot be changed. Chip supports a second | 330 | * later cannot be changed. Chip supports a second |
329 | * IO range but we don't use it for now | 331 | * IO range but we don't use it for now |
330 | */ | 332 | */ |
331 | ranges = <02000000 0 80000000 1 80000000 0 10000000 | 333 | ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x10000000 |
332 | 01000000 0 00000000 1 e8000000 0 00100000>; | 334 | 0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00100000>; |
333 | 335 | ||
334 | /* Inbound 2GB range starting at 0 */ | 336 | /* Inbound 2GB range starting at 0 */ |
335 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 337 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
336 | 338 | ||
337 | /* All PCI interrupts are routed to IRQ 67 */ | 339 | /* All PCI interrupts are routed to IRQ 67 */ |
338 | interrupt-map-mask = <0000 0 0 0>; | 340 | interrupt-map-mask = <0x0 0x0 0x0 0x0>; |
339 | interrupt-map = < 0000 0 0 0 &UIC2 3 8 >; | 341 | interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >; |
340 | }; | 342 | }; |
341 | }; | 343 | }; |
342 | 344 | ||
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts index 72d67564bdfc..149dabc55217 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts | |||
@@ -12,12 +12,14 @@ | |||
12 | * | 12 | * |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /dts-v1/; | ||
16 | |||
15 | / { | 17 | / { |
16 | #address-cells = <2>; | 18 | #address-cells = <2>; |
17 | #size-cells = <1>; | 19 | #size-cells = <1>; |
18 | model = "amcc,sequoia"; | 20 | model = "amcc,sequoia"; |
19 | compatible = "amcc,sequoia"; | 21 | compatible = "amcc,sequoia"; |
20 | dcr-parent = <&/cpus/cpu@0>; | 22 | dcr-parent = <&{/cpus/cpu@0}>; |
21 | 23 | ||
22 | aliases { | 24 | aliases { |
23 | ethernet0 = &EMAC0; | 25 | ethernet0 = &EMAC0; |
@@ -35,13 +37,13 @@ | |||
35 | cpu@0 { | 37 | cpu@0 { |
36 | device_type = "cpu"; | 38 | device_type = "cpu"; |
37 | model = "PowerPC,440EPx"; | 39 | model = "PowerPC,440EPx"; |
38 | reg = <0>; | 40 | reg = <0x00000000>; |
39 | clock-frequency = <0>; /* Filled in by zImage */ | 41 | clock-frequency = <0>; /* Filled in by zImage */ |
40 | timebase-frequency = <0>; /* Filled in by zImage */ | 42 | timebase-frequency = <0>; /* Filled in by zImage */ |
41 | i-cache-line-size = <20>; | 43 | i-cache-line-size = <32>; |
42 | d-cache-line-size = <20>; | 44 | d-cache-line-size = <32>; |
43 | i-cache-size = <8000>; | 45 | i-cache-size = <32768>; |
44 | d-cache-size = <8000>; | 46 | d-cache-size = <32768>; |
45 | dcr-controller; | 47 | dcr-controller; |
46 | dcr-access-method = "native"; | 48 | dcr-access-method = "native"; |
47 | }; | 49 | }; |
@@ -49,14 +51,14 @@ | |||
49 | 51 | ||
50 | memory { | 52 | memory { |
51 | device_type = "memory"; | 53 | device_type = "memory"; |
52 | reg = <0 0 0>; /* Filled in by zImage */ | 54 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
53 | }; | 55 | }; |
54 | 56 | ||
55 | UIC0: interrupt-controller0 { | 57 | UIC0: interrupt-controller0 { |
56 | compatible = "ibm,uic-440epx","ibm,uic"; | 58 | compatible = "ibm,uic-440epx","ibm,uic"; |
57 | interrupt-controller; | 59 | interrupt-controller; |
58 | cell-index = <0>; | 60 | cell-index = <0>; |
59 | dcr-reg = <0c0 009>; | 61 | dcr-reg = <0x0c0 0x009>; |
60 | #address-cells = <0>; | 62 | #address-cells = <0>; |
61 | #size-cells = <0>; | 63 | #size-cells = <0>; |
62 | #interrupt-cells = <2>; | 64 | #interrupt-cells = <2>; |
@@ -66,11 +68,11 @@ | |||
66 | compatible = "ibm,uic-440epx","ibm,uic"; | 68 | compatible = "ibm,uic-440epx","ibm,uic"; |
67 | interrupt-controller; | 69 | interrupt-controller; |
68 | cell-index = <1>; | 70 | cell-index = <1>; |
69 | dcr-reg = <0d0 009>; | 71 | dcr-reg = <0x0d0 0x009>; |
70 | #address-cells = <0>; | 72 | #address-cells = <0>; |
71 | #size-cells = <0>; | 73 | #size-cells = <0>; |
72 | #interrupt-cells = <2>; | 74 | #interrupt-cells = <2>; |
73 | interrupts = <1e 4 1f 4>; /* cascade */ | 75 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
74 | interrupt-parent = <&UIC0>; | 76 | interrupt-parent = <&UIC0>; |
75 | }; | 77 | }; |
76 | 78 | ||
@@ -78,22 +80,22 @@ | |||
78 | compatible = "ibm,uic-440epx","ibm,uic"; | 80 | compatible = "ibm,uic-440epx","ibm,uic"; |
79 | interrupt-controller; | 81 | interrupt-controller; |
80 | cell-index = <2>; | 82 | cell-index = <2>; |
81 | dcr-reg = <0e0 009>; | 83 | dcr-reg = <0x0e0 0x009>; |
82 | #address-cells = <0>; | 84 | #address-cells = <0>; |
83 | #size-cells = <0>; | 85 | #size-cells = <0>; |
84 | #interrupt-cells = <2>; | 86 | #interrupt-cells = <2>; |
85 | interrupts = <1c 4 1d 4>; /* cascade */ | 87 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ |
86 | interrupt-parent = <&UIC0>; | 88 | interrupt-parent = <&UIC0>; |
87 | }; | 89 | }; |
88 | 90 | ||
89 | SDR0: sdr { | 91 | SDR0: sdr { |
90 | compatible = "ibm,sdr-440epx", "ibm,sdr-440ep"; | 92 | compatible = "ibm,sdr-440epx", "ibm,sdr-440ep"; |
91 | dcr-reg = <00e 002>; | 93 | dcr-reg = <0x00e 0x002>; |
92 | }; | 94 | }; |
93 | 95 | ||
94 | CPR0: cpr { | 96 | CPR0: cpr { |
95 | compatible = "ibm,cpr-440epx", "ibm,cpr-440ep"; | 97 | compatible = "ibm,cpr-440epx", "ibm,cpr-440ep"; |
96 | dcr-reg = <00c 002>; | 98 | dcr-reg = <0x00c 0x002>; |
97 | }; | 99 | }; |
98 | 100 | ||
99 | plb { | 101 | plb { |
@@ -105,44 +107,44 @@ | |||
105 | 107 | ||
106 | SDRAM0: sdram { | 108 | SDRAM0: sdram { |
107 | compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali"; | 109 | compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali"; |
108 | dcr-reg = <010 2>; | 110 | dcr-reg = <0x010 0x002>; |
109 | }; | 111 | }; |
110 | 112 | ||
111 | DMA0: dma { | 113 | DMA0: dma { |
112 | compatible = "ibm,dma-440epx", "ibm,dma-4xx"; | 114 | compatible = "ibm,dma-440epx", "ibm,dma-4xx"; |
113 | dcr-reg = <100 027>; | 115 | dcr-reg = <0x100 0x027>; |
114 | }; | 116 | }; |
115 | 117 | ||
116 | MAL0: mcmal { | 118 | MAL0: mcmal { |
117 | compatible = "ibm,mcmal-440epx", "ibm,mcmal2"; | 119 | compatible = "ibm,mcmal-440epx", "ibm,mcmal2"; |
118 | dcr-reg = <180 62>; | 120 | dcr-reg = <0x180 0x062>; |
119 | num-tx-chans = <2>; | 121 | num-tx-chans = <2>; |
120 | num-rx-chans = <2>; | 122 | num-rx-chans = <2>; |
121 | interrupt-parent = <&MAL0>; | 123 | interrupt-parent = <&MAL0>; |
122 | interrupts = <0 1 2 3 4>; | 124 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
123 | #interrupt-cells = <1>; | 125 | #interrupt-cells = <1>; |
124 | #address-cells = <0>; | 126 | #address-cells = <0>; |
125 | #size-cells = <0>; | 127 | #size-cells = <0>; |
126 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 128 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
127 | /*RXEOB*/ 1 &UIC0 b 4 | 129 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
128 | /*SERR*/ 2 &UIC1 0 4 | 130 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
129 | /*TXDE*/ 3 &UIC1 1 4 | 131 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
130 | /*RXDE*/ 4 &UIC1 2 4>; | 132 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
131 | interrupt-map-mask = <ffffffff>; | 133 | interrupt-map-mask = <0xffffffff>; |
132 | }; | 134 | }; |
133 | 135 | ||
134 | USB1: usb@e0000400 { | 136 | USB1: usb@e0000400 { |
135 | compatible = "ohci-be"; | 137 | compatible = "ohci-be"; |
136 | reg = <0 e0000400 60>; | 138 | reg = <0x00000000 0xe0000400 0x00000060>; |
137 | interrupt-parent = <&UIC0>; | 139 | interrupt-parent = <&UIC0>; |
138 | interrupts = <15 8>; | 140 | interrupts = <0x15 0x8>; |
139 | }; | 141 | }; |
140 | 142 | ||
141 | USB0: ehci@e0000300 { | 143 | USB0: ehci@e0000300 { |
142 | compatible = "ibm,usb-ehci-440epx", "usb-ehci"; | 144 | compatible = "ibm,usb-ehci-440epx", "usb-ehci"; |
143 | interrupt-parent = <&UIC0>; | 145 | interrupt-parent = <&UIC0>; |
144 | interrupts = <1a 4>; | 146 | interrupts = <0x1a 0x4>; |
145 | reg = <0 e0000300 90 0 e0000390 70>; | 147 | reg = <0x00000000 0xe0000300 0x00000090 0x00000000 0xe0000390 0x00000070>; |
146 | big-endian; | 148 | big-endian; |
147 | }; | 149 | }; |
148 | 150 | ||
@@ -150,50 +152,50 @@ | |||
150 | compatible = "ibm,opb-440epx", "ibm,opb"; | 152 | compatible = "ibm,opb-440epx", "ibm,opb"; |
151 | #address-cells = <1>; | 153 | #address-cells = <1>; |
152 | #size-cells = <1>; | 154 | #size-cells = <1>; |
153 | ranges = <00000000 1 00000000 80000000 | 155 | ranges = <0x00000000 0x00000001 0x00000000 0x80000000 |
154 | 80000000 1 80000000 80000000>; | 156 | 0x80000000 0x00000001 0x80000000 0x80000000>; |
155 | interrupt-parent = <&UIC1>; | 157 | interrupt-parent = <&UIC1>; |
156 | interrupts = <7 4>; | 158 | interrupts = <0x7 0x4>; |
157 | clock-frequency = <0>; /* Filled in by zImage */ | 159 | clock-frequency = <0>; /* Filled in by zImage */ |
158 | 160 | ||
159 | EBC0: ebc { | 161 | EBC0: ebc { |
160 | compatible = "ibm,ebc-440epx", "ibm,ebc"; | 162 | compatible = "ibm,ebc-440epx", "ibm,ebc"; |
161 | dcr-reg = <012 2>; | 163 | dcr-reg = <0x012 0x002>; |
162 | #address-cells = <2>; | 164 | #address-cells = <2>; |
163 | #size-cells = <1>; | 165 | #size-cells = <1>; |
164 | clock-frequency = <0>; /* Filled in by zImage */ | 166 | clock-frequency = <0>; /* Filled in by zImage */ |
165 | interrupts = <5 1>; | 167 | interrupts = <0x5 0x1>; |
166 | interrupt-parent = <&UIC1>; | 168 | interrupt-parent = <&UIC1>; |
167 | 169 | ||
168 | nor_flash@0,0 { | 170 | nor_flash@0,0 { |
169 | compatible = "amd,s29gl256n", "cfi-flash"; | 171 | compatible = "amd,s29gl256n", "cfi-flash"; |
170 | bank-width = <2>; | 172 | bank-width = <2>; |
171 | reg = <0 000000 4000000>; | 173 | reg = <0x00000000 0x00000000 0x04000000>; |
172 | #address-cells = <1>; | 174 | #address-cells = <1>; |
173 | #size-cells = <1>; | 175 | #size-cells = <1>; |
174 | partition@0 { | 176 | partition@0 { |
175 | label = "Kernel"; | 177 | label = "Kernel"; |
176 | reg = <0 180000>; | 178 | reg = <0x00000000 0x00180000>; |
177 | }; | 179 | }; |
178 | partition@180000 { | 180 | partition@180000 { |
179 | label = "ramdisk"; | 181 | label = "ramdisk"; |
180 | reg = <180000 200000>; | 182 | reg = <0x00180000 0x00200000>; |
181 | }; | 183 | }; |
182 | partition@380000 { | 184 | partition@380000 { |
183 | label = "file system"; | 185 | label = "file system"; |
184 | reg = <380000 3aa0000>; | 186 | reg = <0x00380000 0x03aa0000>; |
185 | }; | 187 | }; |
186 | partition@3e20000 { | 188 | partition@3e20000 { |
187 | label = "kozio"; | 189 | label = "kozio"; |
188 | reg = <3e20000 140000>; | 190 | reg = <0x03e20000 0x00140000>; |
189 | }; | 191 | }; |
190 | partition@3f60000 { | 192 | partition@3f60000 { |
191 | label = "env"; | 193 | label = "env"; |
192 | reg = <3f60000 40000>; | 194 | reg = <0x03f60000 0x00040000>; |
193 | }; | 195 | }; |
194 | partition@3fa0000 { | 196 | partition@3fa0000 { |
195 | label = "u-boot"; | 197 | label = "u-boot"; |
196 | reg = <3fa0000 60000>; | 198 | reg = <0x03fa0000 0x00060000>; |
197 | }; | 199 | }; |
198 | }; | 200 | }; |
199 | 201 | ||
@@ -202,69 +204,69 @@ | |||
202 | UART0: serial@ef600300 { | 204 | UART0: serial@ef600300 { |
203 | device_type = "serial"; | 205 | device_type = "serial"; |
204 | compatible = "ns16550"; | 206 | compatible = "ns16550"; |
205 | reg = <ef600300 8>; | 207 | reg = <0xef600300 0x00000008>; |
206 | virtual-reg = <ef600300>; | 208 | virtual-reg = <0xef600300>; |
207 | clock-frequency = <0>; /* Filled in by zImage */ | 209 | clock-frequency = <0>; /* Filled in by zImage */ |
208 | current-speed = <1c200>; | 210 | current-speed = <115200>; |
209 | interrupt-parent = <&UIC0>; | 211 | interrupt-parent = <&UIC0>; |
210 | interrupts = <0 4>; | 212 | interrupts = <0x0 0x4>; |
211 | }; | 213 | }; |
212 | 214 | ||
213 | UART1: serial@ef600400 { | 215 | UART1: serial@ef600400 { |
214 | device_type = "serial"; | 216 | device_type = "serial"; |
215 | compatible = "ns16550"; | 217 | compatible = "ns16550"; |
216 | reg = <ef600400 8>; | 218 | reg = <0xef600400 0x00000008>; |
217 | virtual-reg = <ef600400>; | 219 | virtual-reg = <0xef600400>; |
218 | clock-frequency = <0>; | 220 | clock-frequency = <0>; |
219 | current-speed = <0>; | 221 | current-speed = <0>; |
220 | interrupt-parent = <&UIC0>; | 222 | interrupt-parent = <&UIC0>; |
221 | interrupts = <1 4>; | 223 | interrupts = <0x1 0x4>; |
222 | }; | 224 | }; |
223 | 225 | ||
224 | UART2: serial@ef600500 { | 226 | UART2: serial@ef600500 { |
225 | device_type = "serial"; | 227 | device_type = "serial"; |
226 | compatible = "ns16550"; | 228 | compatible = "ns16550"; |
227 | reg = <ef600500 8>; | 229 | reg = <0xef600500 0x00000008>; |
228 | virtual-reg = <ef600500>; | 230 | virtual-reg = <0xef600500>; |
229 | clock-frequency = <0>; | 231 | clock-frequency = <0>; |
230 | current-speed = <0>; | 232 | current-speed = <0>; |
231 | interrupt-parent = <&UIC1>; | 233 | interrupt-parent = <&UIC1>; |
232 | interrupts = <3 4>; | 234 | interrupts = <0x3 0x4>; |
233 | }; | 235 | }; |
234 | 236 | ||
235 | UART3: serial@ef600600 { | 237 | UART3: serial@ef600600 { |
236 | device_type = "serial"; | 238 | device_type = "serial"; |
237 | compatible = "ns16550"; | 239 | compatible = "ns16550"; |
238 | reg = <ef600600 8>; | 240 | reg = <0xef600600 0x00000008>; |
239 | virtual-reg = <ef600600>; | 241 | virtual-reg = <0xef600600>; |
240 | clock-frequency = <0>; | 242 | clock-frequency = <0>; |
241 | current-speed = <0>; | 243 | current-speed = <0>; |
242 | interrupt-parent = <&UIC1>; | 244 | interrupt-parent = <&UIC1>; |
243 | interrupts = <4 4>; | 245 | interrupts = <0x4 0x4>; |
244 | }; | 246 | }; |
245 | 247 | ||
246 | IIC0: i2c@ef600700 { | 248 | IIC0: i2c@ef600700 { |
247 | compatible = "ibm,iic-440epx", "ibm,iic"; | 249 | compatible = "ibm,iic-440epx", "ibm,iic"; |
248 | reg = <ef600700 14>; | 250 | reg = <0xef600700 0x00000014>; |
249 | interrupt-parent = <&UIC0>; | 251 | interrupt-parent = <&UIC0>; |
250 | interrupts = <2 4>; | 252 | interrupts = <0x2 0x4>; |
251 | }; | 253 | }; |
252 | 254 | ||
253 | IIC1: i2c@ef600800 { | 255 | IIC1: i2c@ef600800 { |
254 | compatible = "ibm,iic-440epx", "ibm,iic"; | 256 | compatible = "ibm,iic-440epx", "ibm,iic"; |
255 | reg = <ef600800 14>; | 257 | reg = <0xef600800 0x00000014>; |
256 | interrupt-parent = <&UIC0>; | 258 | interrupt-parent = <&UIC0>; |
257 | interrupts = <7 4>; | 259 | interrupts = <0x7 0x4>; |
258 | }; | 260 | }; |
259 | 261 | ||
260 | ZMII0: emac-zmii@ef600d00 { | 262 | ZMII0: emac-zmii@ef600d00 { |
261 | compatible = "ibm,zmii-440epx", "ibm,zmii"; | 263 | compatible = "ibm,zmii-440epx", "ibm,zmii"; |
262 | reg = <ef600d00 c>; | 264 | reg = <0xef600d00 0x0000000c>; |
263 | }; | 265 | }; |
264 | 266 | ||
265 | RGMII0: emac-rgmii@ef601000 { | 267 | RGMII0: emac-rgmii@ef601000 { |
266 | compatible = "ibm,rgmii-440epx", "ibm,rgmii"; | 268 | compatible = "ibm,rgmii-440epx", "ibm,rgmii"; |
267 | reg = <ef601000 8>; | 269 | reg = <0xef601000 0x00000008>; |
268 | has-mdio; | 270 | has-mdio; |
269 | }; | 271 | }; |
270 | 272 | ||
@@ -272,23 +274,23 @@ | |||
272 | device_type = "network"; | 274 | device_type = "network"; |
273 | compatible = "ibm,emac-440epx", "ibm,emac4"; | 275 | compatible = "ibm,emac-440epx", "ibm,emac4"; |
274 | interrupt-parent = <&EMAC0>; | 276 | interrupt-parent = <&EMAC0>; |
275 | interrupts = <0 1>; | 277 | interrupts = <0x0 0x1>; |
276 | #interrupt-cells = <1>; | 278 | #interrupt-cells = <1>; |
277 | #address-cells = <0>; | 279 | #address-cells = <0>; |
278 | #size-cells = <0>; | 280 | #size-cells = <0>; |
279 | interrupt-map = </*Status*/ 0 &UIC0 18 4 | 281 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 |
280 | /*Wake*/ 1 &UIC1 1d 4>; | 282 | /*Wake*/ 0x1 &UIC1 0x1d 0x4>; |
281 | reg = <ef600e00 70>; | 283 | reg = <0xef600e00 0x00000070>; |
282 | local-mac-address = [000000000000]; | 284 | local-mac-address = [000000000000]; |
283 | mal-device = <&MAL0>; | 285 | mal-device = <&MAL0>; |
284 | mal-tx-channel = <0>; | 286 | mal-tx-channel = <0>; |
285 | mal-rx-channel = <0>; | 287 | mal-rx-channel = <0>; |
286 | cell-index = <0>; | 288 | cell-index = <0>; |
287 | max-frame-size = <2328>; | 289 | max-frame-size = <9000>; |
288 | rx-fifo-size = <1000>; | 290 | rx-fifo-size = <4096>; |
289 | tx-fifo-size = <800>; | 291 | tx-fifo-size = <2048>; |
290 | phy-mode = "rgmii"; | 292 | phy-mode = "rgmii"; |
291 | phy-map = <00000000>; | 293 | phy-map = <0x00000000>; |
292 | zmii-device = <&ZMII0>; | 294 | zmii-device = <&ZMII0>; |
293 | zmii-channel = <0>; | 295 | zmii-channel = <0>; |
294 | rgmii-device = <&RGMII0>; | 296 | rgmii-device = <&RGMII0>; |
@@ -301,23 +303,23 @@ | |||
301 | device_type = "network"; | 303 | device_type = "network"; |
302 | compatible = "ibm,emac-440epx", "ibm,emac4"; | 304 | compatible = "ibm,emac-440epx", "ibm,emac4"; |
303 | interrupt-parent = <&EMAC1>; | 305 | interrupt-parent = <&EMAC1>; |
304 | interrupts = <0 1>; | 306 | interrupts = <0x0 0x1>; |
305 | #interrupt-cells = <1>; | 307 | #interrupt-cells = <1>; |
306 | #address-cells = <0>; | 308 | #address-cells = <0>; |
307 | #size-cells = <0>; | 309 | #size-cells = <0>; |
308 | interrupt-map = </*Status*/ 0 &UIC0 19 4 | 310 | interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 |
309 | /*Wake*/ 1 &UIC1 1f 4>; | 311 | /*Wake*/ 0x1 &UIC1 0x1f 0x4>; |
310 | reg = <ef600f00 70>; | 312 | reg = <0xef600f00 0x00000070>; |
311 | local-mac-address = [000000000000]; | 313 | local-mac-address = [000000000000]; |
312 | mal-device = <&MAL0>; | 314 | mal-device = <&MAL0>; |
313 | mal-tx-channel = <1>; | 315 | mal-tx-channel = <1>; |
314 | mal-rx-channel = <1>; | 316 | mal-rx-channel = <1>; |
315 | cell-index = <1>; | 317 | cell-index = <1>; |
316 | max-frame-size = <2328>; | 318 | max-frame-size = <9000>; |
317 | rx-fifo-size = <1000>; | 319 | rx-fifo-size = <4096>; |
318 | tx-fifo-size = <800>; | 320 | tx-fifo-size = <2048>; |
319 | phy-mode = "rgmii"; | 321 | phy-mode = "rgmii"; |
320 | phy-map = <00000000>; | 322 | phy-map = <0x00000000>; |
321 | zmii-device = <&ZMII0>; | 323 | zmii-device = <&ZMII0>; |
322 | zmii-channel = <1>; | 324 | zmii-channel = <1>; |
323 | rgmii-device = <&RGMII0>; | 325 | rgmii-device = <&RGMII0>; |
@@ -334,10 +336,10 @@ | |||
334 | #address-cells = <3>; | 336 | #address-cells = <3>; |
335 | compatible = "ibm,plb440epx-pci", "ibm,plb-pci"; | 337 | compatible = "ibm,plb440epx-pci", "ibm,plb-pci"; |
336 | primary; | 338 | primary; |
337 | reg = <1 eec00000 8 /* Config space access */ | 339 | reg = <0x00000001 0xeec00000 0x00000008 /* Config space access */ |
338 | 1 eed00000 4 /* IACK */ | 340 | 0x00000001 0xeed00000 0x00000004 /* IACK */ |
339 | 1 eed00000 4 /* Special cycle */ | 341 | 0x00000001 0xeed00000 0x00000004 /* Special cycle */ |
340 | 1 ef400000 40>; /* Internal registers */ | 342 | 0x00000001 0xef400000 0x00000040>; /* Internal registers */ |
341 | 343 | ||
342 | /* Outbound ranges, one memory and one IO, | 344 | /* Outbound ranges, one memory and one IO, |
343 | * later cannot be changed. Chip supports a second | 345 | * later cannot be changed. Chip supports a second |
@@ -347,16 +349,16 @@ | |||
347 | * I/O 1 E800 0000 1 E800 FFFF 64KB | 349 | * I/O 1 E800 0000 1 E800 FFFF 64KB |
348 | * I/O 1 E880 0000 1 EBFF FFFF 56MB | 350 | * I/O 1 E880 0000 1 EBFF FFFF 56MB |
349 | */ | 351 | */ |
350 | ranges = <02000000 0 80000000 1 80000000 0 40000000 | 352 | ranges = <0x02000000 0x00000000 0x80000000 0x00000001 0x80000000 0x00000000 0x40000000 |
351 | 01000000 0 00000000 1 e8000000 0 00010000 | 353 | 0x01000000 0x00000000 0x00000000 0x00000001 0xe8000000 0x00000000 0x00010000 |
352 | 01000000 0 00000000 1 e8800000 0 03800000>; | 354 | 0x01000000 0x00000000 0x00000000 0x00000001 0xe8800000 0x00000000 0x03800000>; |
353 | 355 | ||
354 | /* Inbound 2GB range starting at 0 */ | 356 | /* Inbound 2GB range starting at 0 */ |
355 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 357 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
356 | 358 | ||
357 | /* All PCI interrupts are routed to IRQ 67 */ | 359 | /* All PCI interrupts are routed to IRQ 67 */ |
358 | interrupt-map-mask = <0000 0 0 0>; | 360 | interrupt-map-mask = <0x0 0x0 0x0 0x0>; |
359 | interrupt-map = < 0000 0 0 0 &UIC2 3 8 >; | 361 | interrupt-map = < 0x0 0x0 0x0 0x0 &UIC2 0x3 0x8 >; |
360 | }; | 362 | }; |
361 | }; | 363 | }; |
362 | 364 | ||
diff --git a/arch/powerpc/boot/dts/taishan.dts b/arch/powerpc/boot/dts/taishan.dts index e808e1c5593a..dcb749884b6d 100644 --- a/arch/powerpc/boot/dts/taishan.dts +++ b/arch/powerpc/boot/dts/taishan.dts | |||
@@ -10,12 +10,14 @@ | |||
10 | * any warranty of any kind, whether express or implied. | 10 | * any warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | /dts-v1/; | ||
14 | |||
13 | / { | 15 | / { |
14 | #address-cells = <2>; | 16 | #address-cells = <2>; |
15 | #size-cells = <1>; | 17 | #size-cells = <1>; |
16 | model = "amcc,taishan"; | 18 | model = "amcc,taishan"; |
17 | compatible = "amcc,taishan"; | 19 | compatible = "amcc,taishan"; |
18 | dcr-parent = <&/cpus/cpu@0>; | 20 | dcr-parent = <&{/cpus/cpu@0}>; |
19 | 21 | ||
20 | aliases { | 22 | aliases { |
21 | ethernet0 = &EMAC2; | 23 | ethernet0 = &EMAC2; |
@@ -31,13 +33,13 @@ | |||
31 | cpu@0 { | 33 | cpu@0 { |
32 | device_type = "cpu"; | 34 | device_type = "cpu"; |
33 | model = "PowerPC,440GX"; | 35 | model = "PowerPC,440GX"; |
34 | reg = <0>; | 36 | reg = <0x00000000>; |
35 | clock-frequency = <2FAF0800>; // 800MHz | 37 | clock-frequency = <800000000>; // 800MHz |
36 | timebase-frequency = <0>; // Filled in by zImage | 38 | timebase-frequency = <0>; // Filled in by zImage |
37 | i-cache-line-size = <32>; | 39 | i-cache-line-size = <50>; |
38 | d-cache-line-size = <32>; | 40 | d-cache-line-size = <50>; |
39 | i-cache-size = <8000>; /* 32 kB */ | 41 | i-cache-size = <32768>; /* 32 kB */ |
40 | d-cache-size = <8000>; /* 32 kB */ | 42 | d-cache-size = <32768>; /* 32 kB */ |
41 | dcr-controller; | 43 | dcr-controller; |
42 | dcr-access-method = "native"; | 44 | dcr-access-method = "native"; |
43 | }; | 45 | }; |
@@ -45,7 +47,7 @@ | |||
45 | 47 | ||
46 | memory { | 48 | memory { |
47 | device_type = "memory"; | 49 | device_type = "memory"; |
48 | reg = <0 0 0>; // Filled in by zImage | 50 | reg = <0x00000000 0x00000000 0x00000000>; // Filled in by zImage |
49 | }; | 51 | }; |
50 | 52 | ||
51 | 53 | ||
@@ -53,7 +55,7 @@ | |||
53 | compatible = "ibm,uic-440gx", "ibm,uic"; | 55 | compatible = "ibm,uic-440gx", "ibm,uic"; |
54 | interrupt-controller; | 56 | interrupt-controller; |
55 | cell-index = <3>; | 57 | cell-index = <3>; |
56 | dcr-reg = <200 009>; | 58 | dcr-reg = <0x200 0x009>; |
57 | #address-cells = <0>; | 59 | #address-cells = <0>; |
58 | #size-cells = <0>; | 60 | #size-cells = <0>; |
59 | #interrupt-cells = <2>; | 61 | #interrupt-cells = <2>; |
@@ -64,11 +66,11 @@ | |||
64 | compatible = "ibm,uic-440gx", "ibm,uic"; | 66 | compatible = "ibm,uic-440gx", "ibm,uic"; |
65 | interrupt-controller; | 67 | interrupt-controller; |
66 | cell-index = <0>; | 68 | cell-index = <0>; |
67 | dcr-reg = <0c0 009>; | 69 | dcr-reg = <0x0c0 0x009>; |
68 | #address-cells = <0>; | 70 | #address-cells = <0>; |
69 | #size-cells = <0>; | 71 | #size-cells = <0>; |
70 | #interrupt-cells = <2>; | 72 | #interrupt-cells = <2>; |
71 | interrupts = <01 4 00 4>; /* cascade - first non-critical */ | 73 | interrupts = <0x1 0x4 0x0 0x4>; /* cascade - first non-critical */ |
72 | interrupt-parent = <&UICB0>; | 74 | interrupt-parent = <&UICB0>; |
73 | 75 | ||
74 | }; | 76 | }; |
@@ -77,11 +79,11 @@ | |||
77 | compatible = "ibm,uic-440gx", "ibm,uic"; | 79 | compatible = "ibm,uic-440gx", "ibm,uic"; |
78 | interrupt-controller; | 80 | interrupt-controller; |
79 | cell-index = <1>; | 81 | cell-index = <1>; |
80 | dcr-reg = <0d0 009>; | 82 | dcr-reg = <0x0d0 0x009>; |
81 | #address-cells = <0>; | 83 | #address-cells = <0>; |
82 | #size-cells = <0>; | 84 | #size-cells = <0>; |
83 | #interrupt-cells = <2>; | 85 | #interrupt-cells = <2>; |
84 | interrupts = <03 4 02 4>; /* cascade */ | 86 | interrupts = <0x3 0x4 0x2 0x4>; /* cascade */ |
85 | interrupt-parent = <&UICB0>; | 87 | interrupt-parent = <&UICB0>; |
86 | }; | 88 | }; |
87 | 89 | ||
@@ -89,29 +91,29 @@ | |||
89 | compatible = "ibm,uic-440gx", "ibm,uic"; | 91 | compatible = "ibm,uic-440gx", "ibm,uic"; |
90 | interrupt-controller; | 92 | interrupt-controller; |
91 | cell-index = <2>; /* was 1 */ | 93 | cell-index = <2>; /* was 1 */ |
92 | dcr-reg = <210 009>; | 94 | dcr-reg = <0x210 0x009>; |
93 | #address-cells = <0>; | 95 | #address-cells = <0>; |
94 | #size-cells = <0>; | 96 | #size-cells = <0>; |
95 | #interrupt-cells = <2>; | 97 | #interrupt-cells = <2>; |
96 | interrupts = <05 4 04 4>; /* cascade */ | 98 | interrupts = <0x5 0x4 0x4 0x4>; /* cascade */ |
97 | interrupt-parent = <&UICB0>; | 99 | interrupt-parent = <&UICB0>; |
98 | }; | 100 | }; |
99 | 101 | ||
100 | 102 | ||
101 | CPC0: cpc { | 103 | CPC0: cpc { |
102 | compatible = "ibm,cpc-440gp"; | 104 | compatible = "ibm,cpc-440gp"; |
103 | dcr-reg = <0b0 003 0e0 010>; | 105 | dcr-reg = <0x0b0 0x003 0x0e0 0x010>; |
104 | // FIXME: anything else? | 106 | // FIXME: anything else? |
105 | }; | 107 | }; |
106 | 108 | ||
107 | L2C0: l2c { | 109 | L2C0: l2c { |
108 | compatible = "ibm,l2-cache-440gx", "ibm,l2-cache"; | 110 | compatible = "ibm,l2-cache-440gx", "ibm,l2-cache"; |
109 | dcr-reg = <20 8 /* Internal SRAM DCR's */ | 111 | dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ |
110 | 30 8>; /* L2 cache DCR's */ | 112 | 0x030 0x008>; /* L2 cache DCR's */ |
111 | cache-line-size = <20>; /* 32 bytes */ | 113 | cache-line-size = <32>; /* 32 bytes */ |
112 | cache-size = <40000>; /* L2, 256K */ | 114 | cache-size = <262144>; /* L2, 256K */ |
113 | interrupt-parent = <&UIC2>; | 115 | interrupt-parent = <&UIC2>; |
114 | interrupts = <17 1>; | 116 | interrupts = <0x17 0x1>; |
115 | }; | 117 | }; |
116 | 118 | ||
117 | plb { | 119 | plb { |
@@ -119,41 +121,41 @@ | |||
119 | #address-cells = <2>; | 121 | #address-cells = <2>; |
120 | #size-cells = <1>; | 122 | #size-cells = <1>; |
121 | ranges; | 123 | ranges; |
122 | clock-frequency = <9896800>; // 160MHz | 124 | clock-frequency = <160000000>; // 160MHz |
123 | 125 | ||
124 | SDRAM0: memory-controller { | 126 | SDRAM0: memory-controller { |
125 | compatible = "ibm,sdram-440gp"; | 127 | compatible = "ibm,sdram-440gp"; |
126 | dcr-reg = <010 2>; | 128 | dcr-reg = <0x010 0x002>; |
127 | // FIXME: anything else? | 129 | // FIXME: anything else? |
128 | }; | 130 | }; |
129 | 131 | ||
130 | SRAM0: sram { | 132 | SRAM0: sram { |
131 | compatible = "ibm,sram-440gp"; | 133 | compatible = "ibm,sram-440gp"; |
132 | dcr-reg = <020 8 00a 1>; | 134 | dcr-reg = <0x020 0x008 0x00a 0x001>; |
133 | }; | 135 | }; |
134 | 136 | ||
135 | DMA0: dma { | 137 | DMA0: dma { |
136 | // FIXME: ??? | 138 | // FIXME: ??? |
137 | compatible = "ibm,dma-440gp"; | 139 | compatible = "ibm,dma-440gp"; |
138 | dcr-reg = <100 027>; | 140 | dcr-reg = <0x100 0x027>; |
139 | }; | 141 | }; |
140 | 142 | ||
141 | MAL0: mcmal { | 143 | MAL0: mcmal { |
142 | compatible = "ibm,mcmal-440gx", "ibm,mcmal2"; | 144 | compatible = "ibm,mcmal-440gx", "ibm,mcmal2"; |
143 | dcr-reg = <180 62>; | 145 | dcr-reg = <0x180 0x062>; |
144 | num-tx-chans = <4>; | 146 | num-tx-chans = <4>; |
145 | num-rx-chans = <4>; | 147 | num-rx-chans = <4>; |
146 | interrupt-parent = <&MAL0>; | 148 | interrupt-parent = <&MAL0>; |
147 | interrupts = <0 1 2 3 4>; | 149 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
148 | #interrupt-cells = <1>; | 150 | #interrupt-cells = <1>; |
149 | #address-cells = <0>; | 151 | #address-cells = <0>; |
150 | #size-cells = <0>; | 152 | #size-cells = <0>; |
151 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 153 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
152 | /*RXEOB*/ 1 &UIC0 b 4 | 154 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
153 | /*SERR*/ 2 &UIC1 0 4 | 155 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
154 | /*TXDE*/ 3 &UIC1 1 4 | 156 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
155 | /*RXDE*/ 4 &UIC1 2 4>; | 157 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
156 | interrupt-map-mask = <ffffffff>; | 158 | interrupt-map-mask = <0xffffffff>; |
157 | }; | 159 | }; |
158 | 160 | ||
159 | POB0: opb { | 161 | POB0: opb { |
@@ -162,26 +164,26 @@ | |||
162 | #size-cells = <1>; | 164 | #size-cells = <1>; |
163 | /* Wish there was a nicer way of specifying a full 32-bit | 165 | /* Wish there was a nicer way of specifying a full 32-bit |
164 | range */ | 166 | range */ |
165 | ranges = <00000000 1 00000000 80000000 | 167 | ranges = <0x00000000 0x00000001 0x00000000 0x80000000 |
166 | 80000000 1 80000000 80000000>; | 168 | 0x80000000 0x00000001 0x80000000 0x80000000>; |
167 | dcr-reg = <090 00b>; | 169 | dcr-reg = <0x090 0x00b>; |
168 | interrupt-parent = <&UIC1>; | 170 | interrupt-parent = <&UIC1>; |
169 | interrupts = <7 4>; | 171 | interrupts = <0x7 0x4>; |
170 | clock-frequency = <4C4B400>; // 80MHz | 172 | clock-frequency = <80000000>; // 80MHz |
171 | 173 | ||
172 | 174 | ||
173 | EBC0: ebc { | 175 | EBC0: ebc { |
174 | compatible = "ibm,ebc-440gx", "ibm,ebc"; | 176 | compatible = "ibm,ebc-440gx", "ibm,ebc"; |
175 | dcr-reg = <012 2>; | 177 | dcr-reg = <0x012 0x002>; |
176 | #address-cells = <2>; | 178 | #address-cells = <2>; |
177 | #size-cells = <1>; | 179 | #size-cells = <1>; |
178 | clock-frequency = <4C4B400>; // 80MHz | 180 | clock-frequency = <80000000>; // 80MHz |
179 | 181 | ||
180 | /* ranges property is supplied by zImage | 182 | /* ranges property is supplied by zImage |
181 | * based on firmware's configuration of the | 183 | * based on firmware's configuration of the |
182 | * EBC bridge */ | 184 | * EBC bridge */ |
183 | 185 | ||
184 | interrupts = <5 4>; | 186 | interrupts = <0x5 0x4>; |
185 | interrupt-parent = <&UIC1>; | 187 | interrupt-parent = <&UIC1>; |
186 | 188 | ||
187 | /* TODO: Add other EBC devices */ | 189 | /* TODO: Add other EBC devices */ |
@@ -192,103 +194,103 @@ | |||
192 | UART0: serial@40000200 { | 194 | UART0: serial@40000200 { |
193 | device_type = "serial"; | 195 | device_type = "serial"; |
194 | compatible = "ns16550"; | 196 | compatible = "ns16550"; |
195 | reg = <40000200 8>; | 197 | reg = <0x40000200 0x00000008>; |
196 | virtual-reg = <e0000200>; | 198 | virtual-reg = <0xe0000200>; |
197 | clock-frequency = <A8C000>; | 199 | clock-frequency = <11059200>; |
198 | current-speed = <1C200>; /* 115200 */ | 200 | current-speed = <115200>; /* 115200 */ |
199 | interrupt-parent = <&UIC0>; | 201 | interrupt-parent = <&UIC0>; |
200 | interrupts = <0 4>; | 202 | interrupts = <0x0 0x4>; |
201 | }; | 203 | }; |
202 | 204 | ||
203 | UART1: serial@40000300 { | 205 | UART1: serial@40000300 { |
204 | device_type = "serial"; | 206 | device_type = "serial"; |
205 | compatible = "ns16550"; | 207 | compatible = "ns16550"; |
206 | reg = <40000300 8>; | 208 | reg = <0x40000300 0x00000008>; |
207 | virtual-reg = <e0000300>; | 209 | virtual-reg = <0xe0000300>; |
208 | clock-frequency = <A8C000>; | 210 | clock-frequency = <11059200>; |
209 | current-speed = <1C200>; /* 115200 */ | 211 | current-speed = <115200>; /* 115200 */ |
210 | interrupt-parent = <&UIC0>; | 212 | interrupt-parent = <&UIC0>; |
211 | interrupts = <1 4>; | 213 | interrupts = <0x1 0x4>; |
212 | }; | 214 | }; |
213 | 215 | ||
214 | IIC0: i2c@40000400 { | 216 | IIC0: i2c@40000400 { |
215 | /* FIXME */ | 217 | /* FIXME */ |
216 | compatible = "ibm,iic-440gp", "ibm,iic"; | 218 | compatible = "ibm,iic-440gp", "ibm,iic"; |
217 | reg = <40000400 14>; | 219 | reg = <0x40000400 0x00000014>; |
218 | interrupt-parent = <&UIC0>; | 220 | interrupt-parent = <&UIC0>; |
219 | interrupts = <2 4>; | 221 | interrupts = <0x2 0x4>; |
220 | }; | 222 | }; |
221 | IIC1: i2c@40000500 { | 223 | IIC1: i2c@40000500 { |
222 | /* FIXME */ | 224 | /* FIXME */ |
223 | compatible = "ibm,iic-440gp", "ibm,iic"; | 225 | compatible = "ibm,iic-440gp", "ibm,iic"; |
224 | reg = <40000500 14>; | 226 | reg = <0x40000500 0x00000014>; |
225 | interrupt-parent = <&UIC0>; | 227 | interrupt-parent = <&UIC0>; |
226 | interrupts = <3 4>; | 228 | interrupts = <0x3 0x4>; |
227 | }; | 229 | }; |
228 | 230 | ||
229 | GPIO0: gpio@40000700 { | 231 | GPIO0: gpio@40000700 { |
230 | /* FIXME */ | 232 | /* FIXME */ |
231 | compatible = "ibm,gpio-440gp"; | 233 | compatible = "ibm,gpio-440gp"; |
232 | reg = <40000700 20>; | 234 | reg = <0x40000700 0x00000020>; |
233 | }; | 235 | }; |
234 | 236 | ||
235 | ZMII0: emac-zmii@40000780 { | 237 | ZMII0: emac-zmii@40000780 { |
236 | compatible = "ibm,zmii-440gx", "ibm,zmii"; | 238 | compatible = "ibm,zmii-440gx", "ibm,zmii"; |
237 | reg = <40000780 c>; | 239 | reg = <0x40000780 0x0000000c>; |
238 | }; | 240 | }; |
239 | 241 | ||
240 | RGMII0: emac-rgmii@40000790 { | 242 | RGMII0: emac-rgmii@40000790 { |
241 | compatible = "ibm,rgmii"; | 243 | compatible = "ibm,rgmii"; |
242 | reg = <40000790 8>; | 244 | reg = <0x40000790 0x00000008>; |
243 | }; | 245 | }; |
244 | 246 | ||
245 | TAH0: emac-tah@40000b50 { | 247 | TAH0: emac-tah@40000b50 { |
246 | compatible = "ibm,tah-440gx", "ibm,tah"; | 248 | compatible = "ibm,tah-440gx", "ibm,tah"; |
247 | reg = <40000b50 30>; | 249 | reg = <0x40000b50 0x00000030>; |
248 | }; | 250 | }; |
249 | 251 | ||
250 | TAH1: emac-tah@40000d50 { | 252 | TAH1: emac-tah@40000d50 { |
251 | compatible = "ibm,tah-440gx", "ibm,tah"; | 253 | compatible = "ibm,tah-440gx", "ibm,tah"; |
252 | reg = <40000d50 30>; | 254 | reg = <0x40000d50 0x00000030>; |
253 | }; | 255 | }; |
254 | 256 | ||
255 | EMAC0: ethernet@40000800 { | 257 | EMAC0: ethernet@40000800 { |
256 | unused = <1>; | 258 | unused = <0x1>; |
257 | device_type = "network"; | 259 | device_type = "network"; |
258 | compatible = "ibm,emac-440gx", "ibm,emac4"; | 260 | compatible = "ibm,emac-440gx", "ibm,emac4"; |
259 | interrupt-parent = <&UIC1>; | 261 | interrupt-parent = <&UIC1>; |
260 | interrupts = <1c 4 1d 4>; | 262 | interrupts = <0x1c 0x4 0x1d 0x4>; |
261 | reg = <40000800 70>; | 263 | reg = <0x40000800 0x00000070>; |
262 | local-mac-address = [000000000000]; // Filled in by zImage | 264 | local-mac-address = [000000000000]; // Filled in by zImage |
263 | mal-device = <&MAL0>; | 265 | mal-device = <&MAL0>; |
264 | mal-tx-channel = <0>; | 266 | mal-tx-channel = <0>; |
265 | mal-rx-channel = <0>; | 267 | mal-rx-channel = <0>; |
266 | cell-index = <0>; | 268 | cell-index = <0>; |
267 | max-frame-size = <5dc>; | 269 | max-frame-size = <1500>; |
268 | rx-fifo-size = <1000>; | 270 | rx-fifo-size = <4096>; |
269 | tx-fifo-size = <800>; | 271 | tx-fifo-size = <2048>; |
270 | phy-mode = "rmii"; | 272 | phy-mode = "rmii"; |
271 | phy-map = <00000001>; | 273 | phy-map = <0x00000001>; |
272 | zmii-device = <&ZMII0>; | 274 | zmii-device = <&ZMII0>; |
273 | zmii-channel = <0>; | 275 | zmii-channel = <0>; |
274 | }; | 276 | }; |
275 | EMAC1: ethernet@40000900 { | 277 | EMAC1: ethernet@40000900 { |
276 | unused = <1>; | 278 | unused = <0x1>; |
277 | device_type = "network"; | 279 | device_type = "network"; |
278 | compatible = "ibm,emac-440gx", "ibm,emac4"; | 280 | compatible = "ibm,emac-440gx", "ibm,emac4"; |
279 | interrupt-parent = <&UIC1>; | 281 | interrupt-parent = <&UIC1>; |
280 | interrupts = <1e 4 1f 4>; | 282 | interrupts = <0x1e 0x4 0x1f 0x4>; |
281 | reg = <40000900 70>; | 283 | reg = <0x40000900 0x00000070>; |
282 | local-mac-address = [000000000000]; // Filled in by zImage | 284 | local-mac-address = [000000000000]; // Filled in by zImage |
283 | mal-device = <&MAL0>; | 285 | mal-device = <&MAL0>; |
284 | mal-tx-channel = <1>; | 286 | mal-tx-channel = <1>; |
285 | mal-rx-channel = <1>; | 287 | mal-rx-channel = <1>; |
286 | cell-index = <1>; | 288 | cell-index = <1>; |
287 | max-frame-size = <5dc>; | 289 | max-frame-size = <1500>; |
288 | rx-fifo-size = <1000>; | 290 | rx-fifo-size = <4096>; |
289 | tx-fifo-size = <800>; | 291 | tx-fifo-size = <2048>; |
290 | phy-mode = "rmii"; | 292 | phy-mode = "rmii"; |
291 | phy-map = <00000001>; | 293 | phy-map = <0x00000001>; |
292 | zmii-device = <&ZMII0>; | 294 | zmii-device = <&ZMII0>; |
293 | zmii-channel = <1>; | 295 | zmii-channel = <1>; |
294 | }; | 296 | }; |
@@ -297,18 +299,18 @@ | |||
297 | device_type = "network"; | 299 | device_type = "network"; |
298 | compatible = "ibm,emac-440gx", "ibm,emac4"; | 300 | compatible = "ibm,emac-440gx", "ibm,emac4"; |
299 | interrupt-parent = <&UIC2>; | 301 | interrupt-parent = <&UIC2>; |
300 | interrupts = <0 4 1 4>; | 302 | interrupts = <0x0 0x4 0x1 0x4>; |
301 | reg = <40000c00 70>; | 303 | reg = <0x40000c00 0x00000070>; |
302 | local-mac-address = [000000000000]; // Filled in by zImage | 304 | local-mac-address = [000000000000]; // Filled in by zImage |
303 | mal-device = <&MAL0>; | 305 | mal-device = <&MAL0>; |
304 | mal-tx-channel = <2>; | 306 | mal-tx-channel = <2>; |
305 | mal-rx-channel = <2>; | 307 | mal-rx-channel = <2>; |
306 | cell-index = <2>; | 308 | cell-index = <2>; |
307 | max-frame-size = <2328>; | 309 | max-frame-size = <9000>; |
308 | rx-fifo-size = <1000>; | 310 | rx-fifo-size = <4096>; |
309 | tx-fifo-size = <800>; | 311 | tx-fifo-size = <2048>; |
310 | phy-mode = "rgmii"; | 312 | phy-mode = "rgmii"; |
311 | phy-map = <00000001>; | 313 | phy-map = <0x00000001>; |
312 | rgmii-device = <&RGMII0>; | 314 | rgmii-device = <&RGMII0>; |
313 | rgmii-channel = <0>; | 315 | rgmii-channel = <0>; |
314 | zmii-device = <&ZMII0>; | 316 | zmii-device = <&ZMII0>; |
@@ -321,18 +323,18 @@ | |||
321 | device_type = "network"; | 323 | device_type = "network"; |
322 | compatible = "ibm,emac-440gx", "ibm,emac4"; | 324 | compatible = "ibm,emac-440gx", "ibm,emac4"; |
323 | interrupt-parent = <&UIC2>; | 325 | interrupt-parent = <&UIC2>; |
324 | interrupts = <2 4 3 4>; | 326 | interrupts = <0x2 0x4 0x3 0x4>; |
325 | reg = <40000e00 70>; | 327 | reg = <0x40000e00 0x00000070>; |
326 | local-mac-address = [000000000000]; // Filled in by zImage | 328 | local-mac-address = [000000000000]; // Filled in by zImage |
327 | mal-device = <&MAL0>; | 329 | mal-device = <&MAL0>; |
328 | mal-tx-channel = <3>; | 330 | mal-tx-channel = <3>; |
329 | mal-rx-channel = <3>; | 331 | mal-rx-channel = <3>; |
330 | cell-index = <3>; | 332 | cell-index = <3>; |
331 | max-frame-size = <2328>; | 333 | max-frame-size = <9000>; |
332 | rx-fifo-size = <1000>; | 334 | rx-fifo-size = <4096>; |
333 | tx-fifo-size = <800>; | 335 | tx-fifo-size = <2048>; |
334 | phy-mode = "rgmii"; | 336 | phy-mode = "rgmii"; |
335 | phy-map = <00000003>; | 337 | phy-map = <0x00000003>; |
336 | rgmii-device = <&RGMII0>; | 338 | rgmii-device = <&RGMII0>; |
337 | rgmii-channel = <1>; | 339 | rgmii-channel = <1>; |
338 | zmii-device = <&ZMII0>; | 340 | zmii-device = <&ZMII0>; |
@@ -344,9 +346,9 @@ | |||
344 | 346 | ||
345 | GPT0: gpt@40000a00 { | 347 | GPT0: gpt@40000a00 { |
346 | /* FIXME */ | 348 | /* FIXME */ |
347 | reg = <40000a00 d4>; | 349 | reg = <0x40000a00 0x000000d4>; |
348 | interrupt-parent = <&UIC0>; | 350 | interrupt-parent = <&UIC0>; |
349 | interrupts = <12 4 13 4 14 4 15 4 16 4>; | 351 | interrupts = <0x12 0x4 0x13 0x4 0x14 0x4 0x15 0x4 0x16 0x4>; |
350 | }; | 352 | }; |
351 | 353 | ||
352 | }; | 354 | }; |
@@ -360,34 +362,34 @@ | |||
360 | primary; | 362 | primary; |
361 | large-inbound-windows; | 363 | large-inbound-windows; |
362 | enable-msi-hole; | 364 | enable-msi-hole; |
363 | reg = <2 0ec00000 8 /* Config space access */ | 365 | reg = <0x00000002 0x0ec00000 0x00000008 /* Config space access */ |
364 | 0 0 0 /* no IACK cycles */ | 366 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
365 | 2 0ed00000 4 /* Special cycles */ | 367 | 0x00000002 0x0ed00000 0x00000004 /* Special cycles */ |
366 | 2 0ec80000 100 /* Internal registers */ | 368 | 0x00000002 0x0ec80000 0x00000100 /* Internal registers */ |
367 | 2 0ec80100 fc>; /* Internal messaging registers */ | 369 | 0x00000002 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
368 | 370 | ||
369 | /* Outbound ranges, one memory and one IO, | 371 | /* Outbound ranges, one memory and one IO, |
370 | * later cannot be changed | 372 | * later cannot be changed |
371 | */ | 373 | */ |
372 | ranges = <02000000 0 80000000 00000003 80000000 0 80000000 | 374 | ranges = <0x02000000 0x00000000 0x80000000 0x00000003 0x80000000 0x00000000 0x80000000 |
373 | 01000000 0 00000000 00000002 08000000 0 00010000>; | 375 | 0x01000000 0x00000000 0x00000000 0x00000002 0x08000000 0x00000000 0x00010000>; |
374 | 376 | ||
375 | /* Inbound 2GB range starting at 0 */ | 377 | /* Inbound 2GB range starting at 0 */ |
376 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 378 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
377 | 379 | ||
378 | interrupt-map-mask = <f800 0 0 7>; | 380 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
379 | interrupt-map = < | 381 | interrupt-map = < |
380 | /* IDSEL 1 */ | 382 | /* IDSEL 1 */ |
381 | 0800 0 0 1 &UIC0 17 8 | 383 | 0x800 0x0 0x0 0x1 &UIC0 0x17 0x8 |
382 | 0800 0 0 2 &UIC0 18 8 | 384 | 0x800 0x0 0x0 0x2 &UIC0 0x18 0x8 |
383 | 0800 0 0 3 &UIC0 19 8 | 385 | 0x800 0x0 0x0 0x3 &UIC0 0x19 0x8 |
384 | 0800 0 0 4 &UIC0 1a 8 | 386 | 0x800 0x0 0x0 0x4 &UIC0 0x1a 0x8 |
385 | 387 | ||
386 | /* IDSEL 2 */ | 388 | /* IDSEL 2 */ |
387 | 1000 0 0 1 &UIC0 18 8 | 389 | 0x1000 0x0 0x0 0x1 &UIC0 0x18 0x8 |
388 | 1000 0 0 2 &UIC0 19 8 | 390 | 0x1000 0x0 0x0 0x2 &UIC0 0x19 0x8 |
389 | 1000 0 0 3 &UIC0 1a 8 | 391 | 0x1000 0x0 0x0 0x3 &UIC0 0x1a 0x8 |
390 | 1000 0 0 4 &UIC0 17 8 | 392 | 0x1000 0x0 0x0 0x4 &UIC0 0x17 0x8 |
391 | >; | 393 | >; |
392 | }; | 394 | }; |
393 | }; | 395 | }; |
diff --git a/arch/powerpc/boot/dts/walnut.dts b/arch/powerpc/boot/dts/walnut.dts index a328607c8f84..4a9f726ada13 100644 --- a/arch/powerpc/boot/dts/walnut.dts +++ b/arch/powerpc/boot/dts/walnut.dts | |||
@@ -9,12 +9,14 @@ | |||
9 | * any warranty of any kind, whether express or implied. | 9 | * any warranty of any kind, whether express or implied. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | ||
13 | |||
12 | / { | 14 | / { |
13 | #address-cells = <1>; | 15 | #address-cells = <1>; |
14 | #size-cells = <1>; | 16 | #size-cells = <1>; |
15 | model = "ibm,walnut"; | 17 | model = "ibm,walnut"; |
16 | compatible = "ibm,walnut"; | 18 | compatible = "ibm,walnut"; |
17 | dcr-parent = <&/cpus/cpu@0>; | 19 | dcr-parent = <&{/cpus/cpu@0}>; |
18 | 20 | ||
19 | aliases { | 21 | aliases { |
20 | ethernet0 = &EMAC; | 22 | ethernet0 = &EMAC; |
@@ -29,13 +31,13 @@ | |||
29 | cpu@0 { | 31 | cpu@0 { |
30 | device_type = "cpu"; | 32 | device_type = "cpu"; |
31 | model = "PowerPC,405GP"; | 33 | model = "PowerPC,405GP"; |
32 | reg = <0>; | 34 | reg = <0x00000000>; |
33 | clock-frequency = <bebc200>; /* Filled in by zImage */ | 35 | clock-frequency = <200000000>; /* Filled in by zImage */ |
34 | timebase-frequency = <0>; /* Filled in by zImage */ | 36 | timebase-frequency = <0>; /* Filled in by zImage */ |
35 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
36 | d-cache-line-size = <20>; | 38 | d-cache-line-size = <32>; |
37 | i-cache-size = <4000>; | 39 | i-cache-size = <16384>; |
38 | d-cache-size = <4000>; | 40 | d-cache-size = <16384>; |
39 | dcr-controller; | 41 | dcr-controller; |
40 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
41 | }; | 43 | }; |
@@ -43,14 +45,14 @@ | |||
43 | 45 | ||
44 | memory { | 46 | memory { |
45 | device_type = "memory"; | 47 | device_type = "memory"; |
46 | reg = <0 0>; /* Filled in by zImage */ | 48 | reg = <0x00000000 0x00000000>; /* Filled in by zImage */ |
47 | }; | 49 | }; |
48 | 50 | ||
49 | UIC0: interrupt-controller { | 51 | UIC0: interrupt-controller { |
50 | compatible = "ibm,uic"; | 52 | compatible = "ibm,uic"; |
51 | interrupt-controller; | 53 | interrupt-controller; |
52 | cell-index = <0>; | 54 | cell-index = <0>; |
53 | dcr-reg = <0c0 9>; | 55 | dcr-reg = <0x0c0 0x009>; |
54 | #address-cells = <0>; | 56 | #address-cells = <0>; |
55 | #size-cells = <0>; | 57 | #size-cells = <0>; |
56 | #interrupt-cells = <2>; | 58 | #interrupt-cells = <2>; |
@@ -65,63 +67,63 @@ | |||
65 | 67 | ||
66 | SDRAM0: memory-controller { | 68 | SDRAM0: memory-controller { |
67 | compatible = "ibm,sdram-405gp"; | 69 | compatible = "ibm,sdram-405gp"; |
68 | dcr-reg = <010 2>; | 70 | dcr-reg = <0x010 0x002>; |
69 | }; | 71 | }; |
70 | 72 | ||
71 | MAL: mcmal { | 73 | MAL: mcmal { |
72 | compatible = "ibm,mcmal-405gp", "ibm,mcmal"; | 74 | compatible = "ibm,mcmal-405gp", "ibm,mcmal"; |
73 | dcr-reg = <180 62>; | 75 | dcr-reg = <0x180 0x062>; |
74 | num-tx-chans = <1>; | 76 | num-tx-chans = <1>; |
75 | num-rx-chans = <1>; | 77 | num-rx-chans = <1>; |
76 | interrupt-parent = <&UIC0>; | 78 | interrupt-parent = <&UIC0>; |
77 | interrupts = < | 79 | interrupts = < |
78 | b 4 /* TXEOB */ | 80 | 0xb 0x4 /* TXEOB */ |
79 | c 4 /* RXEOB */ | 81 | 0xc 0x4 /* RXEOB */ |
80 | a 4 /* SERR */ | 82 | 0xa 0x4 /* SERR */ |
81 | d 4 /* TXDE */ | 83 | 0xd 0x4 /* TXDE */ |
82 | e 4 /* RXDE */>; | 84 | 0xe 0x4 /* RXDE */>; |
83 | }; | 85 | }; |
84 | 86 | ||
85 | POB0: opb { | 87 | POB0: opb { |
86 | compatible = "ibm,opb-405gp", "ibm,opb"; | 88 | compatible = "ibm,opb-405gp", "ibm,opb"; |
87 | #address-cells = <1>; | 89 | #address-cells = <1>; |
88 | #size-cells = <1>; | 90 | #size-cells = <1>; |
89 | ranges = <ef600000 ef600000 a00000>; | 91 | ranges = <0xef600000 0xef600000 0x00a00000>; |
90 | dcr-reg = <0a0 5>; | 92 | dcr-reg = <0x0a0 0x005>; |
91 | clock-frequency = <0>; /* Filled in by zImage */ | 93 | clock-frequency = <0>; /* Filled in by zImage */ |
92 | 94 | ||
93 | UART0: serial@ef600300 { | 95 | UART0: serial@ef600300 { |
94 | device_type = "serial"; | 96 | device_type = "serial"; |
95 | compatible = "ns16550"; | 97 | compatible = "ns16550"; |
96 | reg = <ef600300 8>; | 98 | reg = <0xef600300 0x00000008>; |
97 | virtual-reg = <ef600300>; | 99 | virtual-reg = <0xef600300>; |
98 | clock-frequency = <0>; /* Filled in by zImage */ | 100 | clock-frequency = <0>; /* Filled in by zImage */ |
99 | current-speed = <2580>; | 101 | current-speed = <9600>; |
100 | interrupt-parent = <&UIC0>; | 102 | interrupt-parent = <&UIC0>; |
101 | interrupts = <0 4>; | 103 | interrupts = <0x0 0x4>; |
102 | }; | 104 | }; |
103 | 105 | ||
104 | UART1: serial@ef600400 { | 106 | UART1: serial@ef600400 { |
105 | device_type = "serial"; | 107 | device_type = "serial"; |
106 | compatible = "ns16550"; | 108 | compatible = "ns16550"; |
107 | reg = <ef600400 8>; | 109 | reg = <0xef600400 0x00000008>; |
108 | virtual-reg = <ef600400>; | 110 | virtual-reg = <0xef600400>; |
109 | clock-frequency = <0>; /* Filled in by zImage */ | 111 | clock-frequency = <0>; /* Filled in by zImage */ |
110 | current-speed = <2580>; | 112 | current-speed = <9600>; |
111 | interrupt-parent = <&UIC0>; | 113 | interrupt-parent = <&UIC0>; |
112 | interrupts = <1 4>; | 114 | interrupts = <0x1 0x4>; |
113 | }; | 115 | }; |
114 | 116 | ||
115 | IIC: i2c@ef600500 { | 117 | IIC: i2c@ef600500 { |
116 | compatible = "ibm,iic-405gp", "ibm,iic"; | 118 | compatible = "ibm,iic-405gp", "ibm,iic"; |
117 | reg = <ef600500 11>; | 119 | reg = <0xef600500 0x00000011>; |
118 | interrupt-parent = <&UIC0>; | 120 | interrupt-parent = <&UIC0>; |
119 | interrupts = <2 4>; | 121 | interrupts = <0x2 0x4>; |
120 | }; | 122 | }; |
121 | 123 | ||
122 | GPIO: gpio@ef600700 { | 124 | GPIO: gpio@ef600700 { |
123 | compatible = "ibm,gpio-405gp"; | 125 | compatible = "ibm,gpio-405gp"; |
124 | reg = <ef600700 20>; | 126 | reg = <0xef600700 0x00000020>; |
125 | }; | 127 | }; |
126 | 128 | ||
127 | EMAC: ethernet@ef600800 { | 129 | EMAC: ethernet@ef600800 { |
@@ -129,26 +131,26 @@ | |||
129 | compatible = "ibm,emac-405gp", "ibm,emac"; | 131 | compatible = "ibm,emac-405gp", "ibm,emac"; |
130 | interrupt-parent = <&UIC0>; | 132 | interrupt-parent = <&UIC0>; |
131 | interrupts = < | 133 | interrupts = < |
132 | f 4 /* Ethernet */ | 134 | 0xf 0x4 /* Ethernet */ |
133 | 9 4 /* Ethernet Wake Up */>; | 135 | 0x9 0x4 /* Ethernet Wake Up */>; |
134 | local-mac-address = [000000000000]; /* Filled in by zImage */ | 136 | local-mac-address = [000000000000]; /* Filled in by zImage */ |
135 | reg = <ef600800 70>; | 137 | reg = <0xef600800 0x00000070>; |
136 | mal-device = <&MAL>; | 138 | mal-device = <&MAL>; |
137 | mal-tx-channel = <0>; | 139 | mal-tx-channel = <0>; |
138 | mal-rx-channel = <0>; | 140 | mal-rx-channel = <0>; |
139 | cell-index = <0>; | 141 | cell-index = <0>; |
140 | max-frame-size = <5dc>; | 142 | max-frame-size = <1500>; |
141 | rx-fifo-size = <1000>; | 143 | rx-fifo-size = <4096>; |
142 | tx-fifo-size = <800>; | 144 | tx-fifo-size = <2048>; |
143 | phy-mode = "rmii"; | 145 | phy-mode = "rmii"; |
144 | phy-map = <00000001>; | 146 | phy-map = <0x00000001>; |
145 | }; | 147 | }; |
146 | 148 | ||
147 | }; | 149 | }; |
148 | 150 | ||
149 | EBC0: ebc { | 151 | EBC0: ebc { |
150 | compatible = "ibm,ebc-405gp", "ibm,ebc"; | 152 | compatible = "ibm,ebc-405gp", "ibm,ebc"; |
151 | dcr-reg = <012 2>; | 153 | dcr-reg = <0x012 0x002>; |
152 | #address-cells = <2>; | 154 | #address-cells = <2>; |
153 | #size-cells = <1>; | 155 | #size-cells = <1>; |
154 | /* The ranges property is supplied by the bootwrapper | 156 | /* The ranges property is supplied by the bootwrapper |
@@ -158,18 +160,18 @@ | |||
158 | clock-frequency = <0>; /* Filled in by zImage */ | 160 | clock-frequency = <0>; /* Filled in by zImage */ |
159 | 161 | ||
160 | sram@0,0 { | 162 | sram@0,0 { |
161 | reg = <0 0 80000>; | 163 | reg = <0x00000000 0x00000000 0x00080000>; |
162 | }; | 164 | }; |
163 | 165 | ||
164 | flash@0,80000 { | 166 | flash@0,80000 { |
165 | compatible = "jedec-flash"; | 167 | compatible = "jedec-flash"; |
166 | bank-width = <1>; | 168 | bank-width = <1>; |
167 | reg = <0 80000 80000>; | 169 | reg = <0x00000000 0x00080000 0x00080000>; |
168 | #address-cells = <1>; | 170 | #address-cells = <1>; |
169 | #size-cells = <1>; | 171 | #size-cells = <1>; |
170 | partition@0 { | 172 | partition@0 { |
171 | label = "OpenBIOS"; | 173 | label = "OpenBIOS"; |
172 | reg = <0 80000>; | 174 | reg = <0x00000000 0x00080000>; |
173 | read-only; | 175 | read-only; |
174 | }; | 176 | }; |
175 | }; | 177 | }; |
@@ -177,24 +179,24 @@ | |||
177 | nvram@1,0 { | 179 | nvram@1,0 { |
178 | /* NVRAM and RTC */ | 180 | /* NVRAM and RTC */ |
179 | compatible = "ds1743-nvram"; | 181 | compatible = "ds1743-nvram"; |
180 | #bytes = <2000>; | 182 | #bytes = <0x2000>; |
181 | reg = <1 0 2000>; | 183 | reg = <0x00000001 0x00000000 0x00002000>; |
182 | }; | 184 | }; |
183 | 185 | ||
184 | keyboard@2,0 { | 186 | keyboard@2,0 { |
185 | compatible = "intel,82C42PC"; | 187 | compatible = "intel,82C42PC"; |
186 | reg = <2 0 2>; | 188 | reg = <0x00000002 0x00000000 0x00000002>; |
187 | }; | 189 | }; |
188 | 190 | ||
189 | ir@3,0 { | 191 | ir@3,0 { |
190 | compatible = "ti,TIR2000PAG"; | 192 | compatible = "ti,TIR2000PAG"; |
191 | reg = <3 0 10>; | 193 | reg = <0x00000003 0x00000000 0x00000010>; |
192 | }; | 194 | }; |
193 | 195 | ||
194 | fpga@7,0 { | 196 | fpga@7,0 { |
195 | compatible = "Walnut-FPGA"; | 197 | compatible = "Walnut-FPGA"; |
196 | reg = <7 0 10>; | 198 | reg = <0x00000007 0x00000000 0x00000010>; |
197 | virtual-reg = <f0300005>; | 199 | virtual-reg = <0xf0300005>; |
198 | }; | 200 | }; |
199 | }; | 201 | }; |
200 | 202 | ||
@@ -205,35 +207,35 @@ | |||
205 | #address-cells = <3>; | 207 | #address-cells = <3>; |
206 | compatible = "ibm,plb405gp-pci", "ibm,plb-pci"; | 208 | compatible = "ibm,plb405gp-pci", "ibm,plb-pci"; |
207 | primary; | 209 | primary; |
208 | reg = <eec00000 8 /* Config space access */ | 210 | reg = <0xeec00000 0x00000008 /* Config space access */ |
209 | eed80000 4 /* IACK */ | 211 | 0xeed80000 0x00000004 /* IACK */ |
210 | eed80000 4 /* Special cycle */ | 212 | 0xeed80000 0x00000004 /* Special cycle */ |
211 | ef480000 40>; /* Internal registers */ | 213 | 0xef480000 0x00000040>; /* Internal registers */ |
212 | 214 | ||
213 | /* Outbound ranges, one memory and one IO, | 215 | /* Outbound ranges, one memory and one IO, |
214 | * later cannot be changed. Chip supports a second | 216 | * later cannot be changed. Chip supports a second |
215 | * IO range but we don't use it for now | 217 | * IO range but we don't use it for now |
216 | */ | 218 | */ |
217 | ranges = <02000000 0 80000000 80000000 0 20000000 | 219 | ranges = <0x02000000 0x00000000 0x80000000 0x80000000 0x00000000 0x20000000 |
218 | 01000000 0 00000000 e8000000 0 00010000>; | 220 | 0x01000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; |
219 | 221 | ||
220 | /* Inbound 2GB range starting at 0 */ | 222 | /* Inbound 2GB range starting at 0 */ |
221 | dma-ranges = <42000000 0 0 0 0 80000000>; | 223 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; |
222 | 224 | ||
223 | /* Walnut has all 4 IRQ pins tied together per slot */ | 225 | /* Walnut has all 4 IRQ pins tied together per slot */ |
224 | interrupt-map-mask = <f800 0 0 0>; | 226 | interrupt-map-mask = <0xf800 0x0 0x0 0x0>; |
225 | interrupt-map = < | 227 | interrupt-map = < |
226 | /* IDSEL 1 */ | 228 | /* IDSEL 1 */ |
227 | 0800 0 0 0 &UIC0 1c 8 | 229 | 0x800 0x0 0x0 0x0 &UIC0 0x1c 0x8 |
228 | 230 | ||
229 | /* IDSEL 2 */ | 231 | /* IDSEL 2 */ |
230 | 1000 0 0 0 &UIC0 1d 8 | 232 | 0x1000 0x0 0x0 0x0 &UIC0 0x1d 0x8 |
231 | 233 | ||
232 | /* IDSEL 3 */ | 234 | /* IDSEL 3 */ |
233 | 1800 0 0 0 &UIC0 1e 8 | 235 | 0x1800 0x0 0x0 0x0 &UIC0 0x1e 0x8 |
234 | 236 | ||
235 | /* IDSEL 4 */ | 237 | /* IDSEL 4 */ |
236 | 2000 0 0 0 &UIC0 1f 8 | 238 | 0x2000 0x0 0x0 0x0 &UIC0 0x1f 0x8 |
237 | >; | 239 | >; |
238 | }; | 240 | }; |
239 | }; | 241 | }; |
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts index b04a52e22bf5..c52e4fb89abf 100644 --- a/arch/powerpc/boot/dts/warp.dts +++ b/arch/powerpc/boot/dts/warp.dts | |||
@@ -9,12 +9,14 @@ | |||
9 | * any warranty of any kind, whether express or implied. | 9 | * any warranty of any kind, whether express or implied. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | ||
13 | |||
12 | / { | 14 | / { |
13 | #address-cells = <2>; | 15 | #address-cells = <2>; |
14 | #size-cells = <1>; | 16 | #size-cells = <1>; |
15 | model = "pika,warp"; | 17 | model = "pika,warp"; |
16 | compatible = "pika,warp"; | 18 | compatible = "pika,warp"; |
17 | dcr-parent = <&/cpus/cpu@0>; | 19 | dcr-parent = <&{/cpus/cpu@0}>; |
18 | 20 | ||
19 | aliases { | 21 | aliases { |
20 | ethernet0 = &EMAC0; | 22 | ethernet0 = &EMAC0; |
@@ -28,13 +30,13 @@ | |||
28 | cpu@0 { | 30 | cpu@0 { |
29 | device_type = "cpu"; | 31 | device_type = "cpu"; |
30 | model = "PowerPC,440EP"; | 32 | model = "PowerPC,440EP"; |
31 | reg = <0>; | 33 | reg = <0x00000000>; |
32 | clock-frequency = <0>; /* Filled in by zImage */ | 34 | clock-frequency = <0>; /* Filled in by zImage */ |
33 | timebase-frequency = <0>; /* Filled in by zImage */ | 35 | timebase-frequency = <0>; /* Filled in by zImage */ |
34 | i-cache-line-size = <20>; | 36 | i-cache-line-size = <32>; |
35 | d-cache-line-size = <20>; | 37 | d-cache-line-size = <32>; |
36 | i-cache-size = <8000>; | 38 | i-cache-size = <32768>; |
37 | d-cache-size = <8000>; | 39 | d-cache-size = <32768>; |
38 | dcr-controller; | 40 | dcr-controller; |
39 | dcr-access-method = "native"; | 41 | dcr-access-method = "native"; |
40 | }; | 42 | }; |
@@ -42,14 +44,14 @@ | |||
42 | 44 | ||
43 | memory { | 45 | memory { |
44 | device_type = "memory"; | 46 | device_type = "memory"; |
45 | reg = <0 0 0>; /* Filled in by zImage */ | 47 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
46 | }; | 48 | }; |
47 | 49 | ||
48 | UIC0: interrupt-controller0 { | 50 | UIC0: interrupt-controller0 { |
49 | compatible = "ibm,uic-440ep","ibm,uic"; | 51 | compatible = "ibm,uic-440ep","ibm,uic"; |
50 | interrupt-controller; | 52 | interrupt-controller; |
51 | cell-index = <0>; | 53 | cell-index = <0>; |
52 | dcr-reg = <0c0 009>; | 54 | dcr-reg = <0x0c0 0x009>; |
53 | #address-cells = <0>; | 55 | #address-cells = <0>; |
54 | #size-cells = <0>; | 56 | #size-cells = <0>; |
55 | #interrupt-cells = <2>; | 57 | #interrupt-cells = <2>; |
@@ -59,22 +61,22 @@ | |||
59 | compatible = "ibm,uic-440ep","ibm,uic"; | 61 | compatible = "ibm,uic-440ep","ibm,uic"; |
60 | interrupt-controller; | 62 | interrupt-controller; |
61 | cell-index = <1>; | 63 | cell-index = <1>; |
62 | dcr-reg = <0d0 009>; | 64 | dcr-reg = <0x0d0 0x009>; |
63 | #address-cells = <0>; | 65 | #address-cells = <0>; |
64 | #size-cells = <0>; | 66 | #size-cells = <0>; |
65 | #interrupt-cells = <2>; | 67 | #interrupt-cells = <2>; |
66 | interrupts = <1e 4 1f 4>; /* cascade */ | 68 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
67 | interrupt-parent = <&UIC0>; | 69 | interrupt-parent = <&UIC0>; |
68 | }; | 70 | }; |
69 | 71 | ||
70 | SDR0: sdr { | 72 | SDR0: sdr { |
71 | compatible = "ibm,sdr-440ep"; | 73 | compatible = "ibm,sdr-440ep"; |
72 | dcr-reg = <00e 002>; | 74 | dcr-reg = <0x00e 0x002>; |
73 | }; | 75 | }; |
74 | 76 | ||
75 | CPR0: cpr { | 77 | CPR0: cpr { |
76 | compatible = "ibm,cpr-440ep"; | 78 | compatible = "ibm,cpr-440ep"; |
77 | dcr-reg = <00c 002>; | 79 | dcr-reg = <0x00c 0x002>; |
78 | }; | 80 | }; |
79 | 81 | ||
80 | plb { | 82 | plb { |
@@ -86,86 +88,86 @@ | |||
86 | 88 | ||
87 | SDRAM0: sdram { | 89 | SDRAM0: sdram { |
88 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; | 90 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; |
89 | dcr-reg = <010 2>; | 91 | dcr-reg = <0x010 0x002>; |
90 | }; | 92 | }; |
91 | 93 | ||
92 | DMA0: dma { | 94 | DMA0: dma { |
93 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; | 95 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; |
94 | dcr-reg = <100 027>; | 96 | dcr-reg = <0x100 0x027>; |
95 | }; | 97 | }; |
96 | 98 | ||
97 | MAL0: mcmal { | 99 | MAL0: mcmal { |
98 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; | 100 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; |
99 | dcr-reg = <180 62>; | 101 | dcr-reg = <0x180 0x062>; |
100 | num-tx-chans = <4>; | 102 | num-tx-chans = <4>; |
101 | num-rx-chans = <2>; | 103 | num-rx-chans = <2>; |
102 | interrupt-parent = <&MAL0>; | 104 | interrupt-parent = <&MAL0>; |
103 | interrupts = <0 1 2 3 4>; | 105 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
104 | #interrupt-cells = <1>; | 106 | #interrupt-cells = <1>; |
105 | #address-cells = <0>; | 107 | #address-cells = <0>; |
106 | #size-cells = <0>; | 108 | #size-cells = <0>; |
107 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 109 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
108 | /*RXEOB*/ 1 &UIC0 b 4 | 110 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
109 | /*SERR*/ 2 &UIC1 0 4 | 111 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
110 | /*TXDE*/ 3 &UIC1 1 4 | 112 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
111 | /*RXDE*/ 4 &UIC1 2 4>; | 113 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
112 | }; | 114 | }; |
113 | 115 | ||
114 | POB0: opb { | 116 | POB0: opb { |
115 | compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; | 117 | compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; |
116 | #address-cells = <1>; | 118 | #address-cells = <1>; |
117 | #size-cells = <1>; | 119 | #size-cells = <1>; |
118 | ranges = <00000000 0 00000000 80000000 | 120 | ranges = <0x00000000 0x00000000 0x00000000 0x80000000 |
119 | 80000000 0 80000000 80000000>; | 121 | 0x80000000 0x00000000 0x80000000 0x80000000>; |
120 | interrupt-parent = <&UIC1>; | 122 | interrupt-parent = <&UIC1>; |
121 | interrupts = <7 4>; | 123 | interrupts = <0x7 0x4>; |
122 | clock-frequency = <0>; /* Filled in by zImage */ | 124 | clock-frequency = <0>; /* Filled in by zImage */ |
123 | 125 | ||
124 | EBC0: ebc { | 126 | EBC0: ebc { |
125 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; | 127 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; |
126 | dcr-reg = <012 2>; | 128 | dcr-reg = <0x012 0x002>; |
127 | #address-cells = <2>; | 129 | #address-cells = <2>; |
128 | #size-cells = <1>; | 130 | #size-cells = <1>; |
129 | clock-frequency = <0>; /* Filled in by zImage */ | 131 | clock-frequency = <0>; /* Filled in by zImage */ |
130 | interrupts = <5 1>; | 132 | interrupts = <0x5 0x1>; |
131 | interrupt-parent = <&UIC1>; | 133 | interrupt-parent = <&UIC1>; |
132 | 134 | ||
133 | fpga@2,0 { | 135 | fpga@2,0 { |
134 | compatible = "pika,fpga"; | 136 | compatible = "pika,fpga"; |
135 | reg = <2 0 2200>; | 137 | reg = <0x00000002 0x00000000 0x00002200>; |
136 | interrupts = <18 8>; | 138 | interrupts = <0x18 0x8>; |
137 | interrupt-parent = <&UIC0>; | 139 | interrupt-parent = <&UIC0>; |
138 | }; | 140 | }; |
139 | 141 | ||
140 | nor_flash@0,0 { | 142 | nor_flash@0,0 { |
141 | compatible = "amd,s29gl512n", "cfi-flash"; | 143 | compatible = "amd,s29gl512n", "cfi-flash"; |
142 | bank-width = <2>; | 144 | bank-width = <2>; |
143 | reg = <0 0 4000000>; | 145 | reg = <0x00000000 0x00000000 0x04000000>; |
144 | #address-cells = <1>; | 146 | #address-cells = <1>; |
145 | #size-cells = <1>; | 147 | #size-cells = <1>; |
146 | partition@0 { | 148 | partition@0 { |
147 | label = "kernel"; | 149 | label = "kernel"; |
148 | reg = <0 180000>; | 150 | reg = <0x00000000 0x00180000>; |
149 | }; | 151 | }; |
150 | partition@180000 { | 152 | partition@180000 { |
151 | label = "root"; | 153 | label = "root"; |
152 | reg = <180000 3480000>; | 154 | reg = <0x00180000 0x03480000>; |
153 | }; | 155 | }; |
154 | partition@3600000 { | 156 | partition@3600000 { |
155 | label = "user"; | 157 | label = "user"; |
156 | reg = <3600000 900000>; | 158 | reg = <0x03600000 0x00900000>; |
157 | }; | 159 | }; |
158 | partition@3f00000 { | 160 | partition@3f00000 { |
159 | label = "fpga"; | 161 | label = "fpga"; |
160 | reg = <3f00000 40000>; | 162 | reg = <0x03f00000 0x00040000>; |
161 | }; | 163 | }; |
162 | partition@3f40000 { | 164 | partition@3f40000 { |
163 | label = "env"; | 165 | label = "env"; |
164 | reg = <3f40000 40000>; | 166 | reg = <0x03f40000 0x00040000>; |
165 | }; | 167 | }; |
166 | partition@3f80000 { | 168 | partition@3f80000 { |
167 | label = "u-boot"; | 169 | label = "u-boot"; |
168 | reg = <3f80000 80000>; | 170 | reg = <0x03f80000 0x00080000>; |
169 | }; | 171 | }; |
170 | }; | 172 | }; |
171 | }; | 173 | }; |
@@ -173,60 +175,60 @@ | |||
173 | UART0: serial@ef600300 { | 175 | UART0: serial@ef600300 { |
174 | device_type = "serial"; | 176 | device_type = "serial"; |
175 | compatible = "ns16550"; | 177 | compatible = "ns16550"; |
176 | reg = <ef600300 8>; | 178 | reg = <0xef600300 0x00000008>; |
177 | virtual-reg = <ef600300>; | 179 | virtual-reg = <0xef600300>; |
178 | clock-frequency = <0>; /* Filled in by zImage */ | 180 | clock-frequency = <0>; /* Filled in by zImage */ |
179 | current-speed = <1c200>; | 181 | current-speed = <115200>; |
180 | interrupt-parent = <&UIC0>; | 182 | interrupt-parent = <&UIC0>; |
181 | interrupts = <0 4>; | 183 | interrupts = <0x0 0x4>; |
182 | }; | 184 | }; |
183 | 185 | ||
184 | IIC0: i2c@ef600700 { | 186 | IIC0: i2c@ef600700 { |
185 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | 187 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
186 | reg = <ef600700 14>; | 188 | reg = <0xef600700 0x00000014>; |
187 | interrupt-parent = <&UIC0>; | 189 | interrupt-parent = <&UIC0>; |
188 | interrupts = <2 4>; | 190 | interrupts = <0x2 0x4>; |
189 | }; | 191 | }; |
190 | 192 | ||
191 | GPIO0: gpio@ef600b00 { | 193 | GPIO0: gpio@ef600b00 { |
192 | compatible = "ibm,gpio-440ep"; | 194 | compatible = "ibm,gpio-440ep"; |
193 | reg = <ef600b00 48>; | 195 | reg = <0xef600b00 0x00000048>; |
194 | }; | 196 | }; |
195 | 197 | ||
196 | GPIO1: gpio@ef600c00 { | 198 | GPIO1: gpio@ef600c00 { |
197 | compatible = "ibm,gpio-440ep"; | 199 | compatible = "ibm,gpio-440ep"; |
198 | reg = <ef600c00 48>; | 200 | reg = <0xef600c00 0x00000048>; |
199 | }; | 201 | }; |
200 | 202 | ||
201 | ZMII0: emac-zmii@ef600d00 { | 203 | ZMII0: emac-zmii@ef600d00 { |
202 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; | 204 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; |
203 | reg = <ef600d00 c>; | 205 | reg = <0xef600d00 0x0000000c>; |
204 | }; | 206 | }; |
205 | 207 | ||
206 | EMAC0: ethernet@ef600e00 { | 208 | EMAC0: ethernet@ef600e00 { |
207 | device_type = "network"; | 209 | device_type = "network"; |
208 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | 210 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; |
209 | interrupt-parent = <&UIC1>; | 211 | interrupt-parent = <&UIC1>; |
210 | interrupts = <1c 4 1d 4>; | 212 | interrupts = <0x1c 0x4 0x1d 0x4>; |
211 | reg = <ef600e00 70>; | 213 | reg = <0xef600e00 0x00000070>; |
212 | local-mac-address = [000000000000]; | 214 | local-mac-address = [000000000000]; |
213 | mal-device = <&MAL0>; | 215 | mal-device = <&MAL0>; |
214 | mal-tx-channel = <0 1>; | 216 | mal-tx-channel = <0 1>; |
215 | mal-rx-channel = <0>; | 217 | mal-rx-channel = <0>; |
216 | cell-index = <0>; | 218 | cell-index = <0>; |
217 | max-frame-size = <5dc>; | 219 | max-frame-size = <1500>; |
218 | rx-fifo-size = <1000>; | 220 | rx-fifo-size = <4096>; |
219 | tx-fifo-size = <800>; | 221 | tx-fifo-size = <2048>; |
220 | phy-mode = "rmii"; | 222 | phy-mode = "rmii"; |
221 | phy-map = <00000000>; | 223 | phy-map = <0x00000000>; |
222 | zmii-device = <&ZMII0>; | 224 | zmii-device = <&ZMII0>; |
223 | zmii-channel = <0>; | 225 | zmii-channel = <0>; |
224 | }; | 226 | }; |
225 | 227 | ||
226 | usb@ef601000 { | 228 | usb@ef601000 { |
227 | compatible = "ohci-be"; | 229 | compatible = "ohci-be"; |
228 | reg = <ef601000 80>; | 230 | reg = <0xef601000 0x00000080>; |
229 | interrupts = <8 1 9 1>; | 231 | interrupts = <0x8 0x1 0x9 0x1>; |
230 | interrupt-parent = < &UIC1 >; | 232 | interrupt-parent = < &UIC1 >; |
231 | }; | 233 | }; |
232 | }; | 234 | }; |
diff --git a/arch/powerpc/boot/dts/yosemite.dts b/arch/powerpc/boot/dts/yosemite.dts index 0d6d332814e0..e39422aa0d85 100644 --- a/arch/powerpc/boot/dts/yosemite.dts +++ b/arch/powerpc/boot/dts/yosemite.dts | |||
@@ -9,12 +9,14 @@ | |||
9 | * any warranty of any kind, whether express or implied. | 9 | * any warranty of any kind, whether express or implied. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | ||
13 | |||
12 | / { | 14 | / { |
13 | #address-cells = <2>; | 15 | #address-cells = <2>; |
14 | #size-cells = <1>; | 16 | #size-cells = <1>; |
15 | model = "amcc,yosemite"; | 17 | model = "amcc,yosemite"; |
16 | compatible = "amcc,yosemite","amcc,bamboo"; | 18 | compatible = "amcc,yosemite","amcc,bamboo"; |
17 | dcr-parent = <&/cpus/cpu@0>; | 19 | dcr-parent = <&{/cpus/cpu@0}>; |
18 | 20 | ||
19 | aliases { | 21 | aliases { |
20 | ethernet0 = &EMAC0; | 22 | ethernet0 = &EMAC0; |
@@ -32,13 +34,13 @@ | |||
32 | cpu@0 { | 34 | cpu@0 { |
33 | device_type = "cpu"; | 35 | device_type = "cpu"; |
34 | model = "PowerPC,440EP"; | 36 | model = "PowerPC,440EP"; |
35 | reg = <0>; | 37 | reg = <0x00000000>; |
36 | clock-frequency = <0>; /* Filled in by zImage */ | 38 | clock-frequency = <0>; /* Filled in by zImage */ |
37 | timebase-frequency = <0>; /* Filled in by zImage */ | 39 | timebase-frequency = <0>; /* Filled in by zImage */ |
38 | i-cache-line-size = <20>; | 40 | i-cache-line-size = <32>; |
39 | d-cache-line-size = <20>; | 41 | d-cache-line-size = <32>; |
40 | i-cache-size = <8000>; | 42 | i-cache-size = <32768>; |
41 | d-cache-size = <8000>; | 43 | d-cache-size = <32768>; |
42 | dcr-controller; | 44 | dcr-controller; |
43 | dcr-access-method = "native"; | 45 | dcr-access-method = "native"; |
44 | }; | 46 | }; |
@@ -46,14 +48,14 @@ | |||
46 | 48 | ||
47 | memory { | 49 | memory { |
48 | device_type = "memory"; | 50 | device_type = "memory"; |
49 | reg = <0 0 0>; /* Filled in by zImage */ | 51 | reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by zImage */ |
50 | }; | 52 | }; |
51 | 53 | ||
52 | UIC0: interrupt-controller0 { | 54 | UIC0: interrupt-controller0 { |
53 | compatible = "ibm,uic-440ep","ibm,uic"; | 55 | compatible = "ibm,uic-440ep","ibm,uic"; |
54 | interrupt-controller; | 56 | interrupt-controller; |
55 | cell-index = <0>; | 57 | cell-index = <0>; |
56 | dcr-reg = <0c0 009>; | 58 | dcr-reg = <0x0c0 0x009>; |
57 | #address-cells = <0>; | 59 | #address-cells = <0>; |
58 | #size-cells = <0>; | 60 | #size-cells = <0>; |
59 | #interrupt-cells = <2>; | 61 | #interrupt-cells = <2>; |
@@ -63,22 +65,22 @@ | |||
63 | compatible = "ibm,uic-440ep","ibm,uic"; | 65 | compatible = "ibm,uic-440ep","ibm,uic"; |
64 | interrupt-controller; | 66 | interrupt-controller; |
65 | cell-index = <1>; | 67 | cell-index = <1>; |
66 | dcr-reg = <0d0 009>; | 68 | dcr-reg = <0x0d0 0x009>; |
67 | #address-cells = <0>; | 69 | #address-cells = <0>; |
68 | #size-cells = <0>; | 70 | #size-cells = <0>; |
69 | #interrupt-cells = <2>; | 71 | #interrupt-cells = <2>; |
70 | interrupts = <1e 4 1f 4>; /* cascade */ | 72 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ |
71 | interrupt-parent = <&UIC0>; | 73 | interrupt-parent = <&UIC0>; |
72 | }; | 74 | }; |
73 | 75 | ||
74 | SDR0: sdr { | 76 | SDR0: sdr { |
75 | compatible = "ibm,sdr-440ep"; | 77 | compatible = "ibm,sdr-440ep"; |
76 | dcr-reg = <00e 002>; | 78 | dcr-reg = <0x00e 0x002>; |
77 | }; | 79 | }; |
78 | 80 | ||
79 | CPR0: cpr { | 81 | CPR0: cpr { |
80 | compatible = "ibm,cpr-440ep"; | 82 | compatible = "ibm,cpr-440ep"; |
81 | dcr-reg = <00c 002>; | 83 | dcr-reg = <0x00c 0x002>; |
82 | }; | 84 | }; |
83 | 85 | ||
84 | plb { | 86 | plb { |
@@ -90,29 +92,29 @@ | |||
90 | 92 | ||
91 | SDRAM0: sdram { | 93 | SDRAM0: sdram { |
92 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; | 94 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; |
93 | dcr-reg = <010 2>; | 95 | dcr-reg = <0x010 0x002>; |
94 | }; | 96 | }; |
95 | 97 | ||
96 | DMA0: dma { | 98 | DMA0: dma { |
97 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; | 99 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; |
98 | dcr-reg = <100 027>; | 100 | dcr-reg = <0x100 0x027>; |
99 | }; | 101 | }; |
100 | 102 | ||
101 | MAL0: mcmal { | 103 | MAL0: mcmal { |
102 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; | 104 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; |
103 | dcr-reg = <180 62>; | 105 | dcr-reg = <0x180 0x062>; |
104 | num-tx-chans = <4>; | 106 | num-tx-chans = <4>; |
105 | num-rx-chans = <2>; | 107 | num-rx-chans = <2>; |
106 | interrupt-parent = <&MAL0>; | 108 | interrupt-parent = <&MAL0>; |
107 | interrupts = <0 1 2 3 4>; | 109 | interrupts = <0x0 0x1 0x2 0x3 0x4>; |
108 | #interrupt-cells = <1>; | 110 | #interrupt-cells = <1>; |
109 | #address-cells = <0>; | 111 | #address-cells = <0>; |
110 | #size-cells = <0>; | 112 | #size-cells = <0>; |
111 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | 113 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 |
112 | /*RXEOB*/ 1 &UIC0 b 4 | 114 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 |
113 | /*SERR*/ 2 &UIC1 0 4 | 115 | /*SERR*/ 0x2 &UIC1 0x0 0x4 |
114 | /*TXDE*/ 3 &UIC1 1 4 | 116 | /*TXDE*/ 0x3 &UIC1 0x1 0x4 |
115 | /*RXDE*/ 4 &UIC1 2 4>; | 117 | /*RXDE*/ 0x4 &UIC1 0x2 0x4>; |
116 | }; | 118 | }; |
117 | 119 | ||
118 | POB0: opb { | 120 | POB0: opb { |
@@ -122,110 +124,110 @@ | |||
122 | /* Bamboo is oddball in the 44x world and doesn't use the ERPN | 124 | /* Bamboo is oddball in the 44x world and doesn't use the ERPN |
123 | * bits. | 125 | * bits. |
124 | */ | 126 | */ |
125 | ranges = <00000000 0 00000000 80000000 | 127 | ranges = <0x00000000 0x00000000 0x00000000 0x80000000 |
126 | 80000000 0 80000000 80000000>; | 128 | 0x80000000 0x00000000 0x80000000 0x80000000>; |
127 | interrupt-parent = <&UIC1>; | 129 | interrupt-parent = <&UIC1>; |
128 | interrupts = <7 4>; | 130 | interrupts = <0x7 0x4>; |
129 | clock-frequency = <0>; /* Filled in by zImage */ | 131 | clock-frequency = <0>; /* Filled in by zImage */ |
130 | 132 | ||
131 | EBC0: ebc { | 133 | EBC0: ebc { |
132 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; | 134 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; |
133 | dcr-reg = <012 2>; | 135 | dcr-reg = <0x012 0x002>; |
134 | #address-cells = <2>; | 136 | #address-cells = <2>; |
135 | #size-cells = <1>; | 137 | #size-cells = <1>; |
136 | clock-frequency = <0>; /* Filled in by zImage */ | 138 | clock-frequency = <0>; /* Filled in by zImage */ |
137 | interrupts = <5 1>; | 139 | interrupts = <0x5 0x1>; |
138 | interrupt-parent = <&UIC1>; | 140 | interrupt-parent = <&UIC1>; |
139 | }; | 141 | }; |
140 | 142 | ||
141 | UART0: serial@ef600300 { | 143 | UART0: serial@ef600300 { |
142 | device_type = "serial"; | 144 | device_type = "serial"; |
143 | compatible = "ns16550"; | 145 | compatible = "ns16550"; |
144 | reg = <ef600300 8>; | 146 | reg = <0xef600300 0x00000008>; |
145 | virtual-reg = <ef600300>; | 147 | virtual-reg = <0xef600300>; |
146 | clock-frequency = <0>; /* Filled in by zImage */ | 148 | clock-frequency = <0>; /* Filled in by zImage */ |
147 | current-speed = <1c200>; | 149 | current-speed = <115200>; |
148 | interrupt-parent = <&UIC0>; | 150 | interrupt-parent = <&UIC0>; |
149 | interrupts = <0 4>; | 151 | interrupts = <0x0 0x4>; |
150 | }; | 152 | }; |
151 | 153 | ||
152 | UART1: serial@ef600400 { | 154 | UART1: serial@ef600400 { |
153 | device_type = "serial"; | 155 | device_type = "serial"; |
154 | compatible = "ns16550"; | 156 | compatible = "ns16550"; |
155 | reg = <ef600400 8>; | 157 | reg = <0xef600400 0x00000008>; |
156 | virtual-reg = <ef600400>; | 158 | virtual-reg = <0xef600400>; |
157 | clock-frequency = <0>; | 159 | clock-frequency = <0>; |
158 | current-speed = <0>; | 160 | current-speed = <0>; |
159 | interrupt-parent = <&UIC0>; | 161 | interrupt-parent = <&UIC0>; |
160 | interrupts = <1 4>; | 162 | interrupts = <0x1 0x4>; |
161 | }; | 163 | }; |
162 | 164 | ||
163 | UART2: serial@ef600500 { | 165 | UART2: serial@ef600500 { |
164 | device_type = "serial"; | 166 | device_type = "serial"; |
165 | compatible = "ns16550"; | 167 | compatible = "ns16550"; |
166 | reg = <ef600500 8>; | 168 | reg = <0xef600500 0x00000008>; |
167 | virtual-reg = <ef600500>; | 169 | virtual-reg = <0xef600500>; |
168 | clock-frequency = <0>; | 170 | clock-frequency = <0>; |
169 | current-speed = <0>; | 171 | current-speed = <0>; |
170 | interrupt-parent = <&UIC0>; | 172 | interrupt-parent = <&UIC0>; |
171 | interrupts = <3 4>; | 173 | interrupts = <0x3 0x4>; |
172 | status = "disabled"; | 174 | status = "disabled"; |
173 | }; | 175 | }; |
174 | 176 | ||
175 | UART3: serial@ef600600 { | 177 | UART3: serial@ef600600 { |
176 | device_type = "serial"; | 178 | device_type = "serial"; |
177 | compatible = "ns16550"; | 179 | compatible = "ns16550"; |
178 | reg = <ef600600 8>; | 180 | reg = <0xef600600 0x00000008>; |
179 | virtual-reg = <ef600600>; | 181 | virtual-reg = <0xef600600>; |
180 | clock-frequency = <0>; | 182 | clock-frequency = <0>; |
181 | current-speed = <0>; | 183 | current-speed = <0>; |
182 | interrupt-parent = <&UIC0>; | 184 | interrupt-parent = <&UIC0>; |
183 | interrupts = <4 4>; | 185 | interrupts = <0x4 0x4>; |
184 | status = "disabled"; | 186 | status = "disabled"; |
185 | }; | 187 | }; |
186 | 188 | ||
187 | IIC0: i2c@ef600700 { | 189 | IIC0: i2c@ef600700 { |
188 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | 190 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
189 | reg = <ef600700 14>; | 191 | reg = <0xef600700 0x00000014>; |
190 | interrupt-parent = <&UIC0>; | 192 | interrupt-parent = <&UIC0>; |
191 | interrupts = <2 4>; | 193 | interrupts = <0x2 0x4>; |
192 | }; | 194 | }; |
193 | 195 | ||
194 | IIC1: i2c@ef600800 { | 196 | IIC1: i2c@ef600800 { |
195 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | 197 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; |
196 | reg = <ef600800 14>; | 198 | reg = <0xef600800 0x00000014>; |
197 | interrupt-parent = <&UIC0>; | 199 | interrupt-parent = <&UIC0>; |
198 | interrupts = <7 4>; | 200 | interrupts = <0x7 0x4>; |
199 | }; | 201 | }; |
200 | 202 | ||
201 | spi@ef600900 { | 203 | spi@ef600900 { |
202 | compatible = "amcc,spi-440ep"; | 204 | compatible = "amcc,spi-440ep"; |
203 | reg = <ef600900 6>; | 205 | reg = <0xef600900 0x00000006>; |
204 | interrupts = <8 4>; | 206 | interrupts = <0x8 0x4>; |
205 | interrupt-parent = <&UIC0>; | 207 | interrupt-parent = <&UIC0>; |
206 | }; | 208 | }; |
207 | 209 | ||
208 | ZMII0: emac-zmii@ef600d00 { | 210 | ZMII0: emac-zmii@ef600d00 { |
209 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; | 211 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; |
210 | reg = <ef600d00 c>; | 212 | reg = <0xef600d00 0x0000000c>; |
211 | }; | 213 | }; |
212 | 214 | ||
213 | EMAC0: ethernet@ef600e00 { | 215 | EMAC0: ethernet@ef600e00 { |
214 | device_type = "network"; | 216 | device_type = "network"; |
215 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | 217 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; |
216 | interrupt-parent = <&UIC1>; | 218 | interrupt-parent = <&UIC1>; |
217 | interrupts = <1c 4 1d 4>; | 219 | interrupts = <0x1c 0x4 0x1d 0x4>; |
218 | reg = <ef600e00 70>; | 220 | reg = <0xef600e00 0x00000070>; |
219 | local-mac-address = [000000000000]; | 221 | local-mac-address = [000000000000]; |
220 | mal-device = <&MAL0>; | 222 | mal-device = <&MAL0>; |
221 | mal-tx-channel = <0 1>; | 223 | mal-tx-channel = <0 1>; |
222 | mal-rx-channel = <0>; | 224 | mal-rx-channel = <0>; |
223 | cell-index = <0>; | 225 | cell-index = <0>; |
224 | max-frame-size = <5dc>; | 226 | max-frame-size = <1500>; |
225 | rx-fifo-size = <1000>; | 227 | rx-fifo-size = <4096>; |
226 | tx-fifo-size = <800>; | 228 | tx-fifo-size = <2048>; |
227 | phy-mode = "rmii"; | 229 | phy-mode = "rmii"; |
228 | phy-map = <00000000>; | 230 | phy-map = <0x00000000>; |
229 | zmii-device = <&ZMII0>; | 231 | zmii-device = <&ZMII0>; |
230 | zmii-channel = <0>; | 232 | zmii-channel = <0>; |
231 | }; | 233 | }; |
@@ -234,26 +236,26 @@ | |||
234 | device_type = "network"; | 236 | device_type = "network"; |
235 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | 237 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; |
236 | interrupt-parent = <&UIC1>; | 238 | interrupt-parent = <&UIC1>; |
237 | interrupts = <1e 4 1f 4>; | 239 | interrupts = <0x1e 0x4 0x1f 0x4>; |
238 | reg = <ef600f00 70>; | 240 | reg = <0xef600f00 0x00000070>; |
239 | local-mac-address = [000000000000]; | 241 | local-mac-address = [000000000000]; |
240 | mal-device = <&MAL0>; | 242 | mal-device = <&MAL0>; |
241 | mal-tx-channel = <2 3>; | 243 | mal-tx-channel = <2 3>; |
242 | mal-rx-channel = <1>; | 244 | mal-rx-channel = <1>; |
243 | cell-index = <1>; | 245 | cell-index = <1>; |
244 | max-frame-size = <5dc>; | 246 | max-frame-size = <1500>; |
245 | rx-fifo-size = <1000>; | 247 | rx-fifo-size = <4096>; |
246 | tx-fifo-size = <800>; | 248 | tx-fifo-size = <2048>; |
247 | phy-mode = "rmii"; | 249 | phy-mode = "rmii"; |
248 | phy-map = <00000000>; | 250 | phy-map = <0x00000000>; |
249 | zmii-device = <&ZMII0>; | 251 | zmii-device = <&ZMII0>; |
250 | zmii-channel = <1>; | 252 | zmii-channel = <1>; |
251 | }; | 253 | }; |
252 | 254 | ||
253 | usb@ef601000 { | 255 | usb@ef601000 { |
254 | compatible = "ohci-be"; | 256 | compatible = "ohci-be"; |
255 | reg = <ef601000 80>; | 257 | reg = <0xef601000 0x00000080>; |
256 | interrupts = <8 4 9 4>; | 258 | interrupts = <0x8 0x4 0x9 0x4>; |
257 | interrupt-parent = < &UIC1 >; | 259 | interrupt-parent = < &UIC1 >; |
258 | }; | 260 | }; |
259 | }; | 261 | }; |
@@ -265,35 +267,35 @@ | |||
265 | #address-cells = <3>; | 267 | #address-cells = <3>; |
266 | compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; | 268 | compatible = "ibm,plb440ep-pci", "ibm,plb-pci"; |
267 | primary; | 269 | primary; |
268 | reg = <0 eec00000 8 /* Config space access */ | 270 | reg = <0x00000000 0xeec00000 0x00000008 /* Config space access */ |
269 | 0 eed00000 4 /* IACK */ | 271 | 0x00000000 0xeed00000 0x00000004 /* IACK */ |
270 | 0 eed00000 4 /* Special cycle */ | 272 | 0x00000000 0xeed00000 0x00000004 /* Special cycle */ |
271 | 0 ef400000 40>; /* Internal registers */ | 273 | 0x00000000 0xef400000 0x00000040>; /* Internal registers */ |
272 | 274 | ||
273 | /* Outbound ranges, one memory and one IO, | 275 | /* Outbound ranges, one memory and one IO, |
274 | * later cannot be changed. Chip supports a second | 276 | * later cannot be changed. Chip supports a second |
275 | * IO range but we don't use it for now | 277 | * IO range but we don't use it for now |
276 | */ | 278 | */ |
277 | ranges = <02000000 0 a0000000 0 a0000000 0 20000000 | 279 | ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x20000000 |
278 | 01000000 0 00000000 0 e8000000 0 00010000>; | 280 | 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; |
279 | 281 | ||
280 | /* Inbound 2GB range starting at 0 */ | 282 | /* Inbound 2GB range starting at 0 */ |
281 | dma-ranges = <42000000 0 0 0 0 0 80000000>; | 283 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; |
282 | 284 | ||
283 | /* Bamboo has all 4 IRQ pins tied together per slot */ | 285 | /* Bamboo has all 4 IRQ pins tied together per slot */ |
284 | interrupt-map-mask = <f800 0 0 0>; | 286 | interrupt-map-mask = <0xf800 0x0 0x0 0x0>; |
285 | interrupt-map = < | 287 | interrupt-map = < |
286 | /* IDSEL 1 */ | 288 | /* IDSEL 1 */ |
287 | 0800 0 0 0 &UIC0 1c 8 | 289 | 0x800 0x0 0x0 0x0 &UIC0 0x1c 0x8 |
288 | 290 | ||
289 | /* IDSEL 2 */ | 291 | /* IDSEL 2 */ |
290 | 1000 0 0 0 &UIC0 1b 8 | 292 | 0x1000 0x0 0x0 0x0 &UIC0 0x1b 0x8 |
291 | 293 | ||
292 | /* IDSEL 3 */ | 294 | /* IDSEL 3 */ |
293 | 1800 0 0 0 &UIC0 1a 8 | 295 | 0x1800 0x0 0x0 0x0 &UIC0 0x1a 0x8 |
294 | 296 | ||
295 | /* IDSEL 4 */ | 297 | /* IDSEL 4 */ |
296 | 2000 0 0 0 &UIC0 19 8 | 298 | 0x2000 0x0 0x0 0x0 &UIC0 0x19 0x8 |
297 | >; | 299 | >; |
298 | }; | 300 | }; |
299 | }; | 301 | }; |