]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
of_mdio: Add "broadcom,bcm5241" to the whitelist.
authorDavid Daney <david.daney@cavium.com>
Fri, 17 Feb 2017 20:04:12 +0000 (12:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2017 23:19:37 +0000 (18:19 -0500)
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>
drivers/of/of_mdio.c

index 262281bd68fa3c4d39e13f52eeafea1948d1bd22..0b2979816dbf5726ee1d7864fd6046308e503498 100644 (file)
@@ -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", },