Skip to contentSkip to conversation

arm64: dts: stratix10: add ethernet aliases

PATCH Superseded Dinh Nguyen 1 participant 1 message Sep 28, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: stratix10: add ethernet aliases

Add ethernet<n> alias for all gmacs.

---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +6 -0
index bc6c141..dc16d71 100644
@@ -24,6 +24,12 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		ethernet0 = &gmac0;
+		ethernet1 = &gmac1;
+		ethernet2 = &gmac2;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.7.4