From 8354671925580d1b2a95367ac1bad4beea483300 Mon Sep 17 00:00:00 2001 From: Shivendra Pratap Date: Fri, 25 Oct 2024 17:38:26 +0530 Subject: [PATCH] ARM: dts: msm: Add soccp node for Tuna Add remoteproc soccp devicetree node for Tuna SoC. Change-Id: Ie5912e460ebd40877fa738b2fa9ba9528463695d Signed-off-by: Shivendra Pratap --- qcom/tuna.dtsi | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 698b00f3..59a73368 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -1204,6 +1204,43 @@ }; }; + soccp_pas: remoteproc-soccp@a3380000 { + compatible = "qcom,tuna-soccp-pas"; + reg = <0xa3380000 0x10000>; + status = "ok"; + + cx-supply = <&VDD_CX_LEVEL>; + cx-uV-uA = ; + mx-supply = <&VDD_MX_LEVEL>; + mx-uV-uA = ; + reg-names = "cx", "mx"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + memory-region = <&soccp_mem 0>; + soccp-config = <&tcsr 0x1a000>; + + /* Inputs from SOCCP */ + interrupts-extended = <&intc GIC_SPI 167 IRQ_TYPE_EDGE_RISING>, + <&soccp_smp2p_in 0 0>, + <&soccp_smp2p_in 1 0>, + <&soccp_smp2p_in 3 0>, + <&soccp_smp2p_in 2 0>, + <&soccp_smp2p_in 9 0>; + + interrupt-names = "wdog", + "fatal", + "ready", + "stop-ack", + "handover", + "pong"; + + /* Outputs to soccp */ + qcom,smem-states = <&soccp_smp2p_out 0>, <&soccp_smp2p_out 10>, <&soccp_smp2p_out 9>; + qcom,smem-state-names = "stop", "wakeup", "sleep"; + }; + sys-pm-vx@c320000 { compatible = "qcom,sys-pm-violators", "qcom,sys-pm-tuna"; reg = <0xc320000 0x400>;