@@ -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>
@@ -149,6 +149,16 @@ smem@8a800000 {
hwlocks = <&tcsr_mutex 3>;
};
+
+ q6_region: wcss@8a900000 {
+ reg = <0x0 0x8a900000 0x0 0x2800000>;
+ no-map;
+ };
+
+ q6_dtb_region: wcss-dtb@8d100000 {
+ reg = <0x0 0x8d100000 0x0 0x2000>;
+ no-map;
+ };
};
soc@0 {
@@ -541,6 +551,57 @@ dwc_0: usb@8a00000 {
};
};
+ 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";
+ 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 0x0d100000 0 0x4040>;
+ firmware-name = "ath12k/IPQ5424/hw1.0/q6_fw0.mbn",
+ "ath12k/IPQ5424/hw1.0/qdsp6sw_dtb.mbn";
+ interrupts-extended = <&intc GIC_SPI 508 IRQ_TYPE_EDGE_RISING>,
+ <&smp2p_wcss_in 0 0>,
+ <&smp2p_wcss_in 1 0>,
+ <&smp2p_wcss_in 2 0>,
+ <&smp2p_wcss_in 3 0>;
+ interrupt-names = "wdog",
+ "fatal",
+ "ready",
+ "handover",
+ "stop-ack";
+
+ mboxes = <&tmel_qmp 0>;
+ qcom,smem-states = <&smp2p_wcss_out 1>,
+ <&smp2p_wcss_out 0>;
+ qcom,smem-state-names = "stop",
+ "shutdown";
+
+ memory-region = <&q6_region>, <&q6_dtb_region>;
+ qcom,q6-dtb-info = <&tcsr 0x1f004 0x1f008 0x1f00c>;
+
+ 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>;
@@ -724,4 +785,28 @@ timer {
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
<GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
};
+
+ wcss: smp2p-wcss {
+ 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>;
+
+ smp2p_wcss_out: master-kernel {
+ qcom,entry-name = "master-kernel";
+ #qcom,smem-state-cells = <1>;
+ };
+
+ smp2p_wcss_in: slave-kernel {
+ qcom,entry-name = "slave-kernel";
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
};
Enable nodes required for q6 remoteproc bring up. Signed-off-by: Gokul Sriram Palanisamy <gokul.sriram.p@oss.qualcomm.com> --- arch/arm64/boot/dts/qcom/ipq5424.dtsi | 87 ++++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-)