diff mbox series

arm64: dts: stratix10: add ethernet aliases

Message ID 1538163264-944-1-git-send-email-dinguyen@kernel.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: stratix10: add ethernet aliases | expand

Commit Message

Dinh Nguyen Sept. 28, 2018, 7:34 p.m. UTC
Add ethernet<n> alias for all gmacs.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index bc6c141..dc16d71 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -24,6 +24,12 @@ 
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		ethernet0 = &gmac0;
+		ethernet1 = &gmac1;
+		ethernet2 = &gmac2;
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;