summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2016-05-03 16:59:01 +0300
committerDinh Nguyen <dinguyen@kernel.org>2016-06-08 22:09:00 +0300
commitefb6672935894e19e30227b2fcc64546b70342ea (patch)
treefd38fd6b1f616e4d407253c137699da05c84696f /arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
parent4586e4ea7eddb123322e25b63369fad35976d9e6 (diff)
downloadlinux-efb6672935894e19e30227b2fcc64546b70342ea.tar.xz
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 <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_arria10_socdk.dtsi')
-rw-r--r--arch/arm/boot/dts/socfpga_arria10_socdk.dtsi4
1 files changed, 4 insertions, 0 deletions
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";