Add SGX GPU device entry to base OMAP4 dtsi file.

Signed-off-by: Andrew Davis <a...@ti.com>
Reviewed-by: Javier Martinez Canillas <javi...@redhat.com>
---
 arch/arm/boot/dts/ti/omap/omap4.dtsi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/ti/omap/omap4.dtsi 
b/arch/arm/boot/dts/ti/omap/omap4.dtsi
index 2bbff9032be3e..559b2bfe4ca7c 100644
--- a/arch/arm/boot/dts/ti/omap/omap4.dtsi
+++ b/arch/arm/boot/dts/ti/omap/omap4.dtsi
@@ -501,10 +501,11 @@ sgx_module: target-module@56000000 {
                        #size-cells = <1>;
                        ranges = <0 0x56000000 0x2000000>;
 
-                       /*
-                        * Closed source PowerVR driver, no child device
-                        * binding or driver in mainline
-                        */
+                       gpu@0 {
+                               compatible = "ti,omap4430-gpu", 
"img,powervr-sgx540";
+                               reg = <0x0 0x2000000>; /* 32MB */
+                               interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+                       };
                };
 
                /*
-- 
2.39.2

Reply via email to