2012-04-04 06:50:52 +04:00
|
|
|
Freescale MXS PWM controller
|
|
|
|
|
|
|
|
Required properties:
|
2012-06-26 12:58:08 +04:00
|
|
|
- compatible: should be "fsl,imx23-pwm"
|
2012-04-04 06:50:52 +04:00
|
|
|
- reg: physical base address and length of the controller's registers
|
|
|
|
- #pwm-cells: should be 2. The first cell specifies the per-chip index
|
|
|
|
of the PWM to use and the second cell is the duty cycle in nanoseconds.
|
|
|
|
- fsl,pwm-number: the number of PWM devices
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
pwm: pwm@80064000 {
|
2012-06-26 12:58:08 +04:00
|
|
|
compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
|
2012-04-04 06:50:52 +04:00
|
|
|
reg = <0x80064000 2000>;
|
|
|
|
#pwm-cells = <2>;
|
|
|
|
fsl,pwm-number = <8>;
|
|
|
|
};
|