Enable nodes required for q6 remoteproc bring up.

Signed-off-by: Gokul Sriram Palanisamy <quic_gokul...@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5424.dtsi | 80 ++++++++++++++++++++++++++-
 1 file changed, 79 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi 
b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 5e219f900412..32c8fa837dcb 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -3,7 +3,7 @@
  * IPQ5424 device tree source
  *
  * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights 
reserved.
+ * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights 
reserved.
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -125,6 +125,11 @@ reserved-memory {
                #size-cells = <2>;
                ranges;
 
+               q6_region: wcnss@8a900000 {
+                       no-map;
+                       reg = <0x0 0x8a900000 0x0 0x2800000>;
+               };
+
                tz@8a600000 {
                        reg = <0x0 0x8a600000 0x0 0x200000>;
                        no-map;
@@ -233,6 +238,55 @@ intc: interrupt-controller@f200000 {
                        msi-controller;
                };
 
+               apcs_glb: mailbox@f400004 {
+                       compatible = "qcom,ipq5424-apcs-apps-global",
+                                    "qcom,ipq6018-apcs-apps-global";
+                       reg = <0 0xf400004 0 0x6000>;
+                       #clock-cells = <1>;
+                       #mbox-cells = <1>;
+               };
+
+               tmel_qmp: qmp@32090000 {
+                       compatible = "qcom,ipq5424-tmel-qmp";
+                       reg = <0 0x32090000 0 0x2000>;
+                       interrupts = <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>;
+                       mboxes = <&apcs_glb 20>;
+                       #mbox-cells = <1>;
+               };
+
+               q6v5_wcss: remoteproc@d100000 {
+                       compatible = "qcom,ipq5424-wcss-sec-pil";
+                       reg = <0 0x0cd00000 0 0x4040>;
+                       firmware-name = "ath12k/IPQ5424/hw1.0/q6_fw0.mdt";
+                       interrupts-extended = <&intc GIC_SPI 508 
IRQ_TYPE_EDGE_RISING>,
+                                             <&wcss_smp2p_in 0 0>,
+                                             <&wcss_smp2p_in 1 0>,
+                                             <&wcss_smp2p_in 2 0>,
+                                             <&wcss_smp2p_in 3 0>;
+                       interrupt-names = "wdog",
+                                         "fatal",
+                                         "ready",
+                                         "handover",
+                                         "stop-ack";
+
+                       mboxes = <&tmel_qmp 0>;
+                       qcom,smem-states = <&wcss_smp2p_out 0>,
+                                          <&wcss_smp2p_out 1>;
+                       qcom,smem-state-names = "shutdown",
+                                               "stop";
+
+                       memory-region = <&q6_region>;
+
+                       status = "okay";
+
+                       glink-edge {
+                               interrupts = <GIC_SPI 500 IRQ_TYPE_EDGE_RISING>;
+                               label = "rtr";
+                               qcom,remote-pid = <1>;
+                               mboxes = <&apcs_glb 8>;
+                       };
+               };
+
                timer@f420000 {
                        compatible = "arm,armv7-timer-mem";
                        reg = <0 0xf420000 0 0x1000>;
@@ -302,4 +356,28 @@ timer {
                             <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
                             <GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
        };
+
+       wcss: wcss-smp2p {
+               compatible = "qcom,smp2p";
+               qcom,smem = <435>, <428>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <GIC_SPI 501 IRQ_TYPE_EDGE_RISING>;
+
+               mboxes = <&apcs_glb 9>;
+
+               qcom,local-pid = <0>;
+               qcom,remote-pid = <1>;
+
+               wcss_smp2p_out: master-kernel {
+                       qcom,entry-name = "master-kernel";
+                       #qcom,smem-state-cells = <1>;
+               };
+
+               wcss_smp2p_in: slave-kernel {
+                       qcom,entry-name = "slave-kernel";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+               };
+       };
 };
-- 
2.34.1


Reply via email to