@@ -91,7 +91,8 @@ properties:
maxItems: 1
interrupts:
- maxItems: 1
+ minItems: 1
+ maxItems: 5
clocks:
items:
@@ -183,14 +184,28 @@ allOf:
required:
- mediatek,infracfg
- - if: # The IOMMUs don't have larbs.
- not:
- properties:
- compatible:
- contains:
- const: mediatek,mt8195-iommu-infra
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mediatek,mt8195-iommu-infra
then:
+ properties:
+ interrupts:
+ description: The IOMMU has 5 banks. Each bank has its own interrupt.
+ items:
+ - description: The interrupt for IOMMU bank0
+ - description: The interrupt for IOMMU bank1
+ - description: The interrupt for IOMMU bank2
+ - description: The interrupt for IOMMU bank3
+ - description: The interrupt for IOMMU bank4
+
+ else: # The IOMMUs don't have larbs.
+ properties:
+ interrupts:
+ maxItems: 1
+
required:
- mediatek,larbs