]> err.no Git - linux-2.6/commitdiff
[POWERPC] Add basic PCI node for mpc8568mds board
authorRoy Zang <tie-fei.zang@freescale.com>
Tue, 10 Jul 2007 10:47:52 +0000 (18:47 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 23 Jul 2007 15:27:08 +0000 (10:27 -0500)
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8568mds.dts

index 6bb18f2807a8cb4037ba67731218513d94f0516d..54cde6879645f003f67abfe4e0dda5316b29cc41 100644 (file)
                        interrupt-parent = <&mpic>;
                };
 
+               pci@8000 {
+                       interrupt-map-mask = <f800 0 0 7>;
+                       interrupt-map = <
+                               /* IDSEL 0x12 AD18 */
+                               9000 0 0 1 &mpic 5 1
+                               9000 0 0 2 &mpic 6 1
+                               9000 0 0 3 &mpic 7 1
+                               9000 0 0 4 &mpic 4 1
+
+                               /* IDSEL 0x13 AD19 */
+                               9800 0 0 1 &mpic 6 1
+                               9800 0 0 2 &mpic 7 1
+                               9800 0 0 3 &mpic 4 1
+                               9800 0 0 4 &mpic 5 1>;
+
+                       interrupt-parent = <&mpic>;
+                       interrupts = <18 2>;
+                       bus-range = <0 ff>;
+                       ranges = <02000000 0 80000000 80000000 0 20000000
+                                 01000000 0 00000000 e2000000 0 00800000>;
+                       clock-frequency = <3f940aa>;
+                       #interrupt-cells = <1>;
+                       #size-cells = <2>;
+                       #address-cells = <3>;
+                       reg = <8000 1000>;
+                       compatible = "fsl,mpc8540-pci";
+                       device_type = "pci";
+               };
+
                serial@4600 {
                        device_type = "serial";
                        compatible = "ns16550";