Skip to contentSkip to conversation

arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels

PATCH Applied Vitor Soares 2 participants 4 messages Nov 28, 2025 – Dec 29, 2025

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

cover arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels

From: Vitor Soares <[email protected]>

This series fixes the ethphy1 interrupt configuration and corrects GPIO expander line names for the i.MX95 Toradex SMARC.

The first patch changes the interrupt trigger type from level-triggered to edge-triggered to match the PCA9745 GPIO expander hardware capabilities.

The second patch fixes the SMARC_SDIO_WP gpio-line-name position to line 15.

Vitor Soares (2):
arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for
ethphy1 interrupt
arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label
position

 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/2 arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for ethphy1 interrupt

From: Vitor Soares <[email protected]>

Change the PHY interrupt trigger type from IRQ_TYPE_LEVEL_LOW to IRQ_TYPE_EDGE_FALLING to match the PCA9745 GPIO expander hardware capabilities and avoid emulated level detection.

Fixes 90bbe88e0ea6 ("arm64: dts: freescale: add Toradex SMARC iMX95")
---
 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi +1 -1
index afbdadcb3686..2cbd5606cb19 100644
@@ -582,7 +582,7 @@ &netc_emdio {
 	ethphy1: ethernet-phy@1 {
 		reg = <1>;
 		interrupt-parent = <&som_gpio_expander_1>;
-		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
+		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
 		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 		ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
 	};
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/2 arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position

In reply to Vitor Soares

From: Vitor Soares <[email protected]>

Fix the SMARC_SDIO_WP gpio-line-name position. It should be on line 15 of som_gpio_expander_1, not line 17.

Fixes 90bbe88e0ea6 ("arm64: dts: freescale: add Toradex SMARC iMX95")
---
 arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi +0 -2
index 2cbd5606cb19..115a16e44a99 100644
@@ -406,8 +406,6 @@ som_gpio_expander_1: gpio@21 {
 			"",
 			"",
 			"",
-			"",
-			"",
 			"SMARC_SDIO_WP";
 	};
 
Signature · 1 line
2.51.0
Applied
#3 lore raw
In reply to Vitor Soares
Quoted 9 lines · Vitor Soares

From: Vitor Soares <[email protected]>

This series fixes the ethphy1 interrupt configuration and corrects GPIO expander line names for the i.MX95 Toradex SMARC.

The first patch changes the interrupt trigger type from level-triggered to edge-triggered to match the PCA9745 GPIO expander hardware capabilities.

Quoted 8 lines

The second patch fixes the SMARC_SDIO_WP gpio-line-name position to line 15.

Vitor Soares (2):
arm64: dts: freescale: imx95-toradex-smarc: use edge trigger for
ethphy1 interrupt
arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label
position

Applied both, thanks!