Browse Source

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.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Clément Péron 7 years ago
parent
commit
00d1ae3840
1 changed files with 4 additions and 0 deletions
  1. 4 0
      arch/arm/boot/dts/bcm-cygnus.dtsi

+ 4 - 0
arch/arm/boot/dts/bcm-cygnus.dtsi

@@ -41,6 +41,10 @@
 	model = "Broadcom Cygnus SoC";
 	interrupt-parent = <&gic>;
 
+	aliases {
+		ethernet0 = &eth0;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;