mediatek,mtk-timer.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Mediatek Timers
  2. ---------------
  3. Mediatek SoCs have two different timers on different platforms,
  4. - GPT (General Purpose Timer)
  5. - SYST (System Timer)
  6. The proper timer will be selected automatically by driver.
  7. Required properties:
  8. - compatible should contain:
  9. * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
  10. * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
  11. * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
  12. * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
  13. * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
  14. * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
  15. * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
  16. * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
  17. * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
  18. - reg: Should contain location and length for timer register.
  19. - clocks: Should contain system clock.
  20. Examples:
  21. timer@10008000 {
  22. compatible = "mediatek,mt6577-timer";
  23. reg = <0x10008000 0x80>;
  24. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
  25. clocks = <&system_clk>;
  26. };