GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / pwm / pwm-sun4i.txt
1 Allwinner sun4i and sun7i SoC PWM controller
2
3 Required properties:
4   - compatible: should be one of:
5     - "allwinner,sun4i-a10-pwm"
6     - "allwinner,sun5i-a10s-pwm"
7     - "allwinner,sun5i-a13-pwm"
8     - "allwinner,sun7i-a20-pwm"
9     - "allwinner,sun8i-h3-pwm"
10     - "allwinner,sun50i-a64-pwm", "allwinner,sun5i-a13-pwm"
11     - "allwinner,sun50i-h5-pwm", "allwinner,sun5i-a13-pwm"
12   - reg: physical base address and length of the controller's registers
13   - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
14     the cells format.
15   - clocks: From common clock binding, handle to the parent clock.
16
17 Example:
18
19         pwm: pwm@1c20e00 {
20                 compatible = "allwinner,sun7i-a20-pwm";
21                 reg = <0x01c20e00 0xc>;
22                 clocks = <&osc24M>;
23                 #pwm-cells = <3>;
24         };