xref: /linux/drivers/net/dsa/ocelot/Kconfig (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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_OCELOT_EXT
12	tristate "Ocelot External Ethernet switch support"
13	depends on NET_DSA && SPI
14	depends on NET_VENDOR_MICROSEMI
15	depends on PTP_1588_CLOCK_OPTIONAL
16	select MDIO_MSCC_MIIM
17	select MFD_OCELOT
18	select MSCC_OCELOT_SWITCH_LIB
19	select NET_DSA_MSCC_FELIX_DSA_LIB
20	select NET_DSA_TAG_OCELOT_8021Q
21	select NET_DSA_TAG_OCELOT
22	help
23	  This driver supports the VSC7511, VSC7512, VSC7513 and VSC7514 chips
24	  when controlled through SPI.
25
26	  The Ocelot switch family is a set of multi-port networking chips. All
27	  of these chips have the ability to be controlled externally through
28	  SPI or PCIe interfaces.
29
30	  Say "Y" here to enable external control to these chips.
31
32config NET_DSA_MSCC_FELIX
33	tristate "Ocelot / Felix Ethernet switch support"
34	depends on NET_DSA && PCI
35	depends on NET_VENDOR_MICROSEMI
36	depends on NET_VENDOR_FREESCALE
37	depends on HAS_IOMEM
38	depends on PTP_1588_CLOCK_OPTIONAL
39	depends on NET_SCH_TAPRIO || NET_SCH_TAPRIO=n
40	select MSCC_OCELOT_SWITCH_LIB
41	select NET_DSA_MSCC_FELIX_DSA_LIB
42	select NET_DSA_TAG_OCELOT_8021Q
43	select NET_DSA_TAG_OCELOT
44	select FSL_ENETC_MDIO
45	select PCS_LYNX
46	help
47	  This driver supports the VSC9959 (Felix) switch, which is embedded as
48	  a PCIe function of the NXP LS1028A ENETC RCiEP.
49
50config NET_DSA_MSCC_SEVILLE
51	tristate "Ocelot / Seville Ethernet switch support"
52	depends on NET_DSA
53	depends on NET_VENDOR_MICROSEMI
54	depends on HAS_IOMEM
55	depends on PTP_1588_CLOCK_OPTIONAL
56	select MDIO_MSCC_MIIM
57	select MSCC_OCELOT_SWITCH_LIB
58	select NET_DSA_MSCC_FELIX_DSA_LIB
59	select NET_DSA_TAG_OCELOT_8021Q
60	select NET_DSA_TAG_OCELOT
61	select PCS_LYNX
62	help
63	  This driver supports the VSC9953 (Seville) switch, which is embedded
64	  as a platform device on the NXP T1040 SoC.
65