pwm-stm32-lp.txt 725 B

123456789101112131415161718192021222324252627
  1. STMicroelectronics STM32 Low-Power Timer PWM
  2. STM32 Low-Power Timer provides single channel PWM.
  3. Must be a sub-node of an STM32 Low-Power Timer device tree node.
  4. See ../mfd/stm32-lptimer.txt for details about the parent node.
  5. Required parameters:
  6. - compatible: Must be "st,stm32-pwm-lp".
  7. - #pwm-cells: Should be set to 3. This PWM chip uses the default 3 cells
  8. bindings defined in pwm.txt.
  9. Optional properties:
  10. - pinctrl-names: Set to "default".
  11. - pinctrl-0: Phandle pointing to pin configuration node for PWM.
  12. Example:
  13. timer@40002400 {
  14. compatible = "st,stm32-lptimer";
  15. ...
  16. pwm {
  17. compatible = "st,stm32-pwm-lp";
  18. #pwm-cells = <3>;
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&lppwm1_pins>;
  21. };
  22. };