diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2015-09-30 04:47:52 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2015-10-06 03:40:45 -0400 |
commit | 7260d25145a1485767efc5d4341405bcb5703eab (patch) | |
tree | 5c6569982bf8877256935d6ee8e392b6cd0386ae /Documentation/devicetree | |
parent | 59d5c8b1537da3bc6a18a4912727bc9287e6af91 (diff) |
pwm: Add device tree binding document for R-Car PWM Timer
Add binding document for Renesas PWM Timer on R-Car SoCs.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt new file mode 100644 index 000000000000..ea0a27b7f8e6 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | * Renesas R-Car PWM Timer Controller | ||
2 | |||
3 | Required Properties: | ||
4 | - compatible: should be one of the following. | ||
5 | - "renesas,pwm-rcar": for generic R-Car compatible PWM Timer | ||
6 | - "renesas,pwm-r8a7778": for R-Car M1A | ||
7 | - "renesas,pwm-r8a7779": for R-Car H1 | ||
8 | - "renesas,pwm-r8a7790": for R-Car H2 | ||
9 | - "renesas,pwm-r8a7791": for R-Car M2-W | ||
10 | - "renesas,pwm-r8a7794": for R-Car E2 | ||
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 | }; | ||