Skip to content

Commit

Permalink
arm64: allwinner: a64: sopine: add missing ethernet0 alias
Browse files Browse the repository at this point in the history
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: 96219b0 ("arm64: allwinner: a64: add device tree for SoPine
		      with baseboard")
[wens@csie.org: Rewrite commit log as fixing a previous patch with Fixes]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
  • Loading branch information
Icenowy Zheng authored and Chen-Yu Tsai committed Aug 10, 2017
1 parent dff751c commit 56a9155
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"allwinner,sun50i-a64";

aliases {
ethernet0 = &emac;
serial0 = &uart0;
};

Expand Down

0 comments on commit 56a9155

Please sign in to comment.