Skip to contentSkip to conversation

ARM: bcm2835: dt: add index to the ethernet alias

PATCH New Baruch Siach 3 participants 3 messages Jan 30, 2017 – Jan 31, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: bcm2835: dt: add index to the ethernet alias

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 <[email protected]>
Fixes 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device trees")
---
 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(-)
arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi +1 -1
index 12c981e51134..9a0599f711ff 100644
@@ -1,6 +1,6 @@
 / {
 	aliases {
-		ethernet = &ethernet;
+		ethernet0 = &ethernet;
 	};
 };
 
arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi +1 -1
index 3f0a56ebcf1f..dc7ae776db5f 100644
@@ -1,6 +1,6 @@
 / {
 	aliases {
-		ethernet = &ethernet;
+		ethernet0 = &ethernet;
 	};
 };
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ARM: bcm2835: dt: add index to the ethernet alias

Quoted 10 lines · Baruch Siach

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 <[email protected]>
Fixes 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device

trees")

Quoted 31 lines

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

arch/arm/boot/dts/bcm283x-rpi-smsc9512.dtsi +1 -1
index 12c981e51134..9a0599f711ff 100644
@@ -1,6 +1,6 @@
 ?/ {
 ?	aliases {
-		ethernet = &ethernet;
+		ethernet0 = &ethernet;
 ?	};
 ?};

?

arch/arm/boot/dts/bcm283x-rpi-smsc9514.dtsi +1 -1
index 3f0a56ebcf1f..dc7ae776db5f 100644
@@ -1,6 +1,6 @@
 ?/ {
 ?	aliases {
-		ethernet = &ethernet;
+		ethernet0 = &ethernet;
 ?	};
 ?};

?

#2 lore raw

PATCH 1/1 ARM: bcm2835: dt: add index to the ethernet alias

Quoted 7 lines · Lubomir Rintel
Quoted 6 lines · Baruch Siach

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.

Quoted 6 lines
Quoted 4 lines
Cc Lubomir Rintel <[email protected]>
Fixes 6a93792774 ("ARM: bcm2835: dt: Add the ethernet to the device

trees")

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>