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-tiecap.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI SOC ECAP based APWM controller 7 title: TI SOC ECAP based APWM 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-ecap 18 - const: ti,am3352-ecap 19 - items: 19 - items: 20 - enum: 20 - enum: 21 - ti,da850-ecap 21 - ti,da850-ecap 22 - ti,am4372-ecap 22 - ti,am4372-ecap 23 - ti,dra746-ecap 23 - ti,dra746-ecap 24 - ti,k2g-ecap 24 - ti,k2g-ecap 25 - ti,am654-ecap 25 - ti,am654-ecap 26 - ti,am64-ecap 26 - ti,am64-ecap 27 - const: ti,am3352-ecap 27 - const: ti,am3352-ecap 28 28 29 reg: 29 reg: 30 maxItems: 1 30 maxItems: 1 31 31 32 "#pwm-cells": 32 "#pwm-cells": 33 const: 3 33 const: 3 34 description: | 34 description: | 35 See pwm.yaml in this directory for a des 35 See pwm.yaml in this directory for a description of the cells format. 36 The only third cell flag supported by th 36 The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. 37 37 38 clock-names: 38 clock-names: 39 const: fck 39 const: fck 40 40 41 clocks: 41 clocks: 42 maxItems: 1 42 maxItems: 1 43 43 44 power-domains: 44 power-domains: 45 maxItems: 1 45 maxItems: 1 46 46 47 required: 47 required: 48 - compatible 48 - compatible 49 - reg 49 - reg >> 50 - "#pwm-cells" 50 - clocks 51 - clocks 51 - clock-names 52 - clock-names 52 53 53 additionalProperties: false 54 additionalProperties: false 54 55 55 examples: 56 examples: 56 - | 57 - | 57 ecap0: pwm@48300100 { /* ECAP on am33xx */ 58 ecap0: pwm@48300100 { /* ECAP on am33xx */ 58 compatible = "ti,am3352-ecap"; 59 compatible = "ti,am3352-ecap"; 59 #pwm-cells = <3>; 60 #pwm-cells = <3>; 60 reg = <0x48300100 0x80>; 61 reg = <0x48300100 0x80>; 61 clocks = <&l4ls_gclk>; 62 clocks = <&l4ls_gclk>; 62 clock-names = "fck"; 63 clock-names = "fck"; 63 }; 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.