diff mbox series

[2/4] arm64: dts: imx8mq: Add ethernet alias

Message ID 1589940166-736-3-git-send-email-peng.fan@nxp.com (mailing list archive)
State Mainlined
Commit 614d88460f28cc0e73268ab89c770a909d7004a5
Headers show
Series arm64: dts: imx8m: dtb aliases update | expand

Commit Message

Peng Fan May 20, 2020, 2:02 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Add ethernet alias, so bootloader code can use this to find the
primary ethernet device, and set the MAC address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 9d3c9693d713..1d15680a4962 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -20,6 +20,7 @@ 
 	#size-cells = <2>;
 
 	aliases {
+		ethernet0 = &fec1;
 		gpio0 = &gpio1;
 		gpio1 = &gpio2;
 		gpio2 = &gpio3;