summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>2016-12-12 12:54:14 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2017-02-07 10:54:33 -0600
commit998640b478ab67f30644eef1deda2c035b81dfe7 (patch)
tree0429ee62a031d68d715ebbeeea38a3e45ca8d5d5 /drivers
parent83cfbeb0df9f5962a16e8737e08cf59ed84e0cff (diff)
downloadu-boot-imx-998640b478ab67f30644eef1deda2c035b81dfe7.zip
u-boot-imx-998640b478ab67f30644eef1deda2c035b81dfe7.tar.gz
u-boot-imx-998640b478ab67f30644eef1deda2c035b81dfe7.tar.bz2
net: phy: Add support for Marvell M88E1512
This device also works with the 88E1518 code, so we just adjust the UID mask accordingly. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/marvell.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index ae870c5..e76a14b 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -603,10 +603,15 @@ static struct phy_driver M88E1510_driver = {
.shutdown = &genphy_shutdown,
};
+/*
+ * This supports:
+ * 88E1518, uid 0x1410dd1
+ * 88E1512, uid 0x1410dd4
+ */
static struct phy_driver M88E1518_driver = {
.name = "Marvell 88E1518",
- .uid = 0x1410dd1,
- .mask = 0xfffffff,
+ .uid = 0x1410dd0,
+ .mask = 0xffffffa,
.features = PHY_GBIT_FEATURES,
.config = &m88e1518_config,
.startup = &m88e1011s_startup,