TI dual mode timer PWM controller

Schema identifier ($id): "http://devicetree.org/schemas/pwm/ti,omap-dmtimer-pwm.yaml#"

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

Maintainers (maintainers): "Tony Lindgren <tony@atomide.com>"

TI dual mode timer instances have an IO pin for PWM capability

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,omap-dmtimer-pwm"

#pwm-cells — not listed as required here #

Exact value (const): 3

ti,timers — required here #

Timer instance phandle for the PWM

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

ti,prescaler — not listed as required here #

Legacy clock prescaler for timer. The timer counter is prescaled with 2^n where n is the prescaler.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7

Deprecated (deprecated): true

ti,clock-source — not listed as required here #

Legacy clock for timer, please use assigned-clocks instead. 0x00 - high-frequency system clock (timer_sys_ck) 0x01 - 32-kHz always-on clock (timer_32k_ck) 0x02 - external clock (timer_ext_ck, OMAP2 only)

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Deprecated (deprecated): true

Required in this object (required): "compatible", "ti,timers"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

pwm9: pwm {
  compatible = "ti,omap-dmtimer-pwm";
  ti,timers = <&timer9>;
  #pwm-cells = <3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page