[PATCH 4/7] ARM: DTS: omap3: add sgx gpu child node

From: H. Nikolaus Schaller
Date: Fri Oct 18 2019 - 14:47:20 EST


and add timer and interrupt

Tested on OpenPandora 600 MHz.

Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/omap34xx.dtsi | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi
index 7b09cbee8bb8..28d5c77d6d6c 100644
--- a/arch/arm/boot/dts/omap34xx.dtsi
+++ b/arch/arm/boot/dts/omap34xx.dtsi
@@ -111,7 +111,7 @@
* are also different clocks, but we do not have any dts users
* for it.
*/
- sgx_module: target-module@50000000 {
+ target-module@50000000 {
compatible = "ti,sysc-omap2", "ti,sysc";
reg = <0x50000014 0x4>;
reg-names = "rev";
@@ -121,10 +121,13 @@
#size-cells = <1>;
ranges = <0 0x50000000 0x4000>;

- /*
- * Closed source PowerVR driver, no child device
- * binding or driver in mainline
- */
+ sgx: sgx@0 {
+ compatible = "img,sgx530-121", "img,sgx530", "ti,omap-omap3-sgx530-121";
+ reg = <0x0 0x4000>; /* 64kB */
+ reg-names = "sgx";
+ interrupts = <21>;
+ timer = <&timer11>;
+ };
};
};

--
2.19.1