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

Andrew Lunn andrew at lunn.ch
Sun Nov 17 12:06:15 PST 2024


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 at nigauri.org>:
> >
> > From: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> >
> > 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



More information about the linux-arm-kernel mailing list