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 const: ti,am3352-eqep 15 - ti,am3352-eqep << 16 - ti,am62-eqep << 17 15 18 reg: 16 reg: 19 maxItems: 1 17 maxItems: 1 20 18 21 interrupts: 19 interrupts: 22 description: The eQEP event interrupt 20 description: The eQEP event interrupt 23 maxItems: 1 21 maxItems: 1 24 22 25 clocks: 23 clocks: 26 description: The functional and interface !! 24 description: The clock that determines the SYSCLKOUT rate for the eQEP 27 rate for the eQEP peripheral. !! 25 peripheral. 28 maxItems: 1 26 maxItems: 1 29 27 30 clock-names: 28 clock-names: 31 const: sysclkout 29 const: sysclkout 32 30 33 power-domains: << 34 maxItems: 1 << 35 << 36 allOf: << 37 - if: << 38 properties: << 39 compatible: << 40 contains: << 41 enum: << 42 - ti,am62-eqep << 43 then: << 44 properties: << 45 clock-names: false << 46 << 47 required: << 48 - power-domains << 49 << 50 required: 31 required: 51 - compatible 32 - compatible 52 - reg 33 - reg 53 - interrupts 34 - interrupts 54 - clocks 35 - clocks >> 36 - clock-names 55 37 56 additionalProperties: false 38 additionalProperties: false 57 39 58 examples: 40 examples: 59 - | 41 - | 60 eqep0: counter@180 { 42 eqep0: counter@180 { 61 compatible = "ti,am3352-eqep"; 43 compatible = "ti,am3352-eqep"; 62 reg = <0x180 0x80>; 44 reg = <0x180 0x80>; 63 clocks = <&l4ls_gclk>; 45 clocks = <&l4ls_gclk>; >> 46 clock-names = "sysclkout"; 64 interrupts = <79>; 47 interrupts = <79>; 65 }; 48 }; 66 49 67 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.