summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2019-01-08 20:18:40 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-01-09 11:19:54 +0100
commitcc4bddade114b696ab27c1a77cfc7040151306da (patch)
tree98327bd2ab4d957c6abb22b5ddfed8ef00b08985 /arch/arm
parentaa9ad54285c78e7f69b20b3734c0c79aa98af3c3 (diff)
downloadlinux-cc4bddade114b696ab27c1a77cfc7040151306da.tar.gz
linux-cc4bddade114b696ab27c1a77cfc7040151306da.tar.bz2
linux-cc4bddade114b696ab27c1a77cfc7040151306da.zip
ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
Because "ethernet0" alias is missing, U-Boot doesn't generate board specific MAC address. Effect of this is random MAC address every boot and thus new IP address is assigned to the board. Fix this by adding alias. Fixes: 7389172fc3ed ("ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2") Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> [Maxime: Removed unneeded comment] Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-beelink-x2.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 5d23667dc2d2..25540b7694d5 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -53,7 +53,7 @@
aliases {
serial0 = &uart0;
- /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
+ ethernet0 = &emac;
ethernet1 = &sdiowifi;
};