1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pwm/pwm-tie 4 $id: http://devicetree.org/schemas/pwm/pwm-tiehrpwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI SOC EHRPWM based PWM controller 7 title: TI SOC EHRPWM based PWM controller 8 8 9 maintainers: 9 maintainers: 10 - Vignesh R <vigneshr@ti.com> 10 - Vignesh R <vigneshr@ti.com> 11 11 12 allOf: 12 allOf: 13 - $ref: pwm.yaml# 13 - $ref: pwm.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 oneOf: 17 oneOf: 18 - const: ti,am3352-ehrpwm 18 - const: ti,am3352-ehrpwm 19 - items: 19 - items: 20 - enum: 20 - enum: 21 - ti,da850-ehrpwm 21 - ti,da850-ehrpwm 22 - ti,am4372-ehrpwm 22 - ti,am4372-ehrpwm 23 - ti,dra746-ehrpwm 23 - ti,dra746-ehrpwm 24 - ti,am654-ehrpwm 24 - ti,am654-ehrpwm 25 - ti,am64-epwm 25 - ti,am64-epwm 26 - const: ti,am3352-ehrpwm 26 - const: ti,am3352-ehrpwm 27 27 28 reg: 28 reg: 29 maxItems: 1 29 maxItems: 1 30 30 31 "#pwm-cells": 31 "#pwm-cells": 32 const: 3 32 const: 3 33 description: | 33 description: | 34 See pwm.yaml in this directory for a des 34 See pwm.yaml in this directory for a description of the cells format. 35 The only third cell flag supported by th 35 The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. 36 36 37 clock-names: 37 clock-names: 38 items: 38 items: 39 - const: tbclk 39 - const: tbclk 40 - const: fck 40 - const: fck 41 41 42 clocks: 42 clocks: 43 maxItems: 2 43 maxItems: 2 44 44 45 power-domains: 45 power-domains: 46 maxItems: 1 46 maxItems: 1 47 47 48 required: 48 required: 49 - compatible 49 - compatible 50 - reg 50 - reg 51 - clocks 51 - clocks 52 - clock-names 52 - clock-names 53 53 54 additionalProperties: false 54 additionalProperties: false 55 55 56 examples: 56 examples: 57 - | 57 - | 58 ehrpwm0: pwm@48300200 { /* EHRPWM on am33x 58 ehrpwm0: pwm@48300200 { /* EHRPWM on am33xx */ 59 compatible = "ti,am3352-ehrpwm"; 59 compatible = "ti,am3352-ehrpwm"; 60 #pwm-cells = <3>; 60 #pwm-cells = <3>; 61 reg = <0x48300200 0x100>; 61 reg = <0x48300200 0x100>; 62 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk 62 clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>; 63 clock-names = "tbclk", "fck"; 63 clock-names = "tbclk", "fck"; 64 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.