]>
Commit | Line | Data |
---|---|---|
941c5db0 SL |
1 | From 9e35eaee5c526b2fe44b47a2b7dbfe5127e19a63 Mon Sep 17 00:00:00 2001 |
2 | From: Jernej Skrabec <jernej.skrabec@siol.net> | |
3 | Date: Tue, 8 Jan 2019 20:18:40 +0100 | |
4 | Subject: ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2 | |
5 | ||
6 | [ Upstream commit cc4bddade114b696ab27c1a77cfc7040151306da ] | |
7 | ||
8 | Because "ethernet0" alias is missing, U-Boot doesn't generate board | |
9 | specific MAC address. Effect of this is random MAC address every boot | |
10 | and thus new IP address is assigned to the board. | |
11 | ||
12 | Fix this by adding alias. | |
13 | ||
14 | Fixes: 7389172fc3ed ("ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2") | |
15 | Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> | |
16 | [Maxime: Removed unneeded comment] | |
17 | Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> | |
18 | Signed-off-by: Sasha Levin <sashal@kernel.org> | |
19 | --- | |
20 | arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 2 +- | |
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
22 | ||
23 | diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | |
24 | index 5d23667dc2d2..25540b7694d5 100644 | |
25 | --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | |
26 | +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | |
27 | @@ -53,7 +53,7 @@ | |
28 | ||
29 | aliases { | |
30 | serial0 = &uart0; | |
31 | - /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ | |
32 | + ethernet0 = &emac; | |
33 | ethernet1 = &sdiowifi; | |
34 | }; | |
35 | ||
36 | -- | |
37 | 2.19.1 | |
38 |