summaryrefslogtreecommitdiff
path: root/common/miiphyutil.c
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2014-02-19 17:21:59 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2015-01-30 15:55:00 -0600
commitb7a5b0843812b7bd4a225951ce11e7d14398395c (patch)
tree3d9360609425a427275bec01c58a4ef4b4f993c0 /common/miiphyutil.c
parente9efe16da8e7233e59801e80f2770292a7fe4f77 (diff)
downloadu-boot-imx-b7a5b0843812b7bd4a225951ce11e7d14398395c.zip
u-boot-imx-b7a5b0843812b7bd4a225951ce11e7d14398395c.tar.gz
u-boot-imx-b7a5b0843812b7bd4a225951ce11e7d14398395c.tar.bz2
net: phy: micrel: add support for KSZ8895 switch in SMI mode
This patch adds a phy driver for the Micrel KSZ8895 switch. As the SoC MAC is directly connected to the switch MAC the link to the switch is always up. But the KSZ8895 switch can be hardwired in three configuration modes : - not configurable with eventually an eeprom-stored configuration - configurable by the mdio/mdc connection (SMI protocol) - configurable by a SPI connection. In not configurable mode, the switch starts automatically, but in the other modes, it must be started programmatically, by writing 1 in configuration register 1. We only support the not configurable and mdio/mdc (aka SMI) modes here. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/miiphyutil.c')
0 files changed, 0 insertions, 0 deletions