xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision d3402925)
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 MT7530 and MT7531 Ethernet switch support"
39	select NET_DSA_TAG_MTK
40	select MEDIATEK_GE_PHY
41	help
42	  This enables support for the MediaTek MT7530 and MT7531 Ethernet
43	  switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,
44	  MT7621ST and MT7623AI SoCs is supported.
45
46config NET_DSA_MV88E6060
47	tristate "Marvell 88E6060 ethernet switch chip support"
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
65source "drivers/net/dsa/realtek/Kconfig"
66
67config NET_DSA_RZN1_A5PSW
68	tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
69	depends on OF && ARCH_RZN1
70	select NET_DSA_TAG_RZN1_A5PSW
71	select PCS_RZN1_MIIC
72	help
73	  This driver supports the A5PSW switch, which is embedded in Renesas
74	  RZ/N1 SoC.
75
76config NET_DSA_SMSC_LAN9303
77	tristate
78	select NET_DSA_TAG_LAN9303
79	select REGMAP
80	help
81	  This enables support for the Microchip LAN9303/LAN9354 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 I2C
87	depends on VLAN_8021Q || VLAN_8021Q=n
88	select NET_DSA_SMSC_LAN9303
89	select REGMAP_I2C
90	help
91	  Enable access functions if the SMSC/Microchip LAN9303 is configured
92	  for I2C managed mode.
93
94config NET_DSA_SMSC_LAN9303_MDIO
95	tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
96	select NET_DSA_SMSC_LAN9303
97	depends on VLAN_8021Q || VLAN_8021Q=n
98	help
99	  Enable access functions if the Microchip LAN9303/LAN9354 is configured
100	  for MDIO managed mode.
101
102config NET_DSA_VITESSE_VSC73XX
103	tristate
104	select NET_DSA_TAG_NONE
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 SPI
115	select NET_DSA_VITESSE_VSC73XX
116	help
117	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
118	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
119
120config NET_DSA_VITESSE_VSC73XX_PLATFORM
121	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
122	depends on HAS_IOMEM
123	select NET_DSA_VITESSE_VSC73XX
124	help
125	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
126	  and VSC7398 SparX integrated ethernet switches, connected over
127	  a CPU-attached address bus and work in memory-mapped I/O mode.
128endmenu
129