[PATCH 01/16] phy/broadcom: Add support for the BCM54210E

Joel Stanley joel at jms.id.au
Fri Sep 16 11:36:08 AEST 2016


On Fri, Sep 16, 2016 at 6:03 AM, Timothy Pearson
<tpearson at raptorengineering.com> wrote:
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
> ---
>  drivers/net/phy/broadcom.c |   13 +++++++++++++
>  include/linux/brcmphy.h    |    2 ++
>  2 files changed, 15 insertions(+)
>
> diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
> index 870327e..2d5ba6a 100644
> --- a/drivers/net/phy/broadcom.c
> +++ b/drivers/net/phy/broadcom.c
> @@ -592,6 +592,18 @@ static struct phy_driver broadcom_drivers[] = {
>         .read_status    = genphy_read_status,
>         .ack_interrupt  = brcm_fet_ack_interrupt,
>         .config_intr    = brcm_fet_config_intr,
> +}, {
> +       .phy_id         = PHY_ID_BCM54210E,
> +       .phy_id_mask    = 0xfffffff0,
> +       .name           = "Broadcom BCM54210E",
> +       .features       = PHY_GBIT_FEATURES |
> +                               SUPPORTED_Pause | SUPPORTED_Asym_Pause,
> +       .flags          = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
> +       .config_init    = bcm54xx_config_init,
> +       .config_aneg    = genphy_config_aneg,
> +       .read_status    = genphy_read_status,
> +       .ack_interrupt  = bcm_phy_ack_intr,
> +       .config_intr    = bcm_phy_config_intr,
>  } };

Is this the patch that I authored? If you have confirmed that it
works, I will send it upstream.


>
>  module_phy_driver(broadcom_drivers);
> @@ -609,6 +621,7 @@ static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
>         { PHY_ID_BCM57780, 0xfffffff0 },
>         { PHY_ID_BCMAC131, 0xfffffff0 },
>         { PHY_ID_BCM5241, 0xfffffff0 },
> +       { PHY_ID_BCM54210E, 0xfffffff0},
>         { }
>  };
>
> diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
> index e3354b7..f26fc51 100644
> --- a/include/linux/brcmphy.h
> +++ b/include/linux/brcmphy.h
> @@ -35,6 +35,8 @@
>
>  #define PHY_ID_BCM_CYGNUS              0xae025200
>
> +#define PHY_ID_BCM54210E               0x600d84a0
> +
>  #define PHY_BCM_OUI_MASK               0xfffffc00
>  #define PHY_BCM_OUI_1                  0x00206000
>  #define PHY_BCM_OUI_2                  0x0143bc00
> --
> 1.7.9.5
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list