1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/counter/ti- 4 $id: http://devicetree.org/schemas/counter/ti-eqep.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments Enhanced Quadrature E 7 title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module 8 8 9 maintainers: 9 maintainers: 10 - David Lechner <david@lechnology.com> 10 - David Lechner <david@lechnology.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - ti,am3352-eqep 15 - ti,am3352-eqep 16 - ti,am62-eqep 16 - ti,am62-eqep 17 17 18 reg: 18 reg: 19 maxItems: 1 19 maxItems: 1 20 20 21 interrupts: 21 interrupts: 22 description: The eQEP event interrupt 22 description: The eQEP event interrupt 23 maxItems: 1 23 maxItems: 1 24 24 25 clocks: 25 clocks: 26 description: The functional and interface 26 description: The functional and interface clock that determines the clock 27 rate for the eQEP peripheral. 27 rate for the eQEP peripheral. 28 maxItems: 1 28 maxItems: 1 29 29 30 clock-names: 30 clock-names: 31 const: sysclkout 31 const: sysclkout 32 32 33 power-domains: 33 power-domains: 34 maxItems: 1 34 maxItems: 1 35 35 36 allOf: 36 allOf: 37 - if: 37 - if: 38 properties: 38 properties: 39 compatible: 39 compatible: 40 contains: 40 contains: 41 enum: 41 enum: 42 - ti,am62-eqep 42 - ti,am62-eqep 43 then: 43 then: 44 properties: 44 properties: 45 clock-names: false 45 clock-names: false 46 46 47 required: 47 required: 48 - power-domains 48 - power-domains 49 49 50 required: 50 required: 51 - compatible 51 - compatible 52 - reg 52 - reg 53 - interrupts 53 - interrupts 54 - clocks 54 - clocks 55 55 56 additionalProperties: false 56 additionalProperties: false 57 57 58 examples: 58 examples: 59 - | 59 - | 60 eqep0: counter@180 { 60 eqep0: counter@180 { 61 compatible = "ti,am3352-eqep"; 61 compatible = "ti,am3352-eqep"; 62 reg = <0x180 0x80>; 62 reg = <0x180 0x80>; 63 clocks = <&l4ls_gclk>; 63 clocks = <&l4ls_gclk>; 64 interrupts = <79>; 64 interrupts = <79>; 65 }; 65 }; 66 66 67 ... 67 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.