u-boot/arch
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
..
arc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
arm ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC 2024-01-08 14:34:16 -03:00
m68k Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
microblaze bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
mips Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
nios2 Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
powerpc Merge patch series "Complete decoupling of bootm logic from commands" 2023-12-21 16:10:00 -05:00
riscv riscv: add ACPI fields to global data 2024-01-07 13:49:15 -07:00
sandbox acpi: Write pointers to tables instead of addresses 2024-01-07 13:45:07 -07:00
sh bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
x86 acpi: use 64-bit addresses in FADT table 2024-01-07 13:45:07 -07:00
xtensa bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
.gitignore
Kconfig riscv: allow usage of ACPI 2024-01-07 13:49:15 -07:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds