ARM: dts: omap3: Add device tree entry for SGX GPU
authorAndrew Davis <afd@ti.com>
Tue, 9 Jan 2024 17:19:42 +0000 (11:19 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 26 Jan 2024 07:40:17 +0000 (09:40 +0200)
Add SGX GPU device entries to base OMAP3 dtsi files.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Message-ID: <20240109171950.31010-4-afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/ti/omap/am3517.dtsi
arch/arm/boot/dts/ti/omap/omap34xx.dtsi
arch/arm/boot/dts/ti/omap/omap36xx.dtsi

index 77e58e686fb17b4436e7fb9472ad49cee32804be..19aad715dff70135d06928d90c1e68318c5f45d4 100644 (file)
                        clock-names = "fck", "ick";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0 0x50000000 0x4000>;
+                       ranges = <0 0x50000000 0x10000>;
 
-                       /*
-                        * Closed source PowerVR driver, no child device
-                        * binding or driver in mainline
-                        */
+                       gpu@0 {
+                               compatible = "ti,omap3430-gpu", "img,powervr-sgx530";
+                               reg = <0x0 0x10000>; /* 64kB */
+                               interrupts = <21>;
+                       };
                };
        };
 };
index fc7233ac183a8f5249a1d066cf401adfa947ebf1..acdd0ee34421df15a0a5e77fefec7f007a31ac74 100644 (file)
                        clock-names = "fck", "ick";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0 0x50000000 0x4000>;
+                       ranges = <0 0x50000000 0x10000>;
 
-                       /*
-                        * Closed source PowerVR driver, no child device
-                        * binding or driver in mainline
-                        */
+                       gpu@0 {
+                               compatible = "ti,omap3430-gpu", "img,powervr-sgx530";
+                               reg = <0x0 0x10000>; /* 64kB */
+                               interrupts = <21>;
+                       };
                };
        };
 
index e6d8070c1bf88da462b326823c0fcda0acf2effe..c3d79ecd56e3982cf4bb374271f9dbc790bb97df 100644 (file)
                        #size-cells = <1>;
                        ranges = <0 0x50000000 0x2000000>;
 
-                       /*
-                        * Closed source PowerVR driver, no child device
-                        * binding or driver in mainline
-                        */
+                       gpu@0 {
+                               compatible = "ti,omap3630-gpu", "img,powervr-sgx530";
+                               reg = <0x0 0x2000000>; /* 32MB */
+                               interrupts = <21>;
+                       };
                };
        };