1a8689f65SFlorian VaussardOMAP2+ IOMMU 2a8689f65SFlorian Vaussard 3a8689f65SFlorian VaussardRequired properties: 4a8689f65SFlorian Vaussard- compatible : Should be one of, 5a8689f65SFlorian Vaussard "ti,omap2-iommu" for OMAP2/OMAP3 IOMMU instances 6a8689f65SFlorian Vaussard "ti,omap4-iommu" for OMAP4/OMAP5 IOMMU instances 7*c0e44929SSuman Anna "ti,dra7-dsp-iommu" for DRA7xx DSP IOMMU instances 8a8689f65SFlorian Vaussard "ti,dra7-iommu" for DRA7xx IOMMU instances 9a8689f65SFlorian Vaussard- ti,hwmods : Name of the hwmod associated with the IOMMU instance 10a8689f65SFlorian Vaussard- reg : Address space for the configuration registers 11a8689f65SFlorian Vaussard- interrupts : Interrupt specifier for the IOMMU instance 12a73622a7SSuman Anna- #iommu-cells : Should be 0. OMAP IOMMUs are all "single-master" devices, 13a73622a7SSuman Anna and needs no additional data in the pargs specifier. Please 14a73622a7SSuman Anna also refer to the generic bindings document for more info 15a73622a7SSuman Anna on this property, 16a73622a7SSuman Anna Documentation/devicetree/bindings/iommu/iommu.txt 17a8689f65SFlorian Vaussard 18a8689f65SFlorian VaussardOptional properties: 19a8689f65SFlorian Vaussard- ti,#tlb-entries : Number of entries in the translation look-aside buffer. 20a8689f65SFlorian Vaussard Should be either 8 or 32 (default: 32) 21a8689f65SFlorian Vaussard- ti,iommu-bus-err-back : Indicates the IOMMU instance supports throwing 22a8689f65SFlorian Vaussard back a bus error response on MMU faults. 23*c0e44929SSuman Anna- ti,syscon-mmuconfig : Should be a pair of the phandle to the DSP_SYSTEM 24*c0e44929SSuman Anna syscon node that contains the additional control 25*c0e44929SSuman Anna register for enabling the MMU, and the MMU instance 26*c0e44929SSuman Anna number (0-indexed) within the sub-system. This property 27*c0e44929SSuman Anna is required for DSP IOMMU instances on DRA7xx SoCs. The 28*c0e44929SSuman Anna instance number should be 0 for DSP MDMA MMUs and 1 for 29*c0e44929SSuman Anna DSP EDMA MMUs. 30a8689f65SFlorian Vaussard 31a8689f65SFlorian VaussardExample: 32a8689f65SFlorian Vaussard /* OMAP3 ISP MMU */ 33a8689f65SFlorian Vaussard mmu_isp: mmu@480bd400 { 34a73622a7SSuman Anna #iommu-cells = <0>; 35a8689f65SFlorian Vaussard compatible = "ti,omap2-iommu"; 36a8689f65SFlorian Vaussard reg = <0x480bd400 0x80>; 37a8689f65SFlorian Vaussard interrupts = <24>; 38a8689f65SFlorian Vaussard ti,hwmods = "mmu_isp"; 39a8689f65SFlorian Vaussard ti,#tlb-entries = <8>; 40a8689f65SFlorian Vaussard }; 41*c0e44929SSuman Anna 42*c0e44929SSuman Anna /* DRA74x DSP2 MMUs */ 43*c0e44929SSuman Anna mmu0_dsp2: mmu@41501000 { 44*c0e44929SSuman Anna compatible = "ti,dra7-dsp-iommu"; 45*c0e44929SSuman Anna reg = <0x41501000 0x100>; 46*c0e44929SSuman Anna interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 47*c0e44929SSuman Anna ti,hwmods = "mmu0_dsp2"; 48*c0e44929SSuman Anna #iommu-cells = <0>; 49*c0e44929SSuman Anna ti,syscon-mmuconfig = <&dsp2_system 0x0>; 50*c0e44929SSuman Anna }; 51*c0e44929SSuman Anna 52*c0e44929SSuman Anna mmu1_dsp2: mmu@41502000 { 53*c0e44929SSuman Anna compatible = "ti,dra7-dsp-iommu"; 54*c0e44929SSuman Anna reg = <0x41502000 0x100>; 55*c0e44929SSuman Anna interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; 56*c0e44929SSuman Anna ti,hwmods = "mmu1_dsp2"; 57*c0e44929SSuman Anna #iommu-cells = <0>; 58*c0e44929SSuman Anna ti,syscon-mmuconfig = <&dsp2_system 0x1>; 59*c0e44929SSuman Anna }; 60