[PATCH v7 07/12] ARM: DTS: omap5: add sgx gpu child node

H. Nikolaus Schaller hns at goldelico.com
Fri Apr 24 20:34:10 UTC 2020


Add SGX GPU node with interrupt. Tested on Pyra-Handheld.

Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
---
 arch/arm/boot/dts/omap5.dtsi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 2ac7f021c284..1cf41664fd00 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -270,7 +270,7 @@ sata: sata at 4a141100 {
 			ports-implemented = <0x1>;
 		};
 
-		target-module at 56000000 {
+		sgx_module: target-module at 56000000 {
 			compatible = "ti,sysc-omap4", "ti,sysc";
 			reg = <0x5600fe00 0x4>,
 			      <0x5600fe10 0x4>;
@@ -287,10 +287,11 @@ target-module at 56000000 {
 			#size-cells = <1>;
 			ranges = <0 0x56000000 0x2000000>;
 
-			/*
-			 * Closed source PowerVR driver, no child device
-			 * binding or driver in mainline
-			 */
+			gpu: gpu at 0 {
+				compatible = "ti,omap5-sgx544-116", "img,sgx544-116", "img,sgx544";
+				reg = <0x0 0x10000>;
+				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			};
 		};
 
 		target-module at 58000000 {
-- 
2.25.1



More information about the dri-devel mailing list