xref: /openbmc/linux/drivers/net/dsa/ocelot/Kconfig (revision c8005511)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MSCC_FELIX_DSA_LIB
3	tristate
4	help
5	  This is an umbrella module for all network switches that are
6	  register-compatible with Ocelot and that perform I/O to their host
7	  CPU through an NPI (Node Processor Interface) Ethernet port.
8	  Its name comes from the first hardware chip to make use of it
9	  (VSC9959), code named Felix.
10
11config NET_DSA_MSCC_FELIX
12	tristate "Ocelot / Felix Ethernet switch support"
13	depends on NET_DSA && PCI
14	depends on NET_VENDOR_MICROSEMI
15	depends on NET_VENDOR_FREESCALE
16	depends on HAS_IOMEM
17	depends on PTP_1588_CLOCK_OPTIONAL
18	depends on NET_SCH_TAPRIO || NET_SCH_TAPRIO=n
19	select MSCC_OCELOT_SWITCH_LIB
20	select NET_DSA_MSCC_FELIX_DSA_LIB
21	select NET_DSA_TAG_OCELOT_8021Q
22	select NET_DSA_TAG_OCELOT
23	select FSL_ENETC_MDIO
24	select PCS_LYNX
25	help
26	  This driver supports the VSC9959 (Felix) switch, which is embedded as
27	  a PCIe function of the NXP LS1028A ENETC RCiEP.
28
29config NET_DSA_MSCC_SEVILLE
30	tristate "Ocelot / Seville Ethernet switch support"
31	depends on NET_DSA
32	depends on NET_VENDOR_MICROSEMI
33	depends on HAS_IOMEM
34	depends on PTP_1588_CLOCK_OPTIONAL
35	select MDIO_MSCC_MIIM
36	select MSCC_OCELOT_SWITCH_LIB
37	select NET_DSA_MSCC_FELIX_DSA_LIB
38	select NET_DSA_TAG_OCELOT_8021Q
39	select NET_DSA_TAG_OCELOT
40	select PCS_LYNX
41	help
42	  This driver supports the VSC9953 (Seville) switch, which is embedded
43	  as a platform device on the NXP T1040 SoC.
44