[U-Boot] [PATCH] net/phy: Add Vitesse VSC8514 PHY support

shh.xie at gmail.com shh.xie at gmail.com
Wed Nov 20 08:36:45 CET 2013


From: Shaohui Xie <Shaohui.Xie at freescale.com>

The VSC8514 works in QSGMII interface. Its register set and features
are similar to VSC8574 which in QSGMII mode.

Signed-off-by: Shaohui Xie <Shaohui.Xie at freescale.com>
---
 drivers/net/phy/vitesse.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index 61f863e..9af4efe 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -241,6 +241,16 @@ static struct phy_driver VSC8234_driver = {
 	.shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver VSC8514_driver = {
+	.name = "Vitesse VSC8514",
+	.uid = 0x70670,
+	.mask = 0xffff0,
+	.features = PHY_GBIT_FEATURES,
+	.config = &vsc8574_config,
+	.startup = &vitesse_startup,
+	.shutdown = &genphy_shutdown,
+};
+
 static struct phy_driver VSC8574_driver = {
 	.name = "Vitesse VSC8574",
 	.uid = 0x704a0,
@@ -310,6 +320,7 @@ int phy_vitesse_init(void)
 	phy_register(&VSC8244_driver);
 	phy_register(&VSC8211_driver);
 	phy_register(&VSC8221_driver);
+	phy_register(&VSC8514_driver);
 	phy_register(&VSC8574_driver);
 	phy_register(&VSC8662_driver);
 	phy_register(&cis8201_driver);
-- 
1.8.0




More information about the U-Boot mailing list