diff mbox series

arm64: dts: marvell: espressobin: add ethernet alias

Message ID 20201104114813.1199-1-pali@kernel.org
State New
Headers show
Series arm64: dts: marvell: espressobin: add ethernet alias | expand

Commit Message

Pali Rohár Nov. 4, 2020, 11:48 a.m. UTC
From: Tomasz Maciej Nowak <tmn505@gmail.com>

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.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
[pali: Backported to 4.14]
Signed-off-by: Pali Rohár <pali@kernel.org>

---
This patch is backport for 4.14 stable release. From original patch were
removed aliases for uarts as they are not defined in 4.14 kernel version.

Stable releases 4.19 and 5.4 already contain backport of this patch.
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Greg KH Nov. 9, 2020, 12:46 p.m. UTC | #1
On Wed, Nov 04, 2020 at 12:48:13PM +0100, Pali Rohár wrote:
> From: Tomasz Maciej Nowak <tmn505@gmail.com>

> 

> 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.

> 

> Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>

> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

> [pali: Backported to 4.14]

> Signed-off-by: Pali Rohár <pali@kernel.org>

> 

> ---

> This patch is backport for 4.14 stable release. From original patch were

> removed aliases for uarts as they are not defined in 4.14 kernel version.

> 

> Stable releases 4.19 and 5.4 already contain backport of this patch.


Now queued up, thanks.

greg k-h
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index 2ce52ba74f73..13c0ec053ada 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -52,6 +52,10 @@ 
 	model = "Globalscale Marvell ESPRESSOBin Board";
 	compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
 
+	aliases {
+		ethernet0 = &eth0;
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};