[PATCH] arm64: dts: imx93-11x11-frdm: fix ethernet PHY reset GPIOs
Joseph Guo
qijian.guo at oss.nxp.com
Thu Nov 26 18:43:01 PST 2026
On 11/27/2026 12:45 AM, Frank Li wrote:
> On Thu, Nov 26, 2026 at 06:08:34PM +0200, Daniel Baluta wrote:
>> 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 (schematic SPF-94611 rev B2), the PCAL6524 GPIO
>> expander lines going to each PHY are labelled:
>>
>> P0_4 (line 4) ENET1_nINT
>> P1_1 (line 9) ENET2_nINT
>> P1_7 (line 15) ENET1_nRST
>> P2_0 (line 16) ENET2_nRST
>
> schematic error? Should fix schematic also?
>
> Frank
>
The rev B3 schematic already fix it.
Regards,
Joseph
---
Sorry my email client setting revert to default and it contains HTML in
last reply.
>>
>> However, on the PHY side the nRST and nINT nets are swapped, so:
>>
>> ENET1_nINT (line 4) -> ENET1 PHY RESET_N
>> ENET1_nRST (line 15) -> ENET1 PHY INT_N
>> ENET2_nINT (line 9) -> ENET2 PHY RESET_N
>> ENET2_nRST (line 16) -> ENET2 PHY INT_N
>>
>> The device tree followed the expander-side 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>
>> ---
>> 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