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