60 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/pwm/ti,omap-dmtimer-pwm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TI dual mode timer PWM controller8 9maintainers:10 - Tony Lindgren <tony@atomide.com>11 12description:13 TI dual mode timer instances have an IO pin for PWM capability14 15allOf:16 - $ref: pwm.yaml#17 18properties:19 compatible:20 const: ti,omap-dmtimer-pwm21 22 "#pwm-cells":23 const: 324 25 ti,timers:26 description: Timer instance phandle for the PWM27 $ref: /schemas/types.yaml#/definitions/phandle28 29 ti,prescaler:30 description: |31 Legacy clock prescaler for timer. The timer counter is prescaled32 with 2^n where n is the prescaler.33 $ref: /schemas/types.yaml#/definitions/uint3234 enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ]35 deprecated: true36 37 ti,clock-source:38 description: |39 Legacy clock for timer, please use assigned-clocks instead.40 0x00 - high-frequency system clock (timer_sys_ck)41 0x01 - 32-kHz always-on clock (timer_32k_ck)42 0x02 - external clock (timer_ext_ck, OMAP2 only)43 $ref: /schemas/types.yaml#/definitions/uint3244 enum: [ 0, 1, 2 ]45 deprecated: true46 47required:48 - compatible49 - ti,timers50 51unevaluatedProperties: false52 53examples:54 - |55 pwm9: pwm {56 compatible = "ti,omap-dmtimer-pwm";57 ti,timers = <&timer9>;58 #pwm-cells = <3>;59 };60