Allwinner H6 IOMMU

Schema identifier ($id): "http://devicetree.org/schemas/iommu/allwinner,sun50i-h6-iommu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#iommu-cells — required here #

Exact value (const): 1

The content of the cell is the master ID.

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun50i-h6-iommu"

Rule 2

Exact value (const): "allwinner,sun50i-h616-iommu"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun55i-a523-iommu"

Item 2

Exact value (const): "allwinner,sun50i-h616-iommu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "#iommu-cells", "compatible", "reg", "interrupts", "clocks", "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

#include <dt-bindings/clock/sun50i-h6-ccu.h>
#include <dt-bindings/reset/sun50i-h6-ccu.h>

iommu: iommu@30f0000 {
    compatible = "allwinner,sun50i-h6-iommu";
    reg = <0x030f0000 0x10000>;
    interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_BUS_IOMMU>;
    resets = <&ccu RST_BUS_IOMMU>;
    #iommu-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page