From dd2a06965751e64d990f4a30883d616219abdea5 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 21 Sep 2021 14:51:41 +0200 Subject: ARM64: dts: verdin-imx8mp: fix mac address passing Verdin iMX8M Plus on-module Ethernet device is eqos, while the optional secondary Ethernet is fec, update the Ethernet aliases in the .dtsi file so that ethaddr from U-Boot is set to eqos and eth1addr to fec. Without this change, the Ethernet interfaces may have different MAC addresses between Linux and U-Boot. Signed-off-by: Marcel Ziswiler --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm64/boot/dts/freescale') diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 85422979b11b..b033794d8294 100755 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -13,6 +13,9 @@ }; aliases { + /* Ethernet aliases to ensure correct MAC addresses */ + ethernet0 = &eqos; + ethernet1 = &fec; rtc0 = &rtc_i2c; rtc1 = &snvs_rtc; }; -- cgit v1.2.3