aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-05-01 22:16:56 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-05-19 01:50:34 -0400
commit5e8306fe5de2ce0c3272abd4b8ab20323a8bf0ff (patch)
treed8760d83dc63a51052cc9e83405b886d499467d1
parent28da456a480c6149fb1cdfa006c3fbff6b7b6bc2 (diff)
powerpc/85xx: Enable Serial RapidIO for MPC85xx MDS boards
Select HAS_RAPIDIO symbol and add rio nodes for MPC8568E-MDS and MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/boot/dts/mpc8568mds.dts17
-rw-r--r--arch/powerpc/boot/dts/mpc8569mds.dts17
-rw-r--r--arch/powerpc/platforms/85xx/Kconfig1
3 files changed, 35 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index 073f140ad17f..038913deb2e9 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -26,6 +26,7 @@
26 serial1 = &serial1; 26 serial1 = &serial1;
27 pci0 = &pci0; 27 pci0 = &pci0;
28 pci1 = &pci1; 28 pci1 = &pci1;
29 rapidio0 = &rio0;
29 }; 30 };
30 31
31 cpus { 32 cpus {
@@ -538,4 +539,20 @@
538 0x0 0x800000>; 539 0x0 0x800000>;
539 }; 540 };
540 }; 541 };
542
543 rio0: rapidio@e00c00000 {
544 #address-cells = <2>;
545 #size-cells = <2>;
546 compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
547 reg = <0xe00c0000 0x20000>;
548 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
549 interrupts = <48 2 /* error */
550 49 2 /* bell_outb */
551 50 2 /* bell_inb */
552 53 2 /* msg1_tx */
553 54 2 /* msg1_rx */
554 55 2 /* msg2_tx */
555 56 2 /* msg2_rx */>;
556 interrupt-parent = <&mpic>;
557 };
541}; 558};
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts
index 3e4de7a82521..ece3b305cd06 100644
--- a/arch/powerpc/boot/dts/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/mpc8569mds.dts
@@ -25,6 +25,7 @@
25 ethernet2 = &enet2; 25 ethernet2 = &enet2;
26 ethernet3 = &enet3; 26 ethernet3 = &enet3;
27 pci1 = &pci1; 27 pci1 = &pci1;
28 rapidio0 = &rio0;
28 }; 29 };
29 30
30 cpus { 31 cpus {
@@ -527,4 +528,20 @@
527 0x0 0x800000>; 528 0x0 0x800000>;
528 }; 529 };
529 }; 530 };
531
532 rio0: rapidio@e00c00000 {
533 #address-cells = <2>;
534 #size-cells = <2>;
535 compatible = "fsl,mpc8569-rapidio", "fsl,rapidio-delta";
536 reg = <0xe00c0000 0x20000>;
537 ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
538 interrupts = <48 2 /* error */
539 49 2 /* bell_outb */
540 50 2 /* bell_inb */
541 53 2 /* msg1_tx */
542 54 2 /* msg1_rx */
543 55 2 /* msg2_tx */
544 56 2 /* msg2_rx */>;
545 interrupt-parent = <&mpic>;
546 };
530}; 547};
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index 7f066adc068c..43d385cedcd7 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -34,6 +34,7 @@ config MPC85xx_MDS
34 bool "Freescale MPC85xx MDS" 34 bool "Freescale MPC85xx MDS"
35 select DEFAULT_UIMAGE 35 select DEFAULT_UIMAGE
36 select PHYLIB 36 select PHYLIB
37 select HAS_RAPIDIO
37 help 38 help
38 This option enables support for the MPC85xx MDS board 39 This option enables support for the MPC85xx MDS board
39 40