diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-02-27 16:31:46 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-03-10 11:27:11 +0100 |
commit | 60a530f544adb95bd251e387dfb8d88023c2d81a (patch) | |
tree | 835649018fea398969ea669e392359fadf0b4a50 /include | |
parent | b97b21b5db57be1dcc02fead8557dd0d6277bf44 (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)
(cherry picked from commit 150e6b7f6c9c8342997245be50f3bc58df78aaf3)
Diffstat (limited to 'include')
-rw-r--r-- | include/micrel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h index 1d121c2825b..f5126f29929 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 |