Skip to contentSkip to conversation

ARM: dts: socfpga: add ethernet alias on Arria10

PATCH New dinguyen at opensource.altera.com 1 participant 1 message May 3, 2016 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: socfpga: add ethernet alias on Arria10

From: Dinh Nguyen <[email protected]>

Without having an ethernet alias, ethernet will have a random MAC address, versus take an address that was provided from the bootloader.

---
 arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +4 -0
index 567df98..ab33ee3 100644
@@ -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";
Signature · 1 line
2.6.2