[RAPIDIO] Add RapidIO node into MPC8641HPCN dts file
authorZhang Wei <wei.zhang@freescale.com>
Fri, 18 Apr 2008 20:33:42 +0000 (13:33 -0700)
committerPaul Mackerras <paulus@samba.org>
Tue, 29 Apr 2008 09:40:28 +0000 (19:40 +1000)
This adds properties describing the RapidIO controller to the
device-tree source for the MPC8641HPCN board.

Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/mpc8641_hpcn.dts

index 7f9b999..1e4bfe9 100644 (file)
@@ -26,6 +26,7 @@
                serial1 = &serial1;
                pci0 = &pci0;
                pci1 = &pci1;
+               rapidio0 = &rapidio0;
        };
 
        cpus {
                                  0x0 0x00100000>;
                };
        };
+       rapidio0: rapidio@f80c0000 {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               compatible = "fsl,rapidio-delta";
+               reg = <0xf80c0000 0x20000>;
+               ranges = <0 0 0xc0000000 0 0x20000000>;
+               interrupt-parent = <&mpic>;
+               /* err_irq bell_outb_irq bell_inb_irq
+                       msg1_tx_irq msg1_rx_irq msg2_tx_irq msg2_rx_irq */
+               interrupts = <48 2 49 2 50 2 53 2 54 2 55 2 56 2>;
+       };
 };