Skip to contentSkip to conversation

arm64: dts: marvell: espressobin: add ethernet alias

PATCH In review Pali Rohár 2 participants 3 messages Aug 5, 2020 – Aug 20, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: marvell: espressobin: add ethernet alias

From: Tomasz Maciej Nowak <[email protected]>

commit 5253cb8c00a6f4356760efb38bca0e0393aa06de upstream.

The maker of this board and its variants, stores MAC address in U-Boot environment. Add alias for bootloader to recognise, to which ethernet node inject the factory MAC address.

[pali: Backported to 5.4 and older versions]
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +6 -0
index fbcf03f86c96..05dc58c13fa4 100644
@@ -19,6 +19,12 @@
 	model = "Globalscale Marvell ESPRESSOBin Board";
 	compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
 
+	aliases {
+		ethernet0 = &eth0;
+		serial0 = &uart0;
+		serial1 = &uart1;
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
Signature · 1 line
2.20.1
#1 lore raw
Quoted 4 lines · On Wednesday 05 August 2020 11:43:33 Pali Rohár wrote:

From: Tomasz Maciej Nowak <[email protected]>

commit 5253cb8c00a6f4356760efb38bca0e0393aa06de upstream.

Quoted 8 lines

The maker of this board and its variants, stores MAC address in U-Boot environment. Add alias for bootloader to recognise, to which ethernet node inject the factory MAC address.

[pali: Backported to 5.4 and older versions]

Hello! I should have been more explicit, that this patch is backport for stable releases: 5.4 4.19 4.14

Quoted 24 lines
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +6 -0
index fbcf03f86c96..05dc58c13fa4 100644
@@ -19,6 +19,12 @@
 	model = "Globalscale Marvell ESPRESSOBin Board";
 	compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
 
+	aliases {
+		ethernet0 = &eth0;
+		serial0 = &uart0;
+		serial1 = &uart1;
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
Signature · 1 line
2.20.1
maintainer
#2 lore raw
Quoted 9 lines · Pali Rohár
Quoted 8 lines · On Wednesday 05 August 2020 11:43:33 Pali Rohár wrote:

From: Tomasz Maciej Nowak <[email protected]>

commit 5253cb8c00a6f4356760efb38bca0e0393aa06de upstream.

The maker of this board and its variants, stores MAC address in U-Boot environment. Add alias for bootloader to recognise, to which ethernet node inject the factory MAC address.

Quoted 7 lines
Quoted 4 lines
[pali: Backported to 5.4 and older versions]

Hello! I should have been more explicit, that this patch is backport for stable releases: 5.4 4.19 4.14

Thanks for that, now queued up.

greg k-h