#include &soc { apps_smmu: apps-smmu@0xc600000 { status = "okay"; compatible = "qcom,qsmmu-v500"; reg = <0xc600000 0x80000>, <0xc782000 0x20>; reg-names = "base", "tcu-base"; #iommu-cells = <2>; qcom,skip-init; qcom,use-3-lvl-tables; #global-interrupts = <1>; #size-cells = <1>; #address-cells = <1>; ranges; interrupts = , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; interconnects = <&bimc MASTER_AMPSS_M0 &system_noc SLAVE_TCU>; qcom,active-only; qcom,actlr = /* For rt TBU +3 deep PF */ <0x400 0x3ff 0x103>, /* For nrt TBU +3 deep PF */ <0x800 0x3ff 0x103>; anoc_1_tbu: anoc_1_tbu@0xc785000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0xc785000 0x1000>, <0xc782200 0x8>; reg-names = "base", "status-reg"; qcom,stream-id-range = <0x0 0x400>; interconnects = <&bimc MASTER_AMPSS_M0 &config_noc SLAVE_IMEM_CFG>, <&bimc MASTER_AMPSS_M0 &system_noc SLAVE_TCU>; qcom,iova-width = <36>; }; mm_rt_tbu: mm_rt_tbu@0xc789000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0xc789000 0x1000>, <0xc782208 0x8>; reg-names = "base", "status-reg"; qcom,stream-id-range = <0x400 0x400>; interrupts = ; interconnects = <&mmrt_virt MASTER_MDP_PORT0 &bimc SLAVE_EBI_CH0>, <&bimc MASTER_AMPSS_M0 &system_noc SLAVE_TCU>; qcom,active-only; qcom,iova-width = <32>; }; mm_nrt_tbu: mm_nrt_tbu@0xc78d000 { compatible = "qcom,qsmmuv500-tbu"; reg = <0xc78d000 0x1000>, <0xc782210 0x8>; reg-names = "base", "status-reg"; qcom,stream-id-range = <0x800 0x400>; interrupts = ; interconnects = <&mmnrt_virt MASTER_CAMNOC_SF &bimc SLAVE_EBI_CH0>, <&bimc MASTER_AMPSS_M0 &system_noc SLAVE_TCU>; qcom,active-only; qcom,iova-width = <32>; }; }; dma_dev@0x0 { compatible = "qcom,iommu-dma"; memory-region = <&system_cma>; }; iommu_test_device { compatible = "qcom,iommu-debug-test"; apps_iommu_test_device { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x1E0 0>; }; apps_iommu_coherent_test_device { compatible = "qcom,iommu-debug-usecase"; iommus = <&apps_smmu 0x1E1 0>; dma-coherent; }; }; };