net: designware: meson8b: add g12a compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 16 Apr 2021 12:52:06 +0000 (14:52 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 14 May 2021 15:46:50 +0000 (17:46 +0200)
Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12 sync.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/net/dwmac_meson8b.c

index 40cd837..ddbaa87 100644 (file)
@@ -148,6 +148,7 @@ static int dwmac_meson8b_probe(struct udevice *dev)
 
 static const struct udevice_id dwmac_meson8b_ids[] = {
        { .compatible = "amlogic,meson-gxbb-dwmac", .data = (ulong)dwmac_setup_gx },
+       { .compatible = "amlogic,meson-g12a-dwmac", .data = (ulong)dwmac_setup_axg },
        { .compatible = "amlogic,meson-axg-dwmac", .data = (ulong)dwmac_setup_axg },
        { }
 };