Skip to content

Commit 4759e1a

Browse files
SuperDavidWurkhuangtao
authored andcommitted
arm64: dts: rockchip: rk1808: 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: Ie7ec87208811e2fd7a217558d97e0f1bd46d122d
1 parent 71d181b commit 4759e1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk1808.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#size-cells = <2>;
2222

2323
aliases {
24+
ethernet0 = &gmac;
2425
i2c0 = &i2c0;
2526
i2c1 = &i2c1;
2627
i2c2 = &i2c2;

0 commit comments

Comments
 (0)