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