| From 64184bd948fbbb460ab81d4238fae4bc7c303469 Mon Sep 17 00:00:00 2001 |
| From: Jernej Skrabec <jernej.skrabec@siol.net> |
| Date: Tue, 8 Jan 2019 20:18:40 +0100 |
| Subject: 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> |
| --- |
| arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| 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; |
| }; |
| |
| -- |
| 2.19.1 |
| |