[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251208-ipq5018-wifi-v6-7-d0ce2facaa5f@outlook.com>
Date: Mon, 08 Dec 2025 16:25:39 +0400
From: George Moussalem via B4 Relay <devnull+george.moussalem.outlook.com@...nel.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Manikanta Mylavarapu <quic_mmanikan@...cinc.com>,
Jassi Brar <jassisinghbrar@...il.com>
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
Gokul Sriram Palanisamy <gokul.sriram.p@....qualcomm.com>,
George Moussalem <george.moussalem@...look.com>
Subject: [PATCH v6 7/8] arm64: dts: qcom: ipq5424: add nodes to bring up q6
From: Gokul Sriram Palanisamy <gokul.sriram.p@....qualcomm.com>
Enable nodes required for q6 remoteproc bring up.
Signed-off-by: Gokul Sriram Palanisamy <gokul.sriram.p@....qualcomm.com>
Signed-off-by: George Moussalem <george.moussalem@...look.com>
---
arch/arm64/boot/dts/qcom/ipq5424.dtsi | 68 +++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index eb393f3fd728f0b2fc8cd93c849f8c170d76e312..c73a7a1bf397887befd384344394e30f05c372f2 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -222,6 +222,11 @@ tfa@...32000 {
no-map;
status = "disabled";
};
+
+ q6_region: wcss@...00000 {
+ reg = <0x0 0x8a900000 0x0 0x2800000>;
+ no-map;
+ };
};
soc@0 {
@@ -752,6 +757,37 @@ dwc_0: usb@...0000 {
};
};
+ q6v5_wcss: remoteproc@...0000 {
+ compatible = "qcom,ipq5424-wcss-sec-pil";
+ reg = <0 0x0d100000 0 0x4040>;
+ firmware-name = "ath12k/IPQ5424/hw1.0/q6_fw0.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>;
+
+ glink-edge {
+ interrupts = <GIC_SPI 500 IRQ_TYPE_EDGE_RISING>;
+ label = "rtr";
+ qcom,remote-pid = <1>;
+ mboxes = <&apcs_glb 8>;
+ };
+ };
+
timer@...0000 {
compatible = "arm,armv7-timer-mem";
reg = <0 0xf420000 0 0x1000>;
@@ -811,6 +847,14 @@ frame@...d000 {
};
};
+ apcs_glb: mailbox@...0000 {
+ compatible = "qcom,ipq5424-apcs-apps-global",
+ "qcom,ipq6018-apcs-apps-global";
+ reg = <0 0x0f400000 0 0x10000>;
+ #clock-cells = <1>;
+ #mbox-cells = <1>;
+ };
+
apss_clk: clock-controller@...0000 {
compatible = "qcom,ipq5424-apss-clk";
reg = <0x0 0x0fa80000 0x0 0x20000>;
@@ -1426,4 +1470,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>;
+ };
+ };
};
--
2.52.0
Powered by blists - more mailing lists