net: phy: bcm7xxx: Add entry for BCM7255
authorJustin Chen <justinpopo6@gmail.com>
Wed, 7 Nov 2018 00:37:44 +0000 (16:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 05:50:27 +0000 (21:50 -0800)
Add support for BCM7255 EPHY.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm7xxx.c
include/linux/brcmphy.h

index b2b6307d64a4de95d5ef29ba4d79dcbc12b5e1f1..712224cc442d8b8cbf19ce166c4e9e486e776d41 100644 (file)
@@ -650,6 +650,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
 
 static struct phy_driver bcm7xxx_driver[] = {
        BCM7XXX_28NM_GPHY(PHY_ID_BCM7250, "Broadcom BCM7250"),
+       BCM7XXX_28NM_EPHY(PHY_ID_BCM7255, "Broadcom BCM7255"),
        BCM7XXX_28NM_EPHY(PHY_ID_BCM7260, "Broadcom BCM7260"),
        BCM7XXX_28NM_EPHY(PHY_ID_BCM7268, "Broadcom BCM7268"),
        BCM7XXX_28NM_EPHY(PHY_ID_BCM7271, "Broadcom BCM7271"),
@@ -670,6 +671,7 @@ static struct phy_driver bcm7xxx_driver[] = {
 
 static struct mdio_device_id __maybe_unused bcm7xxx_tbl[] = {
        { PHY_ID_BCM7250, 0xfffffff0, },
+       { PHY_ID_BCM7255, 0xfffffff0, },
        { PHY_ID_BCM7260, 0xfffffff0, },
        { PHY_ID_BCM7268, 0xfffffff0, },
        { PHY_ID_BCM7271, 0xfffffff0, },
index 949e9af8d9d61c6bc3cd1859ed4d3221db8386c5..9cd00a37b8d32b83e3539ed5ffce694c63efc8f0 100644 (file)
@@ -28,6 +28,7 @@
 #define PHY_ID_BCM89610                        0x03625cd0
 
 #define PHY_ID_BCM7250                 0xae025280
+#define PHY_ID_BCM7255                 0xae025120
 #define PHY_ID_BCM7260                 0xae025190
 #define PHY_ID_BCM7268                 0xae025090
 #define PHY_ID_BCM7271                 0xae0253b0