summaryrefslogtreecommitdiff
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-07-01 02:50:08 +0300
committerStefano Babic <sbabic@denx.de>2021-07-10 19:12:42 +0300
commit668e205098215acf13f72b892aea9267dc23dd19 (patch)
tree5628f52a0f12a3d5cd3cb63cf161e4e39582638d /drivers/net/Kconfig
parent431f9d72ffa76031808cb2ed9c90d1da3621c8de (diff)
downloadu-boot-668e205098215acf13f72b892aea9267dc23dd19.tar.xz
net: add support for KSZ9477/KSZ9897/KSZ9567 GbE switch
The Microchip KSZ9477/KSZ9897/KSZ9567 7-Port Gigabit Ethernet Switches support SGMII/RGMII/MII/RMII with register access via SPI, I2C, or MDIO. This driver currently supports I2C register access but SPI or MDIO register access can be easily added at a later time. Tagging is not implemented and instead the active port is tracked to avoid needing a tag to store port information. This was tested with the imx8mm-venice-gw7901 board which has a KSZ9897S switch with an IMX8MM FEC MAC master connected via RGMII_ID. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 483401681d..726ad36b7c 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -402,6 +402,13 @@ config KS8851_MLL_BASEADDR
endif #DM_ETH
endif #KS8851_MLL
+config KSZ9477
+ bool "Microchip KSZ9477 I2C controller driver"
+ depends on DM_DSA && DM_I2C
+ help
+ This driver implements a DSA switch driver for the KSZ9477 family
+ of GbE switches using the I2C interface.
+
config MVGBE
bool "Marvell Orion5x/Kirkwood network interface support"
depends on ARCH_KIRKWOOD || ARCH_ORION5X