blob: 11963e4d6bc478a6e70e20aa1f06a32a759dee90 [file] [log] [blame]
Shawn Guo4dce82c2012-04-04 10:50:52 +08001Freescale MXS PWM controller
2
3Required properties:
Shawn Guo071407e2012-06-26 16:58:08 +08004- compatible: should be "fsl,imx23-pwm"
Shawn Guo4dce82c2012-04-04 10:50:52 +08005- reg: physical base address and length of the controller's registers
6- #pwm-cells: should be 2. The first cell specifies the per-chip index
7 of the PWM to use and the second cell is the duty cycle in nanoseconds.
8- fsl,pwm-number: the number of PWM devices
9
10Example:
11
12pwm: pwm@80064000 {
Shawn Guo071407e2012-06-26 16:58:08 +080013 compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
Fabio Estevam7185fcc2012-08-21 12:50:43 -030014 reg = <0x80064000 0x2000>;
Shawn Guo4dce82c2012-04-04 10:50:52 +080015 #pwm-cells = <2>;
16 fsl,pwm-number = <8>;
17};