net: phy: bcm7xxx: Add EPHY entry for 74165
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Thu, 13 Jul 2023 22:19:05 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 06:39:04 +0000 (07:39 +0100)
74165 is a 16nm process SoC with a 10/100 integrated Ethernet PHY,
utilize the recently defined 16nm EPHY macro to configure that PHY.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c
include/linux/brcmphy.h

index f8c17a2..8478b08 100644 (file)
@@ -913,6 +913,7 @@ static struct phy_driver bcm7xxx_driver[] = {
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7278, "Broadcom BCM7278"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7364, "Broadcom BCM7364"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7366, "Broadcom BCM7366"),
+       BCM7XXX_16NM_EPHY(PHY_ID_BCM74165, "Broadcom BCM74165"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM74371, "Broadcom BCM74371"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7439, "Broadcom BCM7439"),
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7439_2, "Broadcom BCM7439 (2)"),
index 5d732f4..c55810a 100644 (file)
@@ -44,6 +44,7 @@
 #define PHY_ID_BCM7366                 0x600d8490
 #define PHY_ID_BCM7346                 0x600d8650
 #define PHY_ID_BCM7362                 0x600d84b0
+#define PHY_ID_BCM74165                        0x359052c0
 #define PHY_ID_BCM7425                 0x600d86b0
 #define PHY_ID_BCM7429                 0x600d8730
 #define PHY_ID_BCM7435                 0x600d8750