arm64: dts: qcom: sm6350: Add ADSP nodes
Add the required nodes for booting the ADSP on sm6350. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211213082208.21492-6-luca.weiss@fairphone.com
This commit is contained in:
parent
489be59b63
commit
efc33c969f
1 changed files with 91 additions and 0 deletions
|
@ -361,6 +361,30 @@
|
||||||
hwlocks = <&tcsr_mutex 3>;
|
hwlocks = <&tcsr_mutex 3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smp2p-adsp {
|
||||||
|
compatible = "qcom,smp2p";
|
||||||
|
qcom,smem = <443>, <429>;
|
||||||
|
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
|
||||||
|
IPCC_MPROC_SIGNAL_SMP2P
|
||||||
|
IRQ_TYPE_EDGE_RISING>;
|
||||||
|
mboxes = <&ipcc IPCC_CLIENT_LPASS
|
||||||
|
IPCC_MPROC_SIGNAL_SMP2P>;
|
||||||
|
|
||||||
|
qcom,local-pid = <0>;
|
||||||
|
qcom,remote-pid = <2>;
|
||||||
|
|
||||||
|
smp2p_adsp_out: master-kernel {
|
||||||
|
qcom,entry-name = "master-kernel";
|
||||||
|
#qcom,smem-state-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
smp2p_adsp_in: slave-kernel {
|
||||||
|
qcom,entry-name = "slave-kernel";
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
smp2p-mpss {
|
smp2p-mpss {
|
||||||
compatible = "qcom,smp2p";
|
compatible = "qcom,smp2p";
|
||||||
qcom,smem = <435>, <428>;
|
qcom,smem = <435>, <428>;
|
||||||
|
@ -499,6 +523,73 @@
|
||||||
#hwlock-cells = <1>;
|
#hwlock-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
adsp: remoteproc@3000000 {
|
||||||
|
compatible = "qcom,sm6350-adsp-pas";
|
||||||
|
reg = <0 0x03000000 0 0x100>;
|
||||||
|
|
||||||
|
interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>,
|
||||||
|
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
|
||||||
|
interrupt-names = "wdog", "fatal", "ready",
|
||||||
|
"handover", "stop-ack";
|
||||||
|
|
||||||
|
clocks = <&rpmhcc RPMH_CXO_CLK>;
|
||||||
|
clock-names = "xo";
|
||||||
|
|
||||||
|
power-domains = <&rpmhpd SM6350_LCX>,
|
||||||
|
<&rpmhpd SM6350_LMX>;
|
||||||
|
power-domain-names = "lcx", "lmx";
|
||||||
|
|
||||||
|
memory-region = <&pil_adsp_mem>;
|
||||||
|
|
||||||
|
qcom,qmp = <&aoss_qmp>;
|
||||||
|
|
||||||
|
qcom,smem-states = <&smp2p_adsp_out 0>;
|
||||||
|
qcom,smem-state-names = "stop";
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
glink-edge {
|
||||||
|
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS
|
||||||
|
IPCC_MPROC_SIGNAL_GLINK_QMP
|
||||||
|
IRQ_TYPE_EDGE_RISING>;
|
||||||
|
mboxes = <&ipcc IPCC_CLIENT_LPASS
|
||||||
|
IPCC_MPROC_SIGNAL_GLINK_QMP>;
|
||||||
|
|
||||||
|
label = "lpass";
|
||||||
|
qcom,remote-pid = <2>;
|
||||||
|
|
||||||
|
fastrpc {
|
||||||
|
compatible = "qcom,fastrpc";
|
||||||
|
qcom,glink-channels = "fastrpcglink-apps-dsp";
|
||||||
|
label = "adsp";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
compute-cb@3 {
|
||||||
|
compatible = "qcom,fastrpc-compute-cb";
|
||||||
|
reg = <3>;
|
||||||
|
iommus = <&apps_smmu 0x1003 0x0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
compute-cb@4 {
|
||||||
|
compatible = "qcom,fastrpc-compute-cb";
|
||||||
|
reg = <4>;
|
||||||
|
iommus = <&apps_smmu 0x1004 0x0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
compute-cb@5 {
|
||||||
|
compatible = "qcom,fastrpc-compute-cb";
|
||||||
|
reg = <5>;
|
||||||
|
iommus = <&apps_smmu 0x1005 0x0>;
|
||||||
|
qcom,nsessions = <5>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
mpss: remoteproc@4080000 {
|
mpss: remoteproc@4080000 {
|
||||||
compatible = "qcom,sm6350-mpss-pas";
|
compatible = "qcom,sm6350-mpss-pas";
|
||||||
reg = <0x0 0x04080000 0x0 0x4040>;
|
reg = <0x0 0x04080000 0x0 0x4040>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue