blob: c0c91440340ae67d0e313a012b8d5c70d2ec9a3e [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
Arınç ÜNAL4223f862022-01-29 09:27:04 +030039 select MEDIATEK_GE_PHY
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090040 help
Landen Chaoc2885752020-09-11 21:48:54 +080041 This enables support for the MediaTek MT7530, MT7531, and MT7621
42 Ethernet switch chips.
Sean Wangb8f126a2017-04-07 16:45:09 +080043
Andrew Lunnec34e932017-05-16 22:40:08 +020044config NET_DSA_MV88E6060
45 tristate "Marvell 88E6060 ethernet switch chip support"
Andrew Lunnec34e932017-05-16 22:40:08 +020046 select NET_DSA_TAG_TRAILER
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090047 help
Andrew Lunnec34e932017-05-16 22:40:08 +020048 This enables support for the Marvell 88E6060 ethernet switch
49 chip.
50
Woojung Huhb987e982017-05-31 20:19:19 +000051source "drivers/net/dsa/microchip/Kconfig"
52
Andrew Lunnec34e932017-05-16 22:40:08 +020053source "drivers/net/dsa/mv88e6xxx/Kconfig"
54
Vladimir Oltean56051942019-11-14 17:03:30 +020055source "drivers/net/dsa/ocelot/Kconfig"
56
Oleksij Rempelec6698c2019-12-18 09:02:15 +010057source "drivers/net/dsa/qca/Kconfig"
58
Vladimir Oltean8aa9ebc2019-05-02 23:23:30 +030059source "drivers/net/dsa/sja1105/Kconfig"
60
George McCollisteree00b242021-01-14 13:57:33 -060061source "drivers/net/dsa/xrs700x/Kconfig"
62
Andrew Lunnec34e932017-05-16 22:40:08 +020063config NET_DSA_QCA8K
64 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
Andrew Lunnec34e932017-05-16 22:40:08 +020065 select NET_DSA_TAG_QCA
66 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090067 help
Andrew Lunnec34e932017-05-16 22:40:08 +020068 This enables support for the Qualcomm Atheros QCA8K Ethernet
69 switch chips.
70
Linus Walleijd8652952018-07-14 11:45:55 +020071config NET_DSA_REALTEK_SMI
72 tristate "Realtek SMI Ethernet switch family support"
Linus Walleija20fafb2020-07-08 14:25:37 +020073 select NET_DSA_TAG_RTL4_A
Alvin Šipraga4af29502021-10-18 11:38:01 +020074 select NET_DSA_TAG_RTL8_4
Linus Walleijd8652952018-07-14 11:45:55 +020075 select FIXED_PHY
76 select IRQ_DOMAIN
77 select REALTEK_PHY
78 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090079 help
Linus Walleijd8652952018-07-14 11:45:55 +020080 This enables support for the Realtek SMI-based switch
81 chips, currently only RTL8366RB.
82
Juergen Beisertbe4e1192017-04-18 10:48:26 +020083config NET_DSA_SMSC_LAN9303
84 tristate
85 select NET_DSA_TAG_LAN9303
Mao Wenanb6989d22019-10-26 10:21:39 +080086 select REGMAP
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090087 help
Juergen Beisertbe4e1192017-04-18 10:48:26 +020088 This enables support for the SMSC/Microchip LAN9303 3 port ethernet
89 switch chips.
90
91config NET_DSA_SMSC_LAN9303_I2C
92 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
Alexander Lobakin227d7202021-03-19 15:46:30 +000093 depends on I2C
Juergen Beisertbe4e1192017-04-18 10:48:26 +020094 select NET_DSA_SMSC_LAN9303
95 select REGMAP_I2C
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090096 help
Juergen Beisertbe4e1192017-04-18 10:48:26 +020097 Enable access functions if the SMSC/Microchip LAN9303 is configured
98 for I2C managed mode.
99
Juergen Beisertdc700582017-04-18 10:48:27 +0200100config NET_DSA_SMSC_LAN9303_MDIO
101 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
Juergen Beisertdc700582017-04-18 10:48:27 +0200102 select NET_DSA_SMSC_LAN9303
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900103 help
Juergen Beisertdc700582017-04-18 10:48:27 +0200104 Enable access functions if the SMSC/Microchip LAN9303 is configured
105 for MDIO managed mode.
106
Linus Walleij05bd97f2018-06-30 13:17:31 +0200107config NET_DSA_VITESSE_VSC73XX
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200108 tristate
Linus Walleij05bd97f2018-06-30 13:17:31 +0200109 select FIXED_PHY
110 select VITESSE_PHY
111 select GPIOLIB
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900112 help
Linus Walleij05bd97f2018-06-30 13:17:31 +0200113 This enables support for the Vitesse VSC7385, VSC7388,
114 VSC7395 and VSC7398 SparX integrated ethernet switches.
115
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200116config NET_DSA_VITESSE_VSC73XX_SPI
117 tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
118 depends on SPI
119 select NET_DSA_VITESSE_VSC73XX
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900120 help
Pawel Dembicki95711cd52019-07-05 00:29:05 +0200121 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
122 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
Pawel Dembicki631e83b2019-07-05 00:29:06 +0200123
124config NET_DSA_VITESSE_VSC73XX_PLATFORM
125 tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
126 depends on HAS_IOMEM
127 select NET_DSA_VITESSE_VSC73XX
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900128 help
Pawel Dembicki631e83b2019-07-05 00:29:06 +0200129 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
130 and VSC7398 SparX integrated ethernet switches, connected over
131 a CPU-attached address bus and work in memory-mapped I/O mode.
Ben Hutchings3b1588592011-11-27 17:08:33 +0000132endmenu