From: f.fainelli@gmail.com (Florian Fainelli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: cygnus: add ethernet0 alias
Date: Thu, 3 May 2018 08:13:33 -0700 [thread overview]
Message-ID: <74263153-2f69-71e1-513b-e034a505588b@gmail.com> (raw)
In-Reply-To: <20180503095618.2312-1-peron.clem@gmail.com>
+Ray, Scott, Eric, list
On 05/03/2018 02:56 AM, Cl?ment P?ron wrote:
> In order to avoid Linux generating a random mac address on every boot,
> add an ethernet0 alias that will allow u-boot to patch the dtb with
> the MAC address.
>
> Signed-off-by: Cl?ment P?ron <peron.clem@gmail.com>
> ---
> arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
> index 9fe4f5a6379e..1a05b8f48b54 100644
> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi
> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
> @@ -41,6 +41,10 @@
> model = "Broadcom Cygnus SoC";
> interrupt-parent = <&gic>;
>
> + aliases {
> + ethernet0 = ð0;
> + };
> +
> cpus {
> #address-cells = <1>;
> #size-cells = <0>;
>
--
Florian
next prev parent reply other threads:[~2018-05-03 15:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-03 9:56 [PATCH] ARM: dts: cygnus: add ethernet0 alias Clément Péron
2018-05-03 15:13 ` Florian Fainelli [this message]
2018-05-28 8:22 ` Clément Péron
2018-05-28 19:22 ` Scott Branden
2018-06-04 21:43 ` Florian Fainelli
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=74263153-2f69-71e1-513b-e034a505588b@gmail.com \
--to=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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.