arm64: dts: imx95-toradex-smarc: Fix ethphy1 interrupt and GPIO labels
Subsystems (2)
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
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.
--- 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
@@ -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
PATCH 2/2 arm64: dts: freescale: imx95-toradex-smarc: fix SMARC_SDIO_WP label position
In reply to Vitor SoaresFrom: 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.
--- 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
@@ -406,8 +406,6 @@ som_gpio_expander_1: gpio@21 { "", "", "", - "", - "", "SMARC_SDIO_WP"; };
Signature · 1 line
2.51.0
Shawn Guo
AppliedQuoted 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_WPgpio-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: fixSMARC_SDIO_WPlabel
position
Applied both, thanks!