[PATCH v2 devicetree 0/3] NXP LS1028A DT changes for multiple switch CPU ports

Vladimir Oltean posted 3 patches 3 years, 7 months ago
.../dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts  | 9 ++++++++-
.../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 9 ++++++++-
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts        | 9 ++++++++-
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi           | 2 ++
4 files changed, 26 insertions(+), 3 deletions(-)
[PATCH v2 devicetree 0/3] NXP LS1028A DT changes for multiple switch CPU ports
Posted by Vladimir Oltean 3 years, 7 months ago
The Ethernet switch embedded within the NXP LS1028A has 2 Ethernet ports
towards the host, for local packet termination. In current device trees,
only the first port is enabled. Enabling the second port allows having a
higher termination throughput.

Care has been taken that this change does not produce regressions when
using updated device trees with old kernels that do not support multiple
DSA CPU ports. The only difference for old kernels will be the
appearance of a new net device (for &enetc_port3) which will not be very
useful for much of anything.

Vladimir Oltean (3):
  arm64: dts: ls1028a: move DSA CPU port property to the common SoC dtsi
  arm64: dts: ls1028a: mark enetc port 3 as a DSA master too
  arm64: dts: ls1028a: enable swp5 and eno3 for all boards

 .../dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts  | 9 ++++++++-
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts        | 9 ++++++++-
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi           | 2 ++
 4 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.34.1
Re: [PATCH v2 devicetree 0/3] NXP LS1028A DT changes for multiple switch CPU ports
Posted by Shawn Guo 3 years, 7 months ago
On Wed, Aug 31, 2022 at 07:01:21PM +0300, Vladimir Oltean wrote:
> The Ethernet switch embedded within the NXP LS1028A has 2 Ethernet ports
> towards the host, for local packet termination. In current device trees,
> only the first port is enabled. Enabling the second port allows having a
> higher termination throughput.
> 
> Care has been taken that this change does not produce regressions when
> using updated device trees with old kernels that do not support multiple
> DSA CPU ports. The only difference for old kernels will be the
> appearance of a new net device (for &enetc_port3) which will not be very
> useful for much of anything.
> 
> Vladimir Oltean (3):
>   arm64: dts: ls1028a: move DSA CPU port property to the common SoC dtsi
>   arm64: dts: ls1028a: mark enetc port 3 as a DSA master too
>   arm64: dts: ls1028a: enable swp5 and eno3 for all boards

Applied all, thanks!