summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2011-12-06 02:47:57 +0000
committerWolfgang Denk <wd@denx.de>2011-12-20 23:50:10 +0100
commitfcc0c75dea90f2bb8394e7031fc33f72119be544 (patch)
tree5541170b60bee54d74bd18e4f4045c6b4edbcd69 /drivers
parentfea7dcae506bfbc3f67f8ed6a415d4f45914ee9b (diff)
downloadu-boot-imx-fcc0c75dea90f2bb8394e7031fc33f72119be544.zip
u-boot-imx-fcc0c75dea90f2bb8394e7031fc33f72119be544.tar.gz
u-boot-imx-fcc0c75dea90f2bb8394e7031fc33f72119be544.tar.bz2
phy: add Micrel KS8721BL phy definition
This adds support for the Micrel KS8721BL/SL PHY. The definition is taken from the correspondent datasheet. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/micrel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 47064a1..d4e64f2 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -32,9 +32,20 @@ static struct phy_driver KSZ804_driver = {
.shutdown = &genphy_shutdown,
};
+static struct phy_driver KS8721_driver = {
+ .name = "Micrel KS8721BL",
+ .uid = 0x221610,
+ .mask = 0xfffff0,
+ .features = PHY_BASIC_FEATURES,
+ .config = &genphy_config,
+ .startup = &genphy_startup,
+ .shutdown = &genphy_shutdown,
+};
+
int phy_micrel_init(void)
{
phy_register(&KSZ804_driver);
+ phy_register(&KS8721_driver);
return 0;
}