Re: [PATCH] ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY ID

From: Andrew Lunn
Date: Sun Nov 17 2024 - 15:06:51 EST


On Sun, Nov 17, 2024 at 05:53:51PM +0900, Nobuhiro Iwamatsu wrote:
> Hi Dinh,
>
> Please check and apply this patch?
>
> Thanks,
> Nobuhiro
>
> 2024年10月4日(金) 15:16 Nobuhiro Iwamatsu <iwamatsu@xxxxxxxxxxx>:
> >
> > From: Nobuhiro Iwamatsu <iwamatsu@xxxxxxxxxxx>
> >
> > On SoCFPGA/Sodia board, mdio bus cannot be probed, so the PHY cannot be
> > found and the network device does not work.
> >
> > ```
> > stmmaceth ff702000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19)
> > ```
> >
> > To probe the mdio bus, add "snps,dwmac-mdio" as compatible string of the
> > mdio bus. Also the PHY ID connected to this board is 4. Therefore, change
> > to 4.

It is the address which is 4, not the ID.

Andrew