]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Add ethernet0 alias in Nanopi NEO's device tree
authorBaltazár Radics <baltazar.radics@gmail.com>
Sat, 26 Mar 2022 12:09:10 +0000 (13:09 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:17 +0000 (23:24 +0100)
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 <baltazar.radics@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/dts/sun8i-h3-nanopi-neo.dts

index 9f33f6fae5958e4ca37ffde4f513ed41868bec3a..df71fab3cf4eedb6de7e65d487963edb6fd0e9ca 100644 (file)
 / {
        model = "FriendlyARM NanoPi NEO";
        compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3";
+
+       aliases {
+               ethernet0 = &emac;
+       };
 };
 
 &ehci0 {