File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Documentation/devicetree/bindings/pinctrl Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,17 @@ properties:
47
47
gpio-ranges :
48
48
maxItems : 1
49
49
50
+ interrupt-controller : true
51
+
52
+ ' #interrupt-cells ' :
53
+ const : 2
54
+ description :
55
+ The first cell contains the global GPIO port index, constructed using the
56
+ RZG2L_GPIO() helper macro in <dt-bindings/pinctrl/rzg2l-pinctrl.h> and the
57
+ second cell is used to specify the flag.
58
+ E.g. "interrupts = <RZG2L_GPIO(43, 0) IRQ_TYPE_EDGE_FALLING>;" if P43_0 is
59
+ being used as an interrupt.
60
+
50
61
clocks :
51
62
maxItems : 1
52
63
@@ -110,6 +121,8 @@ required:
110
121
- gpio-controller
111
122
- ' #gpio-cells'
112
123
- gpio-ranges
124
+ - interrupt-controller
125
+ - ' #interrupt-cells'
113
126
- clocks
114
127
- power-domains
115
128
- resets
@@ -126,6 +139,8 @@ examples:
126
139
gpio-controller;
127
140
#gpio-cells = <2>;
128
141
gpio-ranges = <&pinctrl 0 0 392>;
142
+ interrupt-controller;
143
+ #interrupt-cells = <2>;
129
144
clocks = <&cpg CPG_MOD R9A07G044_GPIO_HCLK>;
130
145
resets = <&cpg R9A07G044_GPIO_RSTN>,
131
146
<&cpg R9A07G044_GPIO_PORT_RESETN>,
You can’t perform that action at this time.
0 commit comments