^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/counter/ti-eqep.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - David Lechner <david@lechnology.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) const: ti,am3352-eqep
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) interrupts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) description: The eQEP event interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) description: The clock that determines the SYSCLKOUT rate for the eQEP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) peripheral.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) clock-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) const: sysclkout
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - clocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - clock-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) eqep0: counter@180 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) compatible = "ti,am3352-eqep";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) reg = <0x180 0x80>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) clocks = <&l4ls_gclk>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) clock-names = "sysclkout";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) interrupts = <79>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) ...