blob: 7b1457a6e327b01d5415c71dcd06ed4116234706 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Ben Hutchings3b1588592011-11-27 17:08:33 +00002menu "Distributed Switch Architecture drivers"
Alexander Lobakin227d7202021-03-19 15:46:30 +00003 depends on NET_DSA
Ben Hutchings3b1588592011-11-27 17:08:33 +00004
Andrew Lunnec34e932017-05-16 22:40:08 +02005source "drivers/net/dsa/b53/Kconfig"
Ben Hutchings3b1588592011-11-27 17:08:33 +00006
Florian Fainelli246d7f72014-08-27 17:04:56 -07007config NET_DSA_BCM_SF2
8 tristate "Broadcom Starfighter 2 Ethernet switch support"
Alexander Lobakin227d7202021-03-19 15:46:30 +00009 depends on HAS_IOMEM
Florian Fainelli246d7f72014-08-27 17:04:56 -070010 select NET_DSA_TAG_BRCM
Florian Fainelli9f9f2642014-12-15 09:57:15 -080011 select FIXED_PHY
Florian Fainelli246d7f72014-08-27 17:04:56 -070012 select BCM7XXX_PHY
13 select MDIO_BCM_UNIMAC
Florian Fainellif4589952016-08-26 12:18:33 -070014 select B53
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090015 help
Florian Fainelli246d7f72014-08-27 17:04:56 -070016 This enables support for the Broadcom Starfighter 2 Ethernet
17 switch chips.
18
Florian Fainelli98cd1552017-03-30 18:43:21 -070019config NET_DSA_LOOP
20 tristate "DSA mock-up Ethernet switch chip support"
Florian Fainelli98cd1552017-03-30 18:43:21 -070021 select FIXED_PHY
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090022 help
Florian Fainelli98cd1552017-03-30 18:43:21 -070023 This enables support for a fake mock-up switch chip which
24 exercises the DSA APIs.
25
Kurt Kanzenbache4b27eb2020-11-03 08:10:56 +010026source "drivers/net/dsa/hirschmann/Kconfig"
27
Hauke Mehrtens14fceff2018-09-09 22:20:39 +020028config NET_DSA_LANTIQ_GSWIP
29 tristate "Lantiq / Intel GSWIP"
Alexander Lobakin227d7202021-03-19 15:46:30 +000030 depends on HAS_IOMEM
Hauke Mehrtens14fceff2018-09-09 22:20:39 +020031 select NET_DSA_TAG_GSWIP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090032 help
Hauke Mehrtens14fceff2018-09-09 22:20:39 +020033 This enables support for the Lantiq / Intel GSWIP 2.1 found in
34 the xrx200 / VR9 SoC.
35
Sean Wangb8f126a2017-04-07 16:45:09 +080036config NET_DSA_MT7530
Landen Chaoc2885752020-09-11 21:48:54 +080037 tristate "MediaTek MT753x and MT7621 Ethernet switch support"
Sean Wangb8f126a2017-04-07 16:45:09 +080038 select NET_DSA_TAG_MTK
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090039 help
Landen Chaoc2885752020-09-11 21:48:54 +080040 This enables support for the MediaTek MT7530, MT7531, and MT7621
41 Ethernet switch chips.
Sean Wangb8f126a2017-04-07 16:45:09 +080042
Andrew Lunnec34e932017-05-16 22:40:08 +020043config NET_DSA_MV88E6060
44 tristate "Marvell 88E6060 ethernet switch chip support"
Andrew Lunnec34e932017-05-16 22:40:08 +020045 select NET_DSA_TAG_TRAILER
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090046 help
Andrew Lunnec34e932017-05-16 22:40:08 +020047 This enables support for the Marvell 88E6060 ethernet switch
48 chip.
49
Woojung Huhb987e982017-05-31 20:19:19 +000050source "drivers/net/dsa/microchip/Kconfig"
51
Andrew Lunnec34e932017-05-16 22:40:08 +020052source "drivers/net/dsa/mv88e6xxx/Kconfig"
53
Vladimir Oltean56051942019-11-14 17:03:30 +020054source "drivers/net/dsa/ocelot/Kconfig"
55
Oleksij Rempelec6698c2019-12-18 09:02:15 +010056source "drivers/net/dsa/qca/Kconfig"
57
Vladimir Oltean8aa9ebc2019-05-02 23:23:30 +030058source "drivers/net/dsa/sja1105/Kconfig"
59
George McCollisteree00b242021-01-14 13:57:33 -060060source "drivers/net/dsa/xrs700x/Kconfig"
61
Andrew Lunnec34e932017-05-16 22:40:08 +020062config NET_DSA_QCA8K
63 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
Andrew Lunnec34e932017-05-16 22:40:08 +020064 select NET_DSA_TAG_QCA
65 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090066 help
Andrew Lunnec34e932017-05-16 22:40:08 +020067 This enables support for the Qualcomm Atheros QCA8K Ethernet
68 switch chips.
69
Linus Walleijd8652952018-07-14 11:45:55 +020070config NET_DSA_REALTEK_SMI
71 tristate "Realtek SMI Ethernet switch family support"
Linus Walleija20fafb2020-07-08 14:25:37 +020072 select NET_DSA_TAG_RTL4_A
Alvin Šipraga4af29502021-10-18 11:38:01 +020073 select NET_DSA_TAG_RTL8_4
Linus Walleijd8652952018-07-14 11:45:55 +020074 select FIXED_PHY
75 select IRQ_DOMAIN
76 select REALTEK_PHY
77 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090078 help
Linus Walleijd8652952018-07-14 11:45:55 +020079 This enables support for the Realtek SMI-based switch
80 chips, currently only RTL8366RB.
81
Juergen Beisertbe4e1192017-04-18 10:48:26 +020082config NET_DSA_SMSC_LAN9303
83 tristate
84 select NET_DSA_TAG_LAN9303
Mao Wenanb6989d22019-10-26 10:21:39 +080085 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090086 help
Juergen Beisertbe4e1192017-04-18 10:48:26 +020087 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"
Alexander Lobakin227d7202021-03-19 15:46:30 +000092 depends on I2C
Juergen Beisertbe4e1192017-04-18 10:48:26 +020093 select NET_DSA_SMSC_LAN9303
94 select REGMAP_I2C
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090095 help
Juergen Beisertbe4e1192017-04-18 10:48:26 +020096 Enable access functions if the SMSC/Microchip LAN9303 is configured
97 for I2C managed mode.
98
Juergen Beisertdc700582017-04-18 10:48:27 +020099config NET_DSA_SMSC_LAN9303_MDIO
100 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
Juergen Beisertdc700582017-04-18 10:48:27 +0200101 select NET_DSA_SMSC_LAN9303
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900102 help
Juergen Beisertdc700582017-04-18 10:48:27 +0200103 Enable access functions if the SMSC/Microchip LAN9303 is configured
104 for MDIO managed mode.
105
Linus Walleij05bd97f2018-06-30 13:17:31 +0200106config NET_DSA_VITESSE_VSC73XX
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200107 tristate
Linus Walleij05bd97f2018-06-30 13:17:31 +0200108 select FIXED_PHY
109 select VITESSE_PHY
110 select GPIOLIB
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900111 help
Linus Walleij05bd97f2018-06-30 13:17:31 +0200112 This enables support for the Vitesse VSC7385, VSC7388,
113 VSC7395 and VSC7398 SparX integrated ethernet switches.
114
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200115config 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
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900119 help
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200120 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
121 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
Pawel Dembicki631e83b2019-07-05 00:29:06 +0200122
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
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900127 help
Pawel Dembicki631e83b2019-07-05 00:29:06 +0200128 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.
Ben Hutchings3b1588592011-11-27 17:08:33 +0000131endmenu