pwm-tiehrpwm.txt 904 B

123456789101112131415161718192021222324252627282930
  1. TI SOC EHRPWM based PWM controller
  2. Required properties:
  3. - compatible: Must be "ti,<soc>-ehrpwm".
  4. for am33xx - compatible = "ti,am33xx-ehrpwm";
  5. for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
  6. - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
  7. the cells format. The only third cell flag supported by this binding is
  8. PWM_POLARITY_INVERTED.
  9. - reg: physical base address and size of the registers map.
  10. Optional properties:
  11. - ti,hwmods: Name of the hwmod associated to the EHRPWM:
  12. "ehrpwm<x>", <x> being the 0-based instance number from the HW spec
  13. Example:
  14. ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
  15. compatible = "ti,am33xx-ehrpwm";
  16. #pwm-cells = <3>;
  17. reg = <0x48300200 0x100>;
  18. ti,hwmods = "ehrpwm0";
  19. };
  20. ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
  21. compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
  22. #pwm-cells = <3>;
  23. reg = <0x300000 0x2000>;
  24. };