From 822a2a15c1dbfa9bdffee0ad0655a5f7c90caf5a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 12 Feb 2020 20:08:54 +0100 Subject: fsl-imx8mm-verdin.dts: fix eth phy power up The PHY reset circuitry may keep the PHY in reset for up to 200ms after powerup. Use the regulator startup-delay-us property to wait that time before talking to the PHY. While at it unify that regulator with the Linux dts file. Related-to: ELB-1970 Signed-off-by: Max Krummenacher --- arch/arm/dts/fsl-imx8mm-verdin.dts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/fsl-imx8mm-verdin.dts b/arch/arm/dts/fsl-imx8mm-verdin.dts index 91f1a632d9..a4f131fe4c 100644 --- a/arch/arm/dts/fsl-imx8mm-verdin.dts +++ b/arch/arm/dts/fsl-imx8mm-verdin.dts @@ -23,13 +23,16 @@ reg_ethphy: regulator-ethphy { compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; + off-on-delay = <500000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_reg_eth>; + regulator-boot-on; regulator-name = "V3.3_ETH"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; - enable-active-high; + startup-delay-us = <200000>; }; reg_usdhc2_vmmc: regulator-usdhc2 { -- cgit v1.2.3