net: phy: bcm7xxx: Add an entry for BCM72116
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 Jan 2021 17:09:44 +0000 (09:09 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Jan 2021 22:46:09 +0000 (14:46 -0800)
BCM72116 features a 28nm integrated EPHY, add an entry to match this PHY
OUI.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210106170944.1253046-1-f.fainelli@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/bcm7xxx.c
include/linux/brcmphy.h

index 1581200..e79297a 100644 (file)
@@ -612,6 +612,7 @@ static void bcm7xxx_28nm_remove(struct phy_device *phydev)
 
 static struct phy_driver bcm7xxx_driver[] = {
        BCM7XXX_28NM_EPHY(PHY_ID_BCM72113, "Broadcom BCM72113"),
+       BCM7XXX_28NM_EPHY(PHY_ID_BCM72116, "Broadcom BCM72116"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7250, "Broadcom BCM7250"),
        BCM7XXX_28NM_EPHY(PHY_ID_BCM7255, "Broadcom BCM7255"),
        BCM7XXX_28NM_EPHY(PHY_ID_BCM7260, "Broadcom BCM7260"),
@@ -633,6 +634,7 @@ static struct phy_driver bcm7xxx_driver[] = {
 
 static struct mdio_device_id __maybe_unused bcm7xxx_tbl[] = {
        { PHY_ID_BCM72113, 0xfffffff0 },
+       { PHY_ID_BCM72116, 0xfffffff0, },
        { PHY_ID_BCM7250, 0xfffffff0, },
        { PHY_ID_BCM7255, 0xfffffff0, },
        { PHY_ID_BCM7260, 0xfffffff0, },
index d0bd226..de9430d 100644 (file)
@@ -31,6 +31,7 @@
 #define PHY_ID_BCM89610                        0x03625cd0
 
 #define PHY_ID_BCM72113                        0x35905310
+#define PHY_ID_BCM72116                        0x35905350
 #define PHY_ID_BCM7250                 0xae025280
 #define PHY_ID_BCM7255                 0xae025120
 #define PHY_ID_BCM7260                 0xae025190