summaryrefslogtreecommitdiff
path: root/include/micrel.h
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-02-27 16:31:46 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-03-04 19:48:22 +0100
commit150e6b7f6c9c8342997245be50f3bc58df78aaf3 (patch)
treeee1c080dadc3306e49db9b0cacdafdbed105546c /include/micrel.h
parent9ee5759d22acc3406bca3b76cb24ed558b64d0df (diff)
drivers: net: phy: micrel_ksz90x1.c: Add basic support for KSZ9131
This adds basic support for the new Micrel KSZ9131 phy. Related-to: ELB-1299 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit cc96ed419f7585db15855dd53046562aadece3fb)
Diffstat (limited to 'include/micrel.h')
-rw-r--r--include/micrel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h
index 1d121c2825..f5126f2992 100644
--- a/include/micrel.h
+++ b/include/micrel.h
@@ -26,6 +26,7 @@
#define MII_KSZ9x31_SILICON_REV_MASK 0xfffff0
#define PHY_ID_KSZ9031 0x00221620
+#define PHY_ID_KSZ9131 0x00221640
/* Registers */
@@ -40,5 +41,6 @@ int ksz9031_phy_extended_write(struct phy_device *phydev, int devaddr,
int regnum, u16 mode, u16 val);
int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
int regnum, u16 mode);
+int ksz9xx1_phy_get_id(struct phy_device *phydev);
#endif