Skip to content

Commit

Permalink
ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
Browse files Browse the repository at this point in the history
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: 7389172 ("ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2")
Signed-off-by: Jernej Skrabec <[email protected]>
[Maxime: Removed unneeded comment]
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
jernejsk authored and mripard committed Jan 9, 2019
1 parent aa9ad54 commit cc4bdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

aliases {
serial0 = &uart0;
/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
ethernet0 = &emac;
ethernet1 = &sdiowifi;
};

Expand Down

0 comments on commit cc4bdda

Please sign in to comment.