net: macb: add sam9x60-macb compatibility string
authorNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 6 Feb 2019 17:56:10 +0000 (18:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 23:19:50 +0000 (15:19 -0800)
Add a new compatibility string for this product. It's using
at91sam9260-macb layout but has a newer hardware revision: it's safer
to use its own string.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c

index 2b2882615e8b7659b49977baf51ffdbdc003fa60..eaabe8c278ecfa1931cc613f9a12e0cbd15a7eba 100644 (file)
@@ -3943,6 +3943,7 @@ static const struct of_device_id macb_dt_ids[] = {
        { .compatible = "cdns,np4-macb", .data = &np4_config },
        { .compatible = "cdns,pc302-gem", .data = &pc302gem_config },
        { .compatible = "cdns,gem", .data = &pc302gem_config },
+       { .compatible = "cdns,sam9x60-macb", .data = &at91sam9260_config },
        { .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config },
        { .compatible = "atmel,sama5d3-gem", .data = &sama5d3_config },
        { .compatible = "atmel,sama5d3-macb", .data = &sama5d3macb_config },