Yoshihiro Shimoda | 7260d25 | 2015-09-30 17:47:52 +0900 | [diff] [blame] | 1 | * Renesas R-Car PWM Timer Controller |
| 2 | |
| 3 | Required Properties: |
Yoshihiro Shimoda | cdc1370 | 2015-10-06 20:28:28 +0900 | [diff] [blame] | 4 | - compatible: should be "renesas,pwm-rcar" and one of the following. |
Yoshihiro Shimoda | 7260d25 | 2015-09-30 17:47:52 +0900 | [diff] [blame] | 5 | - "renesas,pwm-r8a7778": for R-Car M1A |
| 6 | - "renesas,pwm-r8a7779": for R-Car H1 |
| 7 | - "renesas,pwm-r8a7790": for R-Car H2 |
| 8 | - "renesas,pwm-r8a7791": for R-Car M2-W |
| 9 | - "renesas,pwm-r8a7794": for R-Car E2 |
Ulrich Hecht | 396d502 | 2016-03-31 13:39:15 +0200 | [diff] [blame] | 10 | - "renesas,pwm-r8a7795": for R-Car H3 |
Yoshihiro Shimoda | 7260d25 | 2015-09-30 17:47:52 +0900 | [diff] [blame] | 11 | - reg: base address and length of the registers block for the PWM. |
| 12 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of |
| 13 | the cells format. |
| 14 | - clocks: clock phandle and specifier pair. |
| 15 | - pinctrl-0: phandle, referring to a default pin configuration node. |
| 16 | - pinctrl-names: Set to "default". |
| 17 | |
| 18 | Example: R8A7790 (R-Car H2) PWM Timer node |
| 19 | |
| 20 | pwm0: pwm@e6e30000 { |
| 21 | compatible = "renesas,pwm-r8a7790", "renesas,pwm-rcar"; |
| 22 | reg = <0 0xe6e30000 0 0x8>; |
| 23 | #pwm-cells = <2>; |
| 24 | clocks = <&mstp5_clks R8A7790_CLK_PWM>; |
| 25 | pinctrl-0 = <&pwm0_pins>; |
| 26 | pinctrl-names = "default"; |
| 27 | }; |