From: Dinh Nguyen Date: Tue, 3 May 2016 13:59:01 +0000 (-0500) Subject: ARM: dts: socfpga: add ethernet alias on Arria10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efb6672935894e19e30227b2fcc64546b70342ea;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: socfpga: add ethernet alias on Arria10 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 --- diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi index 567df98f1bb5..ab33ee3cc8c3 100644 --- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi @@ -20,6 +20,10 @@ model = "Altera SOCFPGA Arria 10"; compatible = "altr,socfpga-arria10", "altr,socfpga"; + aliases { + ethernet0 = &gmac0; + }; + chosen { bootargs = "earlyprintk"; stdout-path = "serial1:115200n8";