浏览代码

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 年之前
父节点
当前提交
00d1ae3840
共有 1 个文件被更改,包括 4 次插入0 次删除
  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>;