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