11517d90cSDavid Lechner# SPDX-License-Identifier: GPL-2.0
21517d90cSDavid Lechner%YAML 1.2
31517d90cSDavid Lechner---
41517d90cSDavid Lechner$id: http://devicetree.org/schemas/counter/ti-eqep.yaml#
51517d90cSDavid Lechner$schema: http://devicetree.org/meta-schemas/core.yaml#
61517d90cSDavid Lechner
71517d90cSDavid Lechnertitle: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
81517d90cSDavid Lechner
91517d90cSDavid Lechnermaintainers:
101517d90cSDavid Lechner  - David Lechner <david@lechnology.com>
111517d90cSDavid Lechner
121517d90cSDavid Lechnerproperties:
131517d90cSDavid Lechner  compatible:
141517d90cSDavid Lechner    const: ti,am3352-eqep
151517d90cSDavid Lechner
161517d90cSDavid Lechner  reg:
171517d90cSDavid Lechner    maxItems: 1
181517d90cSDavid Lechner
191517d90cSDavid Lechner  interrupts:
201517d90cSDavid Lechner    description: The eQEP event interrupt
211517d90cSDavid Lechner    maxItems: 1
221517d90cSDavid Lechner
231517d90cSDavid Lechner  clocks:
241517d90cSDavid Lechner    description: The clock that determines the SYSCLKOUT rate for the eQEP
251517d90cSDavid Lechner      peripheral.
261517d90cSDavid Lechner    maxItems: 1
271517d90cSDavid Lechner
281517d90cSDavid Lechner  clock-names:
291517d90cSDavid Lechner    const: sysclkout
301517d90cSDavid Lechner
311517d90cSDavid Lechnerrequired:
321517d90cSDavid Lechner  - compatible
331517d90cSDavid Lechner  - reg
341517d90cSDavid Lechner  - interrupts
351517d90cSDavid Lechner  - clocks
361517d90cSDavid Lechner  - clock-names
371517d90cSDavid Lechner
381517d90cSDavid LechneradditionalProperties: false
391517d90cSDavid Lechner
401517d90cSDavid Lechnerexamples:
411517d90cSDavid Lechner  - |
421517d90cSDavid Lechner    eqep0: counter@180 {
431517d90cSDavid Lechner        compatible = "ti,am3352-eqep";
441517d90cSDavid Lechner        reg = <0x180 0x80>;
451517d90cSDavid Lechner        clocks = <&l4ls_gclk>;
461517d90cSDavid Lechner        clock-names = "sysclkout";
471517d90cSDavid Lechner        interrupts = <79>;
481517d90cSDavid Lechner    };
491517d90cSDavid Lechner
501517d90cSDavid Lechner...
51