diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-02-12 20:08:54 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-03-05 19:22:24 +0100 |
commit | c24fe8441144d018d38f8a9392571581f07f66d6 (patch) | |
tree | 31c7eb0faf789e6ddb9ef032d7f5559d9aa93714 | |
parent | d53824362820b0ee915b5bde6edb02f8486fcd2c (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>
-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 91f1a632d90..a4f131fe4ca 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 { |