xref: /openbmc/linux/drivers/net/dsa/ocelot/Kconfig (revision 25c2e591)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MSCC_FELIX
3	tristate "Ocelot / Felix Ethernet switch support"
4	depends on NET_DSA && PCI
5	depends on NET_VENDOR_MICROSEMI
6	depends on NET_VENDOR_FREESCALE
7	depends on HAS_IOMEM
8	depends on PTP_1588_CLOCK_OPTIONAL
9	depends on NET_SCH_TAPRIO || NET_SCH_TAPRIO=n
10	select MSCC_OCELOT_SWITCH_LIB
11	select NET_DSA_TAG_OCELOT_8021Q
12	select NET_DSA_TAG_OCELOT
13	select FSL_ENETC_MDIO
14	select PCS_LYNX
15	help
16	  This driver supports the VSC9959 (Felix) switch, which is embedded as
17	  a PCIe function of the NXP LS1028A ENETC RCiEP.
18
19config NET_DSA_MSCC_SEVILLE
20	tristate "Ocelot / Seville Ethernet switch support"
21	depends on NET_DSA
22	depends on NET_VENDOR_MICROSEMI
23	depends on HAS_IOMEM
24	depends on PTP_1588_CLOCK_OPTIONAL
25	select MDIO_MSCC_MIIM
26	select MSCC_OCELOT_SWITCH_LIB
27	select NET_DSA_TAG_OCELOT_8021Q
28	select NET_DSA_TAG_OCELOT
29	select PCS_LYNX
30	help
31	  This driver supports the VSC9953 (Seville) switch, which is embedded
32	  as a platform device on the NXP T1040 SoC.
33