Skip to content

Commit 23b8392

Browse files
Bhadram Varkadavem330
authored andcommitted
net: phy: broadcom: add support for BCM89610 PHY
It adds support for BCM89610 (Single-Port 10/100/1000BASE-T) transceiver which is used in P3310 Tegra186 platform. Signed-off-by: Bhadram Varka <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1504269 commit 23b8392

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

drivers/net/phy/broadcom.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,15 @@ static struct phy_driver broadcom_drivers[] = {
720720
.get_strings = bcm_phy_get_strings,
721721
.get_stats = bcm53xx_phy_get_stats,
722722
.probe = bcm53xx_phy_probe,
723+
}, {
724+
.phy_id = PHY_ID_BCM89610,
725+
.phy_id_mask = 0xfffffff0,
726+
.name = "Broadcom BCM89610",
727+
.features = PHY_GBIT_FEATURES,
728+
.flags = PHY_HAS_INTERRUPT,
729+
.config_init = bcm54xx_config_init,
730+
.ack_interrupt = bcm_phy_ack_intr,
731+
.config_intr = bcm_phy_config_intr,
723732
} };
724733

725734
module_phy_driver(broadcom_drivers);
@@ -741,6 +750,7 @@ static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
741750
{ PHY_ID_BCMAC131, 0xfffffff0 },
742751
{ PHY_ID_BCM5241, 0xfffffff0 },
743752
{ PHY_ID_BCM5395, 0xfffffff0 },
753+
{ PHY_ID_BCM89610, 0xfffffff0 },
744754
{ }
745755
};
746756

include/linux/brcmphy.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#define PHY_ID_BCM54612E 0x03625e60
2626
#define PHY_ID_BCM54616S 0x03625d10
2727
#define PHY_ID_BCM57780 0x03625d90
28+
#define PHY_ID_BCM89610 0x03625cd0
2829

2930
#define PHY_ID_BCM7250 0xae025280
3031
#define PHY_ID_BCM7260 0xae025190

0 commit comments

Comments
 (0)