xref: /kernel/linux/linux-5.10/drivers/net/dsa/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenu "Distributed Switch Architecture drivers"
38c2ecf20Sopenharmony_ci	depends on HAVE_NET_DSA
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cisource "drivers/net/dsa/b53/Kconfig"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciconfig NET_DSA_BCM_SF2
88c2ecf20Sopenharmony_ci	tristate "Broadcom Starfighter 2 Ethernet switch support"
98c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && NET_DSA
108c2ecf20Sopenharmony_ci	select NET_DSA_TAG_BRCM
118c2ecf20Sopenharmony_ci	select FIXED_PHY
128c2ecf20Sopenharmony_ci	select BCM7XXX_PHY
138c2ecf20Sopenharmony_ci	select MDIO_BCM_UNIMAC
148c2ecf20Sopenharmony_ci	select B53
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  This enables support for the Broadcom Starfighter 2 Ethernet
178c2ecf20Sopenharmony_ci	  switch chips.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig NET_DSA_LOOP
208c2ecf20Sopenharmony_ci	tristate "DSA mock-up Ethernet switch chip support"
218c2ecf20Sopenharmony_ci	depends on NET_DSA
228c2ecf20Sopenharmony_ci	select FIXED_PHY
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  This enables support for a fake mock-up switch chip which
258c2ecf20Sopenharmony_ci	  exercises the DSA APIs.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig NET_DSA_LANTIQ_GSWIP
288c2ecf20Sopenharmony_ci	tristate "Lantiq / Intel GSWIP"
298c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && NET_DSA
308c2ecf20Sopenharmony_ci	select NET_DSA_TAG_GSWIP
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
338c2ecf20Sopenharmony_ci	  the xrx200 / VR9 SoC.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig NET_DSA_MT7530
368c2ecf20Sopenharmony_ci	tristate "MediaTek MT753x and MT7621 Ethernet switch support"
378c2ecf20Sopenharmony_ci	depends on NET_DSA
388c2ecf20Sopenharmony_ci	select NET_DSA_TAG_MTK
398c2ecf20Sopenharmony_ci	select MEDIATEK_GE_PHY
408c2ecf20Sopenharmony_ci	help
418c2ecf20Sopenharmony_ci	  This enables support for the MediaTek MT7530, MT7531, and MT7621
428c2ecf20Sopenharmony_ci	  Ethernet switch chips.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig NET_DSA_MV88E6060
458c2ecf20Sopenharmony_ci	tristate "Marvell 88E6060 ethernet switch chip support"
468c2ecf20Sopenharmony_ci	depends on NET_DSA
478c2ecf20Sopenharmony_ci	select NET_DSA_TAG_TRAILER
488c2ecf20Sopenharmony_ci	help
498c2ecf20Sopenharmony_ci	  This enables support for the Marvell 88E6060 ethernet switch
508c2ecf20Sopenharmony_ci	  chip.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_cisource "drivers/net/dsa/microchip/Kconfig"
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_cisource "drivers/net/dsa/mv88e6xxx/Kconfig"
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_cisource "drivers/net/dsa/ocelot/Kconfig"
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_cisource "drivers/net/dsa/qca/Kconfig"
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_cisource "drivers/net/dsa/sja1105/Kconfig"
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciconfig NET_DSA_QCA8K
638c2ecf20Sopenharmony_ci	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
648c2ecf20Sopenharmony_ci	depends on NET_DSA
658c2ecf20Sopenharmony_ci	select NET_DSA_TAG_QCA
668c2ecf20Sopenharmony_ci	select REGMAP
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  This enables support for the Qualcomm Atheros QCA8K Ethernet
698c2ecf20Sopenharmony_ci	  switch chips.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig NET_DSA_REALTEK_SMI
728c2ecf20Sopenharmony_ci	tristate "Realtek SMI Ethernet switch family support"
738c2ecf20Sopenharmony_ci	depends on NET_DSA
748c2ecf20Sopenharmony_ci	select NET_DSA_TAG_RTL4_A
758c2ecf20Sopenharmony_ci	select FIXED_PHY
768c2ecf20Sopenharmony_ci	select IRQ_DOMAIN
778c2ecf20Sopenharmony_ci	select REALTEK_PHY
788c2ecf20Sopenharmony_ci	select REGMAP
798c2ecf20Sopenharmony_ci	help
808c2ecf20Sopenharmony_ci	  This enables support for the Realtek SMI-based switch
818c2ecf20Sopenharmony_ci	  chips, currently only RTL8366RB.
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ciconfig NET_DSA_SMSC_LAN9303
848c2ecf20Sopenharmony_ci	tristate
858c2ecf20Sopenharmony_ci	select NET_DSA_TAG_LAN9303
868c2ecf20Sopenharmony_ci	select REGMAP
878c2ecf20Sopenharmony_ci	help
888c2ecf20Sopenharmony_ci	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
898c2ecf20Sopenharmony_ci	  switch chips.
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciconfig NET_DSA_SMSC_LAN9303_I2C
928c2ecf20Sopenharmony_ci	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
938c2ecf20Sopenharmony_ci	depends on NET_DSA && I2C
948c2ecf20Sopenharmony_ci	select NET_DSA_SMSC_LAN9303
958c2ecf20Sopenharmony_ci	select REGMAP_I2C
968c2ecf20Sopenharmony_ci	help
978c2ecf20Sopenharmony_ci	  Enable access functions if the SMSC/Microchip LAN9303 is configured
988c2ecf20Sopenharmony_ci	  for I2C managed mode.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciconfig NET_DSA_SMSC_LAN9303_MDIO
1018c2ecf20Sopenharmony_ci	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
1028c2ecf20Sopenharmony_ci	depends on NET_DSA
1038c2ecf20Sopenharmony_ci	select NET_DSA_SMSC_LAN9303
1048c2ecf20Sopenharmony_ci	help
1058c2ecf20Sopenharmony_ci	  Enable access functions if the SMSC/Microchip LAN9303 is configured
1068c2ecf20Sopenharmony_ci	  for MDIO managed mode.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciconfig NET_DSA_VITESSE_VSC73XX
1098c2ecf20Sopenharmony_ci	tristate
1108c2ecf20Sopenharmony_ci	depends on NET_DSA
1118c2ecf20Sopenharmony_ci	select FIXED_PHY
1128c2ecf20Sopenharmony_ci	select VITESSE_PHY
1138c2ecf20Sopenharmony_ci	select GPIOLIB
1148c2ecf20Sopenharmony_ci	help
1158c2ecf20Sopenharmony_ci	  This enables support for the Vitesse VSC7385, VSC7388,
1168c2ecf20Sopenharmony_ci	  VSC7395 and VSC7398 SparX integrated ethernet switches.
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ciconfig NET_DSA_VITESSE_VSC73XX_SPI
1198c2ecf20Sopenharmony_ci	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
1208c2ecf20Sopenharmony_ci	depends on NET_DSA
1218c2ecf20Sopenharmony_ci	depends on SPI
1228c2ecf20Sopenharmony_ci	select NET_DSA_VITESSE_VSC73XX
1238c2ecf20Sopenharmony_ci	help
1248c2ecf20Sopenharmony_ci	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
1258c2ecf20Sopenharmony_ci	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ciconfig NET_DSA_VITESSE_VSC73XX_PLATFORM
1288c2ecf20Sopenharmony_ci	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
1298c2ecf20Sopenharmony_ci	depends on NET_DSA
1308c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
1318c2ecf20Sopenharmony_ci	select NET_DSA_VITESSE_VSC73XX
1328c2ecf20Sopenharmony_ci	help
1338c2ecf20Sopenharmony_ci	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
1348c2ecf20Sopenharmony_ci	  and VSC7398 SparX integrated ethernet switches, connected over
1358c2ecf20Sopenharmony_ci	  a CPU-attached address bus and work in memory-mapped I/O mode.
1368c2ecf20Sopenharmony_ciendmenu
137