@@ -56,18 +56,11 @@ properties:
56
56
reg :
57
57
maxItems : 1
58
58
59
- interrupts :
60
- minItems : 1
61
- maxItems : 44
62
- description :
63
- Must contain an array of encoded interrupt specifiers for
64
- each available GPIO
59
+ interrupt-controller : true
65
60
66
61
' #interrupt-cells ' :
67
62
const : 2
68
63
69
- interrupt-controller : true
70
-
71
64
gpio-controller : true
72
65
73
66
gpio-ranges :
@@ -87,6 +80,7 @@ required:
87
80
- gpio-controller
88
81
- ' #gpio-cells'
89
82
- gpio-ranges
83
+ - interrupt-controller
90
84
91
85
patternProperties :
92
86
' -state$ ' :
@@ -223,22 +217,8 @@ examples:
223
217
pm8921_gpio: gpio@150 {
224
218
compatible = "qcom,pm8921-gpio", "qcom,ssbi-gpio";
225
219
reg = <0x150 0x160>;
226
- interrupts = <192 1>, <193 1>, <194 1>,
227
- <195 1>, <196 1>, <197 1>,
228
- <198 1>, <199 1>, <200 1>,
229
- <201 1>, <202 1>, <203 1>,
230
- <204 1>, <205 1>, <206 1>,
231
- <207 1>, <208 1>, <209 1>,
232
- <210 1>, <211 1>, <212 1>,
233
- <213 1>, <214 1>, <215 1>,
234
- <216 1>, <217 1>, <218 1>,
235
- <219 1>, <220 1>, <221 1>,
236
- <222 1>, <223 1>, <224 1>,
237
- <225 1>, <226 1>, <227 1>,
238
- <228 1>, <229 1>, <230 1>,
239
- <231 1>, <232 1>, <233 1>,
240
- <234 1>, <235 1>;
241
-
220
+ interrupt-controller;
221
+ #interrupt-cells = <2>;
242
222
gpio-controller;
243
223
gpio-ranges = <&pm8921_gpio 0 0 44>;
244
224
#gpio-cells = <2>;
0 commit comments