Laurent Pinchart | 382457e | 2013-07-26 00:27:41 +0200 | [diff] [blame] | 1 | * Renesas R-Car Timer Pulse Unit PWM Controller |
| 2 | |
| 3 | Required Properties: |
| 4 | |
| 5 | - compatible: should be one of the following. |
| 6 | - "renesas,tpu-r8a73a4": for R8A77A4 (R-Mobile APE6) compatible PWM controller. |
| 7 | - "renesas,tpu-r8a7740": for R8A7740 (R-Mobile A1) compatible PWM controller. |
| 8 | - "renesas,tpu-r8a7790": for R8A7790 (R-Car H2) compatible PWM controller. |
| 9 | - "renesas,tpu-sh7372": for SH7372 (SH-Mobile AP4) compatible PWM controller. |
| 10 | - "renesas,tpu": for generic R-Car TPU PWM controller. |
| 11 | |
| 12 | - reg: Base address and length of each memory resource used by the PWM |
| 13 | controller hardware module. |
| 14 | |
| 15 | - #pwm-cells: should be 3. See pwm.txt in this directory for a description of |
| 16 | the cells format. The only third cell flag supported by this binding is |
| 17 | PWM_POLARITY_INVERTED. |
| 18 | |
| 19 | Please refer to pwm.txt in this directory for details of the common PWM bindings |
| 20 | used by client devices. |
| 21 | |
| 22 | Example: R8A7740 (R-Car A1) TPU controller node |
| 23 | |
| 24 | tpu: pwm@e6600000 { |
| 25 | compatible = "renesas,tpu-r8a7740", "renesas,tpu"; |
| 26 | reg = <0xe6600000 0x100>; |
| 27 | #pwm-cells = <3>; |
| 28 | }; |