GNU Linux-libre 4.19.295-gnu1
[releases.git] / Documentation / devicetree / bindings / timer / fsl,gtm.txt
1 * Freescale General-purpose Timers Module
2
3 Required properties:
4   - compatible : should be
5     "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs
6     "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs
7     "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs
8   - reg : should contain gtm registers location and length (0x40).
9   - interrupts : should contain four interrupts.
10   - clock-frequency : specifies the frequency driving the timer.
11
12 Example:
13
14 timer@500 {
15         compatible = "fsl,mpc8360-gtm", "fsl,gtm";
16         reg = <0x500 0x40>;
17         interrupts = <90 8 78 8 84 8 72 8>;
18         interrupt-parent = <&ipic>;
19         /* filled by u-boot */
20         clock-frequency = <0>;
21 };
22
23 timer@440 {
24         compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm";
25         reg = <0x440 0x40>;
26         interrupts = <12 13 14 15>;
27         interrupt-parent = <&qeic>;
28         /* filled by u-boot */
29         clock-frequency = <0>;
30 };