summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-07-22 04:28:52 +0200
committerChen-Yu Tsai <wens@csie.org>2017-08-10 08:02:38 +0200
commit56a9155074b4d23aa07a98c35c6f107dd50a9367 (patch)
tree93aed49e0e11c4f6d416b27662d3cb069026f1ed /arch
parentarm64: allwinner: a64: pine64: add missing ethernet0 alias (diff)
downloadlinux-56a9155074b4d23aa07a98c35c6f107dd50a9367.tar.xz
linux-56a9155074b4d23aa07a98c35c6f107dd50a9367.zip
arm64: allwinner: a64: sopine: 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: 96219b004865 ("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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
index 17eb1cc5bf6b..216e3a5dafae 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
@@ -53,6 +53,7 @@
"allwinner,sun50i-a64";
aliases {
+ ethernet0 = &emac;
serial0 = &uart0;
};