ARM: dts: msm: Add lpass device node for PIL on SM6150

Add PIL device tree node to load firmware images of
lpass on SM6150.

Change-Id: Ifd99f607bed9da77494d0b0f188bf4e23bfb5711
This commit is contained in:
Saurabh Ambulkar 2020-10-12 18:17:07 +05:30 • committed by Shreyas K K
commit 4cd166d1db
2 changed files with 51 additions and 0 deletions

View file

@ -39,5 +39,11 @@
/delete-node/ rpmh-regulator-bobc1;
};
&soc {
qcom,lpass@62400000 {
vdd_cx-supply = <&VDD_CX_LEVEL>;
};
};
#include "sa6155-regulator.dtsi"
#include "pm6155.dtsi"

View file

@ -12,6 +12,7 @@
#include <dt-bindings/interconnect/qcom,osm-l3.h>
#include <dt-bindings/interconnect/qcom,sm6150.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
/ {
model = "Qualcomm Technologies, Inc. SM6150";
@ -1560,6 +1561,50 @@
#interrupt-cells = <2>;
};
};
qcom,lpass@62400000 {
compatible = "qcom,pil-tz-generic";
reg = <0x62400000 0x00100>;
vdd_cx-supply = <&L8A_LEVEL>;
qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
qcom,proxy-reg-names = "vdd_cx";
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
qcom,proxy-clock-names = "xo";
qcom,pas-id = <1>;
qcom,proxy-timeout-ms = <10000>;
qcom,smem-id = <423>;
qcom,sysmon-id = <1>;
qcom,ssctl-instance-id = <0x14>;
qcom,firmware-name = "adsp";
memory-region = <&pil_adsp_mem>;
qcom,signal-aop;
qcom,complete-ramdump;
/* Inputs from lpass */
interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
<&adsp_smp2p_in 0 0>,
<&adsp_smp2p_in 2 0>,
<&adsp_smp2p_in 1 0>,
<&adsp_smp2p_in 3 0>,
<&adsp_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 lpass */
qcom,smem-states = <&adsp_smp2p_out 0>;
qcom,smem-state-names = "qcom,force-stop";
mboxes = <&qmp_aop 0>;
mbox-names = "adsp-pil";
};
};
#include "sm6150-qupv3.dtsi"