Renesas R-Car PWM Timer Controller

Schema identifier ($id): "http://devicetree.org/schemas/pwm/renesas,pwm-rcar.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,pwm-r8a7742", "renesas,pwm-r8a7743", "renesas,pwm-r8a7744", "renesas,pwm-r8a7745", "renesas,pwm-r8a77470", "renesas,pwm-r8a774a1", "renesas,pwm-r8a774b1", "renesas,pwm-r8a774c0", "renesas,pwm-r8a774e1", "renesas,pwm-r8a7778", "renesas,pwm-r8a7779", "renesas,pwm-r8a7790", "renesas,pwm-r8a7791", "renesas,pwm-r8a7794", "renesas,pwm-r8a7795", "renesas,pwm-r8a7796", "renesas,pwm-r8a77961", "renesas,pwm-r8a77965", "renesas,pwm-r8a77970", "renesas,pwm-r8a77980", "renesas,pwm-r8a77990", "renesas,pwm-r8a77995", "renesas,pwm-r8a779a0", "renesas,pwm-r8a779g0", "renesas,pwm-r8a779h0"

Item 2

Exact value (const): "renesas,pwm-rcar"

reg — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 2

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "power-domains"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pwm.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,pwm-r8a7778", "renesas,pwm-r8a7779"

When the condition matches (then) #

Required in this object (required): "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a7743-cpg-mssr.h>
#include <dt-bindings/power/r8a7743-sysc.h>

pwm0: pwm@e6e30000 {
    compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
    reg = <0xe6e30000 0x8>;
    clocks = <&cpg CPG_MOD 523>;
    power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
    resets = <&cpg 523>;
    #pwm-cells = <2>;
    pinctrl-0 = <&pwm0_pins>;
    pinctrl-names = "default";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 16: RZ/G1H

Line 17: RZ/G1M

Line 18: RZ/G1N

Line 19: RZ/G1E

Line 20: RZ/G1C

Line 21: RZ/G2M

Line 22: RZ/G2N

Line 23: RZ/G2E

Line 24: RZ/G2H

Line 25: R-Car M1A

Line 26: R-Car H1

Line 27: R-Car H2

Line 28: R-Car M2-W

Line 29: R-Car E2

Line 30: R-Car H3

Line 31: R-Car M3-W

Line 32: R-Car M3-W+

Line 33: R-Car M3-N

Line 34: R-Car V3M

Line 35: R-Car V3H

Line 36: R-Car E3

Line 37: R-Car D3

Line 38: R-Car V3U

Line 39: R-Car V4H

Line 40: R-Car V4M

Line 44: base address and length of the registers block for the PWM.

Line 48: should be 2. See pwm.yaml in this directory for a description of

Line 49: the cells format.

Line 53: clock phandle and specifier pair.

Edit this page