Skip to content

Commit 5871158

Browse files
SuperDavidWurkhuangtao
authored andcommitted
ARM: dts: rk312x: 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 <david.wu@rock-chips.com> Change-Id: Ibeae8b4cc09bbf3cfb7b64e51f6f6aa35820bf0d
1 parent 4ddf374 commit 5871158

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/boot/dts/rk312x.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
#size-cells = <1>;
5757

5858
aliases {
59+
ethernet0 = &gmac;
5960
serial0 = &uart0;
6061
serial1 = &uart1;
6162
serial2 = &uart2;

0 commit comments

Comments
 (0)