mbox series

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

Message ID 20220831160124.914453-1-olteanv@gmail.com (mailing list archive)
Headers show
Series NXP LS1028A DT changes for multiple switch CPU ports | expand

Message

Vladimir Oltean Aug. 31, 2022, 4:01 p.m. UTC
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(-)

Comments

Shawn Guo Sept. 5, 2022, 3:24 a.m. UTC | #1
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!