public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] iMX8QXP MEK: no ethernet
Date: Fri, 1 Mar 2019 13:26:07 +0100	[thread overview]
Message-ID: <20190301132607.0f3e297a@crub> (raw)
In-Reply-To: <a866feb8-9df9-08d8-05d5-afde418bc82b@denx.de>

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

  reply	other threads:[~2019-03-01 12:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 12:27 [U-Boot] iMX8QXP MEK: no ethernet Andrejs Cainikovs
2019-02-28 22:45 ` Anatolij Gustschin
2019-03-01  9:50   ` Andrejs Cainikovs
2019-03-01 10:05     ` Anatolij Gustschin
2019-03-01 11:19       ` Stefano Babic
2019-03-01 12:26         ` Anatolij Gustschin [this message]
2019-03-01 12:30         ` Andrejs Cainikovs
2019-03-01 12:36           ` Stefano Babic
2019-03-01 13:00             ` Anatolij Gustschin
2019-03-01 13:37               ` Andrejs Cainikovs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190301132607.0f3e297a@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox