]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 21 Nov 2024 07:13:25 +0000 (16:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:42:53 +0000 (13:42 +0200)
commit58d304a89178d47fbbe47a950b9c2b8123449c41
tree40792d4654cfda5fd88e48d0331e398cdc5e18d0
parent3887f3814c0e770e6b73567fe0f83a2c01a6470c
ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address

commit ea9da67e2add7bd5f1e4b38dc2404480e711f4d8 upstream.

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 address connected to this board is 4. Therefore,
change to 4.

Cc: stable@vger.kernel.org # 6.3+
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts