Skip to contentSkip to conversation

ARM: dts: cygnus: add ethernet0 alias

PATCH New Clément Péron 3 participants 5 messages May 3, 2018 – Jun 4, 2018

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

PATCH 1/1 ARM: dts: cygnus: add ethernet0 alias

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.

---
 arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +4 -0
index 9fe4f5a6379e..1a05b8f48b54 100644
@@ -41,6 +41,10 @@
 	model = "Broadcom Cygnus SoC";
 	interrupt-parent = <&gic>;
 
+	aliases {
+		ethernet0 = &eth0;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 ARM: dts: cygnus: add ethernet0 alias

+Ray, Scott, Eric, list

Quoted 25 lines · Cl?ment P?ron

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.

---
 arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/bcm-cygnus.dtsi +4 -0
index 9fe4f5a6379e..1a05b8f48b54 100644
@@ -41,6 +41,10 @@
 	model = "Broadcom Cygnus SoC";
 	interrupt-parent = <&gic>;
 
+	aliases {
+		ethernet0 = &eth0;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
Florian
#2 lore raw

PATCH 1/1 ARM: dts: cygnus: add ethernet0 alias

Could you review it, please.
Thanks

Quoted 7 lines · Florian Fainelli

+Ray, Scott, Eric, list

Quoted 4 lines · Cl?ment P?ron

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.

Quoted 6 lines

Review

Quoted 6 lines
---
 arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/bcm-cygnus.dtsi

Quoted 7 lines
Quoted 7 lines

index 9fe4f5a6379e..1a05b8f48b54 100644

arch/arm/boot/dts/bcm-cygnus.dtsi +0 -0
@@ -41,6 +41,10 @@
      model = "Broadcom Cygnus SoC";
      interrupt-parent = <&gic>;
 
Quoted 11 lines

arch/arm/boot/dts/bcm-cygnus.dtsi line 50

Quoted 8 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +4 -0
+     aliases {
+             ethernet0 = &eth0;
+     };
+
      cpus {
              #address-cells = <1>;
              #size-cells = <0>;

--
Florian

Clement

#3 lore raw

PATCH 1/1 ARM: dts: cygnus: add ethernet0 alias

Quoted 12 lines · Cl?ment P?ron

Could you review it, please.
Thanks

Quoted 7 lines · Florian Fainelli

+Ray, Scott, Eric, list

Quoted 5 lines · Cl?ment P?ron

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.

Quoted 24 lines
Quoted 5 lines

Review

Quoted 5 lines
---
  arch/arm/boot/dts/bcm-cygnus.dtsi | 4 ++++
  1 file changed, 4 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/bcm-cygnus.dtsi

Quoted 7 lines
Quoted 7 lines

index 9fe4f5a6379e..1a05b8f48b54 100644

arch/arm/boot/dts/bcm-cygnus.dtsi +0 -0
@@ -41,6 +41,10 @@
       model = "Broadcom Cygnus SoC";
       interrupt-parent = <&gic>;
 
Quoted 10 lines

arch/arm/boot/dts/bcm-cygnus.dtsi line 50

Quoted 8 lines
arch/arm/boot/dts/bcm-cygnus.dtsi +4 -0
+     aliases {
+             ethernet0 = &eth0;
+     };
+
       cpus {
               #address-cells = <1>;
               #size-cells = <0>;

--
Florian

Clement

#4 lore raw

PATCH 1/1 ARM: dts: cygnus: add ethernet0 alias

In reply to Clément Péron
Quoted 5 lines · Cl?ment P?ron

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.

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

Signature · 1 line
Florian