summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2019-01-08 20:18:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-13 14:02:33 -0700
commit094ed50726a28d4797e16742a1c1fd9c3f578d20 (patch)
tree2e5de0f3992bcbf49005308ab64024c7eb02e238 /arch
parentec27bcd3f688abff5b02769760763fe5b358ceae (diff)
downloadlinux-stable-094ed50726a28d4797e16742a1c1fd9c3f578d20.tar.gz
linux-stable-094ed50726a28d4797e16742a1c1fd9c3f578d20.tar.bz2
linux-stable-094ed50726a28d4797e16742a1c1fd9c3f578d20.zip
ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
[ Upstream commit cc4bddade114b696ab27c1a77cfc7040151306da ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-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;
};