xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/counter/ftm-quaddec.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFlexTimer Quadrature decoder counter
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis driver exposes a simple counter for the quadrature decoder mode.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun- compatible:		Must be "fsl,ftm-quaddec".
7*4882a593Smuzhiyun- reg:			Must be set to the memory region of the flextimer.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunOptional property:
10*4882a593Smuzhiyun- big-endian:		Access the device registers in big-endian mode.
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunExample:
13*4882a593Smuzhiyun		counter0: counter@29d0000 {
14*4882a593Smuzhiyun			compatible = "fsl,ftm-quaddec";
15*4882a593Smuzhiyun			reg = <0x0 0x29d0000 0x0 0x10000>;
16*4882a593Smuzhiyun			big-endian;
17*4882a593Smuzhiyun			status = "disabled";
18*4882a593Smuzhiyun		};
19