Skip to content

Commit 92f5457

Browse files
quic-vishsantKomal-Bajaj
authored andcommitted
arm64: dts: qcom: Add RPM GLINK transport nodes
Add the RPM message RAM SRAM region and APCS HMSS global mailbox controller, and wire them up to a new glink-edge node. The rpm_msg_ram node exposes the shared SRAM used for GLINK FIFOs and includes the apss_mpm sub-node for the MPM sleep counter. The `qcom,glink-rpm` transport uses: - `qcom,rpm-msg-ram` for shared GLINK FIFOs - APCS mailbox channel 0 for kick/notify This enables RPM GLINK-based inter-processor communication on Shikra. Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
1 parent dca88a3 commit 92f5457

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
@@ -107,6 +107,17 @@
107107
method = "smc";
108108
};
109109

110+
rpm: remoteproc {
111+
compatible = "qcom,shikra-rpm-proc", "qcom,rpm-proc";
112+
113+
glink-edge {
114+
compatible = "qcom,glink-rpm";
115+
interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>;
116+
qcom,rpm-msg-ram = <&rpm_msg_ram>;
117+
mboxes = <&apcs_glb 0>;
118+
};
119+
};
120+
110121
reserved_memory: reserved-memory {
111122
#address-cells = <2>;
112123
#size-cells = <2>;
@@ -240,6 +251,19 @@
240251
};
241252
};
242253

254+
rpm_msg_ram: sram@45f0000 {
255+
compatible = "qcom,rpm-msg-ram", "mmio-sram";
256+
reg = <0x0 0x045f0000 0x0 0x7000>;
257+
258+
#address-cells = <1>;
259+
#size-cells = <1>;
260+
ranges = <0 0x0 0x045f0000 0x7000>;
261+
262+
apss_mpm: sram@1b8 {
263+
reg = <0x1b8 0x48>;
264+
};
265+
};
266+
243267
adreno_smmu: iommu@59a0000 {
244268
compatible = "qcom,shikra-smmu-500", "qcom,smmu-500", "arm,mmu-500";
245269
reg = <0x0 0x059a0000 0x0 0x10000>;
@@ -363,6 +387,12 @@
363387
ranges;
364388
};
365389

390+
apcs_glb: mailbox@f400000 {
391+
compatible = "qcom,shikra-apcs-hmss-global";
392+
reg = <0x0 0x0f400000 0x0 0x1000>;
393+
#mbox-cells = <1>;
394+
};
395+
366396
timer@f420000 {
367397
compatible = "arm,armv7-timer-mem";
368398
reg = <0x0 0x0f420000 0x0 0x1000>;

0 commit comments

Comments
 (0)