0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/counter/ti-eqep.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
0008
0009 maintainers:
0010 - David Lechner <david@lechnology.com>
0011
0012 properties:
0013 compatible:
0014 const: ti,am3352-eqep
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 description: The eQEP event interrupt
0021 maxItems: 1
0022
0023 clocks:
0024 description: The clock that determines the SYSCLKOUT rate for the eQEP
0025 peripheral.
0026 maxItems: 1
0027
0028 clock-names:
0029 const: sysclkout
0030
0031 required:
0032 - compatible
0033 - reg
0034 - interrupts
0035 - clocks
0036 - clock-names
0037
0038 additionalProperties: false
0039
0040 examples:
0041 - |
0042 eqep0: counter@180 {
0043 compatible = "ti,am3352-eqep";
0044 reg = <0x180 0x80>;
0045 clocks = <&l4ls_gclk>;
0046 clock-names = "sysclkout";
0047 interrupts = <79>;
0048 };
0049
0050 ...