Apple DART IOMMU

Schema identifier ($id): "http://devicetree.org/schemas/iommu/apple,dart.yaml#"

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

Maintainers (maintainers): "Sven Peter <sven@svenpeter.dev>"

Apple SoCs may contain an implementation of their Device Address Resolution Table which provides a mandatory layer of address translations for various masters.

Each DART instance is capable of handling up to 16 different streams with individual pagetables and page-level read/write protection flags.

This DART IOMMU also raises interrupts in response to various fault conditions.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "apple,t8103-dart", "apple,t8103-usb4-dart", "apple,t8110-dart", "apple,t6000-dart"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "apple,t6020-dart"

Item 2

Exact value (const): "apple,t8110-dart"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Reference to the gate clock phandle if required for this IOMMU. Optional since not all IOMMUs are attached to a clock gate.

#iommu-cells — required here #

Exact value (const): 1

Has to be one. The single cell describes the stream id emitted by a master to the IOMMU.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

dart1: iommu@82f80000 {
  compatible = "apple,t8103-dart";
  reg = <0x82f80000 0x4000>;
  interrupts = <1 781 4>;
  #iommu-cells = <1>;
};

master1 {
  iommus = <&dart1 0>;
};

dart2a: iommu@82f00000 {
  compatible = "apple,t8103-dart";
  reg = <0x82f00000 0x4000>;
  interrupts = <1 781 4>;
  #iommu-cells = <1>;
};
dart2b: iommu@82f80000 {
  compatible = "apple,t8103-dart";
  reg = <0x82f80000 0x4000>;
  interrupts = <1 781 4>;
  #iommu-cells = <1>;
};

master2 {
  iommus = <&dart2a 0>, <&dart2b 1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page