]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 86xx: mpc8610_hpcd: add support for PCI Express x8 slot
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 29 Apr 2008 16:41:12 +0000 (20:41 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 2 May 2008 04:01:46 +0000 (23:01 -0500)
This patch adds pcie node which is resposible for PCI-E x8 slot
functioning. Though, this was tested using only x1 SKY2 NIC.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8610_hpcd.dts

index 255dfefc2d6d78fb11cea11c45464e5792a1e5db..bba234eb14a92a12c9896ecb7936a240d96fb4bb 100644 (file)
@@ -21,6 +21,7 @@
                serial1 = &serial1;
                pci0 = &pci0;
                pci1 = &pci1;
+               pci2 = &pci2;
        };
 
        cpus {
                        };
                };
        };
+
+       pci2: pcie@e0009000 {
+               #address-cells = <3>;
+               #size-cells = <2>;
+               #interrupt-cells = <1>;
+               device_type = "pci";
+               compatible = "fsl,mpc8641-pcie";
+               reg = <0xe0009000 0x00001000>;
+               ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
+                         0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
+               bus-range = <0 255>;
+               interrupt-map-mask = <0xf800 0 0 7>;
+               interrupt-map = <0x0000 0 0 1 &mpic 4 1
+                                0x0000 0 0 2 &mpic 5 1
+                                0x0000 0 0 3 &mpic 6 1
+                                0x0000 0 0 4 &mpic 7 1>;
+               interrupt-parent = <&mpic>;
+               interrupts = <25 2>;
+               clock-frequency = <33333333>;
+       };
 };