mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address
commit ea9da67e2a 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
573b1e39ed
commit
cb20fe9502
@@ -66,8 +66,10 @@
|
|||||||
mdio0 {
|
mdio0 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
phy0: ethernet-phy@0 {
|
compatible = "snps,dwmac-mdio";
|
||||||
reg = <0>;
|
|
||||||
|
phy0: ethernet-phy@4 {
|
||||||
|
reg = <4>;
|
||||||
rxd0-skew-ps = <0>;
|
rxd0-skew-ps = <0>;
|
||||||
rxd1-skew-ps = <0>;
|
rxd1-skew-ps = <0>;
|
||||||
rxd2-skew-ps = <0>;
|
rxd2-skew-ps = <0>;
|
||||||
|
|||||||
Reference in New Issue
Block a user