Skip to content

Commit d50f2c9

Browse files
smankad-ossKomal-Bajaj
authored andcommitted
arm64: dts: qcom: Add RPM SMD, LPM stats and MPM devices for shikra
Add RPM SMD, subsystem LPM stats and MPM interrupt controller devices. Also add MPM as wakeup parent to TLMM device. Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com> Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
1 parent 636bc56 commit d50f2c9

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/shikra.dtsi

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,30 @@
116116
qcom,rpm-msg-ram = <&rpm_msg_ram>;
117117
mboxes = <&apcs_glb 0>;
118118
};
119+
120+
mpm: interrupt-controller {
121+
compatible = "qcom,mpm";
122+
qcom,rpm-msg-ram = <&apss_mpm>;
123+
interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
124+
mboxes = <&apcs_glb 1>;
125+
interrupt-controller;
126+
#interrupt-cells = <2>;
127+
#power-domain-cells = <0>;
128+
interrupt-parent = <&intc>;
129+
qcom,mpm-pin-count = <95>;
130+
qcom,mpm-pin-map = <2 275>, /* TSENS0 uplow */
131+
<12 422>, /* DWC3 ss_phy_irq */
132+
<58 272>, /* QUSB2_PHY dmse_hv_vddmx */
133+
<59 273>, /* QUSB2_PHY dpse_hv_vddmx */
134+
<86 183>, /* MPM wake, SPMI */
135+
<90 157>, /* QUSB2_PHY DM */
136+
<91 158>; /* QUSB2_PHY DP */
137+
};
138+
139+
rpm_requests: rpm-requests {
140+
compatible = "qcom,rpm-shikra", "qcom,glink-smd-rpm";
141+
qcom,glink-channels = "rpm_requests";
142+
};
119143
};
120144

121145
reserved_memory: reserved-memory {
@@ -242,6 +266,7 @@
242266
#interrupt-cells = <2>;
243267

244268
gpio-ranges = <&tlmm 0 0 185>;
269+
wakeup-parent = <&mpm>;
245270

246271
qup_uart0_default: qup-uart0-default-state {
247272
pins = "gpio0", "gpio1";
@@ -276,6 +301,11 @@
276301
};
277302
};
278303

304+
sram@4690000 {
305+
compatible = "qcom,rpm-stats";
306+
reg = <0x0 0x04690000 0x0 0x14000>;
307+
};
308+
279309
adreno_smmu: iommu@59a0000 {
280310
compatible = "qcom,shikra-smmu-500", "qcom,smmu-500", "arm,mmu-500";
281311
reg = <0x0 0x059a0000 0x0 0x10000>;

0 commit comments

Comments
 (0)