summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-02-17 21:04:12 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-20 00:19:37 +0100
commit7e1392fb94a7f35421eca52bedead284429f4fed (patch)
treec07f6232f20aa3c78b0794a2a43e8230306f2993 /drivers/of
parentnet: ethernet: stmmac: dwmac-rk: Add RK3328 gmac support (diff)
downloadlinux-7e1392fb94a7f35421eca52bedead284429f4fed.tar.xz
linux-7e1392fb94a7f35421eca52bedead284429f4fed.zip
of_mdio: Add "broadcom,bcm5241" to the whitelist.
Some Cavium dev boards have firmware which doesn't supply a proper ethernet-phy-ieee802.3-c22" compatible property. Restore these boards to working order by whitelisting this compatible value. Signed-off-by: David Daney <david.daney@cavium.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_mdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 262281bd68fa..0b2979816dbf 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -147,6 +147,7 @@ EXPORT_SYMBOL(of_mdio_parse_addr);
*/
static const struct of_device_id whitelist_phys[] = {
{ .compatible = "brcm,40nm-ephy" },
+ { .compatible = "broadcom,bcm5241" },
{ .compatible = "marvell,88E1111", },
{ .compatible = "marvell,88e1116", },
{ .compatible = "marvell,88e1118", },