All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: stable@vger.kernel.org
Subject: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias
Date: Wed,  4 Nov 2020 12:48:13 +0100	[thread overview]
Message-ID: <20201104114813.1199-1-pali@kernel.org> (raw)

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


             reply	other threads:[~2020-11-04 11:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 11:48 Pali Rohár [this message]
2020-11-09 12:46 ` [PATCH] arm64: dts: marvell: espressobin: add ethernet alias Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2020-08-05  9:43 Pali Rohár
2020-08-18 17:30 ` Pali Rohár
2020-08-20  8:12   ` Greg KH
2020-02-27 16:52 Tomasz Maciej Nowak
2020-02-27 16:52 ` Tomasz Maciej Nowak
2020-03-13 20:30 ` Gregory CLEMENT
2020-03-13 20:30   ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201104114813.1199-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.