]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xilinx: Fix mdio bus description for vck190-sc
authorMichal Simek <michal.simek@amd.com>
Tue, 6 Sep 2022 10:39:11 +0000 (12:39 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 13 Sep 2022 09:32:48 +0000 (11:32 +0200)
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@ff0b0000

Net:
ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr 0, interface sgmii
eth0: ethernet@ff0b0000

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/5b7da5808136b3f579c0cf7a3431b56c758655e9.1662460749.git.michal.simek@amd.com
arch/arm/dts/zynqmp-e-a2197-00-revA.dts

index 4940825b002f6a17f97a165c3810b7b8db3c358c..3fa18f560c9cb100d82bba5779b14205c7f0b7b5 100644 (file)
        phy-handle = <&phy0>;
        phy-mode = "sgmii";
        is-internal-pcspma;
-       phy0: ethernet-phy@0 { /* u131 M88E1512 */
-               reg = <0>;
+       mdio: mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               phy0: ethernet-phy@0 { /* u131 M88E1512 */
+                       reg = <0>;
+               };
        };
 };