1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iommu/apple 4 $id: http://devicetree.org/schemas/iommu/apple,dart.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Apple DART IOMMU 7 title: Apple DART IOMMU 8 8 9 maintainers: 9 maintainers: 10 - Sven Peter <sven@svenpeter.dev> 10 - Sven Peter <sven@svenpeter.dev> 11 11 12 description: |+ 12 description: |+ 13 Apple SoCs may contain an implementation of 13 Apple SoCs may contain an implementation of their Device Address 14 Resolution Table which provides a mandatory 14 Resolution Table which provides a mandatory layer of address 15 translations for various masters. 15 translations for various masters. 16 16 17 Each DART instance is capable of handling up 17 Each DART instance is capable of handling up to 16 different streams 18 with individual pagetables and page-level re 18 with individual pagetables and page-level read/write protection flags. 19 19 20 This DART IOMMU also raises interrupts in re 20 This DART IOMMU also raises interrupts in response to various 21 fault conditions. 21 fault conditions. 22 22 23 properties: 23 properties: 24 compatible: 24 compatible: 25 enum: 25 enum: 26 - apple,t8103-dart 26 - apple,t8103-dart 27 - apple,t8103-usb4-dart << 28 - apple,t8110-dart 27 - apple,t8110-dart 29 - apple,t6000-dart 28 - apple,t6000-dart 30 29 31 reg: 30 reg: 32 maxItems: 1 31 maxItems: 1 33 32 34 interrupts: 33 interrupts: 35 maxItems: 1 34 maxItems: 1 36 35 37 clocks: 36 clocks: 38 description: 37 description: 39 Reference to the gate clock phandle if r 38 Reference to the gate clock phandle if required for this IOMMU. 40 Optional since not all IOMMUs are attach 39 Optional since not all IOMMUs are attached to a clock gate. 41 40 42 '#iommu-cells': 41 '#iommu-cells': 43 const: 1 42 const: 1 44 description: 43 description: 45 Has to be one. The single cell describes 44 Has to be one. The single cell describes the stream id emitted by 46 a master to the IOMMU. 45 a master to the IOMMU. 47 46 48 power-domains: 47 power-domains: 49 maxItems: 1 48 maxItems: 1 50 49 51 required: 50 required: 52 - compatible 51 - compatible 53 - reg 52 - reg 54 - '#iommu-cells' 53 - '#iommu-cells' 55 - interrupts 54 - interrupts 56 55 57 additionalProperties: false 56 additionalProperties: false 58 57 59 examples: 58 examples: 60 - |+ 59 - |+ 61 dart1: iommu@82f80000 { 60 dart1: iommu@82f80000 { 62 compatible = "apple,t8103-dart"; 61 compatible = "apple,t8103-dart"; 63 reg = <0x82f80000 0x4000>; 62 reg = <0x82f80000 0x4000>; 64 interrupts = <1 781 4>; 63 interrupts = <1 781 4>; 65 #iommu-cells = <1>; 64 #iommu-cells = <1>; 66 }; 65 }; 67 66 68 master1 { 67 master1 { 69 iommus = <&dart1 0>; 68 iommus = <&dart1 0>; 70 }; 69 }; 71 70 72 - |+ 71 - |+ 73 dart2a: iommu@82f00000 { 72 dart2a: iommu@82f00000 { 74 compatible = "apple,t8103-dart"; 73 compatible = "apple,t8103-dart"; 75 reg = <0x82f00000 0x4000>; 74 reg = <0x82f00000 0x4000>; 76 interrupts = <1 781 4>; 75 interrupts = <1 781 4>; 77 #iommu-cells = <1>; 76 #iommu-cells = <1>; 78 }; 77 }; 79 dart2b: iommu@82f80000 { 78 dart2b: iommu@82f80000 { 80 compatible = "apple,t8103-dart"; 79 compatible = "apple,t8103-dart"; 81 reg = <0x82f80000 0x4000>; 80 reg = <0x82f80000 0x4000>; 82 interrupts = <1 781 4>; 81 interrupts = <1 781 4>; 83 #iommu-cells = <1>; 82 #iommu-cells = <1>; 84 }; 83 }; 85 84 86 master2 { 85 master2 { 87 iommus = <&dart2a 0>, <&dart2b 1>; 86 iommus = <&dart2a 0>, <&dart2b 1>; 88 }; 87 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.