diff options
author | Clément Péron <peron.clem@gmail.com> | 2018-05-03 11:56:18 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-07-09 08:12:01 -0700 |
commit | 00d1ae38404537975d7e055ba2eaa6a11a2148ea (patch) | |
tree | 043a3c4eda27a84e99608a4d6b6b9487e6cd2135 | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-00d1ae38404537975d7e055ba2eaa6a11a2148ea.tar.bz2 |
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>
-rw-r--r-- | arch/arm/boot/dts/bcm-cygnus.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 9fe4f5a6379e..1a05b8f48b54 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>; |