Skip to content
Snippets Groups Projects
Commit 79887749 authored by Alexey Firago's avatar Alexey Firago Committed by Joe Hershberger
Browse files

net: phy: micrel: add support for KSZ886x switches in MIIM mode


This patch adds a phy driver for the Micrel KSZ886x switches.

Similarly to the KSZ8895, SoC MAC is directly connected to the switch
MAC on the switch CPU port, so the link to the switch is always up.

KSZ886x switches can be used in the following configuration modes:
- Unmanaged mode with config stored in external EEPROM
- Managed mode over SPI
- Managed mode over I2C
- Managed mode over mdio/mdc (aka MIIM or SMI)

This patch supports only unmanaged and MIIM modes.

Based on Micrel KSZ886x driver from Linux kernel and
Micrel KSZ8895 driver from U-Boot.

Verified with the KSZ8863MLL.

Signed-off-by: default avatarAlexey Firago <alexey_firago@mentor.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent dad7b740
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment