arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Tue, 4 Jul 2023 13:48:00 +0000 (09:48 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jul 2023 06:15:24 +0000 (14:15 +0800)
commit253be5b53c2792fb4384f8005b05421e6f040ee3
treedd40c94365f58c3b3f647774b37fe102e0821209
parent1ef0aa137a96c5f0564f2db0c556a4f0f60ce8f5
arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux

For SOMs with an onboard PHY, the RESET_N pull-up resistor is
currently deactivated in the pinmux configuration. When the pinmux
code selects the GPIO function for this pin, with a default direction
of input, this prevents the RESET_N pin from being taken to the proper
3.3V level (deasserted), and this results in the PHY being not
detected since it is held in reset.

Taken from RESET_N pin description in ADIN13000 datasheet:
    This pin requires a 1K pull-up resistor to AVDD_3P3.

Activate the pull-up resistor to fix the issue.

Fixes: ade0176dd8a0 ("arm64: dts: imx8mn-var-som: Add Variscite VAR-SOM-MX8MN System on Module")
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi