Documentation / devicetree / bindings / iommu / ti,omap-iommu.yaml


Based on kernel version 7.3. Page generated on 2026-10-19 13:17 EDT.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iommu/ti,omap-iommu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: OMAP2+ IOMMU

maintainers:
  - Bhargav Joshi <j.bhargav.u@gmail.com>

properties:
  compatible:
    enum:
      - ti,omap2-iommu
      - ti,omap4-iommu
      - ti,dra7-dsp-iommu
      - ti,dra7-iommu

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1
 
  '#iommu-cells':
    const: 0
 
  ti,#tlb-entries:
    description: Number of entries in the translation look-aside buffer.
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [8, 32]
    default: 32

  ti,iommu-bus-err-back:
    description:
      Indicates the IOMMU instance supports throwing back a bus error response
      on MMU faults.
    type: boolean

  ti,syscon-mmuconfig:
    description:
      Pair of the phandle to the DSP_SYSTEM syscon node that
      contains the additional control register for enabling the MMU, and the
      MMU instance number (0-indexed) within the sub-system. The instance number
      should be 0 for DSP MDMA MMUs and 1 for DSP EDMA MMUs.
    $ref: /schemas/types.yaml#/definitions/phandle-array
    maxItems: 1
    items:
      items:
        - description: phandle to the DSP_SYSTEM syscon node
        - description: MMU instance number
          enum: [0, 1]

  ti,hwmods:
    description: Name of the hwmod associated with the IOMMU instance
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true

required:
  - compatible
  - reg
  - '#iommu-cells'
  - interrupts

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: ti,dra7-dsp-iommu
    then:
      required:
        - ti,syscon-mmuconfig
    else:
      properties:
        ti,syscon-mmuconfig: false

additionalProperties: false

examples:
  - |
    mmu@480bd400 {
        #iommu-cells = <0>;
        compatible = "ti,omap2-iommu";
        reg = <0x480bd400 0x80>;
        interrupts = <24>;
        ti,hwmods = "mmu_isp";
        ti,#tlb-entries = <8>;
    };

  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
 
    mmu@41501000 {
        compatible = "ti,dra7-dsp-iommu";
        reg = <0x41501000 0x100>;
        interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
        ti,hwmods = "mmu0_dsp2";
        #iommu-cells = <0>;
        ti,syscon-mmuconfig = <&dsp2_system 0x0>;
    };

  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
 
    mmu@41502000 {
        compatible = "ti,dra7-dsp-iommu";
        reg = <0x41502000 0x100>;
        interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
        ti,hwmods = "mmu1_dsp2";
        #iommu-cells = <0>;
        ti,syscon-mmuconfig = <&dsp2_system 0x1>;
    };