Commit | Line | Data |
---|---|---|
ed735985 AB |
1 | Allwinner sun4i and sun7i SoC PWM controller |
2 | ||
3 | Required properties: | |
4 | - compatible: should be one of: | |
5 | - "allwinner,sun4i-a10-pwm" | |
f6649f7a HG |
6 | - "allwinner,sun5i-a10s-pwm" |
7 | - "allwinner,sun5i-a13-pwm" | |
ed735985 AB |
8 | - "allwinner,sun7i-a20-pwm" |
9 | - reg: physical base address and length of the controller's registers | |
10 | - #pwm-cells: should be 3. See pwm.txt in this directory for a description of | |
11 | the cells format. | |
12 | - clocks: From common clock binding, handle to the parent clock. | |
13 | ||
14 | Example: | |
15 | ||
16 | pwm: pwm@01c20e00 { | |
17 | compatible = "allwinner,sun7i-a20-pwm"; | |
18 | reg = <0x01c20e00 0xc>; | |
19 | clocks = <&osc24M>; | |
20 | #pwm-cells = <3>; | |
21 | status = "disabled"; | |
22 | }; |