[PATCH 0/2] net: dsa: yt921x: Add support for Motorcomm YT921x

From: David Yang
Date: Fri Aug 08 2025 - 13:41:45 EST


Motorcomm YT921x is a series of ethernet switches developed by Shanghai
Motorcomm Electronic Technology, including:

- YT9215S / YT9215RB / YT9215SC: 5 GbE phys
- YT9213NB / YT9214NB: 2 GbE phys
- YT9218N / YT9218MB: 8 GbE phys

and up to 2 serdes interfaces.

This patch adds basic support for a working DSA switch, but not
including any possible offloading capabilities.

David Yang (2):
net: dsa: tag_yt921x: add support for Motorcomm YT921x tags
net: dsa: yt921x: Add support for Motorcomm YT921x

drivers/net/dsa/Kconfig | 7 +
drivers/net/dsa/Makefile | 1 +
drivers/net/dsa/yt921x.c | 1895 ++++++++++++++++++++++++++++++++++++++
include/net/dsa.h | 2 +
net/dsa/Kconfig | 6 +
net/dsa/Makefile | 1 +
net/dsa/tag_yt921x.c | 116 +++
7 files changed, 2028 insertions(+)
create mode 100644 drivers/net/dsa/yt921x.c
create mode 100644 net/dsa/tag_yt921x.c

--
2.47.2