Re: [PATCH] arm64: defconfig: Change CONFIG_AT803X_PHY from m to y

From: Fabio Estevam
Date: Wed Nov 27 2019 - 07:56:36 EST


Hi Oliver,

On Wed, Nov 27, 2019 at 9:47 AM Oliver Graute <oliver.graute@xxxxxxxxx> wrote:

> I'am using this DTS which I'am currently working on:
>
> https://lists.infradead.org/pipermail/linux-arm-kernel/2019-October/689501.html
> >
> > I bet one dollar that 6d4cd041f0af triggered a latent bug in the DTS.
>
> So what should I fix in my device tree?

Some suggestions you could try:

- Try to use phy-mode = "rgmii-id"; instead,
- The PHY address 0 does not match the reg value of 4, so you need to
double check the PHY address and make the @ and reg values to match.
- If you have a GPIO connected to the Ethernet PHY reset pin, then you
should describe it in the dts and also provide a delay as per the
AR803X datasheet.

Regards,

Fabio Estevam