]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/pwm/imx-pwm.txt
Merge remote-tracking branch 'kgdb/kgdb-next'
[karo-tx-linux.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: should be 2. See pwm.txt in this directory for a description of
10   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 = <2>;
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 };