2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2011-11-28 01:08:33 +08:00
|
|
|
menu "Distributed Switch Architecture drivers"
|
2021-03-19 23:46:30 +08:00
|
|
|
depends on NET_DSA
|
2011-11-28 01:08:33 +08:00
|
|
|
|
2017-05-17 04:40:08 +08:00
|
|
|
source "drivers/net/dsa/b53/Kconfig"
|
2011-11-28 01:08:33 +08:00
|
|
|
|
2014-08-28 08:04:56 +08:00
|
|
|
config NET_DSA_BCM_SF2
|
|
|
|
tristate "Broadcom Starfighter 2 Ethernet switch support"
|
2021-03-19 23:46:30 +08:00
|
|
|
depends on HAS_IOMEM
|
2014-08-28 08:04:56 +08:00
|
|
|
select NET_DSA_TAG_BRCM
|
2014-12-16 01:57:15 +08:00
|
|
|
select FIXED_PHY
|
2014-08-28 08:04:56 +08:00
|
|
|
select BCM7XXX_PHY
|
|
|
|
select MDIO_BCM_UNIMAC
|
2016-08-27 03:18:33 +08:00
|
|
|
select B53
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2014-08-28 08:04:56 +08:00
|
|
|
This enables support for the Broadcom Starfighter 2 Ethernet
|
|
|
|
switch chips.
|
|
|
|
|
2017-03-31 09:43:21 +08:00
|
|
|
config NET_DSA_LOOP
|
|
|
|
tristate "DSA mock-up Ethernet switch chip support"
|
2022-11-21 21:55:40 +08:00
|
|
|
select NET_DSA_TAG_NONE
|
2017-03-31 09:43:21 +08:00
|
|
|
select FIXED_PHY
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-03-31 09:43:21 +08:00
|
|
|
This enables support for a fake mock-up switch chip which
|
|
|
|
exercises the DSA APIs.
|
|
|
|
|
2020-11-03 15:10:56 +08:00
|
|
|
source "drivers/net/dsa/hirschmann/Kconfig"
|
|
|
|
|
2018-09-10 04:20:39 +08:00
|
|
|
config NET_DSA_LANTIQ_GSWIP
|
|
|
|
tristate "Lantiq / Intel GSWIP"
|
2021-03-19 23:46:30 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-09-10 04:20:39 +08:00
|
|
|
select NET_DSA_TAG_GSWIP
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2018-09-10 04:20:39 +08:00
|
|
|
This enables support for the Lantiq / Intel GSWIP 2.1 found in
|
|
|
|
the xrx200 / VR9 SoC.
|
|
|
|
|
2017-04-07 16:45:09 +08:00
|
|
|
config NET_DSA_MT7530
|
2023-01-27 03:01:11 +08:00
|
|
|
tristate "MediaTek MT7530 and MT7531 Ethernet switch support"
|
2017-04-07 16:45:09 +08:00
|
|
|
select NET_DSA_TAG_MTK
|
2022-01-29 14:27:04 +08:00
|
|
|
select MEDIATEK_GE_PHY
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2023-01-27 03:01:11 +08:00
|
|
|
This enables support for the MediaTek MT7530 and MT7531 Ethernet
|
|
|
|
switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,
|
|
|
|
MT7621ST and MT7623AI SoCs is supported.
|
2017-04-07 16:45:09 +08:00
|
|
|
|
2017-05-17 04:40:08 +08:00
|
|
|
config NET_DSA_MV88E6060
|
|
|
|
tristate "Marvell 88E6060 ethernet switch chip support"
|
|
|
|
select NET_DSA_TAG_TRAILER
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-05-17 04:40:08 +08:00
|
|
|
This enables support for the Marvell 88E6060 ethernet switch
|
|
|
|
chip.
|
|
|
|
|
2017-06-01 04:19:19 +08:00
|
|
|
source "drivers/net/dsa/microchip/Kconfig"
|
|
|
|
|
2017-05-17 04:40:08 +08:00
|
|
|
source "drivers/net/dsa/mv88e6xxx/Kconfig"
|
|
|
|
|
net: dsa: ocelot: add driver for Felix switch family
This supports an Ethernet switching core from Vitesse / Microsemi /
Microchip (VSC9959) which is part of the Ocelot family (a brand name),
and whose code name is Felix. The switch can be (and is) integrated on
different SoCs as a PCIe endpoint device.
The functionality is provided by the core of the Ocelot switch driver
(drivers/net/ethernet/mscc). In this regard, the current driver is an
instance of Microsemi's Ocelot core driver, with a DSA front-end. It
inherits its name from VSC9959's code name, to distinguish itself from
the switchdev ocelot driver.
The patch adds the logic for probing a PCI device and defines the
register map for the VSC9959 switch core, since it has some differences
in register addresses and bitfield mappings compared to the other Ocelot
switches (VSC7511, VSC7512, VSC7513, VSC7514).
The Felix driver declares the register map as part of the "instance
table". Currently the VSC9959 inside NXP LS1028A is the only instance,
but presumably it can support other switches in the Ocelot family, when
used in DSA mode (Linux running on the external CPU, and not on the
embedded MIPS).
In a few cases, some h/w operations have to be done differently on
VSC9959 due to missing bitfields. This is the case for the switch core
reset and init. Because for this operation Ocelot uses some bits that
are not present on Felix, the latter has to use a register from the
global registers block (GCB) instead.
Although it is a PCI driver, it relies on DT bindings for compatibility
with DSA (CPU port link, PHY library). It does not have any custom
device tree bindings, since we would like to minimize its dependency on
device tree though.
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-14 23:03:30 +08:00
|
|
|
source "drivers/net/dsa/ocelot/Kconfig"
|
|
|
|
|
2019-12-18 16:02:15 +08:00
|
|
|
source "drivers/net/dsa/qca/Kconfig"
|
|
|
|
|
2019-05-03 04:23:30 +08:00
|
|
|
source "drivers/net/dsa/sja1105/Kconfig"
|
|
|
|
|
2021-01-15 03:57:33 +08:00
|
|
|
source "drivers/net/dsa/xrs700x/Kconfig"
|
|
|
|
|
2022-01-28 14:04:58 +08:00
|
|
|
source "drivers/net/dsa/realtek/Kconfig"
|
2018-07-14 17:45:55 +08:00
|
|
|
|
2022-06-24 22:39:52 +08:00
|
|
|
config NET_DSA_RZN1_A5PSW
|
|
|
|
tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
|
|
|
|
depends on OF && ARCH_RZN1
|
|
|
|
select NET_DSA_TAG_RZN1_A5PSW
|
|
|
|
select PCS_RZN1_MIIC
|
|
|
|
help
|
|
|
|
This driver supports the A5PSW switch, which is embedded in Renesas
|
|
|
|
RZ/N1 SoC.
|
|
|
|
|
2017-04-18 16:48:26 +08:00
|
|
|
config NET_DSA_SMSC_LAN9303
|
|
|
|
tristate
|
|
|
|
select NET_DSA_TAG_LAN9303
|
2019-10-26 10:21:39 +08:00
|
|
|
select REGMAP
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2022-09-03 05:30:21 +08:00
|
|
|
This enables support for the Microchip LAN9303/LAN9354 3 port ethernet
|
2017-04-18 16:48:26 +08:00
|
|
|
switch chips.
|
|
|
|
|
|
|
|
config NET_DSA_SMSC_LAN9303_I2C
|
|
|
|
tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
|
2021-03-19 23:46:30 +08:00
|
|
|
depends on I2C
|
2022-05-20 13:15:23 +08:00
|
|
|
depends on VLAN_8021Q || VLAN_8021Q=n
|
2017-04-18 16:48:26 +08:00
|
|
|
select NET_DSA_SMSC_LAN9303
|
|
|
|
select REGMAP_I2C
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-04-18 16:48:26 +08:00
|
|
|
Enable access functions if the SMSC/Microchip LAN9303 is configured
|
|
|
|
for I2C managed mode.
|
|
|
|
|
2017-04-18 16:48:27 +08:00
|
|
|
config NET_DSA_SMSC_LAN9303_MDIO
|
2022-09-03 05:30:21 +08:00
|
|
|
tristate "Microchip LAN9303/LAN9354 3-ports 10/100 ethernet switch in MDIO managed mode"
|
2017-04-18 16:48:27 +08:00
|
|
|
select NET_DSA_SMSC_LAN9303
|
2022-05-20 13:15:23 +08:00
|
|
|
depends on VLAN_8021Q || VLAN_8021Q=n
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2022-09-03 05:30:21 +08:00
|
|
|
Enable access functions if the Microchip LAN9303/LAN9354 is configured
|
2017-04-18 16:48:27 +08:00
|
|
|
for MDIO managed mode.
|
|
|
|
|
2018-06-30 19:17:31 +08:00
|
|
|
config NET_DSA_VITESSE_VSC73XX
|
2019-07-05 06:29:05 +08:00
|
|
|
tristate
|
2022-11-21 21:55:40 +08:00
|
|
|
select NET_DSA_TAG_NONE
|
2018-06-30 19:17:31 +08:00
|
|
|
select FIXED_PHY
|
|
|
|
select VITESSE_PHY
|
|
|
|
select GPIOLIB
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2018-06-30 19:17:31 +08:00
|
|
|
This enables support for the Vitesse VSC7385, VSC7388,
|
|
|
|
VSC7395 and VSC7398 SparX integrated ethernet switches.
|
|
|
|
|
2019-07-05 06:29:05 +08:00
|
|
|
config NET_DSA_VITESSE_VSC73XX_SPI
|
|
|
|
tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
|
|
|
|
depends on SPI
|
|
|
|
select NET_DSA_VITESSE_VSC73XX
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2019-07-05 06:29:05 +08:00
|
|
|
This enables support for the Vitesse VSC7385, VSC7388, VSC7395
|
|
|
|
and VSC7398 SparX integrated ethernet switches in SPI managed mode.
|
2019-07-05 06:29:06 +08:00
|
|
|
|
|
|
|
config NET_DSA_VITESSE_VSC73XX_PLATFORM
|
|
|
|
tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select NET_DSA_VITESSE_VSC73XX
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2019-07-05 06:29:06 +08:00
|
|
|
This enables support for the Vitesse VSC7385, VSC7388, VSC7395
|
|
|
|
and VSC7398 SparX integrated ethernet switches, connected over
|
|
|
|
a CPU-attached address bus and work in memory-mapped I/O mode.
|
2011-11-28 01:08:33 +08:00
|
|
|
endmenu
|