xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 888cdb89)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
23b158859SBen Hutchingsmenu "Distributed Switch Architecture drivers"
3227d7206SAlexander Lobakin	depends on NET_DSA
43b158859SBen Hutchings
5ec34e93fSAndrew Lunnsource "drivers/net/dsa/b53/Kconfig"
63b158859SBen Hutchings
7246d7f77SFlorian Fainelliconfig NET_DSA_BCM_SF2
8246d7f77SFlorian Fainelli	tristate "Broadcom Starfighter 2 Ethernet switch support"
9227d7206SAlexander Lobakin	depends on HAS_IOMEM
10246d7f77SFlorian Fainelli	select NET_DSA_TAG_BRCM
119f9f2647SFlorian Fainelli	select FIXED_PHY
12246d7f77SFlorian Fainelli	select BCM7XXX_PHY
13246d7f77SFlorian Fainelli	select MDIO_BCM_UNIMAC
14f458995bSFlorian Fainelli	select B53
15a7f7f624SMasahiro Yamada	help
16246d7f77SFlorian Fainelli	  This enables support for the Broadcom Starfighter 2 Ethernet
17246d7f77SFlorian Fainelli	  switch chips.
18246d7f77SFlorian Fainelli
1998cd1552SFlorian Fainelliconfig NET_DSA_LOOP
2098cd1552SFlorian Fainelli	tristate "DSA mock-up Ethernet switch chip support"
2198cd1552SFlorian Fainelli	select FIXED_PHY
22a7f7f624SMasahiro Yamada	help
2398cd1552SFlorian Fainelli	  This enables support for a fake mock-up switch chip which
2498cd1552SFlorian Fainelli	  exercises the DSA APIs.
2598cd1552SFlorian Fainelli
26e4b27ebcSKurt Kanzenbachsource "drivers/net/dsa/hirschmann/Kconfig"
27e4b27ebcSKurt Kanzenbach
2814fceff4SHauke Mehrtensconfig NET_DSA_LANTIQ_GSWIP
2914fceff4SHauke Mehrtens	tristate "Lantiq / Intel GSWIP"
30227d7206SAlexander Lobakin	depends on HAS_IOMEM
3114fceff4SHauke Mehrtens	select NET_DSA_TAG_GSWIP
32a7f7f624SMasahiro Yamada	help
3314fceff4SHauke Mehrtens	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
3414fceff4SHauke Mehrtens	  the xrx200 / VR9 SoC.
3514fceff4SHauke Mehrtens
36b8f126a8SSean Wangconfig NET_DSA_MT7530
37c288575fSLanden Chao	tristate "MediaTek MT753x and MT7621 Ethernet switch support"
38b8f126a8SSean Wang	select NET_DSA_TAG_MTK
394223f865SArınç ÜNAL	select MEDIATEK_GE_PHY
40a7f7f624SMasahiro Yamada	help
41c288575fSLanden Chao	  This enables support for the MediaTek MT7530, MT7531, and MT7621
42c288575fSLanden Chao	  Ethernet switch chips.
43b8f126a8SSean Wang
44ec34e93fSAndrew Lunnconfig NET_DSA_MV88E6060
45ec34e93fSAndrew Lunn	tristate "Marvell 88E6060 ethernet switch chip support"
46ec34e93fSAndrew Lunn	select NET_DSA_TAG_TRAILER
47a7f7f624SMasahiro Yamada	help
48ec34e93fSAndrew Lunn	  This enables support for the Marvell 88E6060 ethernet switch
49ec34e93fSAndrew Lunn	  chip.
50ec34e93fSAndrew Lunn
51b987e98eSWoojung Huhsource "drivers/net/dsa/microchip/Kconfig"
52b987e98eSWoojung Huh
53ec34e93fSAndrew Lunnsource "drivers/net/dsa/mv88e6xxx/Kconfig"
54ec34e93fSAndrew Lunn
5556051948SVladimir Olteansource "drivers/net/dsa/ocelot/Kconfig"
5656051948SVladimir Oltean
57ec6698c2SOleksij Rempelsource "drivers/net/dsa/qca/Kconfig"
58ec6698c2SOleksij Rempel
598aa9ebccSVladimir Olteansource "drivers/net/dsa/sja1105/Kconfig"
608aa9ebccSVladimir Oltean
61ee00b24fSGeorge McCollistersource "drivers/net/dsa/xrs700x/Kconfig"
62ee00b24fSGeorge McCollister
63ec34e93fSAndrew Lunnconfig NET_DSA_QCA8K
64ec34e93fSAndrew Lunn	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
65ec34e93fSAndrew Lunn	select NET_DSA_TAG_QCA
66ec34e93fSAndrew Lunn	select REGMAP
67a7f7f624SMasahiro Yamada	help
68ec34e93fSAndrew Lunn	  This enables support for the Qualcomm Atheros QCA8K Ethernet
69ec34e93fSAndrew Lunn	  switch chips.
70ec34e93fSAndrew Lunn
71319a70a5SLuiz Angelo Daros de Lucasource "drivers/net/dsa/realtek/Kconfig"
72d8652956SLinus Walleij
73*888cdb89SClément Légerconfig NET_DSA_RZN1_A5PSW
74*888cdb89SClément Léger	tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
75*888cdb89SClément Léger	depends on OF && ARCH_RZN1
76*888cdb89SClément Léger	select NET_DSA_TAG_RZN1_A5PSW
77*888cdb89SClément Léger	select PCS_RZN1_MIIC
78*888cdb89SClément Léger	help
79*888cdb89SClément Léger	  This driver supports the A5PSW switch, which is embedded in Renesas
80*888cdb89SClément Léger	  RZ/N1 SoC.
81*888cdb89SClément Léger
82be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303
83be4e119fSJuergen Beisert	tristate
84be4e119fSJuergen Beisert	select NET_DSA_TAG_LAN9303
85b6989d24SMao Wenan	select REGMAP
86a7f7f624SMasahiro Yamada	help
87be4e119fSJuergen Beisert	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
88be4e119fSJuergen Beisert	  switch chips.
89be4e119fSJuergen Beisert
90be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303_I2C
91be4e119fSJuergen Beisert	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
92227d7206SAlexander Lobakin	depends on I2C
930a3ad7d3SRandy Dunlap	depends on VLAN_8021Q || VLAN_8021Q=n
94be4e119fSJuergen Beisert	select NET_DSA_SMSC_LAN9303
95be4e119fSJuergen Beisert	select REGMAP_I2C
96a7f7f624SMasahiro Yamada	help
97be4e119fSJuergen Beisert	  Enable access functions if the SMSC/Microchip LAN9303 is configured
98be4e119fSJuergen Beisert	  for I2C managed mode.
99be4e119fSJuergen Beisert
100dc700583SJuergen Beisertconfig NET_DSA_SMSC_LAN9303_MDIO
101dc700583SJuergen Beisert	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
102dc700583SJuergen Beisert	select NET_DSA_SMSC_LAN9303
1030a3ad7d3SRandy Dunlap	depends on VLAN_8021Q || VLAN_8021Q=n
104a7f7f624SMasahiro Yamada	help
105dc700583SJuergen Beisert	  Enable access functions if the SMSC/Microchip LAN9303 is configured
106dc700583SJuergen Beisert	  for MDIO managed mode.
107dc700583SJuergen Beisert
10805bd97fcSLinus Walleijconfig NET_DSA_VITESSE_VSC73XX
10995711cd5SPawel Dembicki	tristate
11005bd97fcSLinus Walleij	select FIXED_PHY
11105bd97fcSLinus Walleij	select VITESSE_PHY
11205bd97fcSLinus Walleij	select GPIOLIB
113a7f7f624SMasahiro Yamada	help
11405bd97fcSLinus Walleij	  This enables support for the Vitesse VSC7385, VSC7388,
11505bd97fcSLinus Walleij	  VSC7395 and VSC7398 SparX integrated ethernet switches.
11605bd97fcSLinus Walleij
11795711cd5SPawel Dembickiconfig NET_DSA_VITESSE_VSC73XX_SPI
11895711cd5SPawel Dembicki	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
11995711cd5SPawel Dembicki	depends on SPI
12095711cd5SPawel Dembicki	select NET_DSA_VITESSE_VSC73XX
121a7f7f624SMasahiro Yamada	help
12295711cd5SPawel Dembicki	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
12395711cd5SPawel Dembicki	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
124631e83bfSPawel Dembicki
125631e83bfSPawel Dembickiconfig NET_DSA_VITESSE_VSC73XX_PLATFORM
126631e83bfSPawel Dembicki	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
127631e83bfSPawel Dembicki	depends on HAS_IOMEM
128631e83bfSPawel Dembicki	select NET_DSA_VITESSE_VSC73XX
129a7f7f624SMasahiro Yamada	help
130631e83bfSPawel Dembicki	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
131631e83bfSPawel Dembicki	  and VSC7398 SparX integrated ethernet switches, connected over
132631e83bfSPawel Dembicki	  a CPU-attached address bus and work in memory-mapped I/O mode.
1333b158859SBen Hutchingsendmenu
134