diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2008-12-19 17:05:12 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-12-30 12:30:40 -0500 |
commit | 47f80a325c81a259a110741a7afab572c5550311 (patch) | |
tree | cc227ada98eb8e6372480b94c4ca13f1aa7850d6 /arch/powerpc | |
parent | be11d3b354847bbc41353448dd2b34a2821ddb36 (diff) |
powerpc/86xx: Update 8641hpcn dts file to match latest u-boot
The newest revision of uboot reworks the memory map for this
board to look more like the 85xx boards. Also, some regions
which were far larger than the actual hardware have been scaled
back to match the board, and the imaginary second flash bank has
been removed. Rapidio and PCI are mutually exclusive in the hardware,
and they now are occupying the same space in the address map.
The Rapidio node is commented out of the .dts since PCI is the
common use case.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8641_hpcn.dts | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index d665e767822a..d2d5dcda1b4e 100644 --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts | |||
@@ -26,7 +26,13 @@ | |||
26 | serial1 = &serial1; | 26 | serial1 = &serial1; |
27 | pci0 = &pci0; | 27 | pci0 = &pci0; |
28 | pci1 = &pci1; | 28 | pci1 = &pci1; |
29 | rapidio0 = &rapidio0; | 29 | /* |
30 | * Only one of Rapid IO or PCI can be present due to HW limitations and | ||
31 | * due to the fact that the 2 now share address space in the new memory | ||
32 | * map. The most likely case is that we have PCI, so comment out the | ||
33 | * rapidio node. Leave it here for reference. | ||
34 | */ | ||
35 | /* rapidio0 = &rapidio0; */ | ||
30 | }; | 36 | }; |
31 | 37 | ||
32 | cpus { | 38 | cpus { |
@@ -62,18 +68,17 @@ | |||
62 | reg = <0x00000000 0x40000000>; // 1G at 0x0 | 68 | reg = <0x00000000 0x40000000>; // 1G at 0x0 |
63 | }; | 69 | }; |
64 | 70 | ||
65 | localbus@f8005000 { | 71 | localbus@ffe05000 { |
66 | #address-cells = <2>; | 72 | #address-cells = <2>; |
67 | #size-cells = <1>; | 73 | #size-cells = <1>; |
68 | compatible = "fsl,mpc8641-localbus", "simple-bus"; | 74 | compatible = "fsl,mpc8641-localbus", "simple-bus"; |
69 | reg = <0xf8005000 0x1000>; | 75 | reg = <0xffe05000 0x1000>; |
70 | interrupts = <19 2>; | 76 | interrupts = <19 2>; |
71 | interrupt-parent = <&mpic>; | 77 | interrupt-parent = <&mpic>; |
72 | 78 | ||
73 | ranges = <0 0 0xff800000 0x00800000 | 79 | ranges = <0 0 0xef800000 0x00800000 |
74 | 1 0 0xfe000000 0x01000000 | 80 | 2 0 0xffdf8000 0x00008000 |
75 | 2 0 0xf8200000 0x00100000 | 81 | 3 0 0xffdf0000 0x00008000>; |
76 | 3 0 0xf8100000 0x00100000>; | ||
77 | 82 | ||
78 | flash@0,0 { | 83 | flash@0,0 { |
79 | compatible = "cfi-flash"; | 84 | compatible = "cfi-flash"; |
@@ -103,13 +108,13 @@ | |||
103 | }; | 108 | }; |
104 | }; | 109 | }; |
105 | 110 | ||
106 | soc8641@f8000000 { | 111 | soc8641@ffe00000 { |
107 | #address-cells = <1>; | 112 | #address-cells = <1>; |
108 | #size-cells = <1>; | 113 | #size-cells = <1>; |
109 | device_type = "soc"; | 114 | device_type = "soc"; |
110 | compatible = "simple-bus"; | 115 | compatible = "simple-bus"; |
111 | ranges = <0x00000000 0xf8000000 0x00100000>; | 116 | ranges = <0x00000000 0xffe00000 0x00100000>; |
112 | reg = <0xf8000000 0x00001000>; // CCSRBAR | 117 | reg = <0xffe00000 0x00001000>; // CCSRBAR |
113 | bus-frequency = <0>; | 118 | bus-frequency = <0>; |
114 | 119 | ||
115 | i2c@3000 { | 120 | i2c@3000 { |
@@ -295,17 +300,17 @@ | |||
295 | }; | 300 | }; |
296 | }; | 301 | }; |
297 | 302 | ||
298 | pci0: pcie@f8008000 { | 303 | pci0: pcie@ffe08000 { |
299 | cell-index = <0>; | 304 | cell-index = <0>; |
300 | compatible = "fsl,mpc8641-pcie"; | 305 | compatible = "fsl,mpc8641-pcie"; |
301 | device_type = "pci"; | 306 | device_type = "pci"; |
302 | #interrupt-cells = <1>; | 307 | #interrupt-cells = <1>; |
303 | #size-cells = <2>; | 308 | #size-cells = <2>; |
304 | #address-cells = <3>; | 309 | #address-cells = <3>; |
305 | reg = <0xf8008000 0x1000>; | 310 | reg = <0xffe08000 0x1000>; |
306 | bus-range = <0x0 0xff>; | 311 | bus-range = <0x0 0xff>; |
307 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000 | 312 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
308 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; | 313 | 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>; |
309 | clock-frequency = <33333333>; | 314 | clock-frequency = <33333333>; |
310 | interrupt-parent = <&mpic>; | 315 | interrupt-parent = <&mpic>; |
311 | interrupts = <24 2>; | 316 | interrupts = <24 2>; |
@@ -436,7 +441,7 @@ | |||
436 | 441 | ||
437 | 0x01000000 0x0 0x00000000 | 442 | 0x01000000 0x0 0x00000000 |
438 | 0x01000000 0x0 0x00000000 | 443 | 0x01000000 0x0 0x00000000 |
439 | 0x0 0x00100000>; | 444 | 0x0 0x00010000>; |
440 | uli1575@0 { | 445 | uli1575@0 { |
441 | reg = <0 0 0 0 0>; | 446 | reg = <0 0 0 0 0>; |
442 | #size-cells = <2>; | 447 | #size-cells = <2>; |
@@ -446,7 +451,7 @@ | |||
446 | 0x0 0x20000000 | 451 | 0x0 0x20000000 |
447 | 0x01000000 0x0 0x00000000 | 452 | 0x01000000 0x0 0x00000000 |
448 | 0x01000000 0x0 0x00000000 | 453 | 0x01000000 0x0 0x00000000 |
449 | 0x0 0x00100000>; | 454 | 0x0 0x00010000>; |
450 | isa@1e { | 455 | isa@1e { |
451 | device_type = "isa"; | 456 | device_type = "isa"; |
452 | #interrupt-cells = <2>; | 457 | #interrupt-cells = <2>; |
@@ -504,17 +509,17 @@ | |||
504 | 509 | ||
505 | }; | 510 | }; |
506 | 511 | ||
507 | pci1: pcie@f8009000 { | 512 | pci1: pcie@ffe09000 { |
508 | cell-index = <1>; | 513 | cell-index = <1>; |
509 | compatible = "fsl,mpc8641-pcie"; | 514 | compatible = "fsl,mpc8641-pcie"; |
510 | device_type = "pci"; | 515 | device_type = "pci"; |
511 | #interrupt-cells = <1>; | 516 | #interrupt-cells = <1>; |
512 | #size-cells = <2>; | 517 | #size-cells = <2>; |
513 | #address-cells = <3>; | 518 | #address-cells = <3>; |
514 | reg = <0xf8009000 0x1000>; | 519 | reg = <0xffe09000 0x1000>; |
515 | bus-range = <0 0xff>; | 520 | bus-range = <0 0xff>; |
516 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | 521 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 |
517 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>; | 522 | 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>; |
518 | clock-frequency = <33333333>; | 523 | clock-frequency = <33333333>; |
519 | interrupt-parent = <&mpic>; | 524 | interrupt-parent = <&mpic>; |
520 | interrupts = <25 2>; | 525 | interrupts = <25 2>; |
@@ -537,18 +542,21 @@ | |||
537 | 542 | ||
538 | 0x01000000 0x0 0x00000000 | 543 | 0x01000000 0x0 0x00000000 |
539 | 0x01000000 0x0 0x00000000 | 544 | 0x01000000 0x0 0x00000000 |
540 | 0x0 0x00100000>; | 545 | 0x0 0x00010000>; |
541 | }; | 546 | }; |
542 | }; | 547 | }; |
543 | rapidio0: rapidio@f80c0000 { | 548 | /* |
549 | rapidio0: rapidio@ffec0000 { | ||
544 | #address-cells = <2>; | 550 | #address-cells = <2>; |
545 | #size-cells = <2>; | 551 | #size-cells = <2>; |
546 | compatible = "fsl,rapidio-delta"; | 552 | compatible = "fsl,rapidio-delta"; |
547 | reg = <0xf80c0000 0x20000>; | 553 | reg = <0xffec0000 0x20000>; |
548 | ranges = <0 0 0xc0000000 0 0x20000000>; | 554 | ranges = <0 0 0x80000000 0 0x20000000>; |
549 | interrupt-parent = <&mpic>; | 555 | interrupt-parent = <&mpic>; |
550 | /* err_irq bell_outb_irq bell_inb_irq | 556 | // err_irq bell_outb_irq bell_inb_irq |
551 | msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */ | 557 | // msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq |
552 | interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>; | 558 | interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>; |
553 | }; | 559 | }; |
560 | */ | ||
561 | |||
554 | }; | 562 | }; |