ARM: dts: DRA7xx: Add device tree entry for SGX GPU
authorAndrew Davis <afd@ti.com>
Tue, 9 Jan 2024 17:19:47 +0000 (11:19 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 26 Jan 2024 07:43:23 +0000 (09:43 +0200)
Add SGX GPU device entry to base DRA7x dtsi file.

Let's also leave out SYSC_IDLE_SMART_WKUP as it never has been used in
the known working TI tree. The documentation says SYSC_IDLE_SMART_WKUP
is available, but it's best to stick to a known working solution.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Message-ID: <20240109171950.31010-9-afd@ti.com>
[tony@atomide.com: updated description for sysc change]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/ti/omap/dra7.dtsi

index 6509c742fb58c90497660ba34c950ef7a5c701a7..8527643cb69a8c5d8cb36f1ef00431968b09a6c1 100644 (file)
                                        <SYSC_IDLE_SMART>;
                        ti,sysc-sidle = <SYSC_IDLE_FORCE>,
                                        <SYSC_IDLE_NO>,
-                                       <SYSC_IDLE_SMART>;
+                                       <SYSC_IDLE_SMART>,
+                                       <SYSC_IDLE_SMART_WKUP>;
                        clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
                        clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0 0x56000000 0x2000000>;
+
+                       gpu@0 {
+                               compatible = "ti,am5728-gpu", "img,powervr-sgx544";
+                               reg = <0x0 0x10000>; /* 64kB */
+                               interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+                       };
                };
 
                crossbar_mpu: crossbar@4a002a48 {