xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 2f8e7ece)
13b158859SBen Hutchingsmenu "Distributed Switch Architecture drivers"
2b3422a31SBen Hutchings	depends on HAVE_NET_DSA
33b158859SBen Hutchings
4ec34e93fSAndrew Lunnsource "drivers/net/dsa/b53/Kconfig"
53b158859SBen Hutchings
6246d7f77SFlorian Fainelliconfig NET_DSA_BCM_SF2
7246d7f77SFlorian Fainelli	tristate "Broadcom Starfighter 2 Ethernet switch support"
89aee398aSFlorian Fainelli	depends on HAS_IOMEM && NET_DSA
9246d7f77SFlorian Fainelli	select NET_DSA_TAG_BRCM
109f9f2647SFlorian Fainelli	select FIXED_PHY
11246d7f77SFlorian Fainelli	select BCM7XXX_PHY
12246d7f77SFlorian Fainelli	select MDIO_BCM_UNIMAC
13f458995bSFlorian Fainelli	select B53
14246d7f77SFlorian Fainelli	---help---
15246d7f77SFlorian Fainelli	  This enables support for the Broadcom Starfighter 2 Ethernet
16246d7f77SFlorian Fainelli	  switch chips.
17246d7f77SFlorian Fainelli
1898cd1552SFlorian Fainelliconfig NET_DSA_LOOP
1998cd1552SFlorian Fainelli	tristate "DSA mock-up Ethernet switch chip support"
2098cd1552SFlorian Fainelli	depends on NET_DSA
2198cd1552SFlorian Fainelli	select FIXED_PHY
2298cd1552SFlorian Fainelli	---help---
2398cd1552SFlorian Fainelli	  This enables support for a fake mock-up switch chip which
2498cd1552SFlorian Fainelli	  exercises the DSA APIs.
2598cd1552SFlorian Fainelli
2614fceff4SHauke Mehrtensconfig NET_DSA_LANTIQ_GSWIP
2714fceff4SHauke Mehrtens	tristate "Lantiq / Intel GSWIP"
283475372fSHauke Mehrtens	depends on HAS_IOMEM && NET_DSA
2914fceff4SHauke Mehrtens	select NET_DSA_TAG_GSWIP
3014fceff4SHauke Mehrtens	---help---
3114fceff4SHauke Mehrtens	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
3214fceff4SHauke Mehrtens	  the xrx200 / VR9 SoC.
3314fceff4SHauke Mehrtens
34b8f126a8SSean Wangconfig NET_DSA_MT7530
35b8f126a8SSean Wang	tristate "Mediatek MT7530 Ethernet switch support"
36b8f126a8SSean Wang	depends on NET_DSA
37b8f126a8SSean Wang	select NET_DSA_TAG_MTK
38b8f126a8SSean Wang	---help---
39b8f126a8SSean Wang	  This enables support for the Mediatek MT7530 Ethernet switch
40b8f126a8SSean Wang	  chip.
41b8f126a8SSean Wang
42ec34e93fSAndrew Lunnconfig NET_DSA_MV88E6060
43ec34e93fSAndrew Lunn	tristate "Marvell 88E6060 ethernet switch chip support"
442f8e7eceSAndrew Lunn	depends on NET_DSA
45ec34e93fSAndrew Lunn	select NET_DSA_TAG_TRAILER
46ec34e93fSAndrew Lunn	---help---
47ec34e93fSAndrew Lunn	  This enables support for the Marvell 88E6060 ethernet switch
48ec34e93fSAndrew Lunn	  chip.
49ec34e93fSAndrew Lunn
50b987e98eSWoojung Huhsource "drivers/net/dsa/microchip/Kconfig"
51b987e98eSWoojung Huh
52ec34e93fSAndrew Lunnsource "drivers/net/dsa/mv88e6xxx/Kconfig"
53ec34e93fSAndrew Lunn
54ec34e93fSAndrew Lunnconfig NET_DSA_QCA8K
55ec34e93fSAndrew Lunn	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
56ec34e93fSAndrew Lunn	depends on NET_DSA
57ec34e93fSAndrew Lunn	select NET_DSA_TAG_QCA
58ec34e93fSAndrew Lunn	select REGMAP
59ec34e93fSAndrew Lunn	---help---
60ec34e93fSAndrew Lunn	  This enables support for the Qualcomm Atheros QCA8K Ethernet
61ec34e93fSAndrew Lunn	  switch chips.
62ec34e93fSAndrew Lunn
63d8652956SLinus Walleijconfig NET_DSA_REALTEK_SMI
64d8652956SLinus Walleij	tristate "Realtek SMI Ethernet switch family support"
65d8652956SLinus Walleij	depends on NET_DSA
66d8652956SLinus Walleij	select FIXED_PHY
67d8652956SLinus Walleij	select IRQ_DOMAIN
68d8652956SLinus Walleij	select REALTEK_PHY
69d8652956SLinus Walleij	select REGMAP
70d8652956SLinus Walleij	---help---
71d8652956SLinus Walleij	  This enables support for the Realtek SMI-based switch
72d8652956SLinus Walleij	  chips, currently only RTL8366RB.
73d8652956SLinus Walleij
74be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303
75be4e119fSJuergen Beisert	tristate
76be4e119fSJuergen Beisert	select NET_DSA_TAG_LAN9303
77be4e119fSJuergen Beisert	---help---
78be4e119fSJuergen Beisert	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
79be4e119fSJuergen Beisert	  switch chips.
80be4e119fSJuergen Beisert
81be4e119fSJuergen Beisertconfig NET_DSA_SMSC_LAN9303_I2C
82be4e119fSJuergen Beisert	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
83239c599aSArnd Bergmann	depends on NET_DSA && I2C
84be4e119fSJuergen Beisert	select NET_DSA_SMSC_LAN9303
85be4e119fSJuergen Beisert	select REGMAP_I2C
86be4e119fSJuergen Beisert	---help---
87be4e119fSJuergen Beisert	  Enable access functions if the SMSC/Microchip LAN9303 is configured
88be4e119fSJuergen Beisert	  for I2C managed mode.
89be4e119fSJuergen Beisert
90dc700583SJuergen Beisertconfig NET_DSA_SMSC_LAN9303_MDIO
91dc700583SJuergen Beisert	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
92dc700583SJuergen Beisert	depends on NET_DSA
93dc700583SJuergen Beisert	select NET_DSA_SMSC_LAN9303
94dc700583SJuergen Beisert	---help---
95dc700583SJuergen Beisert	  Enable access functions if the SMSC/Microchip LAN9303 is configured
96dc700583SJuergen Beisert	  for MDIO managed mode.
97dc700583SJuergen Beisert
9805bd97fcSLinus Walleijconfig NET_DSA_VITESSE_VSC73XX
9905bd97fcSLinus Walleij	tristate "Vitesse VSC7385/7388/7395/7398 support"
10005bd97fcSLinus Walleij	depends on OF && SPI
10105bd97fcSLinus Walleij	depends on NET_DSA
10205bd97fcSLinus Walleij	select FIXED_PHY
10305bd97fcSLinus Walleij	select VITESSE_PHY
10405bd97fcSLinus Walleij	select GPIOLIB
10505bd97fcSLinus Walleij	---help---
10605bd97fcSLinus Walleij	  This enables support for the Vitesse VSC7385, VSC7388,
10705bd97fcSLinus Walleij	  VSC7395 and VSC7398 SparX integrated ethernet switches.
10805bd97fcSLinus Walleij
1093b158859SBen Hutchingsendmenu
110