From 86cb76496721500a24681bcb6c0a7b4ed87fb448 Mon Sep 17 00:00:00 2001 From: Akshay Adiga Date: Wed, 14 Sep 2022 11:16:26 +0530 Subject: [PATCH] ARM: dts: msm: Add remoteproc for scuba_auto Adds modem and adsp remoteproc for scuba_auto. Change-Id: Ie3740341ac4cf76e0c3247b3440309c09f94f4d9 --- qcom/scuba_auto.dtsi | 80 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/qcom/scuba_auto.dtsi b/qcom/scuba_auto.dtsi index 6ed4df17..1c97cc6a 100644 --- a/qcom/scuba_auto.dtsi +++ b/qcom/scuba_auto.dtsi @@ -6,7 +6,7 @@ #include #include #include - +#include / { model = "Qualcomm Technologies, Inc. SCUBA_AUTO"; @@ -761,6 +761,84 @@ }; }; + modem_pas: remoteproc-modem@6080000 { + compatible = "qcom,scuba_auto-modem-pas"; + reg = <0x6080000 0x100>; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + status = "ok"; + + cx-supply = <&VDD_CX_LEVEL>; + cx-uV-uA = ; + reg-names = "vdd_cx"; + + memory-region = <&pil_modem_mem>; + + /* Inputs from mss */ + interrupts-extended = <&intc 0 307 1>, + <&modem_smp2p_in 0 0>, + <&modem_smp2p_in 2 0>, + <&modem_smp2p_in 1 0>, + <&modem_smp2p_in 3 0>, + <&modem_smp2p_in 7 0>; + + interrupt-names = "wdog", + "fatal", + "handover", + "ready", + "stop-ack", + "shutdown-ack"; + + /* Outputs to mss */ + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + }; + + + remoteproc-lpass@ab00000 { + compatible = "qcom,scuba_auto-lpass-pas"; + reg = <0xab00000 0x00100>; + status = "ok"; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + qcom,proxy-clock-names = "xo"; + + x-supply = <&VDD_LPI_CX_LEVEL>; + cx-uV-uA = ; + mx-supply = <&VDD_LPI_MX_LEVEL>; + mx-uV-uA = ; + proxy-reg-names = "vdd_lpi_cx", "vdd_lpi_mx"; + + memory-region = <&pil_adsp_mem>; + + /* Inputs from lpass */ + interrupts-extended = <&intc 0 282 IRQ_TYPE_LEVEL_HIGH>, + <&adsp_smp2p_in 0 0>, + <&adsp_smp2p_in 2 0>, + <&adsp_smp2p_in 1 0>, + <&adsp_smp2p_in 3 0>; + + interrupt-names = "wdog", + "fatal", + "handover", + "ready", + "stop-ack"; + + /* Outputs to lpass */ + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + }; + + qcom,ipa_fws { + compatible = "qcom,pil-tz-generic"; + qcom,pas-id = <0xf>; + qcom,firmware-name = "scuba_ipa_fws"; + qcom,pil-force-shutdown; + memory-region = <&pil_ipa_fw_mem>; + }; + qcom-secure-buffer { compatible = "qcom,secure-buffer"; };