* [PATCH] ARM: bcm2835: dt: add index to the ethernet alias
@ 2017-01-30 18:44 Baruch Siach
2017-01-31 10:07 ` Lubomir Rintel
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-01-30 18:44 UTC (permalink / raw)
To: linux-arm-kernel
An alias name should have an index number even when it is the only of its type.
This allows U-Boot to add the local-mac-address property. Otherwise U-Boot
skips the alias.
Cc: Lubomir Rintel <lkundrak@v3.sk>
Fixes: 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device trees")
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi | 2 +-
arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
index 12c981e51134..9a0599f711ff 100644
--- a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
+++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
@@ -1,6 +1,6 @@
/ {
aliases {
- ethernet = ðernet;
+ ethernet0 = ðernet;
};
};
diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
index 3f0a56ebcf1f..dc7ae776db5f 100644
--- a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
+++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
@@ -1,6 +1,6 @@
/ {
aliases {
- ethernet = ðernet;
+ ethernet0 = ðernet;
};
};
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: bcm2835: dt: add index to the ethernet alias
2017-01-30 18:44 [PATCH] ARM: bcm2835: dt: add index to the ethernet alias Baruch Siach
@ 2017-01-31 10:07 ` Lubomir Rintel
2017-01-31 18:43 ` Eric Anholt
0 siblings, 1 reply; 3+ messages in thread
From: Lubomir Rintel @ 2017-01-31 10:07 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 2017-01-30 at 20:44 +0200, Baruch Siach wrote:
> An alias name should have an index number even when it is the only of
> its type.
> This allows U-Boot to add the local-mac-address property. Otherwise
> U-Boot
> skips the alias.
>
> Cc: Lubomir Rintel <lkundrak@v3.sk>
> Fixes: 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device
> trees")
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
> ?arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi | 2 +-
> ?arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi | 2 +-
> ?2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> index 12c981e51134..9a0599f711ff 100644
> --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi
> @@ -1,6 +1,6 @@
> ?/ {
> ? aliases {
> - ethernet = ðernet;
> + ethernet0 = ðernet;
> ? };
> ?};
> ?
> diff --git a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> index 3f0a56ebcf1f..dc7ae776db5f 100644
> --- a/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> +++ b/arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi
> @@ -1,6 +1,6 @@
> ?/ {
> ? aliases {
> - ethernet = ðernet;
> + ethernet0 = ðernet;
> ? };
> ?};
> ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: bcm2835: dt: add index to the ethernet alias
2017-01-31 10:07 ` Lubomir Rintel
@ 2017-01-31 18:43 ` Eric Anholt
0 siblings, 0 replies; 3+ messages in thread
From: Eric Anholt @ 2017-01-31 18:43 UTC (permalink / raw)
To: linux-arm-kernel
Lubomir Rintel <lkundrak@v3.sk> writes:
> On Mon, 2017-01-30 at 20:44 +0200, Baruch Siach wrote:
>> An alias name should have an index number even when it is the only of
>> its type.
>> This allows U-Boot to add the local-mac-address property. Otherwise
>> U-Boot
>> skips the alias.
>>
>> Cc: Lubomir Rintel <lkundrak@v3.sk>
>> Fixes: 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device
>> trees")
>> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>
> Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Pulled for dt-next. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170131/924a0c7f/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-31 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30 18:44 [PATCH] ARM: bcm2835: dt: add index to the ethernet alias Baruch Siach
2017-01-31 10:07 ` Lubomir Rintel
2017-01-31 18:43 ` Eric Anholt
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).