Skip to content
Snippets Groups Projects
Commit f91ba0ec authored by Priyanka Jain's avatar Priyanka Jain Committed by Joe Hershberger
Browse files

net: Add Vitesse VSC8662 PHY support


-VSC8662 is Dual Port 10/100/1000Base-T Phy,
 100Base-FX/1000/Base-X Gigabit Ethernt Transceiver Phy.

-Its register set and features are similar to
 other Vitesse Phys

Signed-off-by: default avatarPriyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
parent b737337a
No related branches found
No related tags found
No related merge requests found
/* /*
* Vitesse PHY drivers * Vitesse PHY drivers
* *
* Copyright 2010-2012 Freescale Semiconductor, Inc.
* Author: Andy Fleming
* Add vsc8662 phy support - Priyanka Jain
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of * published by the Free Software Foundation; either version 2 of
...@@ -15,10 +18,6 @@ ...@@ -15,10 +18,6 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA * MA 02111-1307 USA
*
* Copyright 2010-2011 Freescale Semiconductor, Inc.
* author Andy Fleming
*
*/ */
#include <miiphy.h> #include <miiphy.h>
...@@ -206,6 +205,16 @@ static struct phy_driver VSC8641_driver = { ...@@ -206,6 +205,16 @@ static struct phy_driver VSC8641_driver = {
.shutdown = &genphy_shutdown, .shutdown = &genphy_shutdown,
}; };
static struct phy_driver VSC8662_driver = {
.name = "Vitesse VSC8662",
.uid = 0x70660,
.mask = 0xffff0,
.features = PHY_GBIT_FEATURES,
.config = &genphy_config_aneg,
.startup = &vitesse_startup,
.shutdown = &genphy_shutdown,
};
/* Vitesse bought Cicada, so we'll put these here */ /* Vitesse bought Cicada, so we'll put these here */
static struct phy_driver cis8201_driver = { static struct phy_driver cis8201_driver = {
.name = "CIS8201", .name = "CIS8201",
...@@ -235,6 +244,7 @@ int phy_vitesse_init(void) ...@@ -235,6 +244,7 @@ int phy_vitesse_init(void)
phy_register(&VSC8244_driver); phy_register(&VSC8244_driver);
phy_register(&VSC8211_driver); phy_register(&VSC8211_driver);
phy_register(&VSC8221_driver); phy_register(&VSC8221_driver);
phy_register(&VSC8662_driver);
phy_register(&cis8201_driver); phy_register(&cis8201_driver);
phy_register(&cis8204_driver); phy_register(&cis8204_driver);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment