Skip to content

Commit 371c358

Browse files
cpackham-atlnztsbogend
authored andcommitted
dt-bindings: interrupt-controller: realtek,rtl-intc: Add rtl9300-intc
Add a compatible string for the interrupt controller found on the rtl930x SoCs. The interrupt controller has registers for VPE1 so these are added as a second reg cell. Signed-off-by: Chris Packham <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 93eed63 commit 371c358

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ properties:
2525
- items:
2626
- enum:
2727
- realtek,rtl8380-intc
28+
- realtek,rtl9300-intc
2829
- const: realtek,rtl-intc
2930
- const: realtek,rtl-intc
3031
deprecated: true
@@ -35,7 +36,10 @@ properties:
3536
const: 1
3637

3738
reg:
38-
maxItems: 1
39+
minItems: 1
40+
items:
41+
- description: vpe0 registers
42+
- description: vpe1 registers
3943

4044
interrupts:
4145
minItems: 1
@@ -71,6 +75,20 @@ allOf:
7175
else:
7276
required:
7377
- interrupts
78+
- if:
79+
properties:
80+
compatible:
81+
contains:
82+
const: realtek,rtl9300-intc
83+
then:
84+
properties:
85+
reg:
86+
minItems: 2
87+
maxItems: 2
88+
else:
89+
properties:
90+
reg:
91+
maxItems: 1
7492

7593
additionalProperties: false
7694

0 commit comments

Comments
 (0)