[PATCH] arm64: imx8mp: Auto-detect PHY on i.MX8MP DHCOM

sbabic at denx.de sbabic at denx.de
Thu Mar 30 10:44:50 CEST 2023


> The i.MX8MP DHCOM SoM may be populated with either KSZ9131RNXI RGMII PHY
> or LAN8740Ai RMII PHY attached to EQoS MAC, and either external RGMII PHY
> or LAN8740Ai RMII PHY attached to FEC MAC. The SoM configuration can be
> detected for each MAC by reading RX_CTL pull resistor state early on boot.
> Make use of this, detect the exact PHY configuration, and patch control DT
> accordingly so that the ethernet is configured correctly in U-Boot.
> Signed-off-by: Marek Vasut <marex at denx.de>
Applied to u-boot-imx, next, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list