]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/pwm/imx-pwm.txt
Merge tag 'md-3.8' of git://neil.brown.name/md
[~andy/linux] / Documentation / devicetree / bindings / pwm / imx-pwm.txt
1 Freescale i.MX PWM controller
2
3 Required properties:
4 - compatible: should be "fsl,<soc>-pwm"
5 - 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 period in nanoseconds.
8 - interrupts: The interrupt for the pwm controller
9
10 Example:
11
12 pwm1: pwm@53fb4000 {
13         #pwm-cells = <2>;
14         compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
15         reg = <0x53fb4000 0x4000>;
16         interrupts = <61>;
17 };