xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 2a12187d)
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 NET_DSA_TAG_NONE
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
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	select NET_DSA_TAG_MTK
40	select MEDIATEK_GE_PHY
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	select NET_DSA_TAG_TRAILER
48	help
49	  This enables support for the Marvell 88E6060 ethernet switch
50	  chip.
51
52source "drivers/net/dsa/microchip/Kconfig"
53
54source "drivers/net/dsa/mv88e6xxx/Kconfig"
55
56source "drivers/net/dsa/ocelot/Kconfig"
57
58source "drivers/net/dsa/qca/Kconfig"
59
60source "drivers/net/dsa/sja1105/Kconfig"
61
62source "drivers/net/dsa/xrs700x/Kconfig"
63
64source "drivers/net/dsa/realtek/Kconfig"
65
66config NET_DSA_RZN1_A5PSW
67	tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
68	depends on OF && ARCH_RZN1
69	select NET_DSA_TAG_RZN1_A5PSW
70	select PCS_RZN1_MIIC
71	help
72	  This driver supports the A5PSW switch, which is embedded in Renesas
73	  RZ/N1 SoC.
74
75config NET_DSA_SMSC_LAN9303
76	tristate
77	select NET_DSA_TAG_LAN9303
78	select REGMAP
79	help
80	  This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
81	  switch chips.
82
83config NET_DSA_SMSC_LAN9303_I2C
84	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
85	depends on I2C
86	depends on VLAN_8021Q || VLAN_8021Q=n
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 "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
95	select NET_DSA_SMSC_LAN9303
96	depends on VLAN_8021Q || VLAN_8021Q=n
97	help
98	  Enable access functions if the Microchip LAN9303/LAN9354 is configured
99	  for MDIO managed mode.
100
101config NET_DSA_VITESSE_VSC73XX
102	tristate
103	select NET_DSA_TAG_NONE
104	select FIXED_PHY
105	select VITESSE_PHY
106	select GPIOLIB
107	help
108	  This enables support for the Vitesse VSC7385, VSC7388,
109	  VSC7395 and VSC7398 SparX integrated ethernet switches.
110
111config NET_DSA_VITESSE_VSC73XX_SPI
112	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
113	depends on SPI
114	select NET_DSA_VITESSE_VSC73XX
115	help
116	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
117	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
118
119config NET_DSA_VITESSE_VSC73XX_PLATFORM
120	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
121	depends on HAS_IOMEM
122	select NET_DSA_VITESSE_VSC73XX
123	help
124	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
125	  and VSC7398 SparX integrated ethernet switches, connected over
126	  a CPU-attached address bus and work in memory-mapped I/O mode.
127endmenu
128