diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-02-12 20:08:54 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-02-12 20:13:10 +0100 |
commit | 822a2a15c1dbfa9bdffee0ad0655a5f7c90caf5a (patch) | |
tree | 634d959436c402b1a0d47a4a2d1f8ceadefa2723 /arch/arm/dts/fsl-imx8mm-verdin.dts | |
parent | 41ed5b0c11608e2a49eb77cbe5f681cfd99333bf (diff) |
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 <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/dts/fsl-imx8mm-verdin.dts')
-rw-r--r-- | arch/arm/dts/fsl-imx8mm-verdin.dts | 7 |
1 files 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 { |