[U-Boot] [PATCH] arm: socfpga: stratix10: Add alias for gmac0 in S10 dts

Add 'ethernet0' as alias for 'gmac0' in S10 device tree.
Signed-off-by: Chee Hong Ang chee.hong.ang@intel.com Signed-off-by: Ooi, Joyce joyce.ooi@intel.com --- arch/arm/dts/socfpga_stratix10_socdk.dts | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts index ce07659..8c7b422 100755 --- a/arch/arm/dts/socfpga_stratix10_socdk.dts +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts @@ -9,6 +9,7 @@ model = "SoCFPGA Stratix 10 SoCDK";
aliases { + ethernet0 = &gmac0; i2c0 = &i2c1; serial0 = &uart0; };

-----Original Message----- From: Ooi, Joyce joyce.ooi@intel.com Sent: Thursday, November 21, 2019 10:06 PM To: Tan, Ley Foon ley.foon.tan@intel.com; Ang, Chee Hong chee.hong.ang@intel.com; Westergreen, Dalon dalon.westergreen@intel.com Cc: Ooi, Joyce joyce.ooi@intel.com; u-boot@lists.denx.de Subject: [PATCH] arm: socfpga: stratix10: Add alias for gmac0 in S10 dts
Add 'ethernet0' as alias for 'gmac0' in S10 device tree.
Signed-off-by: Chee Hong Ang chee.hong.ang@intel.com Signed-off-by: Ooi, Joyce joyce.ooi@intel.com
Reviewed-by: Ley Foon Tan ley.foon.tan@intel.com
arch/arm/dts/socfpga_stratix10_socdk.dts | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts index ce07659..8c7b422 100755 --- a/arch/arm/dts/socfpga_stratix10_socdk.dts +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts @@ -9,6 +9,7 @@ model = "SoCFPGA Stratix 10 SoCDK";
aliases {
i2c0 = &i2c1; serial0 = &uart0; };ethernet0 = &gmac0;
-- 1.9.1

On 11/22/19 3:02 AM, Tan, Ley Foon wrote:
-----Original Message----- From: Ooi, Joyce joyce.ooi@intel.com Sent: Thursday, November 21, 2019 10:06 PM To: Tan, Ley Foon ley.foon.tan@intel.com; Ang, Chee Hong chee.hong.ang@intel.com; Westergreen, Dalon dalon.westergreen@intel.com Cc: Ooi, Joyce joyce.ooi@intel.com; u-boot@lists.denx.de Subject: [PATCH] arm: socfpga: stratix10: Add alias for gmac0 in S10 dts
Add 'ethernet0' as alias for 'gmac0' in S10 device tree.
Signed-off-by: Chee Hong Ang chee.hong.ang@intel.com Signed-off-by: Ooi, Joyce joyce.ooi@intel.com
Reviewed-by: Ley Foon Tan ley.foon.tan@intel.com
Applied, thanks.
participants (3)
-
Marek Vasut
-
Ooi, Joyce
-
Tan, Ley Foon