Add SGX GPU device entries to base OMAP3 dtsi files.

Signed-off-by: Andrew Davis <a...@ti.com>
Reviewed-by: Javier Martinez Canillas <javi...@redhat.com>
---
 arch/arm/boot/dts/ti/omap/am3517.dtsi   | 11 ++++++-----
 arch/arm/boot/dts/ti/omap/omap34xx.dtsi | 11 ++++++-----
 arch/arm/boot/dts/ti/omap/omap36xx.dtsi |  9 +++++----
 3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/ti/omap/am3517.dtsi 
b/arch/arm/boot/dts/ti/omap/am3517.dtsi
index 77e58e686fb17..19aad715dff70 100644
--- a/arch/arm/boot/dts/ti/omap/am3517.dtsi
+++ b/arch/arm/boot/dts/ti/omap/am3517.dtsi
@@ -162,12 +162,13 @@ sgx_module: target-module@50000000 {
                        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>;
+                       };
                };
        };
 };
diff --git a/arch/arm/boot/dts/ti/omap/omap34xx.dtsi 
b/arch/arm/boot/dts/ti/omap/omap34xx.dtsi
index fc7233ac183a8..acdd0ee34421d 100644
--- a/arch/arm/boot/dts/ti/omap/omap34xx.dtsi
+++ b/arch/arm/boot/dts/ti/omap/omap34xx.dtsi
@@ -164,12 +164,13 @@ sgx_module: target-module@50000000 {
                        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>;
+                       };
                };
        };
 
diff --git a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi 
b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
index e6d8070c1bf88..c3d79ecd56e39 100644
--- a/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
+++ b/arch/arm/boot/dts/ti/omap/omap36xx.dtsi
@@ -211,10 +211,11 @@ sgx_module: target-module@50000000 {
                        #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>;
+                       };
                };
        };
 
-- 
2.39.2

Reply via email to