mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] Add ethernet aliases for TI K3 Boards
@ 2026-08-11  6:13 Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias Siddharth Vadapalli
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-08-11  6:13 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

Hello,

This series adds the aliases for Ethernet on various Texas Instruments
K3 boards, keeping them on-par with other K3 boards which already have
the aliases for Ethernet.

Series is based on linux-next tagged next-20260810.

Although the merge window is closed at the moment for TI K3 DTS, I am
posting this series to get initial feedback and prepare it for the next
merge window.

Regards,
Siddharth.

Siddharth Vadapalli (4):
  arm64: dts: ti: k3-am62a7-sk: Add ethernet alias
  arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  arm64: dts: ti: k3-j721s2-common-proc-board: Add ethernet alias
  arm64: dts: ti: k3-j722s-evm: Add ethernet alias

 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts                | 1 +
 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts  | 1 +
 arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 1 +
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts                | 1 +
 4 files changed, 4 insertions(+)

-- 
2.51.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias
  2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
@ 2026-08-11  6:13 ` Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: " Siddharth Vadapalli
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-08-11  6:13 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

Add the 'ethernet0' alias for the Ethernet interface corresponding to the
CPSW3G instance of the CPSW Ethernet Switch on the AM62A7 Starter Kit.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index d3b3675e7a8f..cc07c4b3afa7 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -25,6 +25,7 @@ aliases {
 		mmc1 = &sdhci1;
 		rtc0 = &wkup_rtc0;
 		rtc1 = &tps659312;
+		ethernet0 = &cpsw_port1;
 	};
 
 	chosen {
-- 
2.51.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias Siddharth Vadapalli
@ 2026-08-11  6:13 ` Siddharth Vadapalli
  2026-09-06  5:43   ` Kumar, Udit
  2026-08-11  6:13 ` [PATCH 3/4] arm64: dts: ti: k3-j721s2-common-proc-board: " Siddharth Vadapalli
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-08-11  6:13 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

Add the 'ethernet0' alias for the Ethernet interface corresponding to the
MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
Processor Board.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
index 54dea36b153b..ac1c1ffe40b7 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
@@ -24,6 +24,7 @@ aliases {
 		serial5 = &main_uart3;
 		mmc0 = &main_sdhci0;
 		mmc1 = &main_sdhci1;
+		ethernet0 = &cpsw_port1;
 	};
 
 	chosen {
-- 
2.51.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 3/4] arm64: dts: ti: k3-j721s2-common-proc-board: Add ethernet alias
  2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: " Siddharth Vadapalli
@ 2026-08-11  6:13 ` Siddharth Vadapalli
  2026-08-11  6:13 ` [PATCH 4/4] arm64: dts: ti: k3-j722s-evm: " Siddharth Vadapalli
  2026-09-11 19:52 ` [PATCH 0/4] Add ethernet aliases for TI K3 Boards Nishanth Menon
  4 siblings, 0 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-08-11  6:13 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

Add the 'ethernet0' alias for the Ethernet interface corresponding to the
MCU CPSW2G instance of the CPSW Ethernet Switch on the J721S2 Common
Processor Board.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
index 19c5157510b2..a4a180bbca12 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
@@ -32,6 +32,7 @@ aliases {
 		can2 = &mcu_mcan1;
 		can3 = &main_mcan3;
 		can4 = &main_mcan5;
+		ethernet0 = &cpsw_port1;
 	};
 
 	evm_12v0: fixedregulator-evm12v0 {
-- 
2.51.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 4/4] arm64: dts: ti: k3-j722s-evm: Add ethernet alias
  2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
                   ` (2 preceding siblings ...)
  2026-08-11  6:13 ` [PATCH 3/4] arm64: dts: ti: k3-j721s2-common-proc-board: " Siddharth Vadapalli
@ 2026-08-11  6:13 ` Siddharth Vadapalli
  2026-09-11 19:52 ` [PATCH 0/4] Add ethernet aliases for TI K3 Boards Nishanth Menon
  4 siblings, 0 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-08-11  6:13 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

Add the 'ethernet0' alias for the Ethernet interface corresponding to the
CPSW3G instance of the CPSW Ethernet Switch on the J722S EVM.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
index e66330c71593..e875c047d52c 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j722s-evm.dts
@@ -23,6 +23,7 @@ aliases {
 		serial3 = &main_uart5;
 		mmc0 = &sdhci0;
 		mmc1 = &sdhci1;
+		ethernet0 = &cpsw_port1;
 	};
 
 	chosen {
-- 
2.51.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-08-11  6:13 ` [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: " Siddharth Vadapalli
@ 2026-09-06  5:43   ` Kumar, Udit
  2026-09-06 12:18     ` Hari Prasath G E
  2026-09-06 15:31     ` Francesco Dolcini
  0 siblings, 2 replies; 13+ messages in thread
From: Kumar, Udit @ 2026-09-06  5:43 UTC (permalink / raw)
  To: Siddharth Vadapalli, nm, vigneshr, kristo, robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, u-kumar1



On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
> Add the 'ethernet0' alias for the Ethernet interface corresponding to the
> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
> Processor Board.
> 
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> index 54dea36b153b..ac1c1ffe40b7 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> @@ -24,6 +24,7 @@ aliases {
>  		serial5 = &main_uart3;
>  		mmc0 = &main_sdhci0;
>  		mmc1 = &main_sdhci1;
> +		ethernet0 = &cpsw_port1;

Hello Siddharth,
As default only 1 cpsw port is enabled for all boards in this series.
So ethernet0 will be cpsw_port1 always, In case you want to enable more
port in default config then having aliasing will help.

otherwise, you can consider to add aliasing in overlays where you enable
more than 1 port.

>  	};
>  
>  	chosen {


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06  5:43   ` Kumar, Udit
@ 2026-09-06 12:18     ` Hari Prasath G E
  2026-09-06 14:04       ` Kumar, Udit
  2026-09-06 15:31     ` Francesco Dolcini
  1 sibling, 1 reply; 13+ messages in thread
From: Hari Prasath G E @ 2026-09-06 12:18 UTC (permalink / raw)
  To: Kumar, Udit, Siddharth Vadapalli, nm, vigneshr, kristo, robh,
	krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk

Hello Udit,

On 9/6/2026 11:13 AM, Kumar, Udit wrote:
> 
> 
> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
>> Add the 'ethernet0' alias for the Ethernet interface corresponding to the
>> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
>> Processor Board.
>>
>> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
>> ---
>>   arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>> index 54dea36b153b..ac1c1ffe40b7 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>> @@ -24,6 +24,7 @@ aliases {
>>   		serial5 = &main_uart3;
>>   		mmc0 = &main_sdhci0;
>>   		mmc1 = &main_sdhci1;
>> +		ethernet0 = &cpsw_port1;
> 
> Hello Siddharth,
> As default only 1 cpsw port is enabled for all boards in this series.
> So ethernet0 will be cpsw_port1 always, In case you want to enable more
> port in default config then having aliasing will help.
> 
> otherwise, you can consider to add aliasing in overlays where you enable
> more than 1 port.
> 

The first patch in the series for k3-am62a7-sk has two ports enabled by 
default, so there it's fine to add alias. Also, there are many other TI 
K3 platforms which have only one cpsw port enabled but still define 
aliases. So I guess to keep it consistent, we can decide to accept this. 
If future overlays are added, this will just mean reserving eth0 for 
cpsw port1 which is also fine. I am fine to move with accepting this series.

Acked-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>

Regards,
Hari

>>   	};
>>   
>>   	chosen {
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06 12:18     ` Hari Prasath G E
@ 2026-09-06 14:04       ` Kumar, Udit
  2026-09-06 15:28         ` Hari Prasath G E
  0 siblings, 1 reply; 13+ messages in thread
From: Kumar, Udit @ 2026-09-06 14:04 UTC (permalink / raw)
  To: Hari Prasath G E, Siddharth Vadapalli, nm, vigneshr, kristo,
	robh, krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk, u-kumar1



On 9/6/2026 5:48 PM, Hari Prasath G E wrote:
> Hello Udit,
> 
> On 9/6/2026 11:13 AM, Kumar, Udit wrote:
>>
>>
>> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
>>> Add the 'ethernet0' alias for the Ethernet interface corresponding to
>>> the
>>> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
>>> Processor Board.
>>>
>>> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
>>> ---
>>>   arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>>>   1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/
>>> arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> index 54dea36b153b..ac1c1ffe40b7 100644
>>> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> @@ -24,6 +24,7 @@ aliases {
>>>           serial5 = &main_uart3;
>>>           mmc0 = &main_sdhci0;
>>>           mmc1 = &main_sdhci1;
>>> +        ethernet0 = &cpsw_port1;
>>
>> Hello Siddharth,
>> As default only 1 cpsw port is enabled for all boards in this series.
>> So ethernet0 will be cpsw_port1 always, In case you want to enable more
>> port in default config then having aliasing will help.
>>
>> otherwise, you can consider to add aliasing in overlays where you enable
>> more than 1 port.
>>
> 
> The first patch in the series for k3-am62a7-sk has two ports enabled by
> default, so there it's fine to add alias. Also, there are many other TI

May be I am missing something, but i don't see two port are enabled for
am62a7
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts#n796


> K3 platforms which have only one cpsw port enabled but still define
> aliases. So I guess to keep it consistent, we can decide to accept this.
> If future overlays are added, this will just mean reserving eth0 for
> cpsw port1 which is also fine. I am fine to move with accepting this
> series.
> 
> Acked-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>


> 
> Regards,
> Hari
> 
>>>       };
>>>         chosen {
>>
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06 14:04       ` Kumar, Udit
@ 2026-09-06 15:28         ` Hari Prasath G E
  2026-09-07  4:45           ` Siddharth Vadapalli
  0 siblings, 1 reply; 13+ messages in thread
From: Hari Prasath G E @ 2026-09-06 15:28 UTC (permalink / raw)
  To: Kumar, Udit, Siddharth Vadapalli, nm, vigneshr, kristo, robh,
	krzk+dt, conor+dt
  Cc: devicetree, linux-kernel, linux-arm-kernel, srk

Hello Udit,

On 9/6/2026 7:34 PM, Kumar, Udit wrote:
> 
> 
> On 9/6/2026 5:48 PM, Hari Prasath G E wrote:
>> Hello Udit,
>>
>> On 9/6/2026 11:13 AM, Kumar, Udit wrote:
>>>
>>>
>>> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
>>>> Add the 'ethernet0' alias for the Ethernet interface corresponding to
>>>> the
>>>> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
>>>> Processor Board.
>>>>
>>>> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
>>>> ---
>>>>    arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>>>>    1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/
>>>> arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>> index 54dea36b153b..ac1c1ffe40b7 100644
>>>> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>> @@ -24,6 +24,7 @@ aliases {
>>>>            serial5 = &main_uart3;
>>>>            mmc0 = &main_sdhci0;
>>>>            mmc1 = &main_sdhci1;
>>>> +        ethernet0 = &cpsw_port1;
>>>
>>> Hello Siddharth,
>>> As default only 1 cpsw port is enabled for all boards in this series.
>>> So ethernet0 will be cpsw_port1 always, In case you want to enable more
>>> port in default config then having aliasing will help.
>>>
>>> otherwise, you can consider to add aliasing in overlays where you enable
>>> more than 1 port.
>>>
>>
>> The first patch in the series for k3-am62a7-sk has two ports enabled by
>> default, so there it's fine to add alias. Also, there are many other TI
> 
> May be I am missing something, but i don't see two port are enabled for
> am62a7
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts#n796
> 
> 

Apologies, I mistakenly looked at the TI vendor kernel where it's 
enabled on both ports. I think still the below reasoning is valid to 
take this patch series in. Let's wait for Siddharth to come back with 
this comments.

Regards,
Hari

>> K3 platforms which have only one cpsw port enabled but still define
>> aliases. So I guess to keep it consistent, we can decide to accept this.
>> If future overlays are added, this will just mean reserving eth0 for
>> cpsw port1 which is also fine. I am fine to move with accepting this
>> series.
>>
>> Acked-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
> 
> 
>>
>> Regards,
>> Hari
>>
>>>>        };
>>>>          chosen {
>>>
>>
> 


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06  5:43   ` Kumar, Udit
  2026-09-06 12:18     ` Hari Prasath G E
@ 2026-09-06 15:31     ` Francesco Dolcini
  2026-09-06 17:44       ` Kumar, Udit
  1 sibling, 1 reply; 13+ messages in thread
From: Francesco Dolcini @ 2026-09-06 15:31 UTC (permalink / raw)
  To: Kumar, Udit
  Cc: Siddharth Vadapalli, nm, vigneshr, kristo, robh, krzk+dt,
	conor+dt, devicetree, linux-kernel, linux-arm-kernel, srk

On Sun, Sep 06, 2026 at 11:13:27AM +0530, Kumar, Udit wrote:
> 
> 
> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
> > Add the 'ethernet0' alias for the Ethernet interface corresponding to the
> > MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
> > Processor Board.
> > 
> > Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
> > ---
> >  arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> > index 54dea36b153b..ac1c1ffe40b7 100644
> > --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> > +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
> > @@ -24,6 +24,7 @@ aliases {
> >  		serial5 = &main_uart3;
> >  		mmc0 = &main_sdhci0;
> >  		mmc1 = &main_sdhci1;
> > +		ethernet0 = &cpsw_port1;
> 
> Hello Siddharth,
> As default only 1 cpsw port is enabled for all boards in this series.
> So ethernet0 will be cpsw_port1 always, In case you want to enable more
> port in default config then having aliasing will help.

I do not know for this specific board, but in general having the alias
when only one ethernet interface is present in the DT can still be
useful.

We might want it to ensure that the interface name is stable (`end0`
with systemd), or maybe you can have additional interfaces that are on
some discoverable bus (PCIe ?) or you need it for the bootloader to set
correctly the MAC address or ...

Francesco



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06 15:31     ` Francesco Dolcini
@ 2026-09-06 17:44       ` Kumar, Udit
  0 siblings, 0 replies; 13+ messages in thread
From: Kumar, Udit @ 2026-09-06 17:44 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: Siddharth Vadapalli, nm, vigneshr, kristo, robh, krzk+dt,
	conor+dt, devicetree, linux-kernel, linux-arm-kernel, srk,
	u-kumar1



On 9/6/2026 9:01 PM, Francesco Dolcini wrote:
> On Sun, Sep 06, 2026 at 11:13:27AM +0530, Kumar, Udit wrote:
>>
>>
>> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
>>> Add the 'ethernet0' alias for the Ethernet interface corresponding to the
>>> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
>>> Processor Board.
>>>
>>> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
>>> ---
>>>  arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> index 54dea36b153b..ac1c1ffe40b7 100644
>>> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>> @@ -24,6 +24,7 @@ aliases {
>>>  		serial5 = &main_uart3;
>>>  		mmc0 = &main_sdhci0;
>>>  		mmc1 = &main_sdhci1;
>>> +		ethernet0 = &cpsw_port1;
>>
>> Hello Siddharth,
>> As default only 1 cpsw port is enabled for all boards in this series.
>> So ethernet0 will be cpsw_port1 always, In case you want to enable more
>> port in default config then having aliasing will help.
> 
> I do not know for this specific board, but in general having the alias
> when only one ethernet interface is present in the DT can still be
> useful.
> 

Could you help me, how alias with 1 network interface will be useful.

> We might want it to ensure that the interface name is stable (`end0`
> with systemd), or maybe you can have additional interfaces that are on
> some discoverable bus (PCIe ?) or you need it for the bootloader to set
> correctly the MAC address or ...
>

fair point, interfaces like PCIe can expose another network,  with that

Acked-by: Udit Kumar <u-kumar1@ti.com>
 > Francesco


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
  2026-09-06 15:28         ` Hari Prasath G E
@ 2026-09-07  4:45           ` Siddharth Vadapalli
  0 siblings, 0 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2026-09-07  4:45 UTC (permalink / raw)
  To: Hari Prasath G E, Kumar, Udit
  Cc: Francesco Dolcini, nm, vigneshr, kristo, robh, krzk+dt, conor+dt,
	devicetree, linux-kernel, linux-arm-kernel, srk, s-vadapalli

On 06/09/26 20:58, Hari Prasath G E wrote:
> Hello Udit,
> 
> On 9/6/2026 7:34 PM, Kumar, Udit wrote:
>>
>>
>> On 9/6/2026 5:48 PM, Hari Prasath G E wrote:
>>> Hello Udit,
>>>
>>> On 9/6/2026 11:13 AM, Kumar, Udit wrote:
>>>>
>>>>
>>>> On 8/11/2026 11:43 AM, Siddharth Vadapalli wrote:
>>>>> Add the 'ethernet0' alias for the Ethernet interface corresponding to
>>>>> the
>>>>> MCU CPSW2G instance of the CPSW Ethernet Switch on the J7200 Common
>>>>> Processor Board.
>>>>>
>>>>> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
>>>>> ---
>>>>>    arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 1 +
>>>>>    1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/
>>>>> arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>>> index 54dea36b153b..ac1c1ffe40b7 100644
>>>>> --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>>> +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
>>>>> @@ -24,6 +24,7 @@ aliases {
>>>>>            serial5 = &main_uart3;
>>>>>            mmc0 = &main_sdhci0;
>>>>>            mmc1 = &main_sdhci1;
>>>>> +        ethernet0 = &cpsw_port1;
>>>>
>>>> Hello Siddharth,
>>>> As default only 1 cpsw port is enabled for all boards in this series.
>>>> So ethernet0 will be cpsw_port1 always, In case you want to enable more
>>>> port in default config then having aliasing will help.
>>>>
>>>> otherwise, you can consider to add aliasing in overlays where you enable
>>>> more than 1 port.
>>>>
>>>
>>> The first patch in the series for k3-am62a7-sk has two ports enabled by
>>> default, so there it's fine to add alias. Also, there are many other TI
>>
>> May be I am missing something, but i don't see two port are enabled for
>> am62a7
>> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/ 
>> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts#n796
>>
>>
> 
> Apologies, I mistakenly looked at the TI vendor kernel where it's enabled 
> on both ports. I think still the below reasoning is valid to take this 
> patch series in. Let's wait for Siddharth to come back with this comments.

Despite the board having a single Ethernet port enabled, there are two 
reasons for this patch/series:
1. For consistency - keeping these boards on-par with the rest of the K3 
boards (some of which also have a single Ethernet port)
2. As Francesco pointed out at:
https://lore.kernel.org/r/20260906153114.GA3576@francesco-nb/
if PCIe-Ethernet Adapters OR even USB-Ethernet Adapters are used (both of 
which are possible on J7200-Common-Processor-Board which has PCIe and USB 
connectors), we need to specify which of them is 'ethernet0'. For NFS 
(Network File System), if 'ethernet0' isn't specified in the device-tree, 
it is possible that the wrong network interface is used by Linux (despite 
eth0 passed in the Kernel Command Line for NFS) with PCIe/USB Ethernet 
Adapters connected to the board.

Regards,
Siddharth.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 0/4] Add ethernet aliases for TI K3 Boards
  2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
                   ` (3 preceding siblings ...)
  2026-08-11  6:13 ` [PATCH 4/4] arm64: dts: ti: k3-j722s-evm: " Siddharth Vadapalli
@ 2026-09-11 19:52 ` Nishanth Menon
  4 siblings, 0 replies; 13+ messages in thread
From: Nishanth Menon @ 2026-09-11 19:52 UTC (permalink / raw)
  To: vigneshr, kristo, robh, krzk+dt, conor+dt, Siddharth Vadapalli
  Cc: Nishanth Menon, devicetree, linux-kernel, linux-arm-kernel, srk

Hi Siddharth Vadapalli,

On Tue, 11 Aug 2026 11:43:39 +0530, Siddharth Vadapalli wrote:
> This series adds the aliases for Ethernet on various Texas Instruments
> K3 boards, keeping them on-par with other K3 boards which already have
> the aliases for Ethernet.
> 
> Series is based on linux-next tagged next-20260810.
> 
> Although the merge window is closed at the moment for TI K3 DTS, I am
> posting this series to get initial feedback and prepare it for the next
> merge window.
> 
> [...]

Having looked at the discussions on the chain + looking for precedence
of ethernet (not can) alias in the kernel tree on other SoCs, I
decided to pick this up - primarily because initrd can be pretty
minimal that starts up nfs mount.

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias
      commit: 86e0a0fe67c6d189c272e48b7097d9ea92324e87
[2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
      commit: 39e757646a87feaa26ab1040ae56df4d38e8d260
[3/4] arm64: dts: ti: k3-j721s2-common-proc-board: Add ethernet alias
      commit: c38aeaee6284bfffb40a58c36ebe414a4bb92b03
[4/4] arm64: dts: ti: k3-j722s-evm: Add ethernet alias
      commit: b6dd75f9a5102960107eb222cc93e20e2158a8e2

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
https://ti.com/opensource


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-09-11 19:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11  6:13 [PATCH 0/4] Add ethernet aliases for TI K3 Boards Siddharth Vadapalli
2026-08-11  6:13 ` [PATCH 1/4] arm64: dts: ti: k3-am62a7-sk: Add ethernet alias Siddharth Vadapalli
2026-08-11  6:13 ` [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: " Siddharth Vadapalli
2026-09-06  5:43   ` Kumar, Udit
2026-09-06 12:18     ` Hari Prasath G E
2026-09-06 14:04       ` Kumar, Udit
2026-09-06 15:28         ` Hari Prasath G E
2026-09-07  4:45           ` Siddharth Vadapalli
2026-09-06 15:31     ` Francesco Dolcini
2026-09-06 17:44       ` Kumar, Udit
2026-08-11  6:13 ` [PATCH 3/4] arm64: dts: ti: k3-j721s2-common-proc-board: " Siddharth Vadapalli
2026-08-11  6:13 ` [PATCH 4/4] arm64: dts: ti: k3-j722s-evm: " Siddharth Vadapalli
2026-09-11 19:52 ` [PATCH 0/4] Add ethernet aliases for TI K3 Boards Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®