ARM: dts: sun8i: Add ethernet0 alias in Nanopi NEO's device tree

This is required for U-Boot to generate a MAC address for it
automatically.
(Without this, the MAC address will be random on each boot.)

Signed-off-by: Baltazár Radics <baltazar.radics@gmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220129154214.45629-1-baltazar.radics@gmail.com
This commit is contained in:
Baltazár Radics
2022-01-29 16:42:14 +01:00
committed by Maxime Ripard
parent 210b3ef939
commit e4bae63fe5

View File

@@ -45,6 +45,10 @@
/ {
model = "FriendlyARM NanoPi NEO";
compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3";
aliases {
ethernet0 = &emac;
};
};
&ehci0 {