diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2017-07-22 10:28:50 +0800 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2017-08-10 14:00:10 +0800 |
commit | 7dc88d2afb6e5c6bd6bbedc394eb43c1e3114bdd (patch) | |
tree | 6ccc01e294c9c18404f32c8c17375786b933324b /arch/arm64 | |
parent | c50f9fb6c535edf4731eecb53d91ebc297e82e5b (diff) | |
download | linux-7dc88d2afb6e5c6bd6bbedc394eb43c1e3114bdd.tar.gz linux-7dc88d2afb6e5c6bd6bbedc394eb43c1e3114bdd.tar.bz2 linux-7dc88d2afb6e5c6bd6bbedc394eb43c1e3114bdd.zip |
arm64: allwinner: a64: bananapi-m64: 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: e7295499903d ("arm64: allwinner: bananapi-m64: 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>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 0d1f026d831a..ba2fde2909f9 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -51,6 +51,7 @@ compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; aliases { + ethernet0 = &emac; serial0 = &uart0; serial1 = &uart1; }; |