0001 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Xen specific IOMMU for virtualized devices (e.g. virtio)
0008
0009 maintainers:
0010 - Stefano Stabellini <sstabellini@kernel.org>
0011
0012 description:
0013 The Xen IOMMU represents the Xen grant table interface. Grant mappings
0014 are to be used with devices connected to the Xen IOMMU using the "iommus"
0015 property, which also specifies the ID of the backend domain.
0016 The binding is required to restrict memory access using Xen grant mappings.
0017
0018 properties:
0019 compatible:
0020 const: xen,grant-dma
0021
0022 '#iommu-cells':
0023 const: 1
0024 description:
0025 The single cell is the domid (domain ID) of the domain where the backend
0026 is running.
0027
0028 required:
0029 - compatible
0030 - "#iommu-cells"
0031
0032 additionalProperties: false
0033
0034 examples:
0035 - |
0036 iommu {
0037 compatible = "xen,grant-dma";
0038 #iommu-cells = <1>;
0039 };