xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/rtc-fsl-ftm-alarm.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFreescale FlexTimer Module (FTM) Alarm
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : Should be "fsl,<chip>-ftm-alarm", the
5*4882a593Smuzhiyun	       supported chips include
6*4882a593Smuzhiyun	       "fsl,ls1012a-ftm-alarm"
7*4882a593Smuzhiyun	       "fsl,ls1021a-ftm-alarm"
8*4882a593Smuzhiyun	       "fsl,ls1028a-ftm-alarm"
9*4882a593Smuzhiyun	       "fsl,ls1043a-ftm-alarm"
10*4882a593Smuzhiyun	       "fsl,ls1046a-ftm-alarm"
11*4882a593Smuzhiyun	       "fsl,ls1088a-ftm-alarm"
12*4882a593Smuzhiyun	       "fsl,ls208xa-ftm-alarm"
13*4882a593Smuzhiyun	       "fsl,lx2160a-ftm-alarm"
14*4882a593Smuzhiyun- reg : Specifies base physical address and size of the register sets for the
15*4882a593Smuzhiyun  FlexTimer Module.
16*4882a593Smuzhiyun- interrupts : Should be the FlexTimer Module interrupt.
17*4882a593Smuzhiyun- fsl,rcpm-wakeup property and rcpm node : Please refer
18*4882a593Smuzhiyun	Documentation/devicetree/bindings/soc/fsl/rcpm.txt
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional properties:
21*4882a593Smuzhiyun- big-endian: If the host controller is big-endian mode, specify this property.
22*4882a593Smuzhiyun  The default endian mode is little-endian.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunExample:
25*4882a593Smuzhiyunrcpm: rcpm@1e34040 {
26*4882a593Smuzhiyun	compatible = "fsl,ls1088a-rcpm", "fsl,qoriq-rcpm-2.1+";
27*4882a593Smuzhiyun	reg = <0x0 0x1e34040 0x0 0x18>;
28*4882a593Smuzhiyun	#fsl,rcpm-wakeup-cells = <6>;
29*4882a593Smuzhiyun};
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunftm_alarm0: timer@2800000 {
32*4882a593Smuzhiyun	compatible = "fsl,ls1088a-ftm-alarm";
33*4882a593Smuzhiyun	reg = <0x0 0x2800000 0x0 0x10000>;
34*4882a593Smuzhiyun	fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
35*4882a593Smuzhiyun	interrupts = <0 44 4>;
36*4882a593Smuzhiyun};
37