18c2ecf20Sopenharmony_ciOMAP2+ IOMMU
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : Should be one of,
58c2ecf20Sopenharmony_ci		"ti,omap2-iommu" for OMAP2/OMAP3 IOMMU instances
68c2ecf20Sopenharmony_ci		"ti,omap4-iommu" for OMAP4/OMAP5 IOMMU instances
78c2ecf20Sopenharmony_ci		"ti,dra7-dsp-iommu" for DRA7xx DSP IOMMU instances
88c2ecf20Sopenharmony_ci		"ti,dra7-iommu" for DRA7xx IOMMU instances
98c2ecf20Sopenharmony_ci- ti,hwmods  : Name of the hwmod associated with the IOMMU instance
108c2ecf20Sopenharmony_ci- reg        : Address space for the configuration registers
118c2ecf20Sopenharmony_ci- interrupts : Interrupt specifier for the IOMMU instance
128c2ecf20Sopenharmony_ci- #iommu-cells : Should be 0. OMAP IOMMUs are all "single-master" devices,
138c2ecf20Sopenharmony_ci                 and needs no additional data in the pargs specifier. Please
148c2ecf20Sopenharmony_ci                 also refer to the generic bindings document for more info
158c2ecf20Sopenharmony_ci                 on this property,
168c2ecf20Sopenharmony_ci                     Documentation/devicetree/bindings/iommu/iommu.txt
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci- ti,#tlb-entries : Number of entries in the translation look-aside buffer.
208c2ecf20Sopenharmony_ci                    Should be either 8 or 32 (default: 32)
218c2ecf20Sopenharmony_ci- ti,iommu-bus-err-back : Indicates the IOMMU instance supports throwing
228c2ecf20Sopenharmony_ci		          back a bus error response on MMU faults.
238c2ecf20Sopenharmony_ci- ti,syscon-mmuconfig : Should be a pair of the phandle to the DSP_SYSTEM
248c2ecf20Sopenharmony_ci                        syscon node that contains the additional control
258c2ecf20Sopenharmony_ci                        register for enabling the MMU, and the MMU instance
268c2ecf20Sopenharmony_ci                        number (0-indexed) within the sub-system. This property
278c2ecf20Sopenharmony_ci                        is required for DSP IOMMU instances on DRA7xx SoCs. The
288c2ecf20Sopenharmony_ci                        instance number should be 0 for DSP MDMA MMUs and 1 for
298c2ecf20Sopenharmony_ci                        DSP EDMA MMUs.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExample:
328c2ecf20Sopenharmony_ci	/* OMAP3 ISP MMU */
338c2ecf20Sopenharmony_ci	mmu_isp: mmu@480bd400 {
348c2ecf20Sopenharmony_ci		#iommu-cells = <0>;
358c2ecf20Sopenharmony_ci		compatible = "ti,omap2-iommu";
368c2ecf20Sopenharmony_ci		reg = <0x480bd400 0x80>;
378c2ecf20Sopenharmony_ci		interrupts = <24>;
388c2ecf20Sopenharmony_ci		ti,hwmods = "mmu_isp";
398c2ecf20Sopenharmony_ci		ti,#tlb-entries = <8>;
408c2ecf20Sopenharmony_ci	};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	/* DRA74x DSP2 MMUs */
438c2ecf20Sopenharmony_ci	mmu0_dsp2: mmu@41501000 {
448c2ecf20Sopenharmony_ci		compatible = "ti,dra7-dsp-iommu";
458c2ecf20Sopenharmony_ci		reg = <0x41501000 0x100>;
468c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
478c2ecf20Sopenharmony_ci		ti,hwmods = "mmu0_dsp2";
488c2ecf20Sopenharmony_ci		#iommu-cells = <0>;
498c2ecf20Sopenharmony_ci		ti,syscon-mmuconfig = <&dsp2_system 0x0>;
508c2ecf20Sopenharmony_ci	};
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	mmu1_dsp2: mmu@41502000 {
538c2ecf20Sopenharmony_ci		compatible = "ti,dra7-dsp-iommu";
548c2ecf20Sopenharmony_ci		reg = <0x41502000 0x100>;
558c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
568c2ecf20Sopenharmony_ci		ti,hwmods = "mmu1_dsp2";
578c2ecf20Sopenharmony_ci		#iommu-cells = <0>;
588c2ecf20Sopenharmony_ci		ti,syscon-mmuconfig = <&dsp2_system 0x1>;
598c2ecf20Sopenharmony_ci	};
60