From: Fabio Estevam Date: Wed, 24 May 2023 13:10:08 +0000 (-0300) Subject: ARM: dts: imx7d-smegw01: Pass Ethernet aliases X-Git-Tag: v6.5-rc1~142^2~22^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9acd1a110b577a9adf3f11d0aee973bd792ed29;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: imx7d-smegw01: Pass Ethernet aliases Pass Ethernet aliases, so that the bootloader can properly pass MAC address to Linux. This fixes the problem of getting a random MAC address for eth1 in Linux. Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts index 7ec830e4ee05e..85b97b5f64e72 100644 --- a/arch/arm/boot/dts/imx7d-smegw01.dts +++ b/arch/arm/boot/dts/imx7d-smegw01.dts @@ -13,6 +13,8 @@ compatible = "storopack,imx7d-smegw01", "fsl,imx7d"; aliases { + ethernet0 = &fec1; + ethernet1 = &fec2; mmc0 = &usdhc1; mmc1 = &usdhc3; mmc2 = &usdhc2;