From 8bd5387d4c8ff3dc2fe505f3a8a1924ff6784c99 Mon Sep 17 00:00:00 2001 From: Yadu MG Date: Fri, 30 Sep 2022 01:46:39 +0530 Subject: [PATCH] ARM: dts: qcom: Add dt node for cdsp remoteproc on Lemans Add remoteproc device node for CDSP subsystem on Lemans target. Change-Id: Ia903f4e02c9198dbc0d97bbf70b784e104869577 --- qcom/lemans.dtsi | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/qcom/lemans.dtsi b/qcom/lemans.dtsi index 5e4706fb..6723f28a 100644 --- a/qcom/lemans.dtsi +++ b/qcom/lemans.dtsi @@ -318,7 +318,7 @@ reg = <0x0 0x99900000 0x0 0x1e00000>; }; - pil_cdsp0_mem: pil_cdsp0_region@9b800000 { + rproc_cdsp_mem: rproc_cdsp_region@9b800000 { no-map; reg = <0x0 0x9b800000 0x0 0x1e00000>; }; @@ -1077,6 +1077,47 @@ qcom,smem-state-names = "stop"; }; + cdsp_pas: remoteproc-cdsp@26300000 { + compatible = "qcom,lemans-cdsp-pas"; + reg = <0x26300000 0x10000>; + status = "ok"; + + memory-region = <&rproc_cdsp_mem>; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + cx-supply = <&VDD_CX_LEVEL>; + cx-uV-uA = ; + mx-supply = <&VDD_MXC_LEVEL>; + mx-uV-uA = ; + nsp0-supply = <&VDD_NSP_0_LEVEL>; + nsp0-uV-uA = ; + reg-names = "cx","mx","nsp0"; + + interconnects = <&nspa_noc MASTER_CDSP_PROC &mc_virt SLAVE_EBI1>; + interconnect-names = "crypto_ddr"; + + /* Inputs from turing */ + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>, + <&cdsp_smp2p_in 0 0>, + <&cdsp_smp2p_in 2 0>, + <&cdsp_smp2p_in 1 0>, + <&cdsp_smp2p_in 3 0>; + + interrupt-names = "wdog", + "fatal", + "handover", + "ready", + "stop-ack"; + + qcom,qmp = <&aoss_qmp>; + + /* Outputs to turing */ + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + }; + spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0x1100>,