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 const: apple,t8103-dart 26 - apple,t8103-dart << 27 - apple,t8103-usb4-dart << 28 - apple,t8110-dart << 29 - apple,t6000-dart << 30 26 31 reg: 27 reg: 32 maxItems: 1 28 maxItems: 1 33 29 34 interrupts: 30 interrupts: 35 maxItems: 1 31 maxItems: 1 36 32 37 clocks: 33 clocks: 38 description: 34 description: 39 Reference to the gate clock phandle if r 35 Reference to the gate clock phandle if required for this IOMMU. 40 Optional since not all IOMMUs are attach 36 Optional since not all IOMMUs are attached to a clock gate. 41 37 42 '#iommu-cells': 38 '#iommu-cells': 43 const: 1 39 const: 1 44 description: 40 description: 45 Has to be one. The single cell describes 41 Has to be one. The single cell describes the stream id emitted by 46 a master to the IOMMU. 42 a master to the IOMMU. 47 << 48 power-domains: << 49 maxItems: 1 << 50 43 51 required: 44 required: 52 - compatible 45 - compatible 53 - reg 46 - reg 54 - '#iommu-cells' 47 - '#iommu-cells' 55 - interrupts 48 - interrupts 56 49 57 additionalProperties: false 50 additionalProperties: false 58 51 59 examples: 52 examples: 60 - |+ 53 - |+ 61 dart1: iommu@82f80000 { 54 dart1: iommu@82f80000 { 62 compatible = "apple,t8103-dart"; 55 compatible = "apple,t8103-dart"; 63 reg = <0x82f80000 0x4000>; 56 reg = <0x82f80000 0x4000>; 64 interrupts = <1 781 4>; 57 interrupts = <1 781 4>; 65 #iommu-cells = <1>; 58 #iommu-cells = <1>; 66 }; 59 }; 67 60 68 master1 { 61 master1 { 69 iommus = <&dart1 0>; 62 iommus = <&dart1 0>; 70 }; 63 }; 71 64 72 - |+ 65 - |+ 73 dart2a: iommu@82f00000 { 66 dart2a: iommu@82f00000 { 74 compatible = "apple,t8103-dart"; 67 compatible = "apple,t8103-dart"; 75 reg = <0x82f00000 0x4000>; 68 reg = <0x82f00000 0x4000>; 76 interrupts = <1 781 4>; 69 interrupts = <1 781 4>; 77 #iommu-cells = <1>; 70 #iommu-cells = <1>; 78 }; 71 }; 79 dart2b: iommu@82f80000 { 72 dart2b: iommu@82f80000 { 80 compatible = "apple,t8103-dart"; 73 compatible = "apple,t8103-dart"; 81 reg = <0x82f80000 0x4000>; 74 reg = <0x82f80000 0x4000>; 82 interrupts = <1 781 4>; 75 interrupts = <1 781 4>; 83 #iommu-cells = <1>; 76 #iommu-cells = <1>; 84 }; 77 }; 85 78 86 master2 { 79 master2 { 87 iommus = <&dart2a 0>, <&dart2b 1>; 80 iommus = <&dart2a 0>, <&dart2b 1>; 88 }; 81 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.