GNU Linux-libre 4.19.295-gnu1
[releases.git] / Documentation / devicetree / bindings / pwm / renesas,pwm-rcar.txt
1 * Renesas R-Car PWM Timer Controller
2
3 Required Properties:
4 - compatible: should be "renesas,pwm-rcar" and one of the following.
5  - "renesas,pwm-r8a7743": for RZ/G1M
6  - "renesas,pwm-r8a7745": for RZ/G1E
7  - "renesas,pwm-r8a7778": for R-Car M1A
8  - "renesas,pwm-r8a7779": for R-Car H1
9  - "renesas,pwm-r8a7790": for R-Car H2
10  - "renesas,pwm-r8a7791": for R-Car M2-W
11  - "renesas,pwm-r8a7794": for R-Car E2
12  - "renesas,pwm-r8a7795": for R-Car H3
13  - "renesas,pwm-r8a7796": for R-Car M3-W
14  - "renesas,pwm-r8a77965": for R-Car M3-N
15  - "renesas,pwm-r8a77990": for R-Car E3
16  - "renesas,pwm-r8a77995": for R-Car D3
17 - reg: base address and length of the registers block for the PWM.
18 - #pwm-cells: should be 2. See pwm.txt in this directory for a description of
19   the cells format.
20 - clocks: clock phandle and specifier pair.
21 - pinctrl-0: phandle, referring to a default pin configuration node.
22 - pinctrl-names: Set to "default".
23
24 Example: R8A7743 (RZ/G1M) PWM Timer node
25
26         pwm0: pwm@e6e30000 {
27                 compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
28                 reg = <0 0xe6e30000 0 0x8>;
29                 clocks = <&cpg CPG_MOD 523>;
30                 power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
31                 resets = <&cpg 523>;
32                 #pwm-cells = <2>;
33                 pinctrl-0 = <&pwm0_pins>;
34                 pinctrl-names = "default";
35         };