arm64: dts: amlogic: meson-g12: use the G12A specific dwmac compatible
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 25 Sep 2020 21:17:43 +0000 (23:17 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 5 Oct 2020 17:40:34 +0000 (10:40 -0700)
We have a dedicated "amlogic,meson-g12a-dwmac" compatible string for the
Ethernet controller since commit 3efdb92426bf4 ("dt-bindings: net:
dwmac-meson: Add a compatible string for G12A onwards").
Using the AXG compatible string worked fine so far because the
dwmac-meson8b driver doesn't handle the newly introduced register bits
for G12A. However, once that changes the driver must be probed with the
correct compatible string to manage these new register bits.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200925211743.537496-1-martin.blumenstingl@googlemail.com
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi

index 81f490e..c95ebe6 100644 (file)
                };
 
                ethmac: ethernet@ff3f0000 {
-                       compatible = "amlogic,meson-axg-dwmac",
+                       compatible = "amlogic,meson-g12a-dwmac",
                                     "snps,dwmac-3.70a",
                                     "snps,dwmac";
                        reg = <0x0 0xff3f0000 0x0 0x10000>,