1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Xen specific IOMMU for virtualized devices (e.g. virtio)
8
9maintainers:
10  - Stefano Stabellini <sstabellini@kernel.org>
11
12description:
13  The Xen IOMMU represents the Xen grant table interface. Grant mappings
14  are to be used with devices connected to the Xen IOMMU using the "iommus"
15  property, which also specifies the ID of the backend domain.
16  The binding is required to restrict memory access using Xen grant mappings.
17
18properties:
19  compatible:
20    const: xen,grant-dma
21
22  '#iommu-cells':
23    const: 1
24    description:
25      The single cell is the domid (domain ID) of the domain where the backend
26      is running.
27
28required:
29  - compatible
30  - "#iommu-cells"
31
32additionalProperties: false
33
34examples:
35  - |
36    iommu {
37        compatible = "xen,grant-dma";
38        #iommu-cells = <1>;
39    };
40