#include &soc { apps_smmu: apps-smmu@15000000 { compatible = "qcom,qsmmu-v500"; reg = <0x15000000 0x100000>; #iommu-cells = <2>; qcom,use-3-lvl-tables; #global-interrupts = <1>; #size-cells = <1>; #address-cells = <1>; ranges; dma-coherent; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; anoc_1_tbu: anoc_1_tbu@150ed000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0x150ed000 0x1000>; qcom,stream-id-range = <0x0 0x400>; qcom,iova-width = <36>; }; anoc_pcie_tbu: anoc_pcie_tbu@150f1000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0x150f1000 0x1000>; qcom,stream-id-range = <0x400 0x400>; qcom,iova-width = <36>; }; anoc_ecpri_dma_0_tbu: anoc_ecpri_dma_0_tbu@150f5000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0x150f5000 0x1000>; qcom,stream-id-range = <0x800 0x400>; qcom,iova-width = <36>; }; anoc_ecpri_dma_1_tbu: anoc_ecpri_dma_1_tbu@150f9000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0x150f9000 0x1000>; qcom,stream-id-range = <0xc00 0x400>; qcom,iova-width = <36>; }; anoc_ecpri_gsi_tbu: anoc_ecpri_gsi_tbu@150fd000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0x150fd000 0x1000>; qcom,stream-id-range = <0x1000 0x400>; qcom,iova-width = <36>; }; }; dma_dev { compatible = "qcom,iommu-dma"; memory-region = <&system_cma>; }; iommu_test_device { compatible = "qcom,iommu-debug-test"; usecase0_apps { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x3e0 0x0>; }; usecase1_apps_fastmap { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x3e0 0x0>; qcom,iommu-dma = "fastmap"; }; usecase2_apps_atomic { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x3e0 0x0>; qcom,iommu-dma = "atomic"; }; usecase3_apps_dma { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x3e0 0x0>; dma-coherent; }; usecase4_apps_secure { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x3e0 0x0>; qcom,iommu-vmid = <0xa>; /* VMID_CP_PIXEL */ }; }; };