diff options
author | Philippe Schenker | 2020-03-11 11:59:23 +0100 |
---|---|---|
committer | Stefano Babic | 2020-05-01 13:46:22 +0200 |
commit | c51eef5924d748f4a6c4b0263a0b570f57709fc9 (patch) | |
tree | c1e8a3b5ebf6b9bf0e54b0f0e87d72644e318963 /include/micrel.h | |
parent | 0861aa8fedcaa89655ec3967a041bf2c6500b857 (diff) |
net: phy: micrel: Add basic support for KSZ9131
This adds basic support for the new Micrel KSZ9131 phy.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include/micrel.h')
-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 |