xref: /linux/drivers/net/dsa/Kconfig (revision 90e0d94d369d342e735a75174439482119b6c393)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Distributed Switch Architecture drivers"
3	depends on NET_DSA
4
5source "drivers/net/dsa/b53/Kconfig"
6
7config NET_DSA_BCM_SF2
8	tristate "Broadcom Starfighter 2 Ethernet switch support"
9	depends on HAS_IOMEM
10	select NET_DSA_TAG_BRCM
11	select FIXED_PHY
12	select BCM7XXX_PHY
13	select MDIO_BCM_UNIMAC
14	select B53
15	help
16	  This enables support for the Broadcom Starfighter 2 Ethernet
17	  switch chips.
18
19config NET_DSA_LOOP
20	tristate "DSA mock-up Ethernet switch chip support"
21	select FIXED_PHY
22	help
23	  This enables support for a fake mock-up switch chip which
24	  exercises the DSA APIs.
25
26source "drivers/net/dsa/hirschmann/Kconfig"
27
28config NET_DSA_LANTIQ_GSWIP
29	tristate "Lantiq / Intel GSWIP"
30	depends on HAS_IOMEM
31	select NET_DSA_TAG_GSWIP
32	help
33	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
34	  the xrx200 / VR9 SoC.
35
36config NET_DSA_MT7530
37	tristate "MediaTek MT753x and MT7621 Ethernet switch support"
38	select NET_DSA_TAG_MTK
39	select MEDIATEK_GE_PHY
40	help
41	  This enables support for the MediaTek MT7530, MT7531, and MT7621
42	  Ethernet switch chips.
43
44config NET_DSA_MV88E6060
45	tristate "Marvell 88E6060 ethernet switch chip support"
46	select NET_DSA_TAG_TRAILER
47	help
48	  This enables support for the Marvell 88E6060 ethernet switch
49	  chip.
50
51source "drivers/net/dsa/microchip/Kconfig"
52
53source "drivers/net/dsa/mv88e6xxx/Kconfig"
54
55source "drivers/net/dsa/ocelot/Kconfig"
56
57source "drivers/net/dsa/qca/Kconfig"
58
59source "drivers/net/dsa/sja1105/Kconfig"
60
61source "drivers/net/dsa/xrs700x/Kconfig"
62
63source "drivers/net/dsa/realtek/Kconfig"
64
65config NET_DSA_RZN1_A5PSW
66	tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
67	depends on OF && ARCH_RZN1
68	select NET_DSA_TAG_RZN1_A5PSW
69	select PCS_RZN1_MIIC
70	help
71	  This driver supports the A5PSW switch, which is embedded in Renesas
72	  RZ/N1 SoC.
73
74config NET_DSA_SMSC_LAN9303
75	tristate
76	select NET_DSA_TAG_LAN9303
77	select REGMAP
78	help
79	  This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
80	  switch chips.
81
82config NET_DSA_SMSC_LAN9303_I2C
83	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
84	depends on I2C
85	depends on VLAN_8021Q || VLAN_8021Q=n
86	select NET_DSA_SMSC_LAN9303
87	select REGMAP_I2C
88	help
89	  Enable access functions if the SMSC/Microchip LAN9303 is configured
90	  for I2C managed mode.
91
92config NET_DSA_SMSC_LAN9303_MDIO
93	tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
94	select NET_DSA_SMSC_LAN9303
95	depends on VLAN_8021Q || VLAN_8021Q=n
96	help
97	  Enable access functions if the Microchip LAN9303/LAN9354 is configured
98	  for MDIO managed mode.
99
100config NET_DSA_VITESSE_VSC73XX
101	tristate
102	select FIXED_PHY
103	select VITESSE_PHY
104	select GPIOLIB
105	help
106	  This enables support for the Vitesse VSC7385, VSC7388,
107	  VSC7395 and VSC7398 SparX integrated ethernet switches.
108
109config NET_DSA_VITESSE_VSC73XX_SPI
110	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
111	depends on SPI
112	select NET_DSA_VITESSE_VSC73XX
113	help
114	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
115	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
116
117config NET_DSA_VITESSE_VSC73XX_PLATFORM
118	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
119	depends on HAS_IOMEM
120	select NET_DSA_VITESSE_VSC73XX
121	help
122	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
123	  and VSC7398 SparX integrated ethernet switches, connected over
124	  a CPU-attached address bus and work in memory-mapped I/O mode.
125endmenu
126