From: Baltazár Radics Date: Sat, 26 Mar 2022 12:09:10 +0000 (+0100) Subject: Add ethernet0 alias in Nanopi NEO's device tree X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=fbc8acf644ceb41e92d67558c7bb86d730fb8135;p=u-boot.git Add ethernet0 alias in Nanopi NEO's device tree This syncs the sun8i-h3-nanopi-neo.dts from the Linux tree, from tag v5.18-rc1. The alias is required to enable automatic MAC address generation. Signed-off-by: Baltazár Radics Reviewed-by: Andre Przywara Signed-off-by: Andre Przywara --- diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts index 9f33f6fae5..df71fab3cf 100644 --- a/arch/arm/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/dts/sun8i-h3-nanopi-neo.dts @@ -45,6 +45,10 @@ / { model = "FriendlyARM NanoPi NEO"; compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; + + aliases { + ethernet0 = &emac; + }; }; &ehci0 {