xref: /freebsd/sys/contrib/device-tree/Bindings/timer/fsl,gtm.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Freescale General-purpose Timers Module
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot  - compatible : should be
5*c66ec88fSEmmanuel Vadot    "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs
6*c66ec88fSEmmanuel Vadot    "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs
7*c66ec88fSEmmanuel Vadot    "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs
8*c66ec88fSEmmanuel Vadot  - reg : should contain gtm registers location and length (0x40).
9*c66ec88fSEmmanuel Vadot  - interrupts : should contain four interrupts.
10*c66ec88fSEmmanuel Vadot  - clock-frequency : specifies the frequency driving the timer.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotExample:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadottimer@500 {
15*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpc8360-gtm", "fsl,gtm";
16*c66ec88fSEmmanuel Vadot	reg = <0x500 0x40>;
17*c66ec88fSEmmanuel Vadot	interrupts = <90 8 78 8 84 8 72 8>;
18*c66ec88fSEmmanuel Vadot	interrupt-parent = <&ipic>;
19*c66ec88fSEmmanuel Vadot	/* filled by u-boot */
20*c66ec88fSEmmanuel Vadot	clock-frequency = <0>;
21*c66ec88fSEmmanuel Vadot};
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadottimer@440 {
24*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm";
25*c66ec88fSEmmanuel Vadot	reg = <0x440 0x40>;
26*c66ec88fSEmmanuel Vadot	interrupts = <12 13 14 15>;
27*c66ec88fSEmmanuel Vadot	interrupt-parent = <&qeic>;
28*c66ec88fSEmmanuel Vadot	/* filled by u-boot */
29*c66ec88fSEmmanuel Vadot	clock-frequency = <0>;
30*c66ec88fSEmmanuel Vadot};
31