162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: Xen specific IOMMU for virtualized devices (e.g. virtio) 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Stefano Stabellini <sstabellini@kernel.org> 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_cidescription: 1362306a36Sopenharmony_ci The Xen IOMMU represents the Xen grant table interface. Grant mappings 1462306a36Sopenharmony_ci are to be used with devices connected to the Xen IOMMU using the "iommus" 1562306a36Sopenharmony_ci property, which also specifies the ID of the backend domain. 1662306a36Sopenharmony_ci The binding is required to restrict memory access using Xen grant mappings. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciproperties: 1962306a36Sopenharmony_ci compatible: 2062306a36Sopenharmony_ci const: xen,grant-dma 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci '#iommu-cells': 2362306a36Sopenharmony_ci const: 1 2462306a36Sopenharmony_ci description: 2562306a36Sopenharmony_ci The single cell is the domid (domain ID) of the domain where the backend 2662306a36Sopenharmony_ci is running. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_cirequired: 2962306a36Sopenharmony_ci - compatible 3062306a36Sopenharmony_ci - "#iommu-cells" 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciadditionalProperties: false 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciexamples: 3562306a36Sopenharmony_ci - | 3662306a36Sopenharmony_ci iommu { 3762306a36Sopenharmony_ci compatible = "xen,grant-dma"; 3862306a36Sopenharmony_ci #iommu-cells = <1>; 3962306a36Sopenharmony_ci }; 40