1 From 7388400b8bd42f71d040dbf2fdbdcb834fcc0ede Mon Sep 17 00:00:00 2001
2 From: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
3 Date: Sat, 30 Jan 2021 10:50:13 +0530
4 Subject: [PATCH] arm64: dts: qcom: Enable Q6v5 WCSS for ipq8074 SoC
6 Enable remoteproc WCSS PIL driver with glink and ssr subdevices.
7 Also enables smp2p and mailboxes required for IPC.
9 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
10 Signed-off-by: Sricharan R <sricharan@codeaurora.org>
11 Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
12 Signed-off-by: Robert Marko <robimarko@gmail.com>
14 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 81 +++++++++++++++++++++++++++
15 1 file changed, 81 insertions(+)
17 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
18 +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
24 + compatible = "qcom,smp2p";
25 + qcom,smem = <435>, <428>;
27 + interrupt-parent = <&intc>;
28 + interrupts = <0 322 1>;
30 + mboxes = <&apcs_glb 9>;
32 + qcom,local-pid = <0>;
33 + qcom,remote-pid = <1>;
35 + wcss_smp2p_out: master-kernel {
36 + qcom,entry-name = "master-kernel";
37 + qcom,smp2p-feature-ssr-ack;
38 + #qcom,smem-state-cells = <1>;
41 + wcss_smp2p_in: slave-kernel {
42 + qcom,entry-name = "slave-kernel";
44 + interrupt-controller;
45 + #interrupt-cells = <2>;
50 #address-cells = <0x1>;
56 + tcsr_q6: syscon@1945000 {
57 + compatible = "syscon";
58 + reg = <0x01945000 0xe000>;
61 spmi_bus: spmi@200f000 {
62 compatible = "qcom,spmi-pmic-arb";
63 reg = <0x0200f000 0x001000>,
69 + q6v5_wcss: q6v5_wcss@cd00000 {
70 + compatible = "qcom,ipq8074-wcss-pil";
71 + reg = <0x0cd00000 0x4040>,
73 + reg-names = "qdsp6",
77 + interrupts-extended = <&intc 0 325 1>,
78 + <&wcss_smp2p_in 0 0>,
79 + <&wcss_smp2p_in 1 0>,
80 + <&wcss_smp2p_in 2 0>,
81 + <&wcss_smp2p_in 3 0>;
82 + interrupt-names = "wdog",
88 + resets = <&gcc GCC_WCSSAON_RESET>,
89 + <&gcc GCC_WCSS_BCR>,
90 + <&gcc GCC_WCSS_Q6_BCR>;
92 + reset-names = "wcss_aon_reset",
96 + clocks = <&gcc GCC_PRNG_AHB_CLK>;
97 + clock-names = "prng";
99 + qcom,halt-regs = <&tcsr_q6 0xa000 0xd000 0x0>;
101 + qcom,smem-states = <&wcss_smp2p_out 0>,
102 + <&wcss_smp2p_out 1>;
103 + qcom,smem-state-names = "shutdown",
106 + memory-region = <&q6_region>;
109 + interrupts = <GIC_SPI 321 IRQ_TYPE_EDGE_RISING>;
110 + qcom,remote-pid = <1>;
111 + mboxes = <&apcs_glb 8>;
114 + qcom,glink-channels = "IPCRTR";