OSDN Git Service

ARM: dts: imx7d-sdb: Pass the Ethernet aliases
authorFabio Estevam <festevam@denx.de>
Tue, 11 Jul 2023 22:01:25 +0000 (19:01 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 25 Jul 2023 07:46:48 +0000 (15:46 +0800)
Describe the Ethernet aliases so that the second MAC address
can be retrieved from the bootloader.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts

index 75f1cd1..0462e43 100644 (file)
        model = "Freescale i.MX7 SabreSD Board";
        compatible = "fsl,imx7d-sdb", "fsl,imx7d";
 
+       aliases {
+               ethernet0 = &fec1;
+               ethernet1 = &fec2;
+       };
+
        chosen {
                stdout-path = &uart1;
        };