Skip to content

Commit 3f96a35

Browse files
Hieu Nguyenkartben
authored andcommitted
dts: renesas: Add PWM support for RZ/G3S
Add PWM nodes to Renesas RZ/G3S devicetree Signed-off-by: Hieu Nguyen <[email protected]> Signed-off-by: Binh Nguyen <[email protected]>
1 parent 3a7ccec commit 3f96a35

File tree

1 file changed

+137
-0
lines changed

1 file changed

+137
-0
lines changed

dts/arm/renesas/rz/rzg/r9a08g045.dtsi

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,143 @@
378378
status = "disabled";
379379
};
380380
};
381+
382+
gpt32e0: gpt32e@50048000 {
383+
compatible = "renesas,rz-gpt";
384+
reg = <0x50048000 0xa4>;
385+
channel = <0>;
386+
interrupts = <128 1>, <129 1>, <130 1>, <131 1>, <132 1>,
387+
<133 1>, <134 1>, <135 1>, <136 1>, <137 1>;
388+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
389+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
390+
prescaler = <1>;
391+
status = "disabled";
392+
393+
pwm {
394+
compatible = "renesas,rz-gpt-pwm";
395+
#pwm-cells = <3>;
396+
status = "disabled";
397+
};
398+
};
399+
gpt32e1: gpt32e@50048100 {
400+
compatible = "renesas,rz-gpt";
401+
reg = <0x50048100 0xa4>;
402+
channel = <1>;
403+
interrupts = <141 1>, <142 1>, <143 1>, <144 1>, <145 1>,
404+
<146 1>, <147 1>, <148 1>, <149 1>, <150 1>;
405+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
406+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
407+
prescaler = <1>;
408+
status = "disabled";
409+
410+
pwm {
411+
compatible = "renesas,rz-gpt-pwm";
412+
#pwm-cells = <3>;
413+
status = "disabled";
414+
};
415+
};
416+
gpt32e2: gpt32e@50048200 {
417+
compatible = "renesas,rz-gpt";
418+
reg = <0x50048200 0xa4>;
419+
channel = <2>;
420+
interrupts = <154 1>, <155 1>, <156 1>, <157 1>, <158 1>,
421+
<159 1>, <160 1>, <161 1>, <162 1>, <163 1>;
422+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
423+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
424+
prescaler = <1>;
425+
status = "disabled";
426+
427+
pwm {
428+
compatible = "renesas,rz-gpt-pwm";
429+
#pwm-cells = <3>;
430+
status = "disabled";
431+
};
432+
};
433+
gpt32e3: gpt32e@50048300 {
434+
compatible = "renesas,rz-gpt";
435+
reg = <0x50048300 0xa4>;
436+
channel = <3>;
437+
interrupts = <167 1>, <168 1>, <169 1>, <170 1>, <171 1>,
438+
<172 1>, <173 1>, <174 1>, <175 1>, <176 1>;
439+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
440+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
441+
prescaler = <1>;
442+
status = "disabled";
443+
444+
pwm {
445+
compatible = "renesas,rz-gpt-pwm";
446+
#pwm-cells = <3>;
447+
status = "disabled";
448+
};
449+
};
450+
gpt32e4: gpt32e@50048400 {
451+
compatible = "renesas,rz-gpt";
452+
reg = <0x50048400 0xa4>;
453+
channel = <4>;
454+
interrupts = <180 1>, <181 1>, <182 1>, <183 1>, <184 1>,
455+
<185 1>, <186 1>, <187 1>, <188 1>, <189 1>;
456+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
457+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
458+
prescaler = <1>;
459+
status = "disabled";
460+
461+
pwm {
462+
compatible = "renesas,rz-gpt-pwm";
463+
#pwm-cells = <3>;
464+
status = "disabled";
465+
};
466+
};
467+
gpt32e5: gpt32e@50048500 {
468+
compatible = "renesas,rz-gpt";
469+
reg = <0x50048500 0xa4>;
470+
channel = <5>;
471+
interrupts = <193 1>, <194 1>, <195 1>, <196 1>, <197 1>,
472+
<198 1>, <199 1>, <200 1>, <201 1>, <202 1>;
473+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
474+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
475+
prescaler = <1>;
476+
status = "disabled";
477+
478+
pwm {
479+
compatible = "renesas,rz-gpt-pwm";
480+
#pwm-cells = <3>;
481+
status = "disabled";
482+
};
483+
};
484+
gpt32e6: gpt32e@50048600 {
485+
compatible = "renesas,rz-gpt";
486+
reg = <0x50048600 0xa4>;
487+
channel = <6>;
488+
interrupts = <206 1>, <207 1>, <208 1>, <209 1>, <210 1>,
489+
<211 1>, <212 1>, <213 1>, <214 1>, <215 1>;
490+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
491+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
492+
prescaler = <1>;
493+
status = "disabled";
494+
495+
pwm {
496+
compatible = "renesas,rz-gpt-pwm";
497+
#pwm-cells = <3>;
498+
status = "disabled";
499+
};
500+
};
501+
gpt32e7: gpt32e@50048700 {
502+
compatible = "renesas,rz-gpt";
503+
reg = <0x50048700 0xa4>;
504+
channel = <7>;
505+
interrupts = <219 1>, <220 1>, <221 1>, <222 1>, <223 1>,
506+
<224 1>, <225 1>, <226 1>, <227 1>, <228 1>;
507+
interrupt-names = "ccmpa", "ccmpb", "cmpc", "cmpd", "cmpe",
508+
"cmpf", "adtrga", "adtrgb", "ovf", "unf";
509+
prescaler = <1>;
510+
status = "disabled";
511+
512+
pwm {
513+
compatible = "renesas,rz-gpt-pwm";
514+
#pwm-cells = <3>;
515+
status = "disabled";
516+
};
517+
};
381518
};
382519
};
383520

0 commit comments

Comments
 (0)