ARM: dts: socfpga: add ethernet alias on Arria10
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 3 May 2016 13:59:01 +0000 (08:59 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 8 Jun 2016 19:09:00 +0000 (14:09 -0500)
Without having an ethernet alias, ethernet will have a random MAC address,
versus take an address that was provided from the bootloader.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi

index 567df98f1bb5da3d422fae0ddcb15b97b9a68396..ab33ee3cc8c31931a7abeda3842d62c60f47602b 100644 (file)
        model = "Altera SOCFPGA Arria 10";
        compatible = "altr,socfpga-arria10", "altr,socfpga";
 
+       aliases {
+               ethernet0 = &gmac0;
+       };
+
        chosen {
                bootargs = "earlyprintk";
                stdout-path = "serial1:115200n8";