From 3c97ccec31e36b37bb25405bdb0cda5f249b7c6c Mon Sep 17 00:00:00 2001 From: Saurabh Ambulkar Date: Tue, 13 Oct 2020 19:01:13 +0530 Subject: [PATCH] ARM: dts: msm: Add turing device node for PIL on SM6150 Add PIL device tree node to load firmware image of turing on SM6150. Change-Id: Id3f7b5aa613ff71eef4e6ec7588b72f97c5788cd --- qcom/sm6150.dtsi | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/qcom/sm6150.dtsi b/qcom/sm6150.dtsi index d5a5e22c57c6..a178bd4df490 100644 --- a/qcom/sm6150.dtsi +++ b/qcom/sm6150.dtsi @@ -1605,6 +1605,50 @@ mboxes = <&qmp_aop 0>; mbox-names = "adsp-pil"; }; + qcom,turing@8300000 { + compatible = "qcom,pil-tz-generic"; + reg = <0x8300000 0x100000>; + + vdd_cx-supply = <&VDD_CX_LEVEL>; + qcom,proxy-reg-names = "vdd_cx"; + qcom,vdd_cx-uV-uA = ; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + qcom,proxy-clock-names = "xo"; + + qcom,pas-id = <18>; + qcom,proxy-timeout-ms = <10000>; + qcom,smem-id = <601>; + qcom,sysmon-id = <7>; + qcom,ssctl-instance-id = <0x17>; + qcom,firmware-name = "cdsp"; + memory-region = <&pil_cdsp_mem>; + qcom,signal-aop; + qcom,complete-ramdump; + + /* 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>, + <&cdsp_smp2p_in 7 0>; + + interrupt-names = "qcom,wdog", + "qcom,err-fatal", + "qcom,proxy-unvote", + "qcom,err-ready", + "qcom,stop-ack", + "qcom,shutdown-ack"; + + /* Outputs to turing */ + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "qcom,force-stop"; + + mboxes = <&qmp_aop 0>; + mbox-names = "cdsp-pil"; + }; }; #include "sm6150-qupv3.dtsi"