ARM: dts: meson8m2: update the offset of the canvas module
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 20 May 2019 19:43:52 +0000 (21:43 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 23 May 2019 01:18:09 +0000 (18:18 -0700)
With the Meson8m2 SoC the canvas module was moved from offset 0x20
(Meson8) to offset 0x48 (same as on Meson8b). The offsets inside the
canvas module are identical.

Correct the offset so the driver uses the correct registers.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8m2.dtsi

index bb87b251e16de240a6ae1764e9552110e73832d5..5bde7f502007d603d11c2e538734a93933289b7f 100644 (file)
        compatible = "amlogic,meson8m2-clkc", "amlogic,meson8-clkc";
 };
 
+&dmcbus {
+       /* the offset of the canvas registers has changed compared to Meson8 */
+       /delete-node/ video-lut@20;
+
+       canvas: video-lut@48 {
+               compatible = "amlogic,meson8m2-canvas", "amlogic,canvas";
+               reg = <0x48 0x14>;
+       };
+};
+
 &ethmac {
        compatible = "amlogic,meson8m2-dwmac", "snps,dwmac";
        reg = <0xc9410000 0x10000