Skip to content

Commit

Permalink
ARM: dts: cygnus: add ethernet0 alias
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clément Péron authored and Florian Fainelli committed Jul 9, 2018
1 parent ce397d2 commit 00d1ae3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm-cygnus.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
model = "Broadcom Cygnus SoC";
interrupt-parent = <&gic>;

aliases {
ethernet0 = &eth0;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit 00d1ae3

Please sign in to comment.