pwm-omap-dmtimer.txt 748 B

12345678910111213141516171819202122
  1. * OMAP PWM for dual-mode timers
  2. Required properties:
  3. - compatible: Shall contain "ti,omap-dmtimer-pwm".
  4. - ti,timers: phandle to PWM capable OMAP timer. See arm/omap/timer.txt for info
  5. about these timers.
  6. - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
  7. the cells format.
  8. Optional properties:
  9. - ti,prescaler: Should be a value between 0 and 7, see the timers datasheet
  10. - ti,clock-source: Set dmtimer parent clock, values between 0 and 2:
  11. - 0x00 - high-frequency system clock (timer_sys_ck)
  12. - 0x01 - 32-kHz always-on clock (timer_32k_ck)
  13. - 0x02 - external clock (timer_ext_ck, OMAP2 only)
  14. Example:
  15. pwm9: dmtimer-pwm@9 {
  16. compatible = "ti,omap-dmtimer-pwm";
  17. ti,timers = <&timer9>;
  18. #pwm-cells = <3>;
  19. };