ARM: stm32: Add MAC address readout from fuses on DH STM32MP1 DHSOM
authorMarek Vasut <marek.vasut@mailbox.org>
Thu, 23 Oct 2025 21:48:26 +0000 (23:48 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 17 Nov 2025 16:45:11 +0000 (10:45 -0600)
commit96b66742a99ac22f812536ff89efda90f7f09d8c
tree066d58db5d53d62909bf3556c95fd203d8a6a5c0
parentf37f0dc8e9b56c1566d654eed3ab169e3d7ab955
ARM: stm32: Add MAC address readout from fuses on DH STM32MP1 DHSOM

Add support for reading out the MAC address from SoC fuses on DH STM32MP1 DHSOM.
The DH STM32MP1 DHSOM may contain external ethernet MACs, which benefit from the
MAC address stored in SoC fuses as well, handle those consistently. This however
means the architecture setup_mac_address() cannot be used and instead a simpler
local fuse read out is implemented in the board file.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
board/dhelectronics/dh_stm32mp1/board.c