~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iommu/arm,smmu-v3.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/iommu/arm,smmu-v3.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: ARM SMMUv3 Architecture Implementation
  8 
  9 maintainers:
 10   - Will Deacon <will@kernel.org>
 11   - Robin Murphy <Robin.Murphy@arm.com>
 12 
 13 description: |+
 14   The SMMUv3 architecture is a significant departure from previous
 15   revisions, replacing the MMIO register interface with in-memory command
 16   and event queues and adding support for the ATS and PRI components of
 17   the PCIe specification.
 18 
 19 properties:
 20   $nodename:
 21     pattern: "^iommu@[0-9a-f]*"
 22   compatible:
 23     const: arm,smmu-v3
 24 
 25   reg:
 26     maxItems: 1
 27 
 28   interrupts:
 29     minItems: 1
 30     maxItems: 4
 31 
 32   interrupt-names:
 33     oneOf:
 34       - const: combined
 35         description:
 36           The combined interrupt is optional, and should only be provided if the
 37           hardware supports just a single, combined interrupt line.
 38           If provided, then the combined interrupt will be used in preference to
 39           any others.
 40       - minItems: 1
 41         items:
 42           enum:
 43             - eventq      # Event Queue not empty
 44             - gerror      # Global Error activated
 45             - cmdq-sync   # CMD_SYNC complete
 46             - priq        # PRI Queue not empty
 47 
 48   '#iommu-cells':
 49     const: 1
 50 
 51   dma-coherent:
 52     description: |
 53       Present if page table walks made by the SMMU are cache coherent with the
 54       CPU.
 55 
 56       NOTE: this only applies to the SMMU itself, not masters connected
 57       upstream of the SMMU.
 58 
 59   msi-parent: true
 60 
 61   hisilicon,broken-prefetch-cmd:
 62     type: boolean
 63     description: Avoid sending CMD_PREFETCH_* commands to the SMMU.
 64 
 65   cavium,cn9900-broken-page1-regspace:
 66     type: boolean
 67     description:
 68       Replaces all page 1 offsets used for EVTQ_PROD/CONS, PRIQ_PROD/CONS
 69       register access with page 0 offsets. Set for Cavium ThunderX2 silicon that
 70       doesn't support SMMU page1 register space.
 71 
 72 required:
 73   - compatible
 74   - reg
 75   - '#iommu-cells'
 76 
 77 additionalProperties: false
 78 
 79 examples:
 80   - |+
 81     #include <dt-bindings/interrupt-controller/arm-gic.h>
 82     #include <dt-bindings/interrupt-controller/irq.h>
 83 
 84     iommu@2b400000 {
 85             compatible = "arm,smmu-v3";
 86             reg = <0x2b400000 0x20000>;
 87             interrupts = <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>,
 88                          <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>,
 89                          <GIC_SPI 77 IRQ_TYPE_EDGE_RISING>,
 90                          <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>;
 91             interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
 92             dma-coherent;
 93             #iommu-cells = <1>;
 94             msi-parent = <&its 0xff0000>;
 95     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php