ARM: dts: imx7d-smegw01: Pass Ethernet aliases
authorFabio Estevam <festevam@denx.de>
Wed, 24 May 2023 13:10:08 +0000 (10:10 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 27 May 2023 13:06:51 +0000 (21:06 +0800)
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 <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d-smegw01.dts

index 7ec830e..85b97b5 100644 (file)
@@ -13,6 +13,8 @@
        compatible = "storopack,imx7d-smegw01", "fsl,imx7d";
 
        aliases {
+               ethernet0 = &fec1;
+               ethernet1 = &fec2;
                mmc0 = &usdhc1;
                mmc1 = &usdhc3;
                mmc2 = &usdhc2;