From c51eef5924d748f4a6c4b0263a0b570f57709fc9 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 11 Mar 2020 11:59:23 +0100 Subject: net: phy: micrel: Add basic support for KSZ9131 This adds basic support for the new Micrel KSZ9131 phy. Signed-off-by: Philippe Schenker --- include/micrel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3