xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision d9f6e12f)
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
27source "drivers/net/dsa/hirschmann/Kconfig"
28
29config NET_DSA_LANTIQ_GSWIP
30	tristate "Lantiq / Intel GSWIP"
31	depends on HAS_IOMEM && NET_DSA
32	select NET_DSA_TAG_GSWIP
33	help
34	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
35	  the xrx200 / VR9 SoC.
36
37config NET_DSA_MT7530
38	tristate "MediaTek MT753x and MT7621 Ethernet switch support"
39	depends on NET_DSA
40	select NET_DSA_TAG_MTK
41	help
42	  This enables support for the MediaTek MT7530, MT7531, and MT7621
43	  Ethernet switch chips.
44
45config NET_DSA_MV88E6060
46	tristate "Marvell 88E6060 ethernet switch chip support"
47	depends on NET_DSA
48	select NET_DSA_TAG_TRAILER
49	help
50	  This enables support for the Marvell 88E6060 ethernet switch
51	  chip.
52
53source "drivers/net/dsa/microchip/Kconfig"
54
55source "drivers/net/dsa/mv88e6xxx/Kconfig"
56
57source "drivers/net/dsa/ocelot/Kconfig"
58
59source "drivers/net/dsa/qca/Kconfig"
60
61source "drivers/net/dsa/sja1105/Kconfig"
62
63source "drivers/net/dsa/xrs700x/Kconfig"
64
65config NET_DSA_QCA8K
66	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
67	depends on NET_DSA
68	select NET_DSA_TAG_QCA
69	select REGMAP
70	help
71	  This enables support for the Qualcomm Atheros QCA8K Ethernet
72	  switch chips.
73
74config NET_DSA_REALTEK_SMI
75	tristate "Realtek SMI Ethernet switch family support"
76	depends on NET_DSA
77	select NET_DSA_TAG_RTL4_A
78	select FIXED_PHY
79	select IRQ_DOMAIN
80	select REALTEK_PHY
81	select REGMAP
82	help
83	  This enables support for the Realtek SMI-based switch
84	  chips, currently only RTL8366RB.
85
86config NET_DSA_SMSC_LAN9303
87	tristate
88	select NET_DSA_TAG_LAN9303
89	select REGMAP
90	help
91	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
92	  switch chips.
93
94config NET_DSA_SMSC_LAN9303_I2C
95	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
96	depends on NET_DSA && I2C
97	select NET_DSA_SMSC_LAN9303
98	select REGMAP_I2C
99	help
100	  Enable access functions if the SMSC/Microchip LAN9303 is configured
101	  for I2C managed mode.
102
103config NET_DSA_SMSC_LAN9303_MDIO
104	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
105	depends on NET_DSA
106	select NET_DSA_SMSC_LAN9303
107	help
108	  Enable access functions if the SMSC/Microchip LAN9303 is configured
109	  for MDIO managed mode.
110
111config NET_DSA_VITESSE_VSC73XX
112	tristate
113	depends on NET_DSA
114	select FIXED_PHY
115	select VITESSE_PHY
116	select GPIOLIB
117	help
118	  This enables support for the Vitesse VSC7385, VSC7388,
119	  VSC7395 and VSC7398 SparX integrated ethernet switches.
120
121config NET_DSA_VITESSE_VSC73XX_SPI
122	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
123	depends on NET_DSA
124	depends on SPI
125	select NET_DSA_VITESSE_VSC73XX
126	help
127	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
128	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
129
130config NET_DSA_VITESSE_VSC73XX_PLATFORM
131	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
132	depends on NET_DSA
133	depends on HAS_IOMEM
134	select NET_DSA_VITESSE_VSC73XX
135	help
136	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
137	  and VSC7398 SparX integrated ethernet switches, connected over
138	  a CPU-attached address bus and work in memory-mapped I/O mode.
139endmenu
140