imx-pwm.txt 972 B

12345678910111213141516171819202122232425262728
  1. Freescale i.MX PWM controller
  2. Required properties:
  3. - compatible : should be "fsl,<soc>-pwm" and one of the following
  4. compatible strings:
  5. - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1
  6. - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27
  7. - reg: physical base address and length of the controller's registers
  8. - #pwm-cells: should be 2. See pwm.txt in this directory for a description of
  9. the cells format.
  10. - clocks : Clock specifiers for both ipg and per clocks.
  11. - clock-names : Clock names should include both "ipg" and "per"
  12. See the clock consumer binding,
  13. Documentation/devicetree/bindings/clock/clock-bindings.txt
  14. - interrupts: The interrupt for the pwm controller
  15. Example:
  16. pwm1: pwm@53fb4000 {
  17. #pwm-cells = <2>;
  18. compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
  19. reg = <0x53fb4000 0x4000>;
  20. clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
  21. <&clks IMX5_CLK_PWM1_HF_GATE>;
  22. clock-names = "ipg", "per";
  23. interrupts = <61>;
  24. };