xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/renesas,rzg2l-gpt.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/renesas,rzg2l-gpt.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Renesas RZ/G2L General PWM Timer (GPT)
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Biju Das <biju.das.jz@bp.renesas.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription: |
13*ae5de77eSEmmanuel Vadot  RZ/G2L General PWM Timer (GPT) composed of 8 channels with 32-bit timer
14*ae5de77eSEmmanuel Vadot  (GPT32E). It supports the following functions
15*ae5de77eSEmmanuel Vadot  * 32 bits x 8 channels.
16*ae5de77eSEmmanuel Vadot  * Up-counting or down-counting (saw waves) or up/down-counting
17*ae5de77eSEmmanuel Vadot    (triangle waves) for each counter.
18*ae5de77eSEmmanuel Vadot  * Clock sources independently selectable for each channel.
19*ae5de77eSEmmanuel Vadot  * Two I/O pins per channel.
20*ae5de77eSEmmanuel Vadot  * Two output compare/input capture registers per channel.
21*ae5de77eSEmmanuel Vadot  * For the two output compare/input capture registers of each channel,
22*ae5de77eSEmmanuel Vadot    four registers are provided as buffer registers and are capable of
23*ae5de77eSEmmanuel Vadot    operating as comparison registers when buffering is not in use.
24*ae5de77eSEmmanuel Vadot  * In output compare operation, buffer switching can be at crests or
25*ae5de77eSEmmanuel Vadot    troughs, enabling the generation of laterally asymmetric PWM waveforms.
26*ae5de77eSEmmanuel Vadot  * Registers for setting up frame cycles in each channel (with capability
27*ae5de77eSEmmanuel Vadot    for generating interrupts at overflow or underflow)
28*ae5de77eSEmmanuel Vadot  * Generation of dead times in PWM operation.
29*ae5de77eSEmmanuel Vadot  * Synchronous starting, stopping and clearing counters for arbitrary
30*ae5de77eSEmmanuel Vadot    channels.
31*ae5de77eSEmmanuel Vadot  * Starting, stopping, clearing and up/down counters in response to input
32*ae5de77eSEmmanuel Vadot    level comparison.
33*ae5de77eSEmmanuel Vadot  * Starting, clearing, stopping and up/down counters in response to a
34*ae5de77eSEmmanuel Vadot    maximum of four external triggers.
35*ae5de77eSEmmanuel Vadot  * Output pin disable function by dead time error and detected
36*ae5de77eSEmmanuel Vadot    short-circuits between output pins.
37*ae5de77eSEmmanuel Vadot  * A/D converter start triggers can be generated (GPT32E0 to GPT32E3)
38*ae5de77eSEmmanuel Vadot  * Enables the noise filter for input capture and external trigger
39*ae5de77eSEmmanuel Vadot    operation.
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel Vadot  The below pwm channels are supported.
42*ae5de77eSEmmanuel Vadot    pwm0  - GPT32E0.GTIOC0A channel
43*ae5de77eSEmmanuel Vadot    pwm1  - GPT32E0.GTIOC0B channel
44*ae5de77eSEmmanuel Vadot    pwm2  - GPT32E1.GTIOC1A channel
45*ae5de77eSEmmanuel Vadot    pwm3  - GPT32E1.GTIOC1B channel
46*ae5de77eSEmmanuel Vadot    pwm4  - GPT32E2.GTIOC2A channel
47*ae5de77eSEmmanuel Vadot    pwm5  - GPT32E2.GTIOC2B channel
48*ae5de77eSEmmanuel Vadot    pwm6  - GPT32E3.GTIOC3A channel
49*ae5de77eSEmmanuel Vadot    pwm7  - GPT32E3.GTIOC3B channel
50*ae5de77eSEmmanuel Vadot    pwm8  - GPT32E4.GTIOC4A channel
51*ae5de77eSEmmanuel Vadot    pwm9  - GPT32E4.GTIOC4B channel
52*ae5de77eSEmmanuel Vadot    pwm10 - GPT32E5.GTIOC5A channel
53*ae5de77eSEmmanuel Vadot    pwm11 - GPT32E5.GTIOC5B channel
54*ae5de77eSEmmanuel Vadot    pwm12 - GPT32E6.GTIOC6A channel
55*ae5de77eSEmmanuel Vadot    pwm13 - GPT32E6.GTIOC6B channel
56*ae5de77eSEmmanuel Vadot    pwm14 - GPT32E7.GTIOC7A channel
57*ae5de77eSEmmanuel Vadot    pwm15 - GPT32E7.GTIOC7B channel
58*ae5de77eSEmmanuel Vadot
59*ae5de77eSEmmanuel Vadotproperties:
60*ae5de77eSEmmanuel Vadot  compatible:
61*ae5de77eSEmmanuel Vadot    items:
62*ae5de77eSEmmanuel Vadot      - enum:
63*ae5de77eSEmmanuel Vadot          - renesas,r9a07g044-gpt  # RZ/G2{L,LC}
64*ae5de77eSEmmanuel Vadot          - renesas,r9a07g054-gpt  # RZ/V2L
65*ae5de77eSEmmanuel Vadot      - const: renesas,rzg2l-gpt
66*ae5de77eSEmmanuel Vadot
67*ae5de77eSEmmanuel Vadot  reg:
68*ae5de77eSEmmanuel Vadot    maxItems: 1
69*ae5de77eSEmmanuel Vadot
70*ae5de77eSEmmanuel Vadot  '#pwm-cells':
71*ae5de77eSEmmanuel Vadot    const: 3
72*ae5de77eSEmmanuel Vadot
73*ae5de77eSEmmanuel Vadot  interrupts:
74*ae5de77eSEmmanuel Vadot    items:
75*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRA input capture/compare match
76*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRB input capture/compare
77*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRC compare match
78*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRD compare match
79*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRE compare match
80*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCCRF compare match
81*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTADTRA compare match
82*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTADTRB compare match
83*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCNT overflow/GTPR compare match
84*ae5de77eSEmmanuel Vadot      - description: GPT32E0.GTCNT underflow
85*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRA input capture/compare match
86*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRB input capture/compare
87*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRC compare match
88*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRD compare match
89*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRE compare match
90*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCCRF compare match
91*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTADTRA compare match
92*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTADTRB compare match
93*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCNT overflow/GTPR compare match
94*ae5de77eSEmmanuel Vadot      - description: GPT32E1.GTCNT underflow
95*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRA input capture/compare match
96*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRB input capture/compare
97*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRC compare match
98*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRD compare match
99*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRE compare match
100*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCCRF compare match
101*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTADTRA compare match
102*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTADTRB compare match
103*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCNT overflow/GTPR compare match
104*ae5de77eSEmmanuel Vadot      - description: GPT32E2.GTCNT underflow
105*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRA input capture/compare match
106*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRB input capture/compare
107*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRC compare match
108*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRD compare match
109*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRE compare match
110*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCCRF compare match
111*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTADTRA compare match
112*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTADTRB compare match
113*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCNT overflow/GTPR compare match
114*ae5de77eSEmmanuel Vadot      - description: GPT32E3.GTCNT underflow
115*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRA input capture/compare match
116*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRB input capture/compare
117*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRC compare match
118*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRD compare match
119*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRE compare match
120*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCCRF compare match
121*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTADTRA compare match
122*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTADTRB compare match
123*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCNT overflow/GTPR compare match
124*ae5de77eSEmmanuel Vadot      - description: GPT32E4.GTCNT underflow
125*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRA input capture/compare match
126*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRB input capture/compare
127*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRC compare match
128*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRD compare match
129*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRE compare match
130*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCCRF compare match
131*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTADTRA compare match
132*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTADTRB compare match
133*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCNT overflow/GTPR compare match
134*ae5de77eSEmmanuel Vadot      - description: GPT32E5.GTCNT underflow
135*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRA input capture/compare match
136*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRB input capture/compare
137*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRC compare match
138*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRD compare match
139*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRE compare match
140*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCCRF compare match
141*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTADTRA compare match
142*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTADTRB compare match
143*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCNT overflow/GTPR compare match
144*ae5de77eSEmmanuel Vadot      - description: GPT32E6.GTCNT underflow
145*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRA input capture/compare match
146*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRB input capture/compare
147*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRC compare match
148*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRD compare match
149*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRE compare match
150*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCCRF compare match
151*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTADTRA compare match
152*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTADTRB compare match
153*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCNT overflow/GTPR compare match
154*ae5de77eSEmmanuel Vadot      - description: GPT32E7.GTCNT underflow
155*ae5de77eSEmmanuel Vadot
156*ae5de77eSEmmanuel Vadot  interrupt-names:
157*ae5de77eSEmmanuel Vadot    items:
158*ae5de77eSEmmanuel Vadot      - const: ccmpa0
159*ae5de77eSEmmanuel Vadot      - const: ccmpb0
160*ae5de77eSEmmanuel Vadot      - const: cmpc0
161*ae5de77eSEmmanuel Vadot      - const: cmpd0
162*ae5de77eSEmmanuel Vadot      - const: cmpe0
163*ae5de77eSEmmanuel Vadot      - const: cmpf0
164*ae5de77eSEmmanuel Vadot      - const: adtrga0
165*ae5de77eSEmmanuel Vadot      - const: adtrgb0
166*ae5de77eSEmmanuel Vadot      - const: ovf0
167*ae5de77eSEmmanuel Vadot      - const: unf0
168*ae5de77eSEmmanuel Vadot      - const: ccmpa1
169*ae5de77eSEmmanuel Vadot      - const: ccmpb1
170*ae5de77eSEmmanuel Vadot      - const: cmpc1
171*ae5de77eSEmmanuel Vadot      - const: cmpd1
172*ae5de77eSEmmanuel Vadot      - const: cmpe1
173*ae5de77eSEmmanuel Vadot      - const: cmpf1
174*ae5de77eSEmmanuel Vadot      - const: adtrga1
175*ae5de77eSEmmanuel Vadot      - const: adtrgb1
176*ae5de77eSEmmanuel Vadot      - const: ovf1
177*ae5de77eSEmmanuel Vadot      - const: unf1
178*ae5de77eSEmmanuel Vadot      - const: ccmpa2
179*ae5de77eSEmmanuel Vadot      - const: ccmpb2
180*ae5de77eSEmmanuel Vadot      - const: cmpc2
181*ae5de77eSEmmanuel Vadot      - const: cmpd2
182*ae5de77eSEmmanuel Vadot      - const: cmpe2
183*ae5de77eSEmmanuel Vadot      - const: cmpf2
184*ae5de77eSEmmanuel Vadot      - const: adtrga2
185*ae5de77eSEmmanuel Vadot      - const: adtrgb2
186*ae5de77eSEmmanuel Vadot      - const: ovf2
187*ae5de77eSEmmanuel Vadot      - const: unf2
188*ae5de77eSEmmanuel Vadot      - const: ccmpa3
189*ae5de77eSEmmanuel Vadot      - const: ccmpb3
190*ae5de77eSEmmanuel Vadot      - const: cmpc3
191*ae5de77eSEmmanuel Vadot      - const: cmpd3
192*ae5de77eSEmmanuel Vadot      - const: cmpe3
193*ae5de77eSEmmanuel Vadot      - const: cmpf3
194*ae5de77eSEmmanuel Vadot      - const: adtrga3
195*ae5de77eSEmmanuel Vadot      - const: adtrgb3
196*ae5de77eSEmmanuel Vadot      - const: ovf3
197*ae5de77eSEmmanuel Vadot      - const: unf3
198*ae5de77eSEmmanuel Vadot      - const: ccmpa4
199*ae5de77eSEmmanuel Vadot      - const: ccmpb4
200*ae5de77eSEmmanuel Vadot      - const: cmpc4
201*ae5de77eSEmmanuel Vadot      - const: cmpd4
202*ae5de77eSEmmanuel Vadot      - const: cmpe4
203*ae5de77eSEmmanuel Vadot      - const: cmpf4
204*ae5de77eSEmmanuel Vadot      - const: adtrga4
205*ae5de77eSEmmanuel Vadot      - const: adtrgb4
206*ae5de77eSEmmanuel Vadot      - const: ovf4
207*ae5de77eSEmmanuel Vadot      - const: unf4
208*ae5de77eSEmmanuel Vadot      - const: ccmpa5
209*ae5de77eSEmmanuel Vadot      - const: ccmpb5
210*ae5de77eSEmmanuel Vadot      - const: cmpc5
211*ae5de77eSEmmanuel Vadot      - const: cmpd5
212*ae5de77eSEmmanuel Vadot      - const: cmpe5
213*ae5de77eSEmmanuel Vadot      - const: cmpf5
214*ae5de77eSEmmanuel Vadot      - const: adtrga5
215*ae5de77eSEmmanuel Vadot      - const: adtrgb5
216*ae5de77eSEmmanuel Vadot      - const: ovf5
217*ae5de77eSEmmanuel Vadot      - const: unf5
218*ae5de77eSEmmanuel Vadot      - const: ccmpa6
219*ae5de77eSEmmanuel Vadot      - const: ccmpb6
220*ae5de77eSEmmanuel Vadot      - const: cmpc6
221*ae5de77eSEmmanuel Vadot      - const: cmpd6
222*ae5de77eSEmmanuel Vadot      - const: cmpe6
223*ae5de77eSEmmanuel Vadot      - const: cmpf6
224*ae5de77eSEmmanuel Vadot      - const: adtrga6
225*ae5de77eSEmmanuel Vadot      - const: adtrgb6
226*ae5de77eSEmmanuel Vadot      - const: ovf6
227*ae5de77eSEmmanuel Vadot      - const: unf6
228*ae5de77eSEmmanuel Vadot      - const: ccmpa7
229*ae5de77eSEmmanuel Vadot      - const: ccmpb7
230*ae5de77eSEmmanuel Vadot      - const: cmpc7
231*ae5de77eSEmmanuel Vadot      - const: cmpd7
232*ae5de77eSEmmanuel Vadot      - const: cmpe7
233*ae5de77eSEmmanuel Vadot      - const: cmpf7
234*ae5de77eSEmmanuel Vadot      - const: adtrga7
235*ae5de77eSEmmanuel Vadot      - const: adtrgb7
236*ae5de77eSEmmanuel Vadot      - const: ovf7
237*ae5de77eSEmmanuel Vadot      - const: unf7
238*ae5de77eSEmmanuel Vadot
239*ae5de77eSEmmanuel Vadot  clocks:
240*ae5de77eSEmmanuel Vadot    maxItems: 1
241*ae5de77eSEmmanuel Vadot
242*ae5de77eSEmmanuel Vadot  power-domains:
243*ae5de77eSEmmanuel Vadot    maxItems: 1
244*ae5de77eSEmmanuel Vadot
245*ae5de77eSEmmanuel Vadot  resets:
246*ae5de77eSEmmanuel Vadot    maxItems: 1
247*ae5de77eSEmmanuel Vadot
248*ae5de77eSEmmanuel Vadotrequired:
249*ae5de77eSEmmanuel Vadot  - compatible
250*ae5de77eSEmmanuel Vadot  - reg
251*ae5de77eSEmmanuel Vadot  - interrupts
252*ae5de77eSEmmanuel Vadot  - interrupt-names
253*ae5de77eSEmmanuel Vadot  - clocks
254*ae5de77eSEmmanuel Vadot  - power-domains
255*ae5de77eSEmmanuel Vadot  - resets
256*ae5de77eSEmmanuel Vadot
257*ae5de77eSEmmanuel VadotallOf:
258*ae5de77eSEmmanuel Vadot  - $ref: pwm.yaml#
259*ae5de77eSEmmanuel Vadot
260*ae5de77eSEmmanuel VadotadditionalProperties: false
261*ae5de77eSEmmanuel Vadot
262*ae5de77eSEmmanuel Vadotexamples:
263*ae5de77eSEmmanuel Vadot  - |
264*ae5de77eSEmmanuel Vadot    #include <dt-bindings/clock/r9a07g044-cpg.h>
265*ae5de77eSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
266*ae5de77eSEmmanuel Vadot
267*ae5de77eSEmmanuel Vadot    gpt: pwm@10048000 {
268*ae5de77eSEmmanuel Vadot        compatible = "renesas,r9a07g044-gpt", "renesas,rzg2l-gpt";
269*ae5de77eSEmmanuel Vadot        reg = <0x10048000 0x800>;
270*ae5de77eSEmmanuel Vadot        interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>,
271*ae5de77eSEmmanuel Vadot                     <GIC_SPI 219 IRQ_TYPE_EDGE_RISING>,
272*ae5de77eSEmmanuel Vadot                     <GIC_SPI 220 IRQ_TYPE_EDGE_RISING>,
273*ae5de77eSEmmanuel Vadot                     <GIC_SPI 221 IRQ_TYPE_EDGE_RISING>,
274*ae5de77eSEmmanuel Vadot                     <GIC_SPI 222 IRQ_TYPE_EDGE_RISING>,
275*ae5de77eSEmmanuel Vadot                     <GIC_SPI 223 IRQ_TYPE_EDGE_RISING>,
276*ae5de77eSEmmanuel Vadot                     <GIC_SPI 224 IRQ_TYPE_EDGE_RISING>,
277*ae5de77eSEmmanuel Vadot                     <GIC_SPI 225 IRQ_TYPE_EDGE_RISING>,
278*ae5de77eSEmmanuel Vadot                     <GIC_SPI 226 IRQ_TYPE_EDGE_RISING>,
279*ae5de77eSEmmanuel Vadot                     <GIC_SPI 227 IRQ_TYPE_EDGE_RISING>,
280*ae5de77eSEmmanuel Vadot                     <GIC_SPI 231 IRQ_TYPE_EDGE_RISING>,
281*ae5de77eSEmmanuel Vadot                     <GIC_SPI 232 IRQ_TYPE_EDGE_RISING>,
282*ae5de77eSEmmanuel Vadot                     <GIC_SPI 233 IRQ_TYPE_EDGE_RISING>,
283*ae5de77eSEmmanuel Vadot                     <GIC_SPI 234 IRQ_TYPE_EDGE_RISING>,
284*ae5de77eSEmmanuel Vadot                     <GIC_SPI 235 IRQ_TYPE_EDGE_RISING>,
285*ae5de77eSEmmanuel Vadot                     <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>,
286*ae5de77eSEmmanuel Vadot                     <GIC_SPI 237 IRQ_TYPE_EDGE_RISING>,
287*ae5de77eSEmmanuel Vadot                     <GIC_SPI 238 IRQ_TYPE_EDGE_RISING>,
288*ae5de77eSEmmanuel Vadot                     <GIC_SPI 239 IRQ_TYPE_EDGE_RISING>,
289*ae5de77eSEmmanuel Vadot                     <GIC_SPI 240 IRQ_TYPE_EDGE_RISING>,
290*ae5de77eSEmmanuel Vadot                     <GIC_SPI 244 IRQ_TYPE_EDGE_RISING>,
291*ae5de77eSEmmanuel Vadot                     <GIC_SPI 245 IRQ_TYPE_EDGE_RISING>,
292*ae5de77eSEmmanuel Vadot                     <GIC_SPI 246 IRQ_TYPE_EDGE_RISING>,
293*ae5de77eSEmmanuel Vadot                     <GIC_SPI 247 IRQ_TYPE_EDGE_RISING>,
294*ae5de77eSEmmanuel Vadot                     <GIC_SPI 248 IRQ_TYPE_EDGE_RISING>,
295*ae5de77eSEmmanuel Vadot                     <GIC_SPI 249 IRQ_TYPE_EDGE_RISING>,
296*ae5de77eSEmmanuel Vadot                     <GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
297*ae5de77eSEmmanuel Vadot                     <GIC_SPI 251 IRQ_TYPE_EDGE_RISING>,
298*ae5de77eSEmmanuel Vadot                     <GIC_SPI 252 IRQ_TYPE_EDGE_RISING>,
299*ae5de77eSEmmanuel Vadot                     <GIC_SPI 253 IRQ_TYPE_EDGE_RISING>,
300*ae5de77eSEmmanuel Vadot                     <GIC_SPI 257 IRQ_TYPE_EDGE_RISING>,
301*ae5de77eSEmmanuel Vadot                     <GIC_SPI 258 IRQ_TYPE_EDGE_RISING>,
302*ae5de77eSEmmanuel Vadot                     <GIC_SPI 259 IRQ_TYPE_EDGE_RISING>,
303*ae5de77eSEmmanuel Vadot                     <GIC_SPI 260 IRQ_TYPE_EDGE_RISING>,
304*ae5de77eSEmmanuel Vadot                     <GIC_SPI 261 IRQ_TYPE_EDGE_RISING>,
305*ae5de77eSEmmanuel Vadot                     <GIC_SPI 262 IRQ_TYPE_EDGE_RISING>,
306*ae5de77eSEmmanuel Vadot                     <GIC_SPI 263 IRQ_TYPE_EDGE_RISING>,
307*ae5de77eSEmmanuel Vadot                     <GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
308*ae5de77eSEmmanuel Vadot                     <GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
309*ae5de77eSEmmanuel Vadot                     <GIC_SPI 266 IRQ_TYPE_EDGE_RISING>,
310*ae5de77eSEmmanuel Vadot                     <GIC_SPI 270 IRQ_TYPE_EDGE_RISING>,
311*ae5de77eSEmmanuel Vadot                     <GIC_SPI 271 IRQ_TYPE_EDGE_RISING>,
312*ae5de77eSEmmanuel Vadot                     <GIC_SPI 272 IRQ_TYPE_EDGE_RISING>,
313*ae5de77eSEmmanuel Vadot                     <GIC_SPI 273 IRQ_TYPE_EDGE_RISING>,
314*ae5de77eSEmmanuel Vadot                     <GIC_SPI 274 IRQ_TYPE_EDGE_RISING>,
315*ae5de77eSEmmanuel Vadot                     <GIC_SPI 275 IRQ_TYPE_EDGE_RISING>,
316*ae5de77eSEmmanuel Vadot                     <GIC_SPI 276 IRQ_TYPE_EDGE_RISING>,
317*ae5de77eSEmmanuel Vadot                     <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>,
318*ae5de77eSEmmanuel Vadot                     <GIC_SPI 278 IRQ_TYPE_EDGE_RISING>,
319*ae5de77eSEmmanuel Vadot                     <GIC_SPI 279 IRQ_TYPE_EDGE_RISING>,
320*ae5de77eSEmmanuel Vadot                     <GIC_SPI 283 IRQ_TYPE_EDGE_RISING>,
321*ae5de77eSEmmanuel Vadot                     <GIC_SPI 284 IRQ_TYPE_EDGE_RISING>,
322*ae5de77eSEmmanuel Vadot                     <GIC_SPI 285 IRQ_TYPE_EDGE_RISING>,
323*ae5de77eSEmmanuel Vadot                     <GIC_SPI 286 IRQ_TYPE_EDGE_RISING>,
324*ae5de77eSEmmanuel Vadot                     <GIC_SPI 287 IRQ_TYPE_EDGE_RISING>,
325*ae5de77eSEmmanuel Vadot                     <GIC_SPI 288 IRQ_TYPE_EDGE_RISING>,
326*ae5de77eSEmmanuel Vadot                     <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>,
327*ae5de77eSEmmanuel Vadot                     <GIC_SPI 290 IRQ_TYPE_EDGE_RISING>,
328*ae5de77eSEmmanuel Vadot                     <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>,
329*ae5de77eSEmmanuel Vadot                     <GIC_SPI 292 IRQ_TYPE_EDGE_RISING>,
330*ae5de77eSEmmanuel Vadot                     <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
331*ae5de77eSEmmanuel Vadot                     <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
332*ae5de77eSEmmanuel Vadot                     <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
333*ae5de77eSEmmanuel Vadot                     <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
334*ae5de77eSEmmanuel Vadot                     <GIC_SPI 300 IRQ_TYPE_EDGE_RISING>,
335*ae5de77eSEmmanuel Vadot                     <GIC_SPI 301 IRQ_TYPE_EDGE_RISING>,
336*ae5de77eSEmmanuel Vadot                     <GIC_SPI 302 IRQ_TYPE_EDGE_RISING>,
337*ae5de77eSEmmanuel Vadot                     <GIC_SPI 303 IRQ_TYPE_EDGE_RISING>,
338*ae5de77eSEmmanuel Vadot                     <GIC_SPI 304 IRQ_TYPE_EDGE_RISING>,
339*ae5de77eSEmmanuel Vadot                     <GIC_SPI 305 IRQ_TYPE_EDGE_RISING>,
340*ae5de77eSEmmanuel Vadot                     <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
341*ae5de77eSEmmanuel Vadot                     <GIC_SPI 310 IRQ_TYPE_EDGE_RISING>,
342*ae5de77eSEmmanuel Vadot                     <GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
343*ae5de77eSEmmanuel Vadot                     <GIC_SPI 312 IRQ_TYPE_EDGE_RISING>,
344*ae5de77eSEmmanuel Vadot                     <GIC_SPI 313 IRQ_TYPE_EDGE_RISING>,
345*ae5de77eSEmmanuel Vadot                     <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
346*ae5de77eSEmmanuel Vadot                     <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>,
347*ae5de77eSEmmanuel Vadot                     <GIC_SPI 316 IRQ_TYPE_EDGE_RISING>,
348*ae5de77eSEmmanuel Vadot                     <GIC_SPI 317 IRQ_TYPE_EDGE_RISING>,
349*ae5de77eSEmmanuel Vadot                     <GIC_SPI 318 IRQ_TYPE_EDGE_RISING>;
350*ae5de77eSEmmanuel Vadot        interrupt-names = "ccmpa0", "ccmpb0", "cmpc0", "cmpd0",
351*ae5de77eSEmmanuel Vadot                          "cmpe0", "cmpf0", "adtrga0", "adtrgb0",
352*ae5de77eSEmmanuel Vadot                          "ovf0", "unf0",
353*ae5de77eSEmmanuel Vadot                          "ccmpa1", "ccmpb1", "cmpc1", "cmpd1",
354*ae5de77eSEmmanuel Vadot                          "cmpe1", "cmpf1", "adtrga1", "adtrgb1",
355*ae5de77eSEmmanuel Vadot                          "ovf1", "unf1",
356*ae5de77eSEmmanuel Vadot                          "ccmpa2", "ccmpb2", "cmpc2", "cmpd2",
357*ae5de77eSEmmanuel Vadot                          "cmpe2", "cmpf2", "adtrga2", "adtrgb2",
358*ae5de77eSEmmanuel Vadot                          "ovf2", "unf2",
359*ae5de77eSEmmanuel Vadot                          "ccmpa3", "ccmpb3", "cmpc3", "cmpd3",
360*ae5de77eSEmmanuel Vadot                          "cmpe3", "cmpf3", "adtrga3", "adtrgb3",
361*ae5de77eSEmmanuel Vadot                          "ovf3", "unf3",
362*ae5de77eSEmmanuel Vadot                          "ccmpa4", "ccmpb4", "cmpc4", "cmpd4",
363*ae5de77eSEmmanuel Vadot                          "cmpe4", "cmpf4", "adtrga4", "adtrgb4",
364*ae5de77eSEmmanuel Vadot                          "ovf4", "unf4",
365*ae5de77eSEmmanuel Vadot                          "ccmpa5", "ccmpb5", "cmpc5", "cmpd5",
366*ae5de77eSEmmanuel Vadot                          "cmpe5", "cmpf5", "adtrga5", "adtrgb5",
367*ae5de77eSEmmanuel Vadot                          "ovf5", "unf5",
368*ae5de77eSEmmanuel Vadot                          "ccmpa6", "ccmpb6", "cmpc6", "cmpd6",
369*ae5de77eSEmmanuel Vadot                          "cmpe6", "cmpf6", "adtrga6", "adtrgb6",
370*ae5de77eSEmmanuel Vadot                          "ovf6", "unf6",
371*ae5de77eSEmmanuel Vadot                          "ccmpa7", "ccmpb7", "cmpc7", "cmpd7",
372*ae5de77eSEmmanuel Vadot                          "cmpe7", "cmpf7", "adtrga7", "adtrgb7",
373*ae5de77eSEmmanuel Vadot                          "ovf7", "unf7";
374*ae5de77eSEmmanuel Vadot        clocks = <&cpg CPG_MOD R9A07G044_GPT_PCLK>;
375*ae5de77eSEmmanuel Vadot        power-domains = <&cpg>;
376*ae5de77eSEmmanuel Vadot        resets = <&cpg R9A07G044_GPT_RST_C>;
377*ae5de77eSEmmanuel Vadot        #pwm-cells = <3>;
378*ae5de77eSEmmanuel Vadot    };
379