faraday,fttmr010.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Faraday Technology timer
  2. This timer is a generic IP block from Faraday Technology, embedded in the
  3. Cortina Systems Gemini SoCs and other designs.
  4. Required properties:
  5. - compatible : Must be one of
  6. "faraday,fttmr010"
  7. "cortina,gemini-timer", "faraday,fttmr010"
  8. "moxa,moxart-timer", "faraday,fttmr010"
  9. "aspeed,ast2400-timer"
  10. "aspeed,ast2500-timer"
  11. "aspeed,ast2600-timer"
  12. - reg : Should contain registers location and length
  13. - interrupts : Should contain the three timer interrupts usually with
  14. flags for falling edge
  15. Optionally required properties:
  16. - clocks : a clock to provide the tick rate for "faraday,fttmr010"
  17. - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
  18. and peripheral clock respectively, for "faraday,fttmr010"
  19. - syscon : a phandle to the global Gemini system controller if the compatible
  20. type is "cortina,gemini-timer"
  21. Example:
  22. timer@43000000 {
  23. compatible = "faraday,fttmr010";
  24. reg = <0x43000000 0x1000>;
  25. interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
  26. <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
  27. <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
  28. clocks = <&extclk>, <&pclk>;
  29. clock-names = "EXTCLK", "PCLK";
  30. };