File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed
Documentation/devicetree/bindings/pci Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,21 @@ allOf:
14
14
15
15
properties :
16
16
compatible :
17
- const : xlnx,xdma-host-3.00
17
+ enum :
18
+ - xlnx,xdma-host-3.00
19
+ - xlnx,qdma-host-3.00
18
20
19
21
reg :
20
- maxItems : 1
22
+ items :
23
+ - description : configuration region and XDMA bridge register.
24
+ - description : QDMA bridge register.
25
+ minItems : 1
26
+
27
+ reg-names :
28
+ items :
29
+ - const : cfg
30
+ - const : breg
31
+ minItems : 1
21
32
22
33
ranges :
23
34
maxItems : 2
@@ -76,6 +87,27 @@ required:
76
87
- " #interrupt-cells"
77
88
- interrupt-controller
78
89
90
+ if :
91
+ properties :
92
+ compatible :
93
+ contains :
94
+ enum :
95
+ - xlnx,qdma-host-3.00
96
+ then :
97
+ properties :
98
+ reg :
99
+ minItems : 2
100
+ reg-names :
101
+ minItems : 2
102
+ required :
103
+ - reg-names
104
+ else :
105
+ properties :
106
+ reg :
107
+ maxItems : 1
108
+ reg-names :
109
+ maxItems : 1
110
+
79
111
unevaluatedProperties : false
80
112
81
113
examples :
You can’t perform that action at this time.
0 commit comments