arm64: dts: qcom: msm8998: add IPA information

Add support for the MSM8998 SoC, which includes IPA version 3.1.
This commit is contained in:
Jami Kettunen 2021-07-27 14:04:12 +03:00
parent 311cf79e42
commit 94fbad12a2

View file

@ -852,6 +852,17 @@
interrupt-controller;
#interrupt-cells = <2>;
};
ipa_smp2p_out: ipa-ap-to-modem {
qcom,entry-name = "ipa";
#qcom,smem-state-cells = <1>;
};
ipa_smp2p_in: ipa-modem-to-ap {
qcom,entry-name = "ipa";
interrupt-controller;
#interrupt-cells = <2>;
};
};
smp2p-slpi {
@ -1702,6 +1713,50 @@
};
};
ipa: ipa@1e40000 {
compatible = "qcom,msm8998-ipa";
iommus = <&anoc2_smmu 0x18e0 0x0>,
<&anoc2_smmu 0x18e2 0x0>;
reg = <0x1e40000 0x7000>,
<0x1e47000 0x2000>,
<0x1e04000 0x2c000>;
reg-names = "ipa-reg",
"ipa-shared",
"gsi";
interrupts-extended = <&intc GIC_SPI 333 IRQ_TYPE_EDGE_RISING>,
<&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
<&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "ipa",
"gsi",
"ipa-clock-query",
"ipa-setup-ready";
clocks = <&rpmcc RPM_SMD_IPA_CLK>;
clock-names = "core";
/* Elder's proposed interconnects:
<&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>,
<&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>,
<&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>
*/
interconnects = <&a2noc MASTER_IPA &bimc SLAVE_EBI>,
<&a2noc MASTER_IPA &snoc SLAVE_IMEM>,
<&gnoc MASTER_APSS_PROC &cnoc SLAVE_IPA>;
interconnect-names = "memory",
"imem",
"config";
qcom,smem-states = <&ipa_smp2p_out 0>,
<&ipa_smp2p_out 1>;
qcom,smem-state-names = "ipa-clock-enabled-valid",
"ipa-clock-enabled";
status = "disabled";
};
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x01f40000 0x20000>;