xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision a44e4f3a)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Distributed Switch Architecture drivers"
3	depends on HAVE_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 && NET_DSA
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	depends on NET_DSA
22	select FIXED_PHY
23	---help---
24	  This enables support for a fake mock-up switch chip which
25	  exercises the DSA APIs.
26
27config NET_DSA_LANTIQ_GSWIP
28	tristate "Lantiq / Intel GSWIP"
29	depends on HAS_IOMEM && NET_DSA
30	select NET_DSA_TAG_GSWIP
31	---help---
32	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
33	  the xrx200 / VR9 SoC.
34
35config NET_DSA_MT7530
36	tristate "Mediatek MT7530 Ethernet switch support"
37	depends on NET_DSA
38	select NET_DSA_TAG_MTK
39	---help---
40	  This enables support for the Mediatek MT7530 Ethernet switch
41	  chip.
42
43config NET_DSA_MV88E6060
44	tristate "Marvell 88E6060 ethernet switch chip support"
45	depends on NET_DSA
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/sja1105/Kconfig"
56
57config NET_DSA_QCA8K
58	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
59	depends on NET_DSA
60	select NET_DSA_TAG_QCA
61	select REGMAP
62	---help---
63	  This enables support for the Qualcomm Atheros QCA8K Ethernet
64	  switch chips.
65
66config NET_DSA_REALTEK_SMI
67	tristate "Realtek SMI Ethernet switch family support"
68	depends on NET_DSA
69	select FIXED_PHY
70	select IRQ_DOMAIN
71	select REALTEK_PHY
72	select REGMAP
73	---help---
74	  This enables support for the Realtek SMI-based switch
75	  chips, currently only RTL8366RB.
76
77config NET_DSA_SMSC_LAN9303
78	tristate
79	select NET_DSA_TAG_LAN9303
80	---help---
81	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
82	  switch chips.
83
84config NET_DSA_SMSC_LAN9303_I2C
85	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
86	depends on NET_DSA && I2C
87	select NET_DSA_SMSC_LAN9303
88	select REGMAP_I2C
89	---help---
90	  Enable access functions if the SMSC/Microchip LAN9303 is configured
91	  for I2C managed mode.
92
93config NET_DSA_SMSC_LAN9303_MDIO
94	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
95	depends on NET_DSA
96	select NET_DSA_SMSC_LAN9303
97	---help---
98	  Enable access functions if the SMSC/Microchip LAN9303 is configured
99	  for MDIO managed mode.
100
101config NET_DSA_VITESSE_VSC73XX
102	tristate
103	depends on OF
104	depends on NET_DSA
105	select FIXED_PHY
106	select VITESSE_PHY
107	select GPIOLIB
108	---help---
109	  This enables support for the Vitesse VSC7385, VSC7388,
110	  VSC7395 and VSC7398 SparX integrated ethernet switches.
111
112config NET_DSA_VITESSE_VSC73XX_SPI
113	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
114	depends on OF
115	depends on NET_DSA
116	depends on SPI
117	select NET_DSA_VITESSE_VSC73XX
118	---help---
119	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
120	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
121
122config NET_DSA_VITESSE_VSC73XX_PLATFORM
123	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
124	depends on OF
125	depends on NET_DSA
126	depends on HAS_IOMEM
127	select NET_DSA_VITESSE_VSC73XX
128	---help---
129	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
130	  and VSC7398 SparX integrated ethernet switches, connected over
131	  a CPU-attached address bus and work in memory-mapped I/O mode.
132endmenu
133