57 lines · yaml
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/iommu/apple,sart.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Apple SART DMA address filter8 9maintainers:10 - Sven Peter <sven@svenpeter.dev>11 12description:13 Apple SART is a simple address filter for DMA transactions. Regions of14 physical memory must be added to the SART's allow list before any15 DMA can target these. Unlike a proper IOMMU no remapping can be done and16 special support in the consumer driver is required since not all DMA17 transactions of a single device are subject to SART filtering.18 19 SART1 has first been used since at least the A11 (iPhone 8 and iPhone X)20 and allows 36 bit of physical address space and filter entries with sizes21 up to 24 bit.22 23 SART2, first seen in A14 and M1, allows 36 bit of physical address space24 and filter entry size up to 36 bit.25 26 SART3, first seen in M1 Pro/Max, extends both the address space and filter27 entry size to 42 bit.28 29properties:30 compatible:31 oneOf:32 - items:33 - const: apple,t8112-sart34 - const: apple,t6000-sart35 - enum:36 - apple,t6000-sart37 - apple,t8103-sart38 39 reg:40 maxItems: 141 42 power-domains:43 maxItems: 144 45required:46 - compatible47 - reg48 49additionalProperties: false50 51examples:52 - |53 iommu@7bc50000 {54 compatible = "apple,t8103-sart";55 reg = <0x7bc50000 0x4000>;56 };57