lkml.org 
[lkml]   [2019]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 2/8] ARM: DTS: am33xx: add sgx gpu child node
Date
and add timer and interrupt

Tested-by: H. Nikolaus Schaller <hns@goldelico.com> # BeagleBone Black
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/am33xx.dtsi | 38 +++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index a9d848d50b20..1fbc8a2cc7fd 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -480,13 +480,43 @@
#size-cells = <1>;
ranges = <0 0x56000000 0x1000000>;

- /*
- * Closed source PowerVR driver, no child device
- * binding or driver in mainline
- */
+ sgx: gpu@0 {
+ compatible = "ti,am3352-sgx530-125", "img,sgx530-125", "img,sgx530";
+ reg = <0x00 0x1000000>; /* 16 MB */
+ interrupts = <37>;
+ };
};
};
};

#include "am33xx-l4.dtsi"
#include "am33xx-clocks.dtsi"
+
+&prcm {
+ prm_per: prm@c00 {
+ compatible = "ti,am3-prm-inst";
+ reg = <0xc00 0x100>;
+ #reset-cells = <1>;
+ clocks = <&pruss_ocp_clkctrl AM3_PRUSS_OCP_PRUSS_CLKCTRL 0>;
+ };
+
+ prm_wkup: prm@d00 {
+ compatible = "ti,am3-prm-inst";
+ reg = <0xd00 0x100>;
+ #reset-cells = <1>;
+ clocks = <&l4_wkup_clkctrl AM3_WKUP_M3_CLKCTRL 0>;
+ };
+
+ prm_device: prm@f00 {
+ compatible = "ti,am3-prm-inst";
+ reg = <0xf00 0x100>;
+ #reset-cells = <1>;
+ };
+
+ prm_gfx: prm@1100 {
+ compatible = "ti,am3-prm-inst";
+ reg = <0x1100 0x100>;
+ #reset-cells = <1>;
+ clocks = <&gfx_l3_clkctrl AM3_GFX_CLKCTRL 0>;
+ };
+};
--
2.23.0
\
 
 \ /
  Last update: 2019-11-24 12:41    [W:0.086 / U:2.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site