Add ethernet<n> alias for all gmacs. Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx> --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) 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>; -- 2.7.4