arm,sp804.txt 1.1 KB

1234567891011121314151617181920212223242526272829
  1. ARM sp804 Dual Timers
  2. ---------------------------------------
  3. Required properties:
  4. - compatible: Should be "arm,sp804" & "arm,primecell"
  5. - interrupts: Should contain the list of Dual Timer interrupts. This is the
  6. interrupt for timer 1 and timer 2. In the case of a single entry, it is
  7. the combined interrupt or if "arm,sp804-has-irq" is present that
  8. specifies which timer interrupt is connected.
  9. - reg: Should contain location and length for dual timer register.
  10. - clocks: clocks driving the dual timer hardware. This list should be 1 or 3
  11. clocks. With 3 clocks, the order is timer0 clock, timer1 clock,
  12. apb_pclk. A single clock can also be specified if the same clock is
  13. used for all clock inputs.
  14. Optional properties:
  15. - arm,sp804-has-irq = <#>: In the case of only 1 timer irq line connected, this
  16. specifies if the irq connection is for timer 1 or timer 2. A value of 1
  17. or 2 should be used.
  18. Example:
  19. timer0: timer@fc800000 {
  20. compatible = "arm,sp804", "arm,primecell";
  21. reg = <0xfc800000 0x1000>;
  22. interrupts = <0 0 4>, <0 1 4>;
  23. clocks = <&timclk1 &timclk2 &pclk>;
  24. clock-names = "timer1", "timer2", "apb_pclk";
  25. };