Renesas VMSA-Compatible IOMMU

Schema identifier ($id): "http://devicetree.org/schemas/iommu/renesas,ipmmu-vmsa.yaml#"

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

Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"

The IPMMU is an IOMMU implementation compatible with the ARM VMSA page tables. It provides address translation for bus masters outside of the CPU, each connected to the IPMMU through a port called micro-TLB.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ipmmu-r8a73a4", "renesas,ipmmu-r8a7742", "renesas,ipmmu-r8a7743", "renesas,ipmmu-r8a7744", "renesas,ipmmu-r8a7745", "renesas,ipmmu-r8a7790", "renesas,ipmmu-r8a7791", "renesas,ipmmu-r8a7793", "renesas,ipmmu-r8a7794"

Item 2

Exact value (const): "renesas,ipmmu-vmsa"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ipmmu-r8a774a1", "renesas,ipmmu-r8a774b1", "renesas,ipmmu-r8a774c0", "renesas,ipmmu-r8a774e1", "renesas,ipmmu-r8a7795", "renesas,ipmmu-r8a7796", "renesas,ipmmu-r8a77961", "renesas,ipmmu-r8a77965", "renesas,ipmmu-r8a77970", "renesas,ipmmu-r8a77980", "renesas,ipmmu-r8a77990", "renesas,ipmmu-r8a77995"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "renesas,ipmmu-r8a779a0", "renesas,ipmmu-r8a779f0", "renesas,ipmmu-r8a779g0", "renesas,ipmmu-r8a779h0"

Item 2

Exact value (const): "renesas,rcar-gen4-ipmmu-vmsa"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Specifiers for the MMU fault interrupts. Not required for cache IPMMUs.

Array item rules (items) #

Item 1

non-secure mode

Item 2

secure mode if supported

#iommu-cells — required here #

Exact value (const): 1

The number of the micro-TLB that the device is connected to.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

renesas,ipmmu-main — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

phandle to main IPMMU

Item 2

The interrupt bit number associated with the particular cache IPMMU device. If present, the interrupt bit number needs to match the main IPMMU IMSSTR register. Only used by cache IPMMU instances.

Reference to the main IPMMU.

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

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "interrupts"

Rule 2 #

Required in this object (required): "renesas,ipmmu-main"

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "renesas,ipmmu-vmsa"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,rcar-gen4-ipmmu-vmsa"

When the condition matches (then) #

Properties and child nodes (properties)

renesas,ipmmu-main — not listed as required here

Array item rules (items)

Item 1

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties)

renesas,ipmmu-main — not listed as required here

Array item rules (items)

Item 1

Minimum number of items (minItems): 2

Examples (examples) #

#include <dt-bindings/clock/r8a7791-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>

ipmmu_mx: iommu@fe951000 {
    compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
    reg = <0xfe951000 0x1000>;
    interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
    #iommu-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Line 22: R-Mobile APE6

Line 23: RZ/G1H

Line 24: RZ/G1M

Line 25: RZ/G1N

Line 26: RZ/G1E

Line 27: R-Car H2

Line 28: R-Car M2-W

Line 29: R-Car M2-N

Line 30: R-Car E2

Line 31: R-Mobile APE6 or R-Car Gen2 or RZ/G1

Line 35: RZ/G2M

Line 36: RZ/G2N

Line 37: RZ/G2E

Line 38: RZ/G2H

Line 39: R-Car H3

Line 40: R-Car M3-W

Line 41: R-Car M3-W+

Line 42: R-Car M3-N

Line 43: R-Car V3M

Line 44: R-Car V3H

Line 45: R-Car E3

Line 46: R-Car D3

Line 50: R-Car V3U

Line 51: R-Car S4-8

Line 52: R-Car V4H

Line 53: R-Car V4M

Line 54: R-Car Gen4

Edit this page