Skip to content
Permalink
Browse files
net: dsa: ocelot: felix: add support for VSC75XX control over SPI
Utilize the Felix and Ocelot drivers to allow control of the VSC7511,
VSC7512, VSC7513 and VAC7514 chips from an external CPU over SPI.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
  • Loading branch information
colin-foster-in-advantage authored and intel-lab-lkp committed Jul 10, 2021
1 parent 152136d commit c586fa643e682819018f654731c1e699da077d80
Show file tree
Hide file tree
Showing 5 changed files with 1,113 additions and 0 deletions.
@@ -14,6 +14,18 @@ config NET_DSA_MSCC_FELIX
This driver supports the VSC9959 (Felix) switch, which is embedded as
a PCIe function of the NXP LS1028A ENETC RCiEP.

config NET_DSA_MSCC_OCELOT_SPI
tristate "Ocelot Ethernet SPI switch support"
depends on NET_DSA && SPI
depends on NET_VENDOR_MICROSEMI
select MSCC_OCELOT_SWITCH_LIB
select NET_DSA_TAG_OCELOT_8021Q
select NET_DSA_TAG_OCELOT
help
This driver supports the VSC7511, VSC7512, VSC7513 and VSC7514 chips
when controlled through SPI. It can be used with the Microsemi dev
boards and an external CPU or custom hardware.

config NET_DSA_MSCC_SEVILLE
tristate "Ocelot / Seville Ethernet switch support"
depends on NET_DSA
@@ -1,11 +1,17 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_NET_DSA_MSCC_FELIX) += mscc_felix.o
obj-$(CONFIG_NET_DSA_MSCC_OCELOT_SPI) += mscc_ocelot_spi.o
obj-$(CONFIG_NET_DSA_MSCC_SEVILLE) += mscc_seville.o

mscc_felix-objs := \
felix.o \
felix_vsc9959.o

mscc_ocelot_spi-objs := \
felix.o \
felix_mdio.o \
ocelot_vsc7512_spi.o

mscc_seville-objs := \
felix.o \
felix_mdio.o \

0 comments on commit c586fa6

Please sign in to comment.