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" 21d2be3204SVladimir Oltean select NET_DSA_TAG_NONE 2298cd1552SFlorian Fainelli select FIXED_PHY 23a7f7f624SMasahiro Yamada help 2498cd1552SFlorian Fainelli This enables support for a fake mock-up switch chip which 2598cd1552SFlorian Fainelli exercises the DSA APIs. 2698cd1552SFlorian Fainelli 27e4b27ebcSKurt Kanzenbachsource "drivers/net/dsa/hirschmann/Kconfig" 28e4b27ebcSKurt Kanzenbach 2914fceff4SHauke Mehrtensconfig NET_DSA_LANTIQ_GSWIP 3014fceff4SHauke Mehrtens tristate "Lantiq / Intel GSWIP" 31227d7206SAlexander Lobakin depends on HAS_IOMEM 3214fceff4SHauke Mehrtens select NET_DSA_TAG_GSWIP 33a7f7f624SMasahiro Yamada help 3414fceff4SHauke Mehrtens This enables support for the Lantiq / Intel GSWIP 2.1 found in 3514fceff4SHauke Mehrtens the xrx200 / VR9 SoC. 3614fceff4SHauke Mehrtens 37b8f126a8SSean Wangconfig NET_DSA_MT7530 38ff445b83SArınç ÜNAL tristate "MediaTek MT7530 and MT7531 Ethernet switch support" 39b8f126a8SSean Wang select NET_DSA_TAG_MTK 40cb675afcSDaniel Golle imply NET_DSA_MT7530_MDIO 41110c18bfSDaniel Golle imply NET_DSA_MT7530_MMIO 42a7f7f624SMasahiro Yamada help 43ff445b83SArınç ÜNAL This enables support for the MediaTek MT7530 and MT7531 Ethernet 44ff445b83SArınç ÜNAL switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT, 45cb675afcSDaniel Golle MT7621ST and MT7623AI SoCs, and built-in switch in MT7988 SoC are 46cb675afcSDaniel Golle supported as well. 47cb675afcSDaniel Golle 48cb675afcSDaniel Golleconfig NET_DSA_MT7530_MDIO 49cb675afcSDaniel Golle tristate "MediaTek MT7530 MDIO interface driver" 50cb675afcSDaniel Golle depends on NET_DSA_MT7530 51*b9b05381SDaniel Golle imply MEDIATEK_GE_PHY 52cb675afcSDaniel Golle select PCS_MTK_LYNXI 53cb675afcSDaniel Golle help 54cb675afcSDaniel Golle This enables support for the MediaTek MT7530 and MT7531 switch 55cb675afcSDaniel Golle chips which are connected via MDIO, as well as multi-chip 56cb675afcSDaniel Golle module MT7530 which can be found in the MT7621AT, MT7621DAT, 57cb675afcSDaniel Golle MT7621ST and MT7623AI SoCs. 58b8f126a8SSean Wang 59110c18bfSDaniel Golleconfig NET_DSA_MT7530_MMIO 60110c18bfSDaniel Golle tristate "MediaTek MT7530 MMIO interface driver" 61110c18bfSDaniel Golle depends on NET_DSA_MT7530 62110c18bfSDaniel Golle depends on HAS_IOMEM 63*b9b05381SDaniel Golle imply MEDIATEK_GE_SOC_PHY 64110c18bfSDaniel Golle help 65110c18bfSDaniel Golle This enables support for the built-in Ethernet switch found 66110c18bfSDaniel Golle in the MediaTek MT7988 SoC. 67110c18bfSDaniel Golle The switch is a similar design as MT7531, but the switch registers 68110c18bfSDaniel Golle are directly mapped into the SoCs register space rather than being 69110c18bfSDaniel Golle accessible via MDIO. 70110c18bfSDaniel Golle 71ec34e93fSAndrew Lunnconfig NET_DSA_MV88E6060 72ec34e93fSAndrew Lunn tristate "Marvell 88E6060 ethernet switch chip support" 73ec34e93fSAndrew Lunn select NET_DSA_TAG_TRAILER 74a7f7f624SMasahiro Yamada help 75ec34e93fSAndrew Lunn This enables support for the Marvell 88E6060 ethernet switch 76ec34e93fSAndrew Lunn chip. 77ec34e93fSAndrew Lunn 78b987e98eSWoojung Huhsource "drivers/net/dsa/microchip/Kconfig" 79b987e98eSWoojung Huh 80ec34e93fSAndrew Lunnsource "drivers/net/dsa/mv88e6xxx/Kconfig" 81ec34e93fSAndrew Lunn 8256051948SVladimir Olteansource "drivers/net/dsa/ocelot/Kconfig" 8356051948SVladimir Oltean 84ec6698c2SOleksij Rempelsource "drivers/net/dsa/qca/Kconfig" 85ec6698c2SOleksij Rempel 868aa9ebccSVladimir Olteansource "drivers/net/dsa/sja1105/Kconfig" 878aa9ebccSVladimir Oltean 88ee00b24fSGeorge McCollistersource "drivers/net/dsa/xrs700x/Kconfig" 89ee00b24fSGeorge McCollister 90319a70a5SLuiz Angelo Daros de Lucasource "drivers/net/dsa/realtek/Kconfig" 91d8652956SLinus Walleij 92888cdb89SClément Légerconfig NET_DSA_RZN1_A5PSW 93888cdb89SClément Léger tristate "Renesas RZ/N1 A5PSW Ethernet switch support" 94888cdb89SClément Léger depends on OF && ARCH_RZN1 95888cdb89SClément Léger select NET_DSA_TAG_RZN1_A5PSW 96888cdb89SClément Léger select PCS_RZN1_MIIC 97888cdb89SClément Léger help 98888cdb89SClément Léger This driver supports the A5PSW switch, which is embedded in Renesas 99888cdb89SClément Léger RZ/N1 SoC. 100888cdb89SClément Léger 101be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303 102be4e119fSJuergen Beisert tristate 103be4e119fSJuergen Beisert select NET_DSA_TAG_LAN9303 104b6989d24SMao Wenan select REGMAP 105a7f7f624SMasahiro Yamada help 10613248b97SJerry Ray This enables support for the Microchip LAN9303/LAN9354 3 port ethernet 107be4e119fSJuergen Beisert switch chips. 108be4e119fSJuergen Beisert 109be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303_I2C 110be4e119fSJuergen Beisert tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode" 111227d7206SAlexander Lobakin depends on I2C 1120a3ad7d3SRandy Dunlap depends on VLAN_8021Q || VLAN_8021Q=n 113be4e119fSJuergen Beisert select NET_DSA_SMSC_LAN9303 114be4e119fSJuergen Beisert select REGMAP_I2C 115a7f7f624SMasahiro Yamada help 116be4e119fSJuergen Beisert Enable access functions if the SMSC/Microchip LAN9303 is configured 117be4e119fSJuergen Beisert for I2C managed mode. 118be4e119fSJuergen Beisert 119dc700583SJuergen Beisertconfig NET_DSA_SMSC_LAN9303_MDIO 12013248b97SJerry Ray tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode" 121dc700583SJuergen Beisert select NET_DSA_SMSC_LAN9303 1220a3ad7d3SRandy Dunlap depends on VLAN_8021Q || VLAN_8021Q=n 123a7f7f624SMasahiro Yamada help 12413248b97SJerry Ray Enable access functions if the Microchip LAN9303/LAN9354 is configured 125dc700583SJuergen Beisert for MDIO managed mode. 126dc700583SJuergen Beisert 12705bd97fcSLinus Walleijconfig NET_DSA_VITESSE_VSC73XX 12895711cd5SPawel Dembicki tristate 129d2be3204SVladimir Oltean select NET_DSA_TAG_NONE 13005bd97fcSLinus Walleij select FIXED_PHY 13105bd97fcSLinus Walleij select VITESSE_PHY 13205bd97fcSLinus Walleij select GPIOLIB 133a7f7f624SMasahiro Yamada help 13405bd97fcSLinus Walleij This enables support for the Vitesse VSC7385, VSC7388, 13505bd97fcSLinus Walleij VSC7395 and VSC7398 SparX integrated ethernet switches. 13605bd97fcSLinus Walleij 13795711cd5SPawel Dembickiconfig NET_DSA_VITESSE_VSC73XX_SPI 13895711cd5SPawel Dembicki tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support" 13995711cd5SPawel Dembicki depends on SPI 14095711cd5SPawel Dembicki select NET_DSA_VITESSE_VSC73XX 141a7f7f624SMasahiro Yamada help 14295711cd5SPawel Dembicki This enables support for the Vitesse VSC7385, VSC7388, VSC7395 14395711cd5SPawel Dembicki and VSC7398 SparX integrated ethernet switches in SPI managed mode. 144631e83bfSPawel Dembicki 145631e83bfSPawel Dembickiconfig NET_DSA_VITESSE_VSC73XX_PLATFORM 146631e83bfSPawel Dembicki tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support" 147631e83bfSPawel Dembicki depends on HAS_IOMEM 148631e83bfSPawel Dembicki select NET_DSA_VITESSE_VSC73XX 149a7f7f624SMasahiro Yamada help 150631e83bfSPawel Dembicki This enables support for the Vitesse VSC7385, VSC7388, VSC7395 151631e83bfSPawel Dembicki and VSC7398 SparX integrated ethernet switches, connected over 152631e83bfSPawel Dembicki a CPU-attached address bus and work in memory-mapped I/O mode. 1533b158859SBen Hutchingsendmenu 154