powerpc/85xx: Enable Serial RapidIO for MPC85xx MDS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sat, 2 May 2009 02:16:56 +0000 (06:16 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:50:34 +0000 (00:50 -0500)
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>
arch/powerpc/boot/dts/mpc8568mds.dts
arch/powerpc/boot/dts/mpc8569mds.dts
arch/powerpc/platforms/85xx/Kconfig

index 073f140ad17fd0df66c56ca3e74131067af73fc9..038913deb2e9be608e63c70d71f1ddf0792a94ae 100644 (file)
@@ -26,6 +26,7 @@
                serial1 = &serial1;
                pci0 = &pci0;
                pci1 = &pci1;
+               rapidio0 = &rio0;
        };
 
        cpus {
                                  0x0 0x800000>;
                };
        };
+
+       rio0: rapidio@e00c00000 {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               compatible = "fsl,mpc8568-rapidio", "fsl,rapidio-delta";
+               reg = <0xe00c0000 0x20000>;
+               ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
+               interrupts = <48 2 /* error     */
+                             49 2 /* bell_outb */
+                             50 2 /* bell_inb  */
+                             53 2 /* msg1_tx   */
+                             54 2 /* msg1_rx   */
+                             55 2 /* msg2_tx   */
+                             56 2 /* msg2_rx   */>;
+               interrupt-parent = <&mpic>;
+       };
 };
index 3e4de7a82521674ef6961ea845b84af0cb0874a2..ece3b305cd060de9c03770382b06867698b72ea6 100644 (file)
@@ -25,6 +25,7 @@
                ethernet2 = &enet2;
                ethernet3 = &enet3;
                pci1 = &pci1;
+               rapidio0 = &rio0;
        };
 
        cpus {
                                  0x0 0x800000>;
                };
        };
+
+       rio0: rapidio@e00c00000 {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               compatible = "fsl,mpc8569-rapidio", "fsl,rapidio-delta";
+               reg = <0xe00c0000 0x20000>;
+               ranges = <0x0 0x0 0xc0000000 0x0 0x20000000>;
+               interrupts = <48 2 /* error     */
+                             49 2 /* bell_outb */
+                             50 2 /* bell_inb  */
+                             53 2 /* msg1_tx   */
+                             54 2 /* msg1_rx   */
+                             55 2 /* msg2_tx   */
+                             56 2 /* msg2_rx   */>;
+               interrupt-parent = <&mpic>;
+       };
 };
index 7f066adc068cba54149af23479ce091bed8b61d4..43d385cedcd730e4595abcab85593488db868f4d 100644 (file)
@@ -34,6 +34,7 @@ config MPC85xx_MDS
        bool "Freescale MPC85xx MDS"
        select DEFAULT_UIMAGE
        select PHYLIB
+       select HAS_RAPIDIO
        help
          This option enables support for the MPC85xx MDS board