gtm.txt 903 B

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