Skip to content

Commit dff751c

Browse files
Icenowywens
authored andcommitted
arm64: allwinner: a64: pine64: add missing ethernet0 alias
The EMAC Ethernet controller was enabled, but an accompanying alias was not added. This results in unstable numbering if other Ethernet devices, such as a USB dongle, are present. Also, the bootloader uses the alias to assign a generated stable MAC address to the device node. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Fixes: 9702394 ("arm64: allwinner: pine64: Enable dwmac-sun8i") [wens@csie.org: Rewrite commit log as fixing a previous patch with Fixes] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 7dc88d2 commit dff751c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
compatible = "pine64,pine64", "allwinner,sun50i-a64";
5252

5353
aliases {
54+
ethernet0 = &emac;
5455
serial0 = &uart0;
5556
serial1 = &uart1;
5657
serial2 = &uart2;

0 commit comments

Comments
 (0)