diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index a6644db857e4..28c75c04dada 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -2615,6 +2615,23 @@ iommus = <&apps_smmu 0x60 0x0>; qcom,iommu-dma = "fastmap"; + /* + * iommu-dma-addr-pool- Indicate the range of data addresses which will be + * used in dma allocation. + * + * iommu-geometry - This is specific for fastmap which Allow clients + * to save SMMU page table memory. + * + * The 2nd parameter indicates size of the smmu page table memory. + * If its exceeds beyond this size, last unused entry from page table + * memory will be invalidated. + * + * It's better to provide range of dma address, hence provide + * iommu-dma-addr-pool property along with iommu-geometry property. + */ + + qcom,iommu-dma-addr-pool = <0x40000000 0x40000000>; + qcom,iommu-geometry = <0x40000000 0x40000000>; reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>; resets = <&gcc GCC_UFS_PHY_BCR>; @@ -2643,6 +2660,24 @@ iommus = <&apps_smmu 0x20 0x0>; qcom,iommu-dma = "fastmap"; + /* + * iommu-dma-addr-pool- Indicate the range of data addresses which will be + * used in dma allocation. + * + * iommu-geometry - This is specific for fastmap which Allow clients + * to save SMMU page table memory. + * + * The 2nd parameter indicates size of the smmu page table memory. + * If its exceeds beyond this size, last unused entry from page table + * memory will be invalidated. + * + * It's better to provide range of dma address, hence provide + * iommu-dma-addr-pool property along with iommu-geometry property. + */ + + qcom,iommu-dma-addr-pool = <0x40000000 0x40000000>; + qcom,iommu-geometry = <0x40000000 0x40000000>; + interrupts = , ; interrupt-names = "hc_irq", "pwr_irq";