Re: [PATCH] ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-08 Thread Fabio Estevam
On Mon, Jan 1, 2024 at 6:07 PM Marek Vasut wrote: > > Implement fdtdec_board_setup() auto-detection of ethernet PHY. > This uses properties of the hardware and pull resistor placement. > > If GPIO1_16 RGMII_MDC is HIGH, then R530 (MX8MM eDM SBC) or > R390 (MX8MP eDM SBC) is populated. R530 or

Re: [PATCH] ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-03 Thread Fabio Estevam
On Mon, Jan 1, 2024 at 6:07 PM Marek Vasut wrote: > > Implement fdtdec_board_setup() auto-detection of ethernet PHY. > This uses properties of the hardware and pull resistor placement. > > If GPIO1_16 RGMII_MDC is HIGH, then R530 (MX8MM eDM SBC) or > R390 (MX8MP eDM SBC) is populated. R530 or

[PATCH] ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-01 Thread Marek Vasut
Implement fdtdec_board_setup() auto-detection of ethernet PHY. This uses properties of the hardware and pull resistor placement. If GPIO1_16 RGMII_MDC is HIGH, then R530 (MX8MM eDM SBC) or R390 (MX8MP eDM SBC) is populated. R530 or R390 is populated only on boards with AR8031 PHY. If GPIO1_16