aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mscc/mscc.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-03-19 23:16:49 +0200
committerDavid S. Miller <davem@davemloft.net>2020-03-23 20:52:27 -0700
commitd3169863310d151b5fb42b08de009ea8f2788264 (patch)
treef84f299a2804722f27cb60db56ec49b4f7cb9522 /drivers/net/phy/mscc/mscc.h
parentnet: phy: mscc: configure both RX and TX internal delays for RGMII (diff)
downloadlinux-dev-d3169863310d151b5fb42b08de009ea8f2788264.tar.xz
linux-dev-d3169863310d151b5fb42b08de009ea8f2788264.zip
net: phy: mscc: add support for VSC8502
This is a dual copper PHY with support for MII/GMII/RGMII on MAC side, as well as a bunch of other features such as SyncE and Ring Resiliency. I haven't tested interrupts and WoL, but I am confident that they work since support is already present in the driver and the register map is no different for this PHY. PHY statistics work, PHY tunables appear to work, suspend/resume works. Signed-off-by: Wes Li <wes.li@nxp.com> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mscc/mscc.h')
-rw-r--r--drivers/net/phy/mscc/mscc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mscc/mscc.h b/drivers/net/phy/mscc/mscc.h
index 0f04afd81816..d983d3af66d6 100644
--- a/drivers/net/phy/mscc/mscc.h
+++ b/drivers/net/phy/mscc/mscc.h
@@ -276,6 +276,7 @@ enum rgmii_clock_delay {
/* Microsemi PHY ID's
* Code assumes lowest nibble is 0
*/
+#define PHY_ID_VSC8502 0x00070630
#define PHY_ID_VSC8504 0x000704c0
#define PHY_ID_VSC8514 0x00070670
#define PHY_ID_VSC8530 0x00070560