xref: /freebsd/sys/contrib/device-tree/Bindings/counter/fsl,ftm-quaddec.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/counter/fsl,ftm-quaddec.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: FlexTimer Quadrature decoder counter
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotdescription:
10*ae5de77eSEmmanuel Vadot  Exposes a simple counter for the quadrature decoder mode.
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotmaintainers:
13*ae5de77eSEmmanuel Vadot  - Frank Li <Frank.li@nxp.com>
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadotproperties:
16*ae5de77eSEmmanuel Vadot  compatible:
17*ae5de77eSEmmanuel Vadot    const: fsl,ftm-quaddec
18*ae5de77eSEmmanuel Vadot
19*ae5de77eSEmmanuel Vadot  reg:
20*ae5de77eSEmmanuel Vadot    maxItems: 1
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  big-endian: true
23*ae5de77eSEmmanuel Vadot
24*ae5de77eSEmmanuel Vadotrequired:
25*ae5de77eSEmmanuel Vadot  - compatible
26*ae5de77eSEmmanuel Vadot  - reg
27*ae5de77eSEmmanuel Vadot
28*ae5de77eSEmmanuel VadotadditionalProperties: false
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadotexamples:
31*ae5de77eSEmmanuel Vadot  - |
32*ae5de77eSEmmanuel Vadot    counter@29d0000 {
33*ae5de77eSEmmanuel Vadot       compatible = "fsl,ftm-quaddec";
34*ae5de77eSEmmanuel Vadot       reg = <0x29d0000 0x10000>;
35*ae5de77eSEmmanuel Vadot       big-endian;
36*ae5de77eSEmmanuel Vadot    };
37