OSDN Git Service

ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 8 Jan 2019 19:18:40 +0000 (20:18 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 9 Jan 2019 10:19:54 +0000 (11:19 +0100)
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>
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts

index 5d23667..25540b7 100644 (file)
@@ -53,7 +53,7 @@
 
        aliases {
                serial0 = &uart0;
-               /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
+               ethernet0 = &emac;
                ethernet1 = &sdiowifi;
        };