162306a36Sopenharmony_ciOMAP2+ IOMMU
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible : Should be one of,
562306a36Sopenharmony_ci		"ti,omap2-iommu" for OMAP2/OMAP3 IOMMU instances
662306a36Sopenharmony_ci		"ti,omap4-iommu" for OMAP4/OMAP5 IOMMU instances
762306a36Sopenharmony_ci		"ti,dra7-dsp-iommu" for DRA7xx DSP IOMMU instances
862306a36Sopenharmony_ci		"ti,dra7-iommu" for DRA7xx IOMMU instances
962306a36Sopenharmony_ci- ti,hwmods  : Name of the hwmod associated with the IOMMU instance
1062306a36Sopenharmony_ci- reg        : Address space for the configuration registers
1162306a36Sopenharmony_ci- interrupts : Interrupt specifier for the IOMMU instance
1262306a36Sopenharmony_ci- #iommu-cells : Should be 0. OMAP IOMMUs are all "single-master" devices,
1362306a36Sopenharmony_ci                 and needs no additional data in the pargs specifier. Please
1462306a36Sopenharmony_ci                 also refer to the generic bindings document for more info
1562306a36Sopenharmony_ci                 on this property,
1662306a36Sopenharmony_ci                     Documentation/devicetree/bindings/iommu/iommu.txt
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciOptional properties:
1962306a36Sopenharmony_ci- ti,#tlb-entries : Number of entries in the translation look-aside buffer.
2062306a36Sopenharmony_ci                    Should be either 8 or 32 (default: 32)
2162306a36Sopenharmony_ci- ti,iommu-bus-err-back : Indicates the IOMMU instance supports throwing
2262306a36Sopenharmony_ci		          back a bus error response on MMU faults.
2362306a36Sopenharmony_ci- ti,syscon-mmuconfig : Should be a pair of the phandle to the DSP_SYSTEM
2462306a36Sopenharmony_ci                        syscon node that contains the additional control
2562306a36Sopenharmony_ci                        register for enabling the MMU, and the MMU instance
2662306a36Sopenharmony_ci                        number (0-indexed) within the sub-system. This property
2762306a36Sopenharmony_ci                        is required for DSP IOMMU instances on DRA7xx SoCs. The
2862306a36Sopenharmony_ci                        instance number should be 0 for DSP MDMA MMUs and 1 for
2962306a36Sopenharmony_ci                        DSP EDMA MMUs.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciExample:
3262306a36Sopenharmony_ci	/* OMAP3 ISP MMU */
3362306a36Sopenharmony_ci	mmu_isp: mmu@480bd400 {
3462306a36Sopenharmony_ci		#iommu-cells = <0>;
3562306a36Sopenharmony_ci		compatible = "ti,omap2-iommu";
3662306a36Sopenharmony_ci		reg = <0x480bd400 0x80>;
3762306a36Sopenharmony_ci		interrupts = <24>;
3862306a36Sopenharmony_ci		ti,hwmods = "mmu_isp";
3962306a36Sopenharmony_ci		ti,#tlb-entries = <8>;
4062306a36Sopenharmony_ci	};
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci	/* DRA74x DSP2 MMUs */
4362306a36Sopenharmony_ci	mmu0_dsp2: mmu@41501000 {
4462306a36Sopenharmony_ci		compatible = "ti,dra7-dsp-iommu";
4562306a36Sopenharmony_ci		reg = <0x41501000 0x100>;
4662306a36Sopenharmony_ci		interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
4762306a36Sopenharmony_ci		ti,hwmods = "mmu0_dsp2";
4862306a36Sopenharmony_ci		#iommu-cells = <0>;
4962306a36Sopenharmony_ci		ti,syscon-mmuconfig = <&dsp2_system 0x0>;
5062306a36Sopenharmony_ci	};
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	mmu1_dsp2: mmu@41502000 {
5362306a36Sopenharmony_ci		compatible = "ti,dra7-dsp-iommu";
5462306a36Sopenharmony_ci		reg = <0x41502000 0x100>;
5562306a36Sopenharmony_ci		interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
5662306a36Sopenharmony_ci		ti,hwmods = "mmu1_dsp2";
5762306a36Sopenharmony_ci		#iommu-cells = <0>;
5862306a36Sopenharmony_ci		ti,syscon-mmuconfig = <&dsp2_system 0x1>;
5962306a36Sopenharmony_ci	};
60