arm64: dts: stratix10: add ethernet aliases
authorDinh Nguyen <dinguyen@kernel.org>
Fri, 28 Sep 2018 19:31:49 +0000 (14:31 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Fri, 5 Oct 2018 15:29:13 +0000 (10:29 -0500)
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

index 53cf195c2ada20beab3371a60e21c7088338a40e..3d0db3024f6ba4b8ad40ae4137eb46575495286f 100644 (file)
@@ -21,6 +21,9 @@
 
        aliases {
                serial0 = &uart0;
+               ethernet0 = &gmac0;
+               ethernet1 = &gmac1;
+               ethernet2 = &gmac2;
        };
 
        chosen {