Skip to content

Commit cb20fe9

Browse files
iwamatsugregkh
authored andcommitted
ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address
commit ea9da67 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>
1 parent 573b1e3 commit cb20fe9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@
6666
mdio0 {
6767
#address-cells = <1>;
6868
#size-cells = <0>;
69-
phy0: ethernet-phy@0 {
70-
reg = <0>;
69+
compatible = "snps,dwmac-mdio";
70+
71+
phy0: ethernet-phy@4 {
72+
reg = <4>;
7173
rxd0-skew-ps = <0>;
7274
rxd1-skew-ps = <0>;
7375
rxd2-skew-ps = <0>;

0 commit comments

Comments
 (0)