powerpc/p1010rdb: Update dts for pcie interrupt-map
authorZhao Qiang <qiang.zhao@freescale.com>
Tue, 15 Dec 2015 02:41:18 +0000 (10:41 +0800)
committerScott Wood <scottwood@freescale.com>
Wed, 23 Dec 2015 00:23:22 +0000 (18:23 -0600)
p1010rdb uses the irq[4:5] for inta and intb to pcie,
it is active-high, so set it.

Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/boot/dts/fsl/p1010rdb.dtsi

index 0f0ced69835a066e9358f1ca08a04853b71d33df..14b62950503893dc323913be9870188c12e2115f 100644 (file)
                phy-connection-type = "sgmii";
        };
 };
+
+&pci0 {
+       pcie@0 {
+               interrupt-map = <
+                       /* IDSEL 0x0 */
+                       /*
+                        *irq[4:5] are active-high
+                        *irq[6:7] are active-low
+                        */
+                       0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
+                       0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
+                       0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
+                       0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
+                       >;
+       };
+};