From 5a1c441ec0ddab1c186cc22bf2a1904c46c95bcd Mon Sep 17 00:00:00 2001 From: David Wu Date: Mon, 26 Apr 2021 16:47:53 +0800 Subject: [PATCH] ARM: dts: rk322x: Add ethernet alias for uboot write MAC address Now we use U-Boot to write the MAC address into DTB, to solve the problem of getting the MAC address in the vendor partition too late at the kernel level, so the Ethernet alias is added for U-Boot to quickly find the gmac DTB node. Signed-off-by: David Wu Change-Id: I603946b27ab4668ed5ff4dbb629f3ed9b8741b08 --- arch/arm/boot/dts/rk322x.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 5f02a87cbbf0..27df4aa36e3e 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -14,6 +14,7 @@ interrupt-parent = <&gic>; aliases { + ethernet0 = &gmac; serial0 = &uart0; serial1 = &uart1; serial2 = &uart2;