Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e3c1770 authored by Maulik Shah's avatar Maulik Shah Committed by Veera Vegivada
Browse files

ARM: dts: msm: Add RSC devices for direwolf

This change adds apps RSC device.

Change-Id: I3fcabf42790e3217cedbfc06f15273c31f060c6f
parent 09198c25
Loading
Loading
Loading
Loading
+23 −0
Original line number Original line Diff line number Diff line
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/soc/qcom,ipcc.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>


/ {
/ {
	model = "Qualcomm Technologies, Inc. Direwolf";
	model = "Qualcomm Technologies, Inc. Direwolf";
@@ -356,6 +357,28 @@
		clock-frequency = <19200000>;
		clock-frequency = <19200000>;
	};
	};


	apps_rsc: rsc@18200000 {
		label = "apps_rsc";
		compatible = "qcom,rpmh-rsc";
		reg = <0x18200000 0x10000>,
		      <0x18210000 0x10000>,
		      <0x18220000 0x10000>;
		reg-names = "drv-0", "drv-1", "drv-2";
		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
		qcom,tcs-offset = <0xd00>;
		qcom,drv-id = <2>;
		qcom,tcs-config = <ACTIVE_TCS  2>,
				  <SLEEP_TCS   3>,
				  <WAKE_TCS    3>,
				  <CONTROL_TCS 0>;

		system_pm {
			compatible = "qcom,system-pm";
		};
	};

	memtimer: timer@17c20000 {
	memtimer: timer@17c20000 {
		#address-cells = <1>;
		#address-cells = <1>;
		#size-cells = <1>;
		#size-cells = <1>;