aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-07-31 01:34:50 +0200
committerPatrice Chotard <patrice.chotard@st.com>2020-08-13 09:56:44 +0200
commit9ff770b497300c9c7ecf54165b0281cec4c8fca7 (patch)
tree54c9f4f1bfa0e154a7276ab4116dae2b96770bf6 /arch
parentb2a2911dadf028b5917e480312dc92f2e99e13d7 (diff)
downloadu-boot-9ff770b497300c9c7ecf54165b0281cec4c8fca7.zip
u-boot-9ff770b497300c9c7ecf54165b0281cec4c8fca7.tar.gz
u-boot-9ff770b497300c9c7ecf54165b0281cec4c8fca7.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
index f96de9e..92345b7 100644
--- a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
@@ -18,6 +18,7 @@
mmc1 = &sdmmc2;
spi0 = &qspi;
usb0 = &usbotg_hs;
+ ethernet1 = &ksz8851;
};
config {