[PATCH] xilinx: Fix mdio bus description for vck190-sc

Michal Simek monstr at monstr.eu
Mon Sep 12 11:58:11 CEST 2022


út 6. 9. 2022 v 12:39 odesílatel Michal Simek <michal.simek at amd.com> napsal:
>
> 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
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list