Browse Source

powerpc/p1010rdb: Update dts for pcie interrupt-map

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>
Zhao Qiang 9 years ago
parent
commit
b0417a2870
1 changed files with 16 additions and 0 deletions
  1. 16 0
      arch/powerpc/boot/dts/fsl/p1010rdb.dtsi

+ 16 - 0
arch/powerpc/boot/dts/fsl/p1010rdb.dtsi

@@ -215,3 +215,19 @@
 		phy-connection-type = "sgmii";
 		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
+			>;
+	};
+};