Skip to contentSkip to conversation

ARM: dts: imx6q-evi: Use GPIO_6 for fec irq

PATCH Superseded Joshua Clayton 3 participants 5 messages Aug 11, 2016 – Aug 15, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6q-evi: Use GPIO_6 for fec irq

Apply hardware workaround for ethernet problem
See nxp erratum err006687

---
 arch/arm/boot/dts/imx6q-evi.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx6q-evi.dts +3 -0
index 49c6f61..33bd04b 100644
@@ -127,6 +127,8 @@
 	pinctrl-0 = <&pinctrl_enet>;
 	phy-mode = "rgmii";
 	phy-reset-gpios = <&gpio1 25 0>;
+	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
+			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
 	status = "okay";
 };
 
@@ -312,6 +314,7 @@
 			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
 			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x4001b0a8
 			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0
+			MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
 		>;
 	};
 
Signature · 1 line
2.7.4
#2 lore raw

Stefan,

Quoted 6 lines · Stefan Wahren

Hi Joshua,

Quoted 4 lines

Joshua Clayton <[email protected]> hat am 11. August 2016 um 18:54 geschrieben:

Quoted 7 lines
Quoted 2 lines

Apply hardware workaround for ethernet problem
See nxp erratum err006687

do you know this commit?

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=a28eeb43ee57e0524c59e64760ed28088dd159cb

Maybe you want to add this property, too.

I missed that this change requiring (more) explicit enablement was merge to linux-next. I'll add that.

#3 lore raw

PATCH v2 1/1 ARM: dts: imx6q-evi: Use GPIO_6 for fec irq

Apply hardware workaround for ethernet problem
See nxp erratum err006687

---

Changed since V1:
- added fsl,err006687-workaround-present; so that it will continue to work

 arch/arm/boot/dts/imx6q-evi.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx6q-evi.dts +3 -0
index 49c6f61..33bd04b 100644
@@ -127,6 +127,8 @@
 	pinctrl-0 = <&pinctrl_enet>;
 	phy-mode = "rgmii";
 	phy-reset-gpios = <&gpio1 25 0>;
+	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
+			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
+	fsl,err006687-workaround-present;
 	status = "okay";
 };

@@ -312,6 +314,7 @@
MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN 0x4001b0a8 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0
+ MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
>;
};

Signature · 1 line
2.7.4