net: phy: mdio-bcm-unimac: Add asp v2.0 support
authorJustin Chen <justin.chen@broadcom.com>
Thu, 13 Jul 2023 22:19:04 +0000 (15:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 06:39:04 +0000 (07:39 +0100)
Add mdio compat string for ASP 2.0 ethernet driver.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-bcm-unimac.c

index bfc9be23c9731181d1925f89ce6c1451602cfde2..6b26a0803696d302dbbf72d98cf7172b600b4d2e 100644 (file)
@@ -334,6 +334,8 @@ static SIMPLE_DEV_PM_OPS(unimac_mdio_pm_ops,
                         unimac_mdio_suspend, unimac_mdio_resume);
 
 static const struct of_device_id unimac_mdio_ids[] = {
+       { .compatible = "brcm,asp-v2.1-mdio", },
+       { .compatible = "brcm,asp-v2.0-mdio", },
        { .compatible = "brcm,genet-mdio-v5", },
        { .compatible = "brcm,genet-mdio-v4", },
        { .compatible = "brcm,genet-mdio-v3", },