linuxOS_D21X/source/linux-5.10/Documentation/devicetree/bindings/counter/ftm-quaddec.txt

19 lines
472 B
Plaintext
Raw Normal View History

2024-11-29 08:13:19 +00:00
FlexTimer Quadrature decoder counter
This driver exposes a simple counter for the quadrature decoder mode.
Required properties:
- compatible: Must be "fsl,ftm-quaddec".
- reg: Must be set to the memory region of the flextimer.
Optional property:
- big-endian: Access the device registers in big-endian mode.
Example:
counter0: counter@29d0000 {
compatible = "fsl,ftm-quaddec";
reg = <0x0 0x29d0000 0x0 0x10000>;
big-endian;
status = "disabled";
};