12a197ce6SYoshihiro Kaneko# SPDX-License-Identifier: GPL-2.0 22a197ce6SYoshihiro Kaneko%YAML 1.2 32a197ce6SYoshihiro Kaneko--- 42a197ce6SYoshihiro Kaneko$id: http://devicetree.org/schemas/pwm/renesas,pwm-rcar.yaml# 52a197ce6SYoshihiro Kaneko$schema: http://devicetree.org/meta-schemas/core.yaml# 62a197ce6SYoshihiro Kaneko 72a197ce6SYoshihiro Kanekotitle: Renesas R-Car PWM Timer Controller 82a197ce6SYoshihiro Kaneko 92a197ce6SYoshihiro Kanekomaintainers: 102a197ce6SYoshihiro Kaneko - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 112a197ce6SYoshihiro Kaneko 122a197ce6SYoshihiro Kanekoproperties: 132a197ce6SYoshihiro Kaneko compatible: 142a197ce6SYoshihiro Kaneko items: 152a197ce6SYoshihiro Kaneko - enum: 162a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7743 # RZ/G1M 172a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7744 # RZ/G1N 182a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7745 # RZ/G1E 192a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77470 # RZ/G1C 202a197ce6SYoshihiro Kaneko - renesas,pwm-r8a774a1 # RZ/G2M 2197bb24a6SBiju Das - renesas,pwm-r8a774b1 # RZ/G2N 222a197ce6SYoshihiro Kaneko - renesas,pwm-r8a774c0 # RZ/G2E 23*0142ee3fSMarian-Cristian Rotariu - renesas,pwm-r8a774e1 # RZ/G2H 242a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7778 # R-Car M1A 252a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7779 # R-Car H1 262a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7790 # R-Car H2 272a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7791 # R-Car M2-W 282a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7794 # R-Car E2 292a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7795 # R-Car H3 302a197ce6SYoshihiro Kaneko - renesas,pwm-r8a7796 # R-Car M3-W 3107b053ffSYoshihiro Shimoda - renesas,pwm-r8a77961 # R-Car M3-W+ 322a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77965 # R-Car M3-N 332a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77970 # R-Car V3M 342a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77980 # R-Car V3H 352a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77990 # R-Car E3 362a197ce6SYoshihiro Kaneko - renesas,pwm-r8a77995 # R-Car D3 372a197ce6SYoshihiro Kaneko - const: renesas,pwm-rcar 382a197ce6SYoshihiro Kaneko 392a197ce6SYoshihiro Kaneko reg: 402a197ce6SYoshihiro Kaneko # base address and length of the registers block for the PWM. 412a197ce6SYoshihiro Kaneko maxItems: 1 422a197ce6SYoshihiro Kaneko 432a197ce6SYoshihiro Kaneko '#pwm-cells': 4489650a1eSKrzysztof Kozlowski # should be 2. See pwm.yaml in this directory for a description of 452a197ce6SYoshihiro Kaneko # the cells format. 462a197ce6SYoshihiro Kaneko const: 2 472a197ce6SYoshihiro Kaneko 482a197ce6SYoshihiro Kaneko clocks: 492a197ce6SYoshihiro Kaneko # clock phandle and specifier pair. 502a197ce6SYoshihiro Kaneko maxItems: 1 512a197ce6SYoshihiro Kaneko 522a197ce6SYoshihiro Kaneko power-domains: 532a197ce6SYoshihiro Kaneko maxItems: 1 542a197ce6SYoshihiro Kaneko 552a197ce6SYoshihiro Kaneko resets: 562a197ce6SYoshihiro Kaneko maxItems: 1 572a197ce6SYoshihiro Kaneko 582a197ce6SYoshihiro Kanekorequired: 592a197ce6SYoshihiro Kaneko - compatible 602a197ce6SYoshihiro Kaneko - reg 612a197ce6SYoshihiro Kaneko - '#pwm-cells' 622a197ce6SYoshihiro Kaneko - clocks 632a197ce6SYoshihiro Kaneko 642a197ce6SYoshihiro KanekoadditionalProperties: false 652a197ce6SYoshihiro Kaneko 662a197ce6SYoshihiro Kanekoexamples: 672a197ce6SYoshihiro Kaneko - | 682a197ce6SYoshihiro Kaneko #include <dt-bindings/clock/r8a7743-cpg-mssr.h> 692a197ce6SYoshihiro Kaneko #include <dt-bindings/power/r8a7743-sysc.h> 702a197ce6SYoshihiro Kaneko 712a197ce6SYoshihiro Kaneko pwm0: pwm@e6e30000 { 722a197ce6SYoshihiro Kaneko compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar"; 73fba56184SRob Herring reg = <0xe6e30000 0x8>; 742a197ce6SYoshihiro Kaneko clocks = <&cpg CPG_MOD 523>; 752a197ce6SYoshihiro Kaneko power-domains = <&sysc R8A7743_PD_ALWAYS_ON>; 762a197ce6SYoshihiro Kaneko resets = <&cpg 523>; 772a197ce6SYoshihiro Kaneko #pwm-cells = <2>; 782a197ce6SYoshihiro Kaneko pinctrl-0 = <&pwm0_pins>; 792a197ce6SYoshihiro Kaneko pinctrl-names = "default"; 802a197ce6SYoshihiro Kaneko }; 81