xref: /freebsd/sys/contrib/device-tree/Bindings/timer/fsl,gtm.txt (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1* Freescale General-purpose Timers Module
2
3Required 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
12Example:
13
14timer@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
23timer@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};
31