summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/marvell-88x2222.c16
-rw-r--r--include/linux/marvell_phy.h1
2 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/phy/marvell-88x2222.c b/drivers/net/phy/marvell-88x2222.c
index ba1bbb6c63d6..48ed20728314 100644
--- a/drivers/net/phy/marvell-88x2222.c
+++ b/drivers/net/phy/marvell-88x2222.c
@@ -591,11 +591,27 @@ static struct phy_driver mv2222_drivers[] = {
.read_status = mv2222_read_status,
.attach_mii_port = mv2222_attach_mii_port,
},
+ {
+ .phy_id = MARVELL_PHY_ID_88X2222R,
+ .phy_id_mask = MARVELL_PHY_ID_MASK,
+ .name = "Marvell 88X2222R",
+ .get_features = mv2222_get_features,
+ .soft_reset = mv2222_soft_reset,
+ .config_init = mv2222_config_init,
+ .config_aneg = mv2222_config_aneg,
+ .aneg_done = mv2222_aneg_done,
+ .probe = mv2222_probe,
+ .suspend = mv2222_suspend,
+ .resume = mv2222_resume,
+ .read_status = mv2222_read_status,
+ .attach_mii_port = mv2222_attach_mii_port,
+ },
};
module_phy_driver(mv2222_drivers);
static const struct mdio_device_id __maybe_unused mv2222_tbl[] = {
{ MARVELL_PHY_ID_88X2222, MARVELL_PHY_ID_MASK },
+ { MARVELL_PHY_ID_88X2222R, MARVELL_PHY_ID_MASK },
{ }
};
MODULE_DEVICE_TABLE(mdio, mv2222_tbl);
diff --git a/include/linux/marvell_phy.h b/include/linux/marvell_phy.h
index b1fbe4118414..a904fb2cc5be 100644
--- a/include/linux/marvell_phy.h
+++ b/include/linux/marvell_phy.h
@@ -26,6 +26,7 @@
#define MARVELL_PHY_ID_88X3310 0x002b09a0
#define MARVELL_PHY_ID_88E2110 0x002b09b0
#define MARVELL_PHY_ID_88X2222 0x01410f10
+#define MARVELL_PHY_ID_88X2222R 0x014131b0
#define MARVELL_PHY_ID_88Q2110 0x002b0980
#define MARVELL_PHY_ID_88Q2220 0x002b0b20