[U-Boot] iMX8QXP MEK: no ethernet
Anatolij Gustschin
agust at denx.de
Fri Mar 1 12:26:07 UTC 2019
Hi Stefano,
On Fri, 1 Mar 2019 12:19:41 +0100
Stefano Babic sbabic at denx.de wrote:
...
> What about to change this in DT ?
>
> diff --git a/arch/arm/dts/fsl-imx8qxp-mek.dts
> b/arch/arm/dts/fsl-imx8qxp-mek.dts
> index 41f7ec1763..b6c4593334 100644
> --- a/arch/arm/dts/fsl-imx8qxp-mek.dts
> +++ b/arch/arm/dts/fsl-imx8qxp-mek.dts
> @@ -223,7 +223,7 @@
> fsl,magic-packet;
> status = "okay";
> phy-reset-gpios = <&pca9557_a 4 GPIO_ACTIVE_LOW>;
> - phy-reset-duration = <10>;
> + phy-reset-duration = <150>;
This will extend the time for holding the PHY in reset state, but 10ms was already enough
to reset the PHY. The problem is that after reset state is deactivated, the PHY cannot be
detected unless we wait about 150 ms in fec_gpio_reset() after removing the reset level.
I don't now the reason why this happens.
--
Anatolij
More information about the U-Boot
mailing list