1 // SPDX-License-Identifier: GPL-2.0+
3 * Broadcom BCM7xxx internal transceivers support.
5 * Copyright (C) 2014-2017 Broadcom
8 #include <linux/module.h>
10 #include <linux/delay.h>
11 #include "bcm-phy-lib.h"
12 #include <linux/bitops.h>
13 #include <linux/brcmphy.h>
14 #include <linux/clk.h>
15 #include <linux/mdio.h>
17 /* Broadcom BCM7xxx internal PHY registers */
19 /* EPHY only register definitions */
20 #define MII_BCM7XXX_100TX_AUX_CTL 0x10
21 #define MII_BCM7XXX_100TX_FALSE_CAR 0x13
22 #define MII_BCM7XXX_100TX_DISC 0x14
23 #define MII_BCM7XXX_AUX_MODE 0x1d
24 #define MII_BCM7XXX_64CLK_MDIO BIT(12)
25 #define MII_BCM7XXX_TEST 0x1f
26 #define MII_BCM7XXX_SHD_MODE_2 BIT(2)
27 #define MII_BCM7XXX_SHD_2_ADDR_CTRL 0xe
28 #define MII_BCM7XXX_SHD_2_CTRL_STAT 0xf
29 #define MII_BCM7XXX_SHD_2_BIAS_TRIM 0x1a
30 #define MII_BCM7XXX_SHD_3_AN_EEE_ADV 0x3
31 #define MII_BCM7XXX_SHD_3_PCS_CTRL_2 0x6
32 #define MII_BCM7XXX_PCS_CTRL_2_DEF 0x4400
33 #define MII_BCM7XXX_SHD_3_AN_STAT 0xb
34 #define MII_BCM7XXX_AN_NULL_MSG_EN BIT(0)
35 #define MII_BCM7XXX_AN_EEE_EN BIT(1)
36 #define MII_BCM7XXX_SHD_3_EEE_THRESH 0xe
37 #define MII_BCM7XXX_EEE_THRESH_DEF 0x50
38 #define MII_BCM7XXX_SHD_3_TL4 0x23
39 #define MII_BCM7XXX_TL4_RST_MSK (BIT(2) | BIT(1))
41 struct bcm7xxx_phy_priv
{
46 static int bcm7xxx_28nm_d0_afe_config_init(struct phy_device
*phydev
)
49 bcm_phy_write_misc(phydev
, AFE_RXCONFIG_0
, 0xeb15);
52 bcm_phy_write_misc(phydev
, AFE_RXCONFIG_1
, 0x9b2f);
54 /* AFE_RXCONFIG_2, set rCal offset for HT=0 code and LT=-2 code */
55 bcm_phy_write_misc(phydev
, AFE_RXCONFIG_2
, 0x2003);
57 /* AFE_RX_LP_COUNTER, set RX bandwidth to maximum */
58 bcm_phy_write_misc(phydev
, AFE_RX_LP_COUNTER
, 0x7fc0);
60 /* AFE_TX_CONFIG, set 100BT Cfeed=011 to improve rise/fall time */
61 bcm_phy_write_misc(phydev
, AFE_TX_CONFIG
, 0x431);
63 /* AFE_VDCA_ICTRL_0, set Iq=1101 instead of 0111 for AB symmetry */
64 bcm_phy_write_misc(phydev
, AFE_VDCA_ICTRL_0
, 0xa7da);
66 /* AFE_VDAC_OTHERS_0, set 1000BT Cidac=010 for all ports */
67 bcm_phy_write_misc(phydev
, AFE_VDAC_OTHERS_0
, 0xa020);
69 /* AFE_HPF_TRIM_OTHERS, set 100Tx/10BT to -4.5% swing and set rCal
70 * offset for HT=0 code
72 bcm_phy_write_misc(phydev
, AFE_HPF_TRIM_OTHERS
, 0x00e3);
74 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */
75 phy_write(phydev
, MII_BRCM_CORE_BASE1E
, 0x0010);
77 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */
78 bcm_phy_write_misc(phydev
, DSP_TAP10
, 0x011b);
80 /* Reset R_CAL/RC_CAL engine */
81 bcm_phy_r_rc_cal_reset(phydev
);
86 static int bcm7xxx_28nm_e0_plus_afe_config_init(struct phy_device
*phydev
)
88 /* AFE_RXCONFIG_1, provide more margin for INL/DNL measurement */
89 bcm_phy_write_misc(phydev
, AFE_RXCONFIG_1
, 0x9b2f);
91 /* AFE_TX_CONFIG, set 100BT Cfeed=011 to improve rise/fall time */
92 bcm_phy_write_misc(phydev
, AFE_TX_CONFIG
, 0x431);
94 /* AFE_VDCA_ICTRL_0, set Iq=1101 instead of 0111 for AB symmetry */
95 bcm_phy_write_misc(phydev
, AFE_VDCA_ICTRL_0
, 0xa7da);
97 /* AFE_HPF_TRIM_OTHERS, set 100Tx/10BT to -4.5% swing and set rCal
98 * offset for HT=0 code
100 bcm_phy_write_misc(phydev
, AFE_HPF_TRIM_OTHERS
, 0x00e3);
102 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */
103 phy_write(phydev
, MII_BRCM_CORE_BASE1E
, 0x0010);
105 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */
106 bcm_phy_write_misc(phydev
, DSP_TAP10
, 0x011b);
108 /* Reset R_CAL/RC_CAL engine */
109 bcm_phy_r_rc_cal_reset(phydev
);
114 static int bcm7xxx_28nm_a0_patch_afe_config_init(struct phy_device
*phydev
)
116 /* +1 RC_CAL codes for RL centering for both LT and HT conditions */
117 bcm_phy_write_misc(phydev
, AFE_RXCONFIG_2
, 0xd003);
119 /* Cut master bias current by 2% to compensate for RC_CAL offset */
120 bcm_phy_write_misc(phydev
, DSP_TAP10
, 0x791b);
122 /* Improve hybrid leakage */
123 bcm_phy_write_misc(phydev
, AFE_HPF_TRIM_OTHERS
, 0x10e3);
125 /* Change rx_on_tune 8 to 0xf */
126 bcm_phy_write_misc(phydev
, 0x21, 0x2, 0x87f6);
128 /* Change 100Tx EEE bandwidth */
129 bcm_phy_write_misc(phydev
, 0x22, 0x2, 0x017d);
131 /* Enable ffe zero detection for Vitesse interoperability */
132 bcm_phy_write_misc(phydev
, 0x26, 0x2, 0x0015);
134 bcm_phy_r_rc_cal_reset(phydev
);
139 static int bcm7xxx_28nm_config_init(struct phy_device
*phydev
)
141 u8 rev
= PHY_BRCM_7XXX_REV(phydev
->dev_flags
);
142 u8 patch
= PHY_BRCM_7XXX_PATCH(phydev
->dev_flags
);
146 /* Newer devices have moved the revision information back into a
147 * standard location in MII_PHYS_ID[23]
150 rev
= phydev
->phy_id
& ~phydev
->drv
->phy_id_mask
;
152 pr_info_once("%s: %s PHY revision: 0x%02x, patch: %d\n",
153 phydev_name(phydev
), phydev
->drv
->name
, rev
, patch
);
155 /* Dummy read to a register to workaround an issue upon reset where the
156 * internal inverter may not allow the first MDIO transaction to pass
157 * the MDIO management controller and make us return 0xffff for such
160 phy_read(phydev
, MII_BMSR
);
165 ret
= bcm_phy_28nm_a0b0_afe_config_init(phydev
);
168 ret
= bcm7xxx_28nm_d0_afe_config_init(phydev
);
172 /* Rev G0 introduces a roll over */
174 ret
= bcm7xxx_28nm_e0_plus_afe_config_init(phydev
);
177 ret
= bcm7xxx_28nm_a0_patch_afe_config_init(phydev
);
186 ret
= bcm_phy_enable_jumbo(phydev
);
190 ret
= bcm_phy_downshift_get(phydev
, &count
);
194 /* Only enable EEE if Wirespeed/downshift is disabled */
195 ret
= bcm_phy_set_eee(phydev
, count
== DOWNSHIFT_DEV_DISABLE
);
199 return bcm_phy_enable_apd(phydev
, true);
202 static int bcm7xxx_28nm_resume(struct phy_device
*phydev
)
206 /* Re-apply workarounds coming out suspend/resume */
207 ret
= bcm7xxx_28nm_config_init(phydev
);
211 /* 28nm Gigabit PHYs come out of reset without any half-duplex
212 * or "hub" compliant advertised mode, fix that. This does not
213 * cause any problems with the PHY library since genphy_config_aneg()
214 * gracefully handles auto-negotiated and forced modes.
216 return genphy_config_aneg(phydev
);
219 static int phy_set_clr_bits(struct phy_device
*dev
, int location
,
220 int set_mask
, int clr_mask
)
224 v
= phy_read(dev
, location
);
231 ret
= phy_write(dev
, location
, v
);
238 static int bcm7xxx_28nm_ephy_01_afe_config_init(struct phy_device
*phydev
)
242 /* set shadow mode 2 */
243 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
,
244 MII_BCM7XXX_SHD_MODE_2
, 0);
248 /* Set current trim values INT_trim = -1, Ext_trim =0 */
249 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_BIAS_TRIM
, 0x3BE0);
251 goto reset_shadow_mode
;
254 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
255 MII_BCM7XXX_SHD_3_TL4
);
257 goto reset_shadow_mode
;
258 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
259 MII_BCM7XXX_TL4_RST_MSK
, 0);
261 goto reset_shadow_mode
;
263 /* Cal reset disable */
264 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
265 MII_BCM7XXX_SHD_3_TL4
);
267 goto reset_shadow_mode
;
268 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
269 0, MII_BCM7XXX_TL4_RST_MSK
);
271 goto reset_shadow_mode
;
274 /* reset shadow mode 2 */
275 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
, 0,
276 MII_BCM7XXX_SHD_MODE_2
);
283 /* The 28nm EPHY does not support Clause 45 (MMD) used by bcm-phy-lib */
284 static int bcm7xxx_28nm_ephy_apd_enable(struct phy_device
*phydev
)
288 /* set shadow mode 1 */
289 ret
= phy_set_clr_bits(phydev
, MII_BRCM_FET_BRCMTEST
,
290 MII_BRCM_FET_BT_SRE
, 0);
294 /* Enable auto-power down */
295 ret
= phy_set_clr_bits(phydev
, MII_BRCM_FET_SHDW_AUXSTAT2
,
296 MII_BRCM_FET_SHDW_AS2_APDE
, 0);
300 /* reset shadow mode 1 */
301 ret
= phy_set_clr_bits(phydev
, MII_BRCM_FET_BRCMTEST
, 0,
302 MII_BRCM_FET_BT_SRE
);
309 static int bcm7xxx_28nm_ephy_eee_enable(struct phy_device
*phydev
)
313 /* set shadow mode 2 */
314 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
,
315 MII_BCM7XXX_SHD_MODE_2
, 0);
319 /* Advertise supported modes */
320 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
321 MII_BCM7XXX_SHD_3_AN_EEE_ADV
);
323 goto reset_shadow_mode
;
324 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
327 goto reset_shadow_mode
;
329 /* Restore Defaults */
330 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
331 MII_BCM7XXX_SHD_3_PCS_CTRL_2
);
333 goto reset_shadow_mode
;
334 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
335 MII_BCM7XXX_PCS_CTRL_2_DEF
);
337 goto reset_shadow_mode
;
339 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
340 MII_BCM7XXX_SHD_3_EEE_THRESH
);
342 goto reset_shadow_mode
;
343 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
344 MII_BCM7XXX_EEE_THRESH_DEF
);
346 goto reset_shadow_mode
;
348 /* Enable EEE autonegotiation */
349 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_ADDR_CTRL
,
350 MII_BCM7XXX_SHD_3_AN_STAT
);
352 goto reset_shadow_mode
;
353 ret
= phy_write(phydev
, MII_BCM7XXX_SHD_2_CTRL_STAT
,
354 (MII_BCM7XXX_AN_NULL_MSG_EN
| MII_BCM7XXX_AN_EEE_EN
));
356 goto reset_shadow_mode
;
359 /* reset shadow mode 2 */
360 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
, 0,
361 MII_BCM7XXX_SHD_MODE_2
);
365 /* Restart autoneg */
366 phy_write(phydev
, MII_BMCR
,
367 (BMCR_SPEED100
| BMCR_ANENABLE
| BMCR_ANRESTART
));
372 static int bcm7xxx_28nm_ephy_config_init(struct phy_device
*phydev
)
374 u8 rev
= phydev
->phy_id
& ~phydev
->drv
->phy_id_mask
;
377 pr_info_once("%s: %s PHY revision: 0x%02x\n",
378 phydev_name(phydev
), phydev
->drv
->name
, rev
);
380 /* Dummy read to a register to workaround a possible issue upon reset
381 * where the internal inverter may not allow the first MDIO transaction
382 * to pass the MDIO management controller and make us return 0xffff for
385 phy_read(phydev
, MII_BMSR
);
387 /* Apply AFE software work-around if necessary */
389 ret
= bcm7xxx_28nm_ephy_01_afe_config_init(phydev
);
394 ret
= bcm7xxx_28nm_ephy_eee_enable(phydev
);
398 return bcm7xxx_28nm_ephy_apd_enable(phydev
);
401 static int bcm7xxx_28nm_ephy_resume(struct phy_device
*phydev
)
405 /* Re-apply workarounds coming out suspend/resume */
406 ret
= bcm7xxx_28nm_ephy_config_init(phydev
);
410 return genphy_config_aneg(phydev
);
413 static int bcm7xxx_config_init(struct phy_device
*phydev
)
417 /* Enable 64 clock MDIO */
418 phy_write(phydev
, MII_BCM7XXX_AUX_MODE
, MII_BCM7XXX_64CLK_MDIO
);
419 phy_read(phydev
, MII_BCM7XXX_AUX_MODE
);
421 /* set shadow mode 2 */
422 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
,
423 MII_BCM7XXX_SHD_MODE_2
, MII_BCM7XXX_SHD_MODE_2
);
427 /* set iddq_clkbias */
428 phy_write(phydev
, MII_BCM7XXX_100TX_DISC
, 0x0F00);
431 /* reset iddq_clkbias */
432 phy_write(phydev
, MII_BCM7XXX_100TX_DISC
, 0x0C00);
434 phy_write(phydev
, MII_BCM7XXX_100TX_FALSE_CAR
, 0x7555);
436 /* reset shadow mode 2 */
437 ret
= phy_set_clr_bits(phydev
, MII_BCM7XXX_TEST
, 0, MII_BCM7XXX_SHD_MODE_2
);
444 /* Workaround for putting the PHY in IDDQ mode, required
445 * for all BCM7XXX 40nm and 65nm PHYs
447 static int bcm7xxx_suspend(struct phy_device
*phydev
)
450 static const struct bcm7xxx_regs
{
453 } bcm7xxx_suspend_cfg
[] = {
454 { MII_BCM7XXX_TEST
, 0x008b },
455 { MII_BCM7XXX_100TX_AUX_CTL
, 0x01c0 },
456 { MII_BCM7XXX_100TX_DISC
, 0x7000 },
457 { MII_BCM7XXX_TEST
, 0x000f },
458 { MII_BCM7XXX_100TX_AUX_CTL
, 0x20d0 },
459 { MII_BCM7XXX_TEST
, 0x000b },
463 for (i
= 0; i
< ARRAY_SIZE(bcm7xxx_suspend_cfg
); i
++) {
464 ret
= phy_write(phydev
,
465 bcm7xxx_suspend_cfg
[i
].reg
,
466 bcm7xxx_suspend_cfg
[i
].value
);
474 static int bcm7xxx_28nm_get_tunable(struct phy_device
*phydev
,
475 struct ethtool_tunable
*tuna
,
479 case ETHTOOL_PHY_DOWNSHIFT
:
480 return bcm_phy_downshift_get(phydev
, (u8
*)data
);
486 static int bcm7xxx_28nm_set_tunable(struct phy_device
*phydev
,
487 struct ethtool_tunable
*tuna
,
490 u8 count
= *(u8
*)data
;
494 case ETHTOOL_PHY_DOWNSHIFT
:
495 ret
= bcm_phy_downshift_set(phydev
, count
);
504 /* Disable EEE advertisement since this prevents the PHY
505 * from successfully linking up, trigger auto-negotiation restart
506 * to let the MAC decide what to do.
508 ret
= bcm_phy_set_eee(phydev
, count
== DOWNSHIFT_DEV_DISABLE
);
512 return genphy_restart_aneg(phydev
);
515 static void bcm7xxx_28nm_get_phy_stats(struct phy_device
*phydev
,
516 struct ethtool_stats
*stats
, u64
*data
)
518 struct bcm7xxx_phy_priv
*priv
= phydev
->priv
;
520 bcm_phy_get_stats(phydev
, priv
->stats
, stats
, data
);
523 static int bcm7xxx_28nm_probe(struct phy_device
*phydev
)
525 struct bcm7xxx_phy_priv
*priv
;
528 priv
= devm_kzalloc(&phydev
->mdio
.dev
, sizeof(*priv
), GFP_KERNEL
);
534 priv
->stats
= devm_kcalloc(&phydev
->mdio
.dev
,
535 bcm_phy_get_sset_count(phydev
), sizeof(u64
),
540 priv
->clk
= devm_clk_get_optional(&phydev
->mdio
.dev
, NULL
);
541 if (IS_ERR(priv
->clk
))
542 return PTR_ERR(priv
->clk
);
544 ret
= clk_prepare_enable(priv
->clk
);
548 /* Dummy read to a register to workaround an issue upon reset where the
549 * internal inverter may not allow the first MDIO transaction to pass
550 * the MDIO management controller and make us return 0xffff for such
551 * reads. This is needed to ensure that any subsequent reads to the
554 phy_read(phydev
, MII_BMSR
);
559 static void bcm7xxx_28nm_remove(struct phy_device
*phydev
)
561 struct bcm7xxx_phy_priv
*priv
= phydev
->priv
;
563 clk_disable_unprepare(priv
->clk
);
566 #define BCM7XXX_28NM_GPHY(_oui, _name) \
569 .phy_id_mask = 0xfffffff0, \
571 /* PHY_GBIT_FEATURES */ \
572 .flags = PHY_IS_INTERNAL, \
573 .config_init = bcm7xxx_28nm_config_init, \
574 .resume = bcm7xxx_28nm_resume, \
575 .get_tunable = bcm7xxx_28nm_get_tunable, \
576 .set_tunable = bcm7xxx_28nm_set_tunable, \
577 .get_sset_count = bcm_phy_get_sset_count, \
578 .get_strings = bcm_phy_get_strings, \
579 .get_stats = bcm7xxx_28nm_get_phy_stats, \
580 .probe = bcm7xxx_28nm_probe, \
581 .remove = bcm7xxx_28nm_remove, \
584 #define BCM7XXX_28NM_EPHY(_oui, _name) \
587 .phy_id_mask = 0xfffffff0, \
589 /* PHY_BASIC_FEATURES */ \
590 .flags = PHY_IS_INTERNAL, \
591 .config_init = bcm7xxx_28nm_ephy_config_init, \
592 .resume = bcm7xxx_28nm_ephy_resume, \
593 .get_sset_count = bcm_phy_get_sset_count, \
594 .get_strings = bcm_phy_get_strings, \
595 .get_stats = bcm7xxx_28nm_get_phy_stats, \
596 .probe = bcm7xxx_28nm_probe, \
597 .remove = bcm7xxx_28nm_remove, \
600 #define BCM7XXX_40NM_EPHY(_oui, _name) \
603 .phy_id_mask = 0xfffffff0, \
605 /* PHY_BASIC_FEATURES */ \
606 .flags = PHY_IS_INTERNAL, \
607 .soft_reset = genphy_soft_reset, \
608 .config_init = bcm7xxx_config_init, \
609 .suspend = bcm7xxx_suspend, \
610 .resume = bcm7xxx_config_init, \
613 static struct phy_driver bcm7xxx_driver
[] = {
614 BCM7XXX_28NM_EPHY(PHY_ID_BCM72113
, "Broadcom BCM72113"),
615 BCM7XXX_28NM_GPHY(PHY_ID_BCM7250
, "Broadcom BCM7250"),
616 BCM7XXX_28NM_EPHY(PHY_ID_BCM7255
, "Broadcom BCM7255"),
617 BCM7XXX_28NM_EPHY(PHY_ID_BCM7260
, "Broadcom BCM7260"),
618 BCM7XXX_28NM_EPHY(PHY_ID_BCM7268
, "Broadcom BCM7268"),
619 BCM7XXX_28NM_EPHY(PHY_ID_BCM7271
, "Broadcom BCM7271"),
620 BCM7XXX_28NM_GPHY(PHY_ID_BCM7278
, "Broadcom BCM7278"),
621 BCM7XXX_28NM_GPHY(PHY_ID_BCM7364
, "Broadcom BCM7364"),
622 BCM7XXX_28NM_GPHY(PHY_ID_BCM7366
, "Broadcom BCM7366"),
623 BCM7XXX_28NM_GPHY(PHY_ID_BCM74371
, "Broadcom BCM74371"),
624 BCM7XXX_28NM_GPHY(PHY_ID_BCM7439
, "Broadcom BCM7439"),
625 BCM7XXX_28NM_GPHY(PHY_ID_BCM7439_2
, "Broadcom BCM7439 (2)"),
626 BCM7XXX_28NM_GPHY(PHY_ID_BCM7445
, "Broadcom BCM7445"),
627 BCM7XXX_40NM_EPHY(PHY_ID_BCM7346
, "Broadcom BCM7346"),
628 BCM7XXX_40NM_EPHY(PHY_ID_BCM7362
, "Broadcom BCM7362"),
629 BCM7XXX_40NM_EPHY(PHY_ID_BCM7425
, "Broadcom BCM7425"),
630 BCM7XXX_40NM_EPHY(PHY_ID_BCM7429
, "Broadcom BCM7429"),
631 BCM7XXX_40NM_EPHY(PHY_ID_BCM7435
, "Broadcom BCM7435"),
634 static struct mdio_device_id __maybe_unused bcm7xxx_tbl
[] = {
635 { PHY_ID_BCM72113
, 0xfffffff0 },
636 { PHY_ID_BCM7250
, 0xfffffff0, },
637 { PHY_ID_BCM7255
, 0xfffffff0, },
638 { PHY_ID_BCM7260
, 0xfffffff0, },
639 { PHY_ID_BCM7268
, 0xfffffff0, },
640 { PHY_ID_BCM7271
, 0xfffffff0, },
641 { PHY_ID_BCM7278
, 0xfffffff0, },
642 { PHY_ID_BCM7364
, 0xfffffff0, },
643 { PHY_ID_BCM7366
, 0xfffffff0, },
644 { PHY_ID_BCM7346
, 0xfffffff0, },
645 { PHY_ID_BCM7362
, 0xfffffff0, },
646 { PHY_ID_BCM7425
, 0xfffffff0, },
647 { PHY_ID_BCM7429
, 0xfffffff0, },
648 { PHY_ID_BCM74371
, 0xfffffff0, },
649 { PHY_ID_BCM7439
, 0xfffffff0, },
650 { PHY_ID_BCM7435
, 0xfffffff0, },
651 { PHY_ID_BCM7445
, 0xfffffff0, },
655 module_phy_driver(bcm7xxx_driver
);
657 MODULE_DEVICE_TABLE(mdio
, bcm7xxx_tbl
);
659 MODULE_DESCRIPTION("Broadcom BCM7xxx internal PHY driver");
660 MODULE_LICENSE("GPL");
661 MODULE_AUTHOR("Broadcom Corporation");