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 to enable automatic MAC address generation.
Signed-off-by Baltazár Radics <[email protected]>
--- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/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
Quoted 21 lines · Baltazár Radics
This is required to enable automatic MAC address generation.
Signed-off-by Baltazár Radics <[email protected]>---
arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++1 file changed, 4 insertions(+)arch/arm/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; + } };
Quoted 2 lines
&ehci0 {
Oops, I just realized the patch I sent was wrong, there's a missing semicolon. Here's the correct patch:
Signed-off-by Baltazár Radics <[email protected]>
--- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/dts/sun8i- renamed from arch/arm/dts/sun8i-h3-nanopi-neo.dts +0 -0
h3-nanopi-neo.dts
index 9f33f6fae..df71fab3c 100644
arch/arm/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 {
Hi
Quoted 40 lines · Baltazár Radics
Quoted 13 lines · Baltazár Radics
This is required to enable automatic MAC address generation.
Signed-off-by Baltazár Radics <[email protected]>--- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/dts/sun8i-h3-nanopi-neo.dts +0
-0arch/arm/dts/sun8i-h3-nanopi-neo.dts line 54
Quoted 10 lines
arch/arm/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 {Oops, I just realized the patch I sent was wrong, there's a missing semicolon. Here's the correct patch:
Signed-off-by Baltazár Radics <[email protected]>--- arch/arm/dts/sun8i-h3-nanopi-neo.dts | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/dts/sun8i- renamed from arch/arm/dts/sun8i-h3-nanopi-neo.dts +0
-0
h3-nanopi-neo.dts
index9f33f6fae..df71fab3c100644
arch/arm/dts/sun8i-h3-nanopi-neo.dts line 54
Quoted 10 lines
arch/arm/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 {
Please resend as v2
Michael
Signature · 11 lines
Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 [email protected] __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 [email protected] www.amarulasolutions.com