diff options
Diffstat (limited to 'arch/powerpc/boot/dts/p1020rdb.dts')
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb.dts | 332 |
1 files changed, 19 insertions, 313 deletions
diff --git a/arch/powerpc/boot/dts/p1020rdb.dts b/arch/powerpc/boot/dts/p1020rdb.dts index e0668f877794..d6a8ae458137 100644 --- a/arch/powerpc/boot/dts/p1020rdb.dts +++ b/arch/powerpc/boot/dts/p1020rdb.dts | |||
@@ -9,12 +9,11 @@ | |||
9 | * option) any later version. | 9 | * option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | /dts-v1/; | 12 | /include/ "p1020si.dtsi" |
13 | |||
13 | / { | 14 | / { |
14 | model = "fsl,P1020"; | 15 | model = "fsl,P1020RDB"; |
15 | compatible = "fsl,P1020RDB"; | 16 | compatible = "fsl,P1020RDB"; |
16 | #address-cells = <2>; | ||
17 | #size-cells = <2>; | ||
18 | 17 | ||
19 | aliases { | 18 | aliases { |
20 | serial0 = &serial0; | 19 | serial0 = &serial0; |
@@ -26,34 +25,11 @@ | |||
26 | pci1 = &pci1; | 25 | pci1 = &pci1; |
27 | }; | 26 | }; |
28 | 27 | ||
29 | cpus { | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <0>; | ||
32 | |||
33 | PowerPC,P1020@0 { | ||
34 | device_type = "cpu"; | ||
35 | reg = <0x0>; | ||
36 | next-level-cache = <&L2>; | ||
37 | }; | ||
38 | |||
39 | PowerPC,P1020@1 { | ||
40 | device_type = "cpu"; | ||
41 | reg = <0x1>; | ||
42 | next-level-cache = <&L2>; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | memory { | 28 | memory { |
47 | device_type = "memory"; | 29 | device_type = "memory"; |
48 | }; | 30 | }; |
49 | 31 | ||
50 | localbus@ffe05000 { | 32 | localbus@ffe05000 { |
51 | #address-cells = <2>; | ||
52 | #size-cells = <1>; | ||
53 | compatible = "fsl,p1020-elbc", "fsl,elbc", "simple-bus"; | ||
54 | reg = <0 0xffe05000 0 0x1000>; | ||
55 | interrupts = <19 2>; | ||
56 | interrupt-parent = <&mpic>; | ||
57 | 33 | ||
58 | /* NOR, NAND Flashes and Vitesse 5 port L2 switch */ | 34 | /* NOR, NAND Flashes and Vitesse 5 port L2 switch */ |
59 | ranges = <0x0 0x0 0x0 0xef000000 0x01000000 | 35 | ranges = <0x0 0x0 0x0 0xef000000 0x01000000 |
@@ -165,88 +141,14 @@ | |||
165 | }; | 141 | }; |
166 | 142 | ||
167 | soc@ffe00000 { | 143 | soc@ffe00000 { |
168 | #address-cells = <1>; | ||
169 | #size-cells = <1>; | ||
170 | device_type = "soc"; | ||
171 | compatible = "fsl,p1020-immr", "simple-bus"; | ||
172 | ranges = <0x0 0x0 0xffe00000 0x100000>; | ||
173 | bus-frequency = <0>; // Filled out by uboot. | ||
174 | |||
175 | ecm-law@0 { | ||
176 | compatible = "fsl,ecm-law"; | ||
177 | reg = <0x0 0x1000>; | ||
178 | fsl,num-laws = <12>; | ||
179 | }; | ||
180 | |||
181 | ecm@1000 { | ||
182 | compatible = "fsl,p1020-ecm", "fsl,ecm"; | ||
183 | reg = <0x1000 0x1000>; | ||
184 | interrupts = <16 2>; | ||
185 | interrupt-parent = <&mpic>; | ||
186 | }; | ||
187 | |||
188 | memory-controller@2000 { | ||
189 | compatible = "fsl,p1020-memory-controller"; | ||
190 | reg = <0x2000 0x1000>; | ||
191 | interrupt-parent = <&mpic>; | ||
192 | interrupts = <16 2>; | ||
193 | }; | ||
194 | |||
195 | i2c@3000 { | 144 | i2c@3000 { |
196 | #address-cells = <1>; | ||
197 | #size-cells = <0>; | ||
198 | cell-index = <0>; | ||
199 | compatible = "fsl-i2c"; | ||
200 | reg = <0x3000 0x100>; | ||
201 | interrupts = <43 2>; | ||
202 | interrupt-parent = <&mpic>; | ||
203 | dfsrr; | ||
204 | rtc@68 { | 145 | rtc@68 { |
205 | compatible = "dallas,ds1339"; | 146 | compatible = "dallas,ds1339"; |
206 | reg = <0x68>; | 147 | reg = <0x68>; |
207 | }; | 148 | }; |
208 | }; | 149 | }; |
209 | 150 | ||
210 | i2c@3100 { | ||
211 | #address-cells = <1>; | ||
212 | #size-cells = <0>; | ||
213 | cell-index = <1>; | ||
214 | compatible = "fsl-i2c"; | ||
215 | reg = <0x3100 0x100>; | ||
216 | interrupts = <43 2>; | ||
217 | interrupt-parent = <&mpic>; | ||
218 | dfsrr; | ||
219 | }; | ||
220 | |||
221 | serial0: serial@4500 { | ||
222 | cell-index = <0>; | ||
223 | device_type = "serial"; | ||
224 | compatible = "ns16550"; | ||
225 | reg = <0x4500 0x100>; | ||
226 | clock-frequency = <0>; | ||
227 | interrupts = <42 2>; | ||
228 | interrupt-parent = <&mpic>; | ||
229 | }; | ||
230 | |||
231 | serial1: serial@4600 { | ||
232 | cell-index = <1>; | ||
233 | device_type = "serial"; | ||
234 | compatible = "ns16550"; | ||
235 | reg = <0x4600 0x100>; | ||
236 | clock-frequency = <0>; | ||
237 | interrupts = <42 2>; | ||
238 | interrupt-parent = <&mpic>; | ||
239 | }; | ||
240 | |||
241 | spi@7000 { | 151 | spi@7000 { |
242 | cell-index = <0>; | ||
243 | #address-cells = <1>; | ||
244 | #size-cells = <0>; | ||
245 | compatible = "fsl,espi"; | ||
246 | reg = <0x7000 0x1000>; | ||
247 | interrupts = <59 0x2>; | ||
248 | interrupt-parent = <&mpic>; | ||
249 | mode = "cpu"; | ||
250 | 152 | ||
251 | fsl_m25p80@0 { | 153 | fsl_m25p80@0 { |
252 | #address-cells = <1>; | 154 | #address-cells = <1>; |
@@ -294,66 +196,7 @@ | |||
294 | }; | 196 | }; |
295 | }; | 197 | }; |
296 | 198 | ||
297 | gpio: gpio-controller@f000 { | ||
298 | #gpio-cells = <2>; | ||
299 | compatible = "fsl,mpc8572-gpio"; | ||
300 | reg = <0xf000 0x100>; | ||
301 | interrupts = <47 0x2>; | ||
302 | interrupt-parent = <&mpic>; | ||
303 | gpio-controller; | ||
304 | }; | ||
305 | |||
306 | L2: l2-cache-controller@20000 { | ||
307 | compatible = "fsl,p1020-l2-cache-controller"; | ||
308 | reg = <0x20000 0x1000>; | ||
309 | cache-line-size = <32>; // 32 bytes | ||
310 | cache-size = <0x40000>; // L2,256K | ||
311 | interrupt-parent = <&mpic>; | ||
312 | interrupts = <16 2>; | ||
313 | }; | ||
314 | |||
315 | dma@21300 { | ||
316 | #address-cells = <1>; | ||
317 | #size-cells = <1>; | ||
318 | compatible = "fsl,eloplus-dma"; | ||
319 | reg = <0x21300 0x4>; | ||
320 | ranges = <0x0 0x21100 0x200>; | ||
321 | cell-index = <0>; | ||
322 | dma-channel@0 { | ||
323 | compatible = "fsl,eloplus-dma-channel"; | ||
324 | reg = <0x0 0x80>; | ||
325 | cell-index = <0>; | ||
326 | interrupt-parent = <&mpic>; | ||
327 | interrupts = <20 2>; | ||
328 | }; | ||
329 | dma-channel@80 { | ||
330 | compatible = "fsl,eloplus-dma-channel"; | ||
331 | reg = <0x80 0x80>; | ||
332 | cell-index = <1>; | ||
333 | interrupt-parent = <&mpic>; | ||
334 | interrupts = <21 2>; | ||
335 | }; | ||
336 | dma-channel@100 { | ||
337 | compatible = "fsl,eloplus-dma-channel"; | ||
338 | reg = <0x100 0x80>; | ||
339 | cell-index = <2>; | ||
340 | interrupt-parent = <&mpic>; | ||
341 | interrupts = <22 2>; | ||
342 | }; | ||
343 | dma-channel@180 { | ||
344 | compatible = "fsl,eloplus-dma-channel"; | ||
345 | reg = <0x180 0x80>; | ||
346 | cell-index = <3>; | ||
347 | interrupt-parent = <&mpic>; | ||
348 | interrupts = <23 2>; | ||
349 | }; | ||
350 | }; | ||
351 | |||
352 | mdio@24000 { | 199 | mdio@24000 { |
353 | #address-cells = <1>; | ||
354 | #size-cells = <0>; | ||
355 | compatible = "fsl,etsec2-mdio"; | ||
356 | reg = <0x24000 0x1000 0xb0030 0x4>; | ||
357 | 200 | ||
358 | phy0: ethernet-phy@0 { | 201 | phy0: ethernet-phy@0 { |
359 | interrupt-parent = <&mpic>; | 202 | interrupt-parent = <&mpic>; |
@@ -369,10 +212,6 @@ | |||
369 | }; | 212 | }; |
370 | 213 | ||
371 | mdio@25000 { | 214 | mdio@25000 { |
372 | #address-cells = <1>; | ||
373 | #size-cells = <0>; | ||
374 | compatible = "fsl,etsec2-tbi"; | ||
375 | reg = <0x25000 0x1000 0xb1030 0x4>; | ||
376 | 215 | ||
377 | tbi0: tbi-phy@11 { | 216 | tbi0: tbi-phy@11 { |
378 | reg = <0x11>; | 217 | reg = <0x11>; |
@@ -381,97 +220,25 @@ | |||
381 | }; | 220 | }; |
382 | 221 | ||
383 | enet0: ethernet@b0000 { | 222 | enet0: ethernet@b0000 { |
384 | #address-cells = <1>; | ||
385 | #size-cells = <1>; | ||
386 | device_type = "network"; | ||
387 | model = "eTSEC"; | ||
388 | compatible = "fsl,etsec2"; | ||
389 | fsl,num_rx_queues = <0x8>; | ||
390 | fsl,num_tx_queues = <0x8>; | ||
391 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
392 | interrupt-parent = <&mpic>; | ||
393 | fixed-link = <1 1 1000 0 0>; | 223 | fixed-link = <1 1 1000 0 0>; |
394 | phy-connection-type = "rgmii-id"; | 224 | phy-connection-type = "rgmii-id"; |
395 | 225 | ||
396 | queue-group@0 { | ||
397 | #address-cells = <1>; | ||
398 | #size-cells = <1>; | ||
399 | reg = <0xb0000 0x1000>; | ||
400 | interrupts = <29 2 30 2 34 2>; | ||
401 | }; | ||
402 | |||
403 | queue-group@1 { | ||
404 | #address-cells = <1>; | ||
405 | #size-cells = <1>; | ||
406 | reg = <0xb4000 0x1000>; | ||
407 | interrupts = <17 2 18 2 24 2>; | ||
408 | }; | ||
409 | }; | 226 | }; |
410 | 227 | ||
411 | enet1: ethernet@b1000 { | 228 | enet1: ethernet@b1000 { |
412 | #address-cells = <1>; | ||
413 | #size-cells = <1>; | ||
414 | device_type = "network"; | ||
415 | model = "eTSEC"; | ||
416 | compatible = "fsl,etsec2"; | ||
417 | fsl,num_rx_queues = <0x8>; | ||
418 | fsl,num_tx_queues = <0x8>; | ||
419 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
420 | interrupt-parent = <&mpic>; | ||
421 | phy-handle = <&phy0>; | 229 | phy-handle = <&phy0>; |
422 | tbi-handle = <&tbi0>; | 230 | tbi-handle = <&tbi0>; |
423 | phy-connection-type = "sgmii"; | 231 | phy-connection-type = "sgmii"; |
424 | 232 | ||
425 | queue-group@0 { | ||
426 | #address-cells = <1>; | ||
427 | #size-cells = <1>; | ||
428 | reg = <0xb1000 0x1000>; | ||
429 | interrupts = <35 2 36 2 40 2>; | ||
430 | }; | ||
431 | |||
432 | queue-group@1 { | ||
433 | #address-cells = <1>; | ||
434 | #size-cells = <1>; | ||
435 | reg = <0xb5000 0x1000>; | ||
436 | interrupts = <51 2 52 2 67 2>; | ||
437 | }; | ||
438 | }; | 233 | }; |
439 | 234 | ||
440 | enet2: ethernet@b2000 { | 235 | enet2: ethernet@b2000 { |
441 | #address-cells = <1>; | ||
442 | #size-cells = <1>; | ||
443 | device_type = "network"; | ||
444 | model = "eTSEC"; | ||
445 | compatible = "fsl,etsec2"; | ||
446 | fsl,num_rx_queues = <0x8>; | ||
447 | fsl,num_tx_queues = <0x8>; | ||
448 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
449 | interrupt-parent = <&mpic>; | ||
450 | phy-handle = <&phy1>; | 236 | phy-handle = <&phy1>; |
451 | phy-connection-type = "rgmii-id"; | 237 | phy-connection-type = "rgmii-id"; |
452 | 238 | ||
453 | queue-group@0 { | ||
454 | #address-cells = <1>; | ||
455 | #size-cells = <1>; | ||
456 | reg = <0xb2000 0x1000>; | ||
457 | interrupts = <31 2 32 2 33 2>; | ||
458 | }; | ||
459 | |||
460 | queue-group@1 { | ||
461 | #address-cells = <1>; | ||
462 | #size-cells = <1>; | ||
463 | reg = <0xb6000 0x1000>; | ||
464 | interrupts = <25 2 26 2 27 2>; | ||
465 | }; | ||
466 | }; | 239 | }; |
467 | 240 | ||
468 | usb@22000 { | 241 | usb@22000 { |
469 | #address-cells = <1>; | ||
470 | #size-cells = <0>; | ||
471 | compatible = "fsl-usb2-dr"; | ||
472 | reg = <0x22000 0x1000>; | ||
473 | interrupt-parent = <&mpic>; | ||
474 | interrupts = <28 0x2>; | ||
475 | phy_type = "ulpi"; | 242 | phy_type = "ulpi"; |
476 | }; | 243 | }; |
477 | 244 | ||
@@ -481,82 +248,23 @@ | |||
481 | it enables USB2. OTOH, U-Boot does create a new node | 248 | it enables USB2. OTOH, U-Boot does create a new node |
482 | when there isn't any. So, just comment it out. | 249 | when there isn't any. So, just comment it out. |
483 | usb@23000 { | 250 | usb@23000 { |
484 | #address-cells = <1>; | ||
485 | #size-cells = <0>; | ||
486 | compatible = "fsl-usb2-dr"; | ||
487 | reg = <0x23000 0x1000>; | ||
488 | interrupt-parent = <&mpic>; | ||
489 | interrupts = <46 0x2>; | ||
490 | phy_type = "ulpi"; | 251 | phy_type = "ulpi"; |
491 | }; | 252 | }; |
492 | */ | 253 | */ |
493 | 254 | ||
494 | sdhci@2e000 { | ||
495 | compatible = "fsl,p1020-esdhc", "fsl,esdhc"; | ||
496 | reg = <0x2e000 0x1000>; | ||
497 | interrupts = <72 0x2>; | ||
498 | interrupt-parent = <&mpic>; | ||
499 | /* Filled in by U-Boot */ | ||
500 | clock-frequency = <0>; | ||
501 | }; | ||
502 | |||
503 | crypto@30000 { | ||
504 | compatible = "fsl,sec3.1", "fsl,sec3.0", "fsl,sec2.4", | ||
505 | "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; | ||
506 | reg = <0x30000 0x10000>; | ||
507 | interrupts = <45 2 58 2>; | ||
508 | interrupt-parent = <&mpic>; | ||
509 | fsl,num-channels = <4>; | ||
510 | fsl,channel-fifo-len = <24>; | ||
511 | fsl,exec-units-mask = <0xbfe>; | ||
512 | fsl,descriptor-types-mask = <0x3ab0ebf>; | ||
513 | }; | ||
514 | |||
515 | mpic: pic@40000 { | ||
516 | interrupt-controller; | ||
517 | #address-cells = <0>; | ||
518 | #interrupt-cells = <2>; | ||
519 | reg = <0x40000 0x40000>; | ||
520 | compatible = "chrp,open-pic"; | ||
521 | device_type = "open-pic"; | ||
522 | }; | ||
523 | |||
524 | msi@41600 { | ||
525 | compatible = "fsl,p1020-msi", "fsl,mpic-msi"; | ||
526 | reg = <0x41600 0x80>; | ||
527 | msi-available-ranges = <0 0x100>; | ||
528 | interrupts = < | ||
529 | 0xe0 0 | ||
530 | 0xe1 0 | ||
531 | 0xe2 0 | ||
532 | 0xe3 0 | ||
533 | 0xe4 0 | ||
534 | 0xe5 0 | ||
535 | 0xe6 0 | ||
536 | 0xe7 0>; | ||
537 | interrupt-parent = <&mpic>; | ||
538 | }; | ||
539 | |||
540 | global-utilities@e0000 { //global utilities block | ||
541 | compatible = "fsl,p1020-guts"; | ||
542 | reg = <0xe0000 0x1000>; | ||
543 | fsl,has-rstcr; | ||
544 | }; | ||
545 | }; | 255 | }; |
546 | 256 | ||
547 | pci0: pcie@ffe09000 { | 257 | pci0: pcie@ffe09000 { |
548 | compatible = "fsl,mpc8548-pcie"; | ||
549 | device_type = "pci"; | ||
550 | #interrupt-cells = <1>; | ||
551 | #size-cells = <2>; | ||
552 | #address-cells = <3>; | ||
553 | reg = <0 0xffe09000 0 0x1000>; | ||
554 | bus-range = <0 255>; | ||
555 | ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 | 258 | ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 |
556 | 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; | 259 | 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; |
557 | clock-frequency = <33333333>; | 260 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
558 | interrupt-parent = <&mpic>; | 261 | interrupt-map = < |
559 | interrupts = <16 2>; | 262 | /* IDSEL 0x0 */ |
263 | 0000 0x0 0x0 0x1 &mpic 0x4 0x1 | ||
264 | 0000 0x0 0x0 0x2 &mpic 0x5 0x1 | ||
265 | 0000 0x0 0x0 0x3 &mpic 0x6 0x1 | ||
266 | 0000 0x0 0x0 0x4 &mpic 0x7 0x1 | ||
267 | >; | ||
560 | pcie@0 { | 268 | pcie@0 { |
561 | reg = <0x0 0x0 0x0 0x0 0x0>; | 269 | reg = <0x0 0x0 0x0 0x0 0x0>; |
562 | #size-cells = <2>; | 270 | #size-cells = <2>; |
@@ -573,18 +281,16 @@ | |||
573 | }; | 281 | }; |
574 | 282 | ||
575 | pci1: pcie@ffe0a000 { | 283 | pci1: pcie@ffe0a000 { |
576 | compatible = "fsl,mpc8548-pcie"; | ||
577 | device_type = "pci"; | ||
578 | #interrupt-cells = <1>; | ||
579 | #size-cells = <2>; | ||
580 | #address-cells = <3>; | ||
581 | reg = <0 0xffe0a000 0 0x1000>; | ||
582 | bus-range = <0 255>; | ||
583 | ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 | 284 | ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 |
584 | 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; | 285 | 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; |
585 | clock-frequency = <33333333>; | 286 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
586 | interrupt-parent = <&mpic>; | 287 | interrupt-map = < |
587 | interrupts = <16 2>; | 288 | /* IDSEL 0x0 */ |
289 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 | ||
290 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 | ||
291 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 | ||
292 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 | ||
293 | >; | ||
588 | pcie@0 { | 294 | pcie@0 { |
589 | reg = <0x0 0x0 0x0 0x0 0x0>; | 295 | reg = <0x0 0x0 0x0 0x0 0x0>; |
590 | #size-cells = <2>; | 296 | #size-cells = <2>; |