Re: [PATCH 2/4] arm64: dts: ti: k3-j7200-common-proc-board: Add ethernet alias
From: Kumar, Udit
Date: Sun Sep 06 2026 - 13:46:29 EST
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@xxxxxx>
>>> ---
>>> 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@xxxxxx>
> Francesco