pwm-tiecap.txt 910 B

123456789101112131415161718192021222324252627282930
  1. TI SOC ECAP based APWM controller
  2. Required properties:
  3. - compatible: Must be "ti,<soc>-ecap".
  4. for am33xx - compatible = "ti,am33xx-ecap";
  5. for da850 - compatible = "ti,da850-ecap", "ti,am33xx-ecap";
  6. - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
  7. the cells format. The PWM channel index ranges from 0 to 4. The only third
  8. cell flag supported by this binding is 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 ECAP:
  12. "ecap<x>", <x> being the 0-based instance number from the HW spec
  13. Example:
  14. ecap0: ecap@0 { /* ECAP on am33xx */
  15. compatible = "ti,am33xx-ecap";
  16. #pwm-cells = <3>;
  17. reg = <0x48300100 0x80>;
  18. ti,hwmods = "ecap0";
  19. };
  20. ecap0: ecap@0 { /* ECAP on da850 */
  21. compatible = "ti,da850-ecap", "ti,am33xx-ecap";
  22. #pwm-cells = <3>;
  23. reg = <0x306000 0x80>;
  24. };