[PATCH] xilinx: Fix mdio bus description for vck190-sc
Michal Simek
michal.simek at amd.com
Tue Sep 6 12:39:11 CEST 2022
Current behavior is that eth_phy_get_mdio_bus
Net: FEC: can't find phy-handle
ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr 0, interface sgmii
eth0: ethernet at ff0b0000
Net:
ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr 0, interface sgmii
eth0: ethernet at ff0b0000
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index 4940825b002f..3fa18f560c9c 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -155,8 +155,12 @@
phy-handle = <&phy0>;
phy-mode = "sgmii";
is-internal-pcspma;
- phy0: ethernet-phy at 0 { /* u131 M88E1512 */
- reg = <0>;
+ mdio: mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ phy0: ethernet-phy at 0 { /* u131 M88E1512 */
+ reg = <0>;
+ };
};
};
--
2.36.1
More information about the U-Boot
mailing list