Commit 3d2deb0c authored by Krishna Reddy's avatar Krishna Reddy Committed by Will Deacon

dt-bindings: arm-smmu: add binding for Tegra194 SMMU

Add binding for NVIDIA's Tegra194 SoC SMMU.
Signed-off-by: default avatarKrishna Reddy <vdumpa@nvidia.com>
Reviewed-by: default avatarJon Hunter <jonathanh@nvidia.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200718193457.30046-5-vdumpa@nvidia.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent aab5a1c8
...@@ -44,6 +44,11 @@ properties: ...@@ -44,6 +44,11 @@ properties:
items: items:
- const: marvell,ap806-smmu-500 - const: marvell,ap806-smmu-500
- const: arm,mmu-500 - const: arm,mmu-500
- description: NVIDIA SoCs that program two ARM MMU-500s identically
items:
- enum:
- nvidia,tegra194-smmu
- const: nvidia,smmu-500
- items: - items:
- const: arm,mmu-500 - const: arm,mmu-500
- const: arm,smmu-v2 - const: arm,smmu-v2
...@@ -61,7 +66,8 @@ properties: ...@@ -61,7 +66,8 @@ properties:
- cavium,smmu-v2 - cavium,smmu-v2
reg: reg:
maxItems: 1 minItems: 1
maxItems: 2
'#global-interrupts': '#global-interrupts':
description: The number of global interrupts exposed by the device. description: The number of global interrupts exposed by the device.
...@@ -144,6 +150,23 @@ required: ...@@ -144,6 +150,23 @@ required:
additionalProperties: false additionalProperties: false
allOf:
- if:
properties:
compatible:
contains:
enum:
- nvidia,tegra194-smmu
then:
properties:
reg:
minItems: 2
maxItems: 2
else:
properties:
reg:
maxItems: 1
examples: examples:
- |+ - |+
/* SMMU with stream matching or stream indexing */ /* SMMU with stream matching or stream indexing */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment