Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pwm / imx-pwm.txt
1 Freescale i.MX PWM controller
2
3 Required properties:
4 - compatible : should be "fsl,<soc>-pwm" and one of the following
5    compatible strings:
6   - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1
7   - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27
8 - reg: physical base address and length of the controller's registers
9 - #pwm-cells: 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.txt
10   in this directory for a description of the cells format.
11 - clocks : Clock specifiers for both ipg and per clocks.
12 - clock-names : Clock names should include both "ipg" and "per"
13 See the clock consumer binding,
14         Documentation/devicetree/bindings/clock/clock-bindings.txt
15 - interrupts: The interrupt for the pwm controller
16
17 Example:
18
19 pwm1: pwm@53fb4000 {
20         #pwm-cells = <3>;
21         compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
22         reg = <0x53fb4000 0x4000>;
23         clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
24                  <&clks IMX5_CLK_PWM1_HF_GATE>;
25         clock-names = "ipg", "per";
26         interrupts = <61>;
27 };