Add the description of the IPA block in the Milos SoC.

Signed-off-by: Luca Weiss <[email protected]>
---
 arch/arm64/boot/dts/qcom/milos.dtsi | 44 +++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/milos.dtsi 
b/arch/arm64/boot/dts/qcom/milos.dtsi
index 1c045743ef77..c388dacf47d5 100644
--- a/arch/arm64/boot/dts/qcom/milos.dtsi
+++ b/arch/arm64/boot/dts/qcom/milos.dtsi
@@ -1599,6 +1599,50 @@ adreno_smmu: iommu@3da0000 {
                        dma-coherent;
                };
 
+               ipa: ipa@3f40000 {
+                       compatible = "qcom,milos-ipa";
+
+                       reg = <0x0 0x03f40000 0x0 0x10000>,
+                             <0x0 0x03f50000 0x0 0x5000>,
+                             <0x0 0x03e04000 0x0 0xfc000>;
+                       reg-names = "ipa-reg",
+                                   "ipa-shared",
+                                   "gsi";
+
+                       interrupts-extended = <&intc GIC_SPI 654 
IRQ_TYPE_EDGE_RISING 0>,
+                                             <&intc GIC_SPI 432 
IRQ_TYPE_LEVEL_HIGH 0>,
+                                             <&smp2p_ipa_in 0 
IRQ_TYPE_EDGE_RISING>,
+                                             <&smp2p_ipa_in 1 
IRQ_TYPE_EDGE_RISING>;
+                       interrupt-names = "ipa",
+                                         "gsi",
+                                         "ipa-clock-query",
+                                         "ipa-setup-ready";
+
+                       clocks = <&rpmhcc RPMH_IPA_CLK>;
+                       clock-names = "core";
+
+                       interconnects = <&aggre2_noc MASTER_IPA 
QCOM_ICC_TAG_ALWAYS
+                                        &mc_virt SLAVE_EBI1 
QCOM_ICC_TAG_ALWAYS>,
+                                       <&gem_noc MASTER_APPSS_PROC 
QCOM_ICC_TAG_ACTIVE_ONLY
+                                        &cnoc_main SLAVE_IPA_CFG 
QCOM_ICC_TAG_ACTIVE_ONLY>;
+                       interconnect-names = "memory",
+                                            "config";
+
+                       iommus = <&apps_smmu 0x4a0 0x0>,
+                                <&apps_smmu 0x4a2 0x0>;
+
+                       qcom,qmp = <&aoss_qmp>;
+
+                       qcom,smem-states = <&smp2p_ipa_out 0>,
+                                          <&smp2p_ipa_out 1>;
+                       qcom,smem-state-names = "ipa-clock-enabled-valid",
+                                               "ipa-clock-enabled";
+
+                       sram = <&ipa_modem_tables>;
+
+                       status = "disabled";
+               };
+
                remoteproc_mpss: remoteproc@4080000 {
                        compatible = "qcom,milos-mpss-pas";
                        reg = <0x0 0x04080000 0x0 0x10000>;

-- 
2.53.0


Reply via email to