dw-apb.txt 965 B

1234567891011121314151617181920212223242526272829303132
  1. * Designware APB timer
  2. Required properties:
  3. - compatible: One of:
  4. "snps,dw-apb-timer"
  5. "snps,dw-apb-timer-sp" <DEPRECATED>
  6. "snps,dw-apb-timer-osc" <DEPRECATED>
  7. - reg: physical base address of the controller and length of memory mapped
  8. region.
  9. - interrupts: IRQ line for the timer.
  10. - either clocks+clock-names or clock-frequency properties
  11. Optional properties:
  12. - clocks : list of clock specifiers, corresponding to entries in
  13. the clock-names property;
  14. - clock-names : should contain "timer" and "pclk" entries, matching entries
  15. in the clocks property.
  16. - clock-frequency: The frequency in HZ of the timer.
  17. - clock-freq: For backwards compatibility with picoxcell
  18. If using the clock specifiers, the pclk clock is optional, as not all
  19. systems may use one.
  20. Example:
  21. timer@ffe00000 {
  22. compatible = "snps,dw-apb-timer";
  23. interrupts = <0 170 4>;
  24. reg = <0xffe00000 0x1000>;
  25. clocks = <&timer_clk>, <&timer_pclk>;
  26. clock-names = "timer", "pclk";
  27. };