[PATCH v2] arm64: dts: imx93-11x11-frdm: fix ethernet PHY reset GPIOs

Daniel Baluta daniel.baluta at nxp.com
Fri Nov 27 03:15:06 PST 2026


From: Steven Yang <steven.yang at nxp.com>

The reset-gpios of both ethernet PHYs point to the PHY interrupt lines
instead of the PHY reset lines.

On the FRDM-IMX93 board, the PCAL6524 GPIO expander lines are connected
to the PHYs as follows:

  Expander       Net name (rev B2)  Net name (rev B3)  PHY pin
  P0_4 (line 4)  ENET1_nINT         ENET1_nRST         ENET1 RESET_N
  P1_1 (line 9)  ENET2_nINT         ENET2_nRST         ENET2 RESET_N
  P1_7 (line 15) ENET1_nRST         ENET1_nINT         ENET1 INT_N
  P2_0 (line 16) ENET2_nRST         ENET2_nINT         ENET2 INT_N

In rev B2 of the schematic (SPF-94611), the net names on the expander
side do not match the PHY pins they are connected to, because the
board is assembled with the nRST and nINT nets crossed on the PHY side.
Rev B3 corrects the net names; the wiring is unchanged.

The device tree followed the rev B2 net names and uses lines 15 and 16
as reset-gpios. As a result, the PHY reset sequence toggles the INT_N
pins, while the real RESET_N pins stay deasserted by their pull-ups and
the PHYs are never reset by software.

Use lines 4 and 9, which are connected to the PHY RESET_N pins.

Fixes: eb2f28413e23 ("arm64: dts: freescale: add support for NXP i.MX93 FRDM")
Signed-off-by: Steven Yang <steven.yang at nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta at nxp.com>
---
Changes since v1:
 - updated commit message with info about rev B3 as discussed in v1
   thread https://lore.kernel.org/imx/7652e6ad-a34c-453b-a461-6105d9c86813@oss.nxp.com/T/#m9665c439ccd322469ac0e1e61ad53ebfee230aef

 arch/arm64/boot/dts/freescale/imx93-11x11-frdm-common.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-common.dtsi b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-common.dtsi
index 33ed26aafde88..8c7b08894bc0d 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-common.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm-common.dtsi
@@ -145,7 +145,7 @@ ethphy1: ethernet-phy at 1 {
 			reg = <1>;
 			reset-assert-us = <10000>;
 			reset-deassert-us = <80000>;
-			reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
+			reset-gpios = <&pcal6524 4 GPIO_ACTIVE_LOW>;
 			realtek,clkout-disable;
 		};
 	};
@@ -169,7 +169,7 @@ ethphy2: ethernet-phy at 2 {
 			reg = <2>;
 			reset-assert-us = <10000>;
 			reset-deassert-us = <80000>;
-			reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
+			reset-gpios = <&pcal6524 9 GPIO_ACTIVE_LOW>;
 			realtek,clkout-disable;
 		};
 	};
-- 
2.45.2




More information about the linux-arm-kernel mailing list