summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2018-05-03 11:56:18 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2018-07-09 08:12:01 -0700
commit00d1ae38404537975d7e055ba2eaa6a11a2148ea (patch)
tree043a3c4eda27a84e99608a4d6b6b9487e6cd2135
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
downloadlinux-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.dtsi4
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 = &eth0;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;