1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/counter/ti-eqep.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module 8 9maintainers: 10 - David Lechner <david@lechnology.com> 11 12properties: 13 compatible: 14 enum: 15 - ti,am3352-eqep 16 - ti,am62-eqep 17 18 reg: 19 maxItems: 1 20 21 interrupts: 22 description: The eQEP event interrupt 23 maxItems: 1 24 25 clocks: 26 description: The functional and interface clock that determines the clock 27 rate for the eQEP peripheral. 28 maxItems: 1 29 30 clock-names: 31 const: sysclkout 32 33 power-domains: 34 maxItems: 1 35 36allOf: 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 50required: 51 - compatible 52 - reg 53 - interrupts 54 - clocks 55 56additionalProperties: false 57 58examples: 59 - | 60 eqep0: counter@180 { 61 compatible = "ti,am3352-eqep"; 62 reg = <0x180 0x80>; 63 clocks = <&l4ls_gclk>; 64 interrupts = <79>; 65 }; 66 67... 68