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 select MEDIATEK_GE_PHY
41 imply NET_DSA_MT7530_MDIO
42 imply NET_DSA_MT7530_MMIO
44 This enables support for the MediaTek MT7530 and MT7531 Ethernet
45 switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,
46 MT7621ST and MT7623AI SoCs, and built-in switch in MT7988 SoC are
49 config NET_DSA_MT7530_MDIO
50 tristate "MediaTek MT7530 MDIO interface driver"
51 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
64 This enables support for the built-in Ethernet switch found
65 in the MediaTek MT7988 SoC.
66 The switch is a similar design as MT7531, but the switch registers
67 are directly mapped into the SoCs register space rather than being
70 config NET_DSA_MV88E6060
71 tristate "Marvell 88E6060 ethernet switch chip support"
72 select NET_DSA_TAG_TRAILER
74 This enables support for the Marvell 88E6060 ethernet switch
77 source "drivers/net/dsa/microchip/Kconfig"
79 source "drivers/net/dsa/mv88e6xxx/Kconfig"
81 source "drivers/net/dsa/ocelot/Kconfig"
83 source "drivers/net/dsa/qca/Kconfig"
85 source "drivers/net/dsa/sja1105/Kconfig"
87 source "drivers/net/dsa/xrs700x/Kconfig"
89 source "drivers/net/dsa/realtek/Kconfig"
91 config NET_DSA_RZN1_A5PSW
92 tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
93 depends on OF && ARCH_RZN1
94 select NET_DSA_TAG_RZN1_A5PSW
97 This driver supports the A5PSW switch, which is embedded in Renesas
100 config NET_DSA_SMSC_LAN9303
102 select NET_DSA_TAG_LAN9303
105 This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
108 config NET_DSA_SMSC_LAN9303_I2C
109 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
111 depends on VLAN_8021Q || VLAN_8021Q=n
112 select NET_DSA_SMSC_LAN9303
115 Enable access functions if the SMSC/Microchip LAN9303 is configured
116 for I2C managed mode.
118 config NET_DSA_SMSC_LAN9303_MDIO
119 tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
120 select NET_DSA_SMSC_LAN9303
121 depends on VLAN_8021Q || VLAN_8021Q=n
123 Enable access functions if the Microchip LAN9303/LAN9354 is configured
124 for MDIO managed mode.
126 config NET_DSA_VITESSE_VSC73XX
128 select NET_DSA_TAG_NONE
133 This enables support for the Vitesse VSC7385, VSC7388,
134 VSC7395 and VSC7398 SparX integrated ethernet switches.
136 config NET_DSA_VITESSE_VSC73XX_SPI
137 tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
139 select NET_DSA_VITESSE_VSC73XX
141 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
142 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
144 config NET_DSA_VITESSE_VSC73XX_PLATFORM
145 tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
147 select NET_DSA_VITESSE_VSC73XX
149 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
150 and VSC7398 SparX integrated ethernet switches, connected over
151 a CPU-attached address bus and work in memory-mapped I/O mode.