Xen specific IOMMU for virtualized devices (e.g. virtio)
Schema identifier ($id): "http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stefano Stabellini <sstabellini@kernel.org>"
The Xen IOMMU represents the Xen grant table interface. Grant mappings are to be used with devices connected to the Xen IOMMU using the "iommus" property, which also specifies the ID of the backend domain. The binding is required to restrict memory access using Xen grant mappings.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "xen,grant-dma"
#iommu-cells — required here #
Exact value (const): 1
The single cell is the domid (domain ID) of the domain where the backend is running.
Required in this object (required): "compatible", "#iommu-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
iommu {
compatible = "xen,grant-dma";
#iommu-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)