blob: 9e3f8f1d46a26642577177806d5f94f2db2b91a1 [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
Thierry Reding85f88792012-10-01 08:41:23 +02007 of the PWM to use and the second cell is the period in nanoseconds.
Shawn Guo4dce82c2012-04-04 10:50:52 +08008- 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};