From: Clément Péron Date: Thu, 3 May 2018 09:56:18 +0000 (+0200) Subject: ARM: dts: cygnus: add ethernet0 alias X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=00d1ae38404537975d7e055ba2eaa6a11a2148ea;p=linux.git 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 Acked-by: Scott Branden Signed-off-by: Florian Fainelli --- diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 9fe4f5a6379e3..1a05b8f48b548 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -41,6 +41,10 @@ model = "Broadcom Cygnus SoC"; interrupt-parent = <&gic>; + aliases { + ethernet0 = ð0; + }; + cpus { #address-cells = <1>; #size-cells = <0>;