Commit 9c8dc6f3 authored by Xiaowei Bao's avatar Xiaowei Bao Committed by Michael Ellerman
Browse files

powerpc: dts: p1010rdb: fix INTx interrupt issue on P1010RDB-PB



Due to the INTA is shared with the active-low PHY2 interrupt on
P1010RDB-PA board, so configure P1010RDB-PA's INTA with polarity as
active-low, the P1010RDB-PB board is used separately, so configure
P1010RDB-PB's INTA with polarity as active-high.  The INTX in
P1010RDB-PB do not work because of the pcie@0 node fixup will be
overwrited by p1010si-post.dtsi file, so we move the pcie@0 node fixup
to p1010rdb-pb.dts and p1010rdb-pb_36b.dts.

Signed-off-by: default avatarXiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240119203911.3143928-2-Frank.Li@nxp.com
parent b12ba096
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -29,3 +29,19 @@ &phy2 {
};

/include/ "p1010si-post.dtsi"

&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
			>;
	};
};
+16 −0
Original line number Diff line number Diff line
@@ -56,3 +56,19 @@ &phy2 {
};

/include/ "p1010si-post.dtsi"

&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
			>;
	};
};
+0 −16
Original line number Diff line number Diff line
@@ -215,19 +215,3 @@ enet2: ethernet@b2000 {
		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
			>;
	};
};