* [PATCH] ARM: dts: cygnus: add ethernet0 alias
@ 2018-05-03 9:56 Clément Péron
2018-05-03 15:13 ` Florian Fainelli
2018-06-04 21:43 ` Florian Fainelli
0 siblings, 2 replies; 5+ messages in thread
From: Clément Péron @ 2018-05-03 9:56 UTC (permalink / raw)
To: linux-arm-kernel
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>;
--
2.17.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] ARM: dts: cygnus: add ethernet0 alias
2018-05-03 9:56 [PATCH] ARM: dts: cygnus: add ethernet0 alias Clément Péron
@ 2018-05-03 15:13 ` Florian Fainelli
2018-05-28 8:22 ` Clément Péron
2018-06-04 21:43 ` Florian Fainelli
1 sibling, 1 reply; 5+ messages in thread
From: Florian Fainelli @ 2018-05-03 15:13 UTC (permalink / raw)
To: linux-arm-kernel
+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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ARM: dts: cygnus: add ethernet0 alias
2018-05-03 15:13 ` Florian Fainelli
@ 2018-05-28 8:22 ` Clément Péron
2018-05-28 19:22 ` Scott Branden
0 siblings, 1 reply; 5+ messages in thread
From: Clément Péron @ 2018-05-28 8:22 UTC (permalink / raw)
To: linux-arm-kernel
Could you review it, please.
Thanks
On Thu, 3 May 2018 at 17:13, Florian Fainelli <f.fainelli@gmail.com> wrote:
> +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
Clement
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ARM: dts: cygnus: add ethernet0 alias
2018-05-28 8:22 ` Clément Péron
@ 2018-05-28 19:22 ` Scott Branden
0 siblings, 0 replies; 5+ messages in thread
From: Scott Branden @ 2018-05-28 19:22 UTC (permalink / raw)
To: linux-arm-kernel
On 18-05-28 01:22 AM, Cl?ment P?ron wrote:
> Could you review it, please.
> Thanks
>
> On Thu, 3 May 2018 at 17:13, Florian Fainelli <f.fainelli@gmail.com> wrote:
>
>> +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>
Acked-by: Scott Branden <scott.branden@broadcom.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
> Clement
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ARM: dts: cygnus: add ethernet0 alias
2018-05-03 9:56 [PATCH] ARM: dts: cygnus: add ethernet0 alias Clément Péron
2018-05-03 15:13 ` Florian Fainelli
@ 2018-06-04 21:43 ` Florian Fainelli
1 sibling, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2018-06-04 21:43 UTC (permalink / raw)
To: linux-arm-kernel
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>
Applied to devicetree/next, thanks. Next time, please do include the
proper mailing-lists, that way it does not escape my workflow involving
patchwork behind bcm-kernel-feedback-list at broadcom.com. Thank you
--
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-04 21:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-03 9:56 [PATCH] ARM: dts: cygnus: add ethernet0 alias Clément Péron
2018-05-03 15:13 ` Florian Fainelli
2018-05-28 8:22 ` Clément Péron
2018-05-28 19:22 ` Scott Branden
2018-06-04 21:43 ` Florian Fainelli
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).