diff options
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/imx-pwm.txt')
| -rw-r--r-- | Documentation/devicetree/bindings/pwm/imx-pwm.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.txt b/Documentation/devicetree/bindings/pwm/imx-pwm.txt new file mode 100644 index 000000000000..8522bfbccfd7 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 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 | }; | ||
