Documentation / devicetree / bindings / counter / fsl,ftm-quaddec.yaml


Based on kernel version 6.16. Page generated on 2025-08-06 08:57 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/counter/fsl,ftm-quaddec.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: FlexTimer Quadrature decoder counter

description:
  Exposes a simple counter for the quadrature decoder mode.

maintainers:
  - Frank Li <Frank.li@nxp.com>

properties:
  compatible:
    const: fsl,ftm-quaddec

  reg:
    maxItems: 1

  big-endian: true

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    counter@29d0000 {
       compatible = "fsl,ftm-quaddec";
       reg = <0x29d0000 0x10000>;
       big-endian;
    };