Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Ben Hutchings | 3b158859 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 2 | menu "Distributed Switch Architecture drivers" |
Alexander Lobakin | 227d720 | 2021-03-19 15:46:30 +0000 | [diff] [blame] | 3 | depends on NET_DSA |
Ben Hutchings | 3b158859 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 4 | |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 5 | source "drivers/net/dsa/b53/Kconfig" |
Ben Hutchings | 3b158859 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 6 | |
Florian Fainelli | 246d7f7 | 2014-08-27 17:04:56 -0700 | [diff] [blame] | 7 | config NET_DSA_BCM_SF2 |
| 8 | tristate "Broadcom Starfighter 2 Ethernet switch support" |
Alexander Lobakin | 227d720 | 2021-03-19 15:46:30 +0000 | [diff] [blame] | 9 | depends on HAS_IOMEM |
Florian Fainelli | 246d7f7 | 2014-08-27 17:04:56 -0700 | [diff] [blame] | 10 | select NET_DSA_TAG_BRCM |
Florian Fainelli | 9f9f264 | 2014-12-15 09:57:15 -0800 | [diff] [blame] | 11 | select FIXED_PHY |
Florian Fainelli | 246d7f7 | 2014-08-27 17:04:56 -0700 | [diff] [blame] | 12 | select BCM7XXX_PHY |
| 13 | select MDIO_BCM_UNIMAC |
Florian Fainelli | f458995 | 2016-08-26 12:18:33 -0700 | [diff] [blame] | 14 | select B53 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 15 | help |
Florian Fainelli | 246d7f7 | 2014-08-27 17:04:56 -0700 | [diff] [blame] | 16 | This enables support for the Broadcom Starfighter 2 Ethernet |
| 17 | switch chips. |
| 18 | |
Florian Fainelli | 98cd155 | 2017-03-30 18:43:21 -0700 | [diff] [blame] | 19 | config NET_DSA_LOOP |
| 20 | tristate "DSA mock-up Ethernet switch chip support" |
Florian Fainelli | 98cd155 | 2017-03-30 18:43:21 -0700 | [diff] [blame] | 21 | select FIXED_PHY |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 22 | help |
Florian Fainelli | 98cd155 | 2017-03-30 18:43:21 -0700 | [diff] [blame] | 23 | This enables support for a fake mock-up switch chip which |
| 24 | exercises the DSA APIs. |
| 25 | |
Kurt Kanzenbach | e4b27eb | 2020-11-03 08:10:56 +0100 | [diff] [blame] | 26 | source "drivers/net/dsa/hirschmann/Kconfig" |
| 27 | |
Hauke Mehrtens | 14fceff | 2018-09-09 22:20:39 +0200 | [diff] [blame] | 28 | config NET_DSA_LANTIQ_GSWIP |
| 29 | tristate "Lantiq / Intel GSWIP" |
Alexander Lobakin | 227d720 | 2021-03-19 15:46:30 +0000 | [diff] [blame] | 30 | depends on HAS_IOMEM |
Hauke Mehrtens | 14fceff | 2018-09-09 22:20:39 +0200 | [diff] [blame] | 31 | select NET_DSA_TAG_GSWIP |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 32 | help |
Hauke Mehrtens | 14fceff | 2018-09-09 22:20:39 +0200 | [diff] [blame] | 33 | This enables support for the Lantiq / Intel GSWIP 2.1 found in |
| 34 | the xrx200 / VR9 SoC. |
| 35 | |
Sean Wang | b8f126a | 2017-04-07 16:45:09 +0800 | [diff] [blame] | 36 | config NET_DSA_MT7530 |
Landen Chao | c288575 | 2020-09-11 21:48:54 +0800 | [diff] [blame] | 37 | tristate "MediaTek MT753x and MT7621 Ethernet switch support" |
Sean Wang | b8f126a | 2017-04-07 16:45:09 +0800 | [diff] [blame] | 38 | select NET_DSA_TAG_MTK |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 39 | help |
Landen Chao | c288575 | 2020-09-11 21:48:54 +0800 | [diff] [blame] | 40 | This enables support for the MediaTek MT7530, MT7531, and MT7621 |
| 41 | Ethernet switch chips. |
Sean Wang | b8f126a | 2017-04-07 16:45:09 +0800 | [diff] [blame] | 42 | |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 43 | config NET_DSA_MV88E6060 |
| 44 | tristate "Marvell 88E6060 ethernet switch chip support" |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 45 | select NET_DSA_TAG_TRAILER |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 46 | help |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 47 | This enables support for the Marvell 88E6060 ethernet switch |
| 48 | chip. |
| 49 | |
Woojung Huh | b987e98 | 2017-05-31 20:19:19 +0000 | [diff] [blame] | 50 | source "drivers/net/dsa/microchip/Kconfig" |
| 51 | |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 52 | source "drivers/net/dsa/mv88e6xxx/Kconfig" |
| 53 | |
Vladimir Oltean | 5605194 | 2019-11-14 17:03:30 +0200 | [diff] [blame] | 54 | source "drivers/net/dsa/ocelot/Kconfig" |
| 55 | |
Oleksij Rempel | ec6698c | 2019-12-18 09:02:15 +0100 | [diff] [blame] | 56 | source "drivers/net/dsa/qca/Kconfig" |
| 57 | |
Vladimir Oltean | 8aa9ebc | 2019-05-02 23:23:30 +0300 | [diff] [blame] | 58 | source "drivers/net/dsa/sja1105/Kconfig" |
| 59 | |
George McCollister | ee00b24 | 2021-01-14 13:57:33 -0600 | [diff] [blame] | 60 | source "drivers/net/dsa/xrs700x/Kconfig" |
| 61 | |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 62 | config NET_DSA_QCA8K |
| 63 | tristate "Qualcomm Atheros QCA8K Ethernet switch family support" |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 64 | select NET_DSA_TAG_QCA |
| 65 | select REGMAP |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 66 | help |
Andrew Lunn | ec34e93 | 2017-05-16 22:40:08 +0200 | [diff] [blame] | 67 | This enables support for the Qualcomm Atheros QCA8K Ethernet |
| 68 | switch chips. |
| 69 | |
Linus Walleij | d865295 | 2018-07-14 11:45:55 +0200 | [diff] [blame] | 70 | config NET_DSA_REALTEK_SMI |
| 71 | tristate "Realtek SMI Ethernet switch family support" |
Linus Walleij | a20fafb | 2020-07-08 14:25:37 +0200 | [diff] [blame] | 72 | select NET_DSA_TAG_RTL4_A |
Alvin Šipraga | 4af2950 | 2021-10-18 11:38:01 +0200 | [diff] [blame] | 73 | select NET_DSA_TAG_RTL8_4 |
Linus Walleij | d865295 | 2018-07-14 11:45:55 +0200 | [diff] [blame] | 74 | select FIXED_PHY |
| 75 | select IRQ_DOMAIN |
| 76 | select REALTEK_PHY |
| 77 | select REGMAP |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 78 | help |
Linus Walleij | d865295 | 2018-07-14 11:45:55 +0200 | [diff] [blame] | 79 | This enables support for the Realtek SMI-based switch |
| 80 | chips, currently only RTL8366RB. |
| 81 | |
Juergen Beisert | be4e119 | 2017-04-18 10:48:26 +0200 | [diff] [blame] | 82 | config NET_DSA_SMSC_LAN9303 |
| 83 | tristate |
| 84 | select NET_DSA_TAG_LAN9303 |
Mao Wenan | b6989d2 | 2019-10-26 10:21:39 +0800 | [diff] [blame] | 85 | select REGMAP |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 86 | help |
Juergen Beisert | be4e119 | 2017-04-18 10:48:26 +0200 | [diff] [blame] | 87 | This enables support for the SMSC/Microchip LAN9303 3 port ethernet |
| 88 | switch chips. |
| 89 | |
| 90 | config NET_DSA_SMSC_LAN9303_I2C |
| 91 | tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode" |
Alexander Lobakin | 227d720 | 2021-03-19 15:46:30 +0000 | [diff] [blame] | 92 | depends on I2C |
Juergen Beisert | be4e119 | 2017-04-18 10:48:26 +0200 | [diff] [blame] | 93 | select NET_DSA_SMSC_LAN9303 |
| 94 | select REGMAP_I2C |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 95 | help |
Juergen Beisert | be4e119 | 2017-04-18 10:48:26 +0200 | [diff] [blame] | 96 | Enable access functions if the SMSC/Microchip LAN9303 is configured |
| 97 | for I2C managed mode. |
| 98 | |
Juergen Beisert | dc70058 | 2017-04-18 10:48:27 +0200 | [diff] [blame] | 99 | config NET_DSA_SMSC_LAN9303_MDIO |
| 100 | tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode" |
Juergen Beisert | dc70058 | 2017-04-18 10:48:27 +0200 | [diff] [blame] | 101 | select NET_DSA_SMSC_LAN9303 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 102 | help |
Juergen Beisert | dc70058 | 2017-04-18 10:48:27 +0200 | [diff] [blame] | 103 | Enable access functions if the SMSC/Microchip LAN9303 is configured |
| 104 | for MDIO managed mode. |
| 105 | |
Linus Walleij | 05bd97f | 2018-06-30 13:17:31 +0200 | [diff] [blame] | 106 | config NET_DSA_VITESSE_VSC73XX |
Pawel Dembicki | 95711cd5 | 2019-07-05 00:29:05 +0200 | [diff] [blame] | 107 | tristate |
Linus Walleij | 05bd97f | 2018-06-30 13:17:31 +0200 | [diff] [blame] | 108 | select FIXED_PHY |
| 109 | select VITESSE_PHY |
| 110 | select GPIOLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 111 | help |
Linus Walleij | 05bd97f | 2018-06-30 13:17:31 +0200 | [diff] [blame] | 112 | This enables support for the Vitesse VSC7385, VSC7388, |
| 113 | VSC7395 and VSC7398 SparX integrated ethernet switches. |
| 114 | |
Pawel Dembicki | 95711cd5 | 2019-07-05 00:29:05 +0200 | [diff] [blame] | 115 | config 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 Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 119 | help |
Pawel Dembicki | 95711cd5 | 2019-07-05 00:29:05 +0200 | [diff] [blame] | 120 | This enables support for the Vitesse VSC7385, VSC7388, VSC7395 |
| 121 | and VSC7398 SparX integrated ethernet switches in SPI managed mode. |
Pawel Dembicki | 631e83b | 2019-07-05 00:29:06 +0200 | [diff] [blame] | 122 | |
| 123 | config 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 Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 127 | help |
Pawel Dembicki | 631e83b | 2019-07-05 00:29:06 +0200 | [diff] [blame] | 128 | 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 Hutchings | 3b158859 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 131 | endmenu |