xref: /freebsd/sys/contrib/device-tree/Bindings/counter/ti-eqep.yaml (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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    const: ti,am3352-eqep
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    description: The eQEP event interrupt
21    maxItems: 1
22
23  clocks:
24    description: The clock that determines the SYSCLKOUT rate for the eQEP
25      peripheral.
26    maxItems: 1
27
28  clock-names:
29    const: sysclkout
30
31required:
32  - compatible
33  - reg
34  - interrupts
35  - clocks
36  - clock-names
37
38additionalProperties: false
39
40examples:
41  - |
42    eqep0: counter@180 {
43        compatible = "ti,am3352-eqep";
44        reg = <0x180 0x80>;
45        clocks = <&l4ls_gclk>;
46        clock-names = "sysclkout";
47        interrupts = <79>;
48    };
49
50...
51