Skip to content

Commit 3d2deb0

Browse files
krishnareddy-dvwilldeacon
authored andcommitted
dt-bindings: arm-smmu: add binding for Tegra194 SMMU
Add binding for NVIDIA's Tegra194 SoC SMMU. Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/20200718193457.30046-5-vdumpa@nvidia.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent aab5a1c commit 3d2deb0

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

Documentation/devicetree/bindings/iommu/arm,smmu.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ properties:
4444
items:
4545
- const: marvell,ap806-smmu-500
4646
- const: arm,mmu-500
47+
- description: NVIDIA SoCs that program two ARM MMU-500s identically
48+
items:
49+
- enum:
50+
- nvidia,tegra194-smmu
51+
- const: nvidia,smmu-500
4752
- items:
4853
- const: arm,mmu-500
4954
- const: arm,smmu-v2
@@ -61,7 +66,8 @@ properties:
6166
- cavium,smmu-v2
6267

6368
reg:
64-
maxItems: 1
69+
minItems: 1
70+
maxItems: 2
6571

6672
'#global-interrupts':
6773
description: The number of global interrupts exposed by the device.
@@ -144,6 +150,23 @@ required:
144150

145151
additionalProperties: false
146152

153+
allOf:
154+
- if:
155+
properties:
156+
compatible:
157+
contains:
158+
enum:
159+
- nvidia,tegra194-smmu
160+
then:
161+
properties:
162+
reg:
163+
minItems: 2
164+
maxItems: 2
165+
else:
166+
properties:
167+
reg:
168+
maxItems: 1
169+
147170
examples:
148171
- |+
149172
/* SMMU with stream matching or stream indexing */

0 commit comments

Comments
 (0)