]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: stm32: Update eth1addr from EEPROM if eth1 present
authorMarek Vasut <marex@denx.de>
Thu, 30 Jul 2020 23:34:50 +0000 (01:34 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:56:44 +0000 (09:56 +0200)
commit9ff770b497300c9c7ecf54165b0281cec4c8fca7
tree54c9f4f1bfa0e154a7276ab4116dae2b96770bf6
parentb2a2911dadf028b5917e480312dc92f2e99e13d7
ARM: dts: stm32: Update eth1addr from EEPROM if eth1 present

The STM32MP1 DHCOM has two ethernet interfaces, the on-SoM DWMAC and KS8851.
Set eth1addr for the KS8851 to a MAC address of the DWMAC incremented by 1.
The MAC of the DWMAC is set from on-SoM EEPROM already, but the MAC address
of KS8851 was left uninitialized, so fix this.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
board/dhelectronics/dh_stm32mp1/board.c