From: David Daney Date: Fri, 17 Feb 2017 20:04:12 +0000 (-0800) Subject: of_mdio: Add "broadcom,bcm5241" to the whitelist. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e1392fb94a7f35421eca52bedead284429f4fed;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- 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", },