1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Distributed Switch Architecture drivers"
5 source "drivers/net/dsa/b53/Kconfig"
8 tristate "Broadcom Starfighter 2 Ethernet switch support"
10 select NET_DSA_TAG_BRCM
13 select MDIO_BCM_UNIMAC
16 This enables support for the Broadcom Starfighter 2 Ethernet
20 tristate "DSA mock-up Ethernet switch chip support"
21 select NET_DSA_TAG_NONE
24 This enables support for a fake mock-up switch chip which
25 exercises the DSA APIs.
27 source "drivers/net/dsa/hirschmann/Kconfig"
29 config NET_DSA_LANTIQ_GSWIP
30 tristate "Lantiq / Intel GSWIP"
32 select NET_DSA_TAG_GSWIP
34 This enables support for the Lantiq / Intel GSWIP 2.1 found in
38 tristate "MediaTek MT7530 and MT7531 Ethernet switch support"
39 select NET_DSA_TAG_MTK
40 imply NET_DSA_MT7530_MDIO
41 imply NET_DSA_MT7530_MMIO
43 This enables support for the MediaTek MT7530 and MT7531 Ethernet
44 switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,
45 MT7621ST and MT7623AI SoCs, and built-in switch in MT7988 SoC are
48 config NET_DSA_MT7530_MDIO
49 tristate "MediaTek MT7530 MDIO interface driver"
50 depends on NET_DSA_MT7530
54 This enables support for the MediaTek MT7530 and MT7531 switch
55 chips which are connected via MDIO, as well as multi-chip
56 module MT7530 which can be found in the MT7621AT, MT7621DAT,
57 MT7621ST and MT7623AI SoCs.
59 config NET_DSA_MT7530_MMIO
60 tristate "MediaTek MT7530 MMIO interface driver"
61 depends on NET_DSA_MT7530
63 imply MEDIATEK_GE_SOC_PHY
65 This enables support for the built-in Ethernet switch found
66 in the MediaTek MT7988 SoC.
67 The switch is a similar design as MT7531, but the switch registers
68 are directly mapped into the SoCs register space rather than being
71 config NET_DSA_MV88E6060
72 tristate "Marvell 88E6060 ethernet switch chip support"
73 select NET_DSA_TAG_TRAILER
75 This enables support for the Marvell 88E6060 ethernet switch
78 source "drivers/net/dsa/microchip/Kconfig"
80 source "drivers/net/dsa/mv88e6xxx/Kconfig"
82 source "drivers/net/dsa/ocelot/Kconfig"
84 source "drivers/net/dsa/qca/Kconfig"
86 source "drivers/net/dsa/sja1105/Kconfig"
88 source "drivers/net/dsa/xrs700x/Kconfig"
90 source "drivers/net/dsa/realtek/Kconfig"
92 config NET_DSA_RZN1_A5PSW
93 tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
94 depends on OF && ARCH_RZN1
95 select NET_DSA_TAG_RZN1_A5PSW
98 This driver supports the A5PSW switch, which is embedded in Renesas
101 config NET_DSA_SMSC_LAN9303
103 select NET_DSA_TAG_LAN9303
106 This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
109 config NET_DSA_SMSC_LAN9303_I2C
110 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
112 depends on VLAN_8021Q || VLAN_8021Q=n
113 select NET_DSA_SMSC_LAN9303
116 Enable access functions if the SMSC/Microchip LAN9303 is configured
117 for I2C managed mode.
119 config NET_DSA_SMSC_LAN9303_MDIO
120 tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
121 select NET_DSA_SMSC_LAN9303
122 depends on VLAN_8021Q || VLAN_8021Q=n
124 Enable access functions if the Microchip LAN9303/LAN9354 is configured
125 for MDIO managed mode.
127 config NET_DSA_VITESSE_VSC73XX
129 select NET_DSA_TAG_NONE
134 This enables support for the Vitesse VSC7385, VSC7388,
135 VSC7395 and VSC7398 SparX integrated ethernet switches.
137 config NET_DSA_VITESSE_VSC73XX_SPI
138 tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
140 select NET_DSA_VITESSE_VSC73XX
142 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
143 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
145 config NET_DSA_VITESSE_VSC73XX_PLATFORM
146 tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
148 select NET_DSA_VITESSE_VSC73XX
150 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
151 and VSC7398 SparX integrated ethernet switches, connected over
152 a CPU-attached address bus and work in memory-mapped I/O mode.