public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2] Add ethernet0 alias in Nanopi NEO's device tree
@ 2022-03-26 12:09 Baltazár Radics
  2022-04-03 23:32 ` Andre Przywara
  0 siblings, 1 reply; 2+ messages in thread
From: Baltazár Radics @ 2022-03-26 12:09 UTC (permalink / raw)
  To: u-boot; +Cc: Baltazár Radics

This is required to enable automatic MAC address generation.

Signed-off-by: Baltazár Radics <baltazar.radics@gmail.com>
---
 arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts
index 9f33f6fae..df71fab3c 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 {
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-04  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 12:09 [PATCH v2] Add ethernet0 alias in Nanopi NEO's device tree Baltazár Radics
2022-04-03 23:32 ` Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox