summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorZhao Qiang <qiang.zhao@freescale.com>2015-12-15 10:41:18 +0800
committerScott Wood <scottwood@freescale.com>2015-12-22 18:23:22 -0600
commitb0417a2870eff30cc102fbc34982b6ce06ce8c6f (patch)
tree6331a17e5b9337c0b4d8646b5ed4bf93e1e02f60 /arch/powerpc/boot
parent2749539b4bf8231b3a20ad759ec8c559ec29292c (diff)
downloadop-kernel-dev-b0417a2870eff30cc102fbc34982b6ce06ce8c6f.zip
op-kernel-dev-b0417a2870eff30cc102fbc34982b6ce06ce8c6f.tar.gz
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>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/dts/fsl/p1010rdb.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi b/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi
index 0f0ced6..14b6295 100644
--- a/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi
+++ b/arch/powerpc/boot/dts/fsl/p1010rdb.dtsi
@@ -215,3 +215,19 @@
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
+ >;
+ };
+};
OpenPOWER on IntegriCloud