diff mbox series

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

Message ID 1574345172-13403-1-git-send-email-joyce.ooi@intel.com
State Accepted, archived
Commit 0c14bb5ad3311de2c26e66e88f8a6886773b8e0a
Delegated to: Simon Goldschmidt
Headers show
Series [U-Boot] arm: socfpga: stratix10: Add alias for gmac0 in S10 dts | expand

Commit Message

Joyce Ooi Nov. 21, 2019, 2:06 p.m. UTC
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(+)

Comments

Ley Foon Tan Nov. 22, 2019, 2:02 a.m. UTC | #1
> -----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 {
> +		ethernet0 = &gmac0;
>  		i2c0 = &i2c1;
>  		serial0 = &uart0;
>  	};
> --
> 1.9.1
Marek Vasut Nov. 22, 2019, 2:08 a.m. UTC | #2
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.
diff mbox series

Patch

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;
 	};