devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] arm64: dts: stratix10: add ethernet aliases
@ 2018-10-04 14:51 Dinh Nguyen
  0 siblings, 0 replies; only message in thread
From: Dinh Nguyen @ 2018-10-04 14:51 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: dinguyen, devicetree

Add ethernet<n> alias for all gmacs on the devkit.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
v2: move ethernet aliases to board file
---
 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 53cf195..3d0db30 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -21,6 +21,9 @@
 
 	aliases {
 		serial0 = &uart0;
+		ethernet0 = &gmac0;
+		ethernet1 = &gmac1;
+		ethernet2 = &gmac2;
 	};
 
 	chosen {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-04 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04 14:51 [PATCHv2] arm64: dts: stratix10: add ethernet aliases Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).