u-boot/board/data_modul/imx8mm_edm_sbc
Marek Vasut 32a41b7c37 ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC
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 RGMII_MDC is LOW, then the in-SoM pull down is the
dominant pull resistor. This is the case on boards with BCM54213PE
PHY.

In case AR8031 PHY is populated, the PHY MDIO address is 0, in
case BCM54213PE PHY is populated, the PHY MDIO address is 1, the
fdtdec_board_setup() is used to patch the correct address into
the U-Boot control DT.

Enable broadcom PHY support to support both PHYs.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2024-01-08 14:34:16 -03:00
..
imx8mm_data_modul_edm_sbc.c ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC 2024-01-08 14:34:16 -03:00
imximage.cfg ARM: dts: imx: Add support for Data Modul i.MX8M Mini eDM SBC 2022-04-12 19:10:44 +02:00
Kconfig ARM: dts: imx: Add support for Data Modul i.MX8M Mini eDM SBC 2022-04-12 19:10:44 +02:00
lpddr4_timing.h ARM: imx: Factor common code out of Data Modul i.MX8M Mini eDM SBC 2023-01-30 23:23:02 +01:00
lpddr4_timing_2G_32.c ARM: imx: Update Data Modul i.MX8M Mini eDM SBC DRAM timing 2022-09-18 22:56:10 +02:00
lpddr4_timing_4G_32.c ARM: imx: Update Data Modul i.MX8M Mini eDM SBC DRAM timing 2022-09-18 22:56:10 +02:00
MAINTAINERS MAINTAINERS: Fix path typos and similar 2023-07-25 12:44:47 -04:00
Makefile ARM: imx: Factor common code out of Data Modul i.MX8M Mini eDM SBC 2023-01-30 23:23:02 +01:00
spl.c ARM: imx: Factor common code out of Data Modul i.MX8M Mini eDM SBC 2023-01-30 23:23:02 +01:00