summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-05-24 10:10:08 -0300
committerShawn Guo <shawnguo@kernel.org>2023-05-27 21:06:51 +0800
commitf9acd1a110b577a9adf3f11d0aee973bd792ed29 (patch)
tree296361e2f16b379afd29c9e7367b2a4370426f1d /arch
parent353791ce48c8e0683e863493f4c35a6bba94b7d9 (diff)
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 <festevam@denx.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx7d-smegw01.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-smegw01.dts b/arch/arm/boot/dts/imx7d-smegw01.dts
index 7ec830e4ee05..85b97b5f64e7 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;