diff mbox series

ARM: dts: imx7d-sdb: Pass the Ethernet aliases

Message ID 20230711220125.648410-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: imx7d-sdb: Pass the Ethernet aliases | expand

Commit Message

Fabio Estevam July 11, 2023, 10:01 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Describe the Ethernet aliases so that the second MAC address
can be retrieved from the bootloader.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Shawn Guo July 19, 2023, 2:44 a.m. UTC | #1
On Tue, Jul 11, 2023 at 07:01:25PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> Describe the Ethernet aliases so that the second MAC address
> can be retrieved from the bootloader.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts
index 75f1cd14bea1..0462e43ec09b 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx7d-sdb.dts
@@ -10,6 +10,11 @@  / {
 	model = "Freescale i.MX7 SabreSD Board";
 	compatible = "fsl,imx7d-sdb", "fsl,imx7d";
 
+	aliases {
+		ethernet0 = &fec1;
+		ethernet1 = &fec2;
+	};
+
 	chosen {
 		stdout-path = &uart1;
 	};