Re: [PATCH] imx8mn-var-som: dts: fix PHY detection bug by adding deassert delay

From: Hugo Villeneuve
Date: Thu Apr 27 2023 - 16:06:24 EST


On Thu, 27 Apr 2023 17:00:41 -0300
Fabio Estevam <festevam@xxxxxxxxx> wrote:

> Hi Hugo,
>
> On Thu, Apr 27, 2023 at 4:56 PM Hugo Villeneuve <hugo@xxxxxxxxxxx> wrote:
> >
> > From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> >
> > While testing the ethernet interface on a symphony carrier
> > board using an imx8mn SOM with an onboard PHY (EC hardware
> > configuration), the ethernet PHY is not detected.
> >
> > The device tree in Variscite custom linux git repository uses the
> > following property:
> >
> > phy-reset-post-delay = <20>;
> >
> > Add a new property 'reset-deassert-us' of 20ms to have the same delay
> > inside the ethphy handle.
>
> Which Ethernet PHY does this board use?
>
> What does its datasheet recommend?

Hi Fabio,
it uses a ADIN1300 PHY.

The datasheet indicate that the "Management interface active (t4)" state is reached at most 5ms after the reset signal is deasserted.

Hugo.

--
Hugo Villeneuve <hugo@xxxxxxxxxxx>