ARM: dts: dra7: add entry for bb2d module
authorGowtham Tammana <g-tammana@ti.com>
Tue, 21 Sep 2021 07:18:07 +0000 (09:18 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Oct 2021 07:46:44 +0000 (10:46 +0300)
BB2D is a Vivante GC 2D Accelerator.
This adds the node to the dts file within a target module node.
Crossbar index number is used for interrupt mapping.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi

index dfc1ef8..6b485cb 100644 (file)
                        };
                };
 
+               target-module@59000000 {
+                       compatible = "ti,sysc-omap4", "ti,sysc";
+                       reg = <0x59000020 0x4>;
+                       reg-names = "rev";
+                       clocks = <&dss_clkctrl DRA7_DSS_BB2D_CLKCTRL 0>;
+                       clock-names = "fck";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges = <0x0 0x59000000 0x1000>;
+
+                       bb2d: gpu@0 {
+                               compatible = "vivante,gc";
+                               reg = <0x0 0x700>;
+                               interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&dss_clkctrl DRA7_BB2D_CLKCTRL 0>;
+                               clock-names = "core";
+                       };
+               };
+
                aes1_target: target-module@4b500000 {
                        compatible = "ti,sysc-omap2", "ti,sysc";
                        reg = <0x4b500080 0x4>,