Skip to content
Commit f4a56510 authored by Marek Vasut's avatar Marek Vasut Committed by Patrice Chotard
Browse files

ARM: dts: stm32: Auto-detect second MAC on STM32MP15xx DH electronics DHCOM



Test whether this system is compatible with STM32MP15xx DHCOM SoM,
if so, test whether R292 pull up is populated on pin PC3, which is
an indication that the second MAC chip, KS8851-16MLL, is populated.
Use this information to patch 'status' DT property into the second
ethernet MAC DT node and enable/disable the MAC on systems where
the chip is/isn't populated respectively.

Use spl_perform_fixups() to patch the U-Boot proper DT from SPL and
ft_board_setup() to patch Linux DT from U-Boot proper. This way both
software components are configured the same way.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent ff51ef85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment