68 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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) Module8 9maintainers:10 - David Lechner <david@lechnology.com>11 12properties:13 compatible:14 enum:15 - ti,am3352-eqep16 - ti,am62-eqep17 18 reg:19 maxItems: 120 21 interrupts:22 description: The eQEP event interrupt23 maxItems: 124 25 clocks:26 description: The functional and interface clock that determines the clock27 rate for the eQEP peripheral.28 maxItems: 129 30 clock-names:31 const: sysclkout32 33 power-domains:34 maxItems: 135 36allOf:37 - if:38 properties:39 compatible:40 contains:41 enum:42 - ti,am62-eqep43 then:44 properties:45 clock-names: false46 47 required:48 - power-domains49 50required:51 - compatible52 - reg53 - interrupts54 - clocks55 56additionalProperties: false57 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