Rockchip IOMMU
Schema identifier ($id): "http://devicetree.org/schemas/iommu/rockchip,iommu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
A Rockchip DRM iommu translates io virtual addresses to physical addresses for its master device. Each slave device is bound to a single master device and shares its clocks, power domain and irq.
For information on assigning IOMMU controller to its peripheral devices, see generic IOMMU bindings.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"rockchip,iommu","rockchip,rk3568-iommu"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"rockchip,rk3576-iommu","rockchip,rk3588-iommu"Item 2
Exact value (
const):"rockchip,rk3568-iommu"
reg — required here #
Array item rules (items) #
Item 1
configuration registers for MMU instance 0
Item 2
configuration registers for MMU instance 1
Minimum number of items (minItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
interruption for MMU instance 0
Item 2
interruption for MMU instance 1
Minimum number of items (minItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Core clock
Item 2
Interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"iface"
#iommu-cells — required here #
Exact value (const): 0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
rockchip,disable-mmu-reset — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Do not use the mmu reset operation. Some mmu instances may produce unexpected results when the reset operation is used.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "#iommu-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
vopl_mmu: iommu@ff940300 {
compatible = "rockchip,iommu";
reg = <0xff940300 0x100>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>;
clock-names = "aclk", "iface";
#iommu-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only