Skip to content

Commit 45e118b

Browse files
committed
ARM: dts: Configure sgx for dra7
I've tested that the interconnect target module enables and idles just fine when probed with ti-sysc with PM runtime control via sys: # echo on > $(find /sys -name control | grep \/5600) # rwmem 0x5600fe00 # OCP Revision 0x5600fe00 = 0x40000000 # echo auto > $(find /sys -name control | grep \/5600) Cc: "H. Nikolaus Schaller" <[email protected]> Cc: Robert Nelson <[email protected]> Cc: Tomi Valkeinen <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent c3fb99f commit 45e118b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/arm/boot/dts/dra7.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,24 @@
597597
status = "disabled";
598598
};
599599

600+
target-module@56000000 {
601+
compatible = "ti,sysc-omap4", "ti,sysc";
602+
reg = <0x5600fe00 0x4>,
603+
<0x5600fe10 0x4>;
604+
reg-names = "rev", "sysc";
605+
ti,sysc-midle = <SYSC_IDLE_FORCE>,
606+
<SYSC_IDLE_NO>,
607+
<SYSC_IDLE_SMART>;
608+
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
609+
<SYSC_IDLE_NO>,
610+
<SYSC_IDLE_SMART>;
611+
clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>;
612+
clock-names = "fck";
613+
#address-cells = <1>;
614+
#size-cells = <1>;
615+
ranges = <0 0x56000000 0x2000000>;
616+
};
617+
600618
crossbar_mpu: crossbar@4a002a48 {
601619
compatible = "ti,irq-crossbar";
602620
reg = <0x4a002a48 0x130>;

0 commit comments

Comments
 (0)