ARM: dts: msm: fix 64 bit addressing for ipa

Make changes to add 64 bit address support using
"iommu-addresses" attribute.

Change-Id: Ide79f48f2d06c7fdaf897a8b03a399167b41a5e2
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
This commit is contained in:
Chaitanya Pratapa
2024-02-26 22:58:07 -08:00
parent e0d8f461df
commit d9446a3f6c

View File

@@ -44,12 +44,19 @@
/* Low Latency pipe alloc factor */ /* Low Latency pipe alloc factor */
qcom,ipa-gen-rx-ll-pool-sz-factor = <1>; qcom,ipa-gen-rx-ll-pool-sz-factor = <1>;
#address-cells = <2>;
#size-cells = <2>;
}; };
&soc { &soc {
ipa_smmu_ap_partition: ipa_smmu_ap_partition { ipa_smmu_ap_partition: ipa_smmu_ap_partition {
iommu-addresses = <&ipa_smmu_ap 0x0 0x20000000>, iommu-addresses = <&ipa_smmu_ap 0x0 0x0 0x0 0x20000000>,
<&ipa_smmu_ap 0x40000000 0xC0000000>; <&ipa_smmu_ap 0x0 0x40000000 0xFFFFFFFF 0xC0000000>;
};
ipa_smmu_uc_partition: ipa_smmu_uc_partition {
iommu-addresses = <&ipa_smmu_uc 0x0 0x0 0x0 0x20000000>,
<&ipa_smmu_uc 0x0 0x40000000 0xFFFFFFFF 0xC0000000>;
}; };
}; };
@@ -60,3 +67,8 @@
/* modem tables in IMEM */ /* modem tables in IMEM */
<0x14683000 0x14683000 0x2000>; <0x14683000 0x14683000 0x2000>;
}; };
&ipa_smmu_uc {
/delete-property/ qcom,iommu-dma-addr-pool;
memory-region = <&ipa_smmu_uc_partition>;
};