From a97a53564075f225b1713c16cf3254c1c7d4c6ef Mon Sep 17 00:00:00 2001 From: Vivek Kumar Date: Wed, 1 Jun 2022 10:50:05 +0530 Subject: [PATCH] ARM: dts: qcom: Add dt node for cdsp remoteproc in sm8150 Add remoteproc device node for CDSP subsystem in sm8150. Change-Id: Ib1b19aca17ad3725303193854c68155ce47dcfca --- qcom/sm8150.dtsi | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/qcom/sm8150.dtsi b/qcom/sm8150.dtsi index b6f0625c..be8e5d4f 100644 --- a/qcom/sm8150.dtsi +++ b/qcom/sm8150.dtsi @@ -433,7 +433,7 @@ reg = <0x0 0x98800000 0x0 0x100000>; }; - pil_cdsp_mem: cdsp_regions { + rproc_cdsp_mem: rproc_cdsp_region { no-map; reg = <0x0 0x98900000 0x0 0x1400000>; }; @@ -1435,6 +1435,45 @@ }; }; + cdsp_pas: remoteproc-cdsp@0x8300000 { + compatible = "qcom,sm8150-cdsp-pas"; + reg = <0x8300000 0x100000>; + status = "ok"; + + cx-supply = <&VDD_CX_LEVEL>; + cx-uV-uA = ; + reg-names = "cx"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + qcom,qmp = <&aoss_qmp>; + + interconnects = <&aggre2_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>; + interconnect-names = "crypto_ddr"; + + memory-region = <&rproc_cdsp_mem>; + + /* Inputs from ssc */ + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 0>, + <&cdsp_smp2p_in 2 0>, + <&cdsp_smp2p_in 1 0>, + <&cdsp_smp2p_in 3 0>, + <&cdsp_smp2p_in 7 0>; + + interrupt-names = "wdog", + "fatal", + "handover", + "ready", + "stop-ack", + "shutdown-ack"; + + /* Outputs to turing */ + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + }; + qcom,pmu { compatible = "qcom,pmu"; qcom,long-counter;