Unisoc IOMMU and Multi-media MMU
Schema identifier ($id): "http://devicetree.org/schemas/iommu/sprd,iommu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chunyan Zhang <zhang.lyra@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sprd,iommu-v1"
#iommu-cells — required here #
Exact value (const): 0
Unisoc IOMMUs are all single-master IOMMU devices, therefore no additional information needs to associate with its master device. Please refer to the generic bindings document for more details, Documentation/devicetree/bindings/iommu/iommu.txt
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Reference to a gate clock phandle, since access to some of IOMMUs are controlled by gate clock, but this is not required.
Required in this object (required): "compatible", "reg", "#iommu-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
iommu_disp: iommu@63000800 {
compatible = "sprd,iommu-v1";
reg = <0x63000800 0x80>;
#iommu-cells = <0>;
};
iommu_jpg: iommu@62300300 {
compatible = "sprd,iommu-v1";
reg = <0x62300300 0x80>;
#iommu-cells = <0>;
clocks = <&mm_gate 1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2020 Unisoc Inc.