[PATCH v5 7/8] ARM: DTS: omap5: add sgx gpu child node

From: H. Nikolaus Schaller
Date: Sun Mar 29 2020 - 13:38:59 EST


and add interrupt.

Tested-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> # Pyra-Handheld.
Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
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 d0ecf54d5a23..4c7c4ca0bd87 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -269,7 +269,7 @@ sata: sata@4a141100 {
ports-implemented = <0x1>;
};

- target-module@56000000 {
+ sgx_module: target-module@56000000 {
compatible = "ti,sysc-omap4", "ti,sysc";
reg = <0x5600fe00 0x4>,
<0x5600fe10 0x4>;
@@ -286,10 +286,11 @@ target-module@56000000 {
#size-cells = <1>;
ranges = <0 0x56000000 0x2000000>;

- /*
- * Closed source PowerVR driver, no child device
- * binding or driver in mainline
- */
+ gpu: gpu@0 {
+ compatible = "ti,omap5-sgx544-116", "img,sgx544-116", "img,sgx544";
+ reg = <0x0 0x10000>;
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ };
};

dss: dss@58000000 {
--
2.25.1