diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-12-10 01:59:54 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-01-15 21:05:21 +0300 |
commit | 137963d71a2b2e0a1ac1fd755e0bec1409c2cdbd (patch) | |
tree | 6da25c1c712b4e7f737fddbeeb3d6cbae189b91c /drivers/net/phy/Kconfig | |
parent | ba1f966725223c605ed504b09446c52a3f201c2b (diff) | |
download | u-boot-137963d71a2b2e0a1ac1fd755e0bec1409c2cdbd.tar.xz |
net: phy: Add Broadcom BCM53xx switch driver
Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar
to the Marvell MV88E617x. This takes care of configuring the minimum
amount out of the switch hardware such that each user visible port
(configurable) and the CPU port can forward packets between each other
while preserving isolation with other ports.
This is useful for e.g: the Lamobo R1 board featuring a Broadcom
BCM53125 switch.
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r-- | drivers/net/phy/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index e32f1eb1c0..95b7534323 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -12,6 +12,23 @@ menuconfig PHYLIB if PHYLIB +config B53_SWITCH + bool "Broadcom BCM53xx (RoboSwitch) Ethernet switch PHY support." + help + Enable support for Broadcom BCM53xx (RoboSwitch) Ethernet switches. + This currently supports BCM53125 and similar models. + +if B53_SWITCH + +config B53_CPU_PORT + int "CPU port" + default 8 + +config B53_PHY_PORTS + hex "Bitmask of PHY ports" + +endif # B53_SWITCH + config MV88E61XX_SWITCH bool "Marvel MV88E61xx Ethernet switch PHY support." |