Add ethernet0 alias in Nanopi NEO's device tree
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts +4 -0
@@ -45,6 +45,10 @@ / { model = "FriendlyARM NanoPi NEO"; compatible = "friendlyarm,nanopi-neo", "allwinner,sun8i-h3"; + + aliases { + ethernet0 = &emac; + }; }; &ehci0 {
Signature · 1 line
2.35.1
Hi!
Dne sobota, 29. januar 2022 ob 16:42:14 CET je Baltazár Radics napisal(a):
Quoted 5 lines
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 <[email protected]>
Acked-by Jernej Skrabec <[email protected]>
Thanks!
Best regards,
Jernej
Maxime Ripard
AppliedRe: (subset) [PATCH] Add ethernet0 alias in Nanopi NEO's device tree
In reply to Baltazár RadicsQuoted 5 lines · Baltazár Radics
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.)
Applied to sunxi/linux.git (sunxi/for-next).
Thanks!
Maxime