[PATCH net-next 0/8] net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB
From: Mieczyslaw Nalewaj
Date: Wed Oct 07 2026 - 16:50:19 EST
This series adds support for the RTL8367S-VB (chip ID 0x6642) to the
rtl8365mb driver. The chip belongs to a new "family D" that differs from
the existing family C in its VLAN table layout, speed/RGMII configuration
and SerDes (SDS13) handling.
Patch 1 detects the chip and introduces the family D branch.
Patches 2-4 add port speed, PVID read and RGMII mode configuration.
Patches 5-6 add VLAN 4k table access and PVID set/clear.
Patches 7-8 add SDS13 PCS support and re-latching of the SerDes.
Family C's functional behaviour is unchanged. The only change in a
shared path is a mutex serializing SerDes register access, added in
patch 8.
Tested on TP-Link Archer AX55 v1 (RTL8367S-VB, CPU port over HSGMII to ipq5018)
with bridge VLAN filtering and per-port PVIDs.
Mieczyslaw Nalewaj (8):
net: dsa: realtek: rtl8365mb: detect RTL8367S-VB
net: dsa: realtek: rtl8365mb: set speed for family D
net: dsa: realtek: rtl8365mb: get pvid for family D
net: dsa: realtek: rtl8365mb: set RGMII mode for family D
net: dsa: realtek: rtl8365mb: set and get vlan 4k for family D
net: dsa: realtek: rtl8365mb: set/clear pvid for family D
net: dsa: realtek: rtl8365mb: add family D SDS13 PCS support
net: dsa: realtek: rtl8365mb: re-latch the family D SerDes
drivers/net/dsa/realtek/rtl8365mb.h | 14 +
drivers/net/dsa/realtek/rtl8365mb_main.c | 545 ++++++++++++++++++++---
drivers/net/dsa/realtek/rtl8365mb_vlan.c | 304 ++++++++++---
3 files changed, 752 insertions(+), 111 deletions(-)
create mode 100644 drivers/net/dsa/realtek/rtl8365mb.h
--
2.53.0