stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
@ 2020-08-05  9:43 Pali Rohár
  2020-08-18 17:30 ` Pali Rohár
  0 siblings, 1 reply; 5+ messages in thread
From: Pali Rohár @ 2020-08-05  9:43 UTC (permalink / raw)
  To: stable

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 5.4 and older versions]
Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
index fbcf03f86c96..05dc58c13fa4 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
@@ -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";
 	};
-- 
2.20.1


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

* Re: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
  2020-08-05  9:43 [PATCH] arm64: dts: marvell: espressobin: add ethernet alias Pali Rohár
@ 2020-08-18 17:30 ` Pali Rohár
  2020-08-20  8:12   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Pali Rohár @ 2020-08-18 17:30 UTC (permalink / raw)
  To: stable

On Wednesday 05 August 2020 11:43:33 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 5.4 and older versions]
> Signed-off-by: Pali Rohár <pali@kernel.org>

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

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> index fbcf03f86c96..05dc58c13fa4 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> @@ -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";
>  	};
> -- 
> 2.20.1
> 

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

* Re: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
  2020-08-18 17:30 ` Pali Rohár
@ 2020-08-20  8:12   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2020-08-20  8:12 UTC (permalink / raw)
  To: Pali Rohár; +Cc: stable

On Tue, Aug 18, 2020 at 07:30:13PM +0200, Pali Rohár wrote:
> On Wednesday 05 August 2020 11:43:33 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 5.4 and older versions]
> > Signed-off-by: Pali Rohár <pali@kernel.org>
> 
> 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

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

* [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
@ 2020-11-04 11:48 Pali Rohár
  2020-11-09 12:46 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Pali Rohár @ 2020-11-04 11:48 UTC (permalink / raw)
  To: stable

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(+)

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";
 	};
-- 
2.20.1


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

* Re: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
  2020-11-04 11:48 Pali Rohár
@ 2020-11-09 12:46 ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2020-11-09 12:46 UTC (permalink / raw)
  To: Pali Rohár; +Cc: stable

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

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

end of thread, other threads:[~2020-11-09 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-05  9:43 [PATCH] arm64: dts: marvell: espressobin: add ethernet alias Pali Rohár
2020-08-18 17:30 ` Pali Rohár
2020-08-20  8:12   ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2020-11-04 11:48 Pali Rohár
2020-11-09 12:46 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).