]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy/vitesse: Add support for VSC8584 phy
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Fri, 7 Aug 2015 12:31:39 +0000 (18:01 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 2 Sep 2015 02:38:39 +0000 (21:38 -0500)
Add support of VSC8584 phy placed on new QSGMII/SGMII ethernet riser cards
used on LS2085QDS platforms.

Signed-off-by: King Chung Lo@freescale.com <KingChungLo@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/phy/vitesse.c

index 20a67466a7c36db297d563531e41b5e465b36f8d..941d0760b57f378e0ea183c1d46532c79f432db6 100644 (file)
@@ -347,6 +347,16 @@ static struct phy_driver VSC8514_driver = {
        .shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver VSC8584_driver = {
+       .name = "Vitesse VSC8584",
+       .uid = 0x707c0,
+       .mask = 0xffff0,
+       .features = PHY_GBIT_FEATURES,
+       .config = &vsc8574_config,
+       .startup = &vitesse_startup,
+       .shutdown = &genphy_shutdown,
+};
+
 static struct phy_driver VSC8601_driver = {
        .name = "Vitesse VSC8601",
        .uid = 0x70420,
@@ -417,6 +427,7 @@ int phy_vitesse_init(void)
        phy_register(&VSC8211_driver);
        phy_register(&VSC8221_driver);
        phy_register(&VSC8574_driver);
+       phy_register(&VSC8584_driver);
        phy_register(&VSC8514_driver);
        phy_register(&VSC8662_driver);
        phy_register(&VSC8664_driver);