ARM: dts: meson8b: add the canvas module
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 20 May 2019 19:43:53 +0000 (21:43 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 23 May 2019 01:18:16 +0000 (18:18 -0700)
Add the canvas module to Meson8b because it's required for the VPU
(video output) and video decoders.

The canvas module is located inside the "DMC bus" (where also some of
the memory controller registers are located). The "DMC bus" itself is
part of the so-called "MMC bus".

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

index 800cd65..2cd2c09 100644 (file)
                };
        };
 
+       mmcbus: bus@c8000000 {
+               compatible = "simple-bus";
+               reg = <0xc8000000 0x8000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x0 0xc8000000 0x8000>;
+
+               dmcbus: bus@6000 {
+                       compatible = "simple-bus";
+                       reg = <0x6000 0x400>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x0 0x6000 0x400>;
+
+                       canvas: video-lut@48 {
+                               compatible = "amlogic,meson8b-canvas",
+                                            "amlogic,canvas";
+                               reg = <0x48 0x14>;
+                       };
+               };
+       };
+
        apb: bus@d0000000 {
                compatible = "simple-bus";
                reg = <0xd0000000 0x200000>;