Alexandre Belloni | ed73598 | 2014-12-17 22:15:40 +0100 | [diff] [blame] | 1 | Allwinner sun4i and sun7i SoC PWM controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be one of: |
| 5 | - "allwinner,sun4i-a10-pwm" |
Hans de Goede | f6649f7 | 2015-10-11 11:49:57 +0200 | [diff] [blame] | 6 | - "allwinner,sun5i-a10s-pwm" |
| 7 | - "allwinner,sun5i-a13-pwm" |
Alexandre Belloni | ed73598 | 2014-12-17 22:15:40 +0100 | [diff] [blame] | 8 | - "allwinner,sun7i-a20-pwm" |
Milo Kim | 42ddcf4 | 2016-08-31 17:25:20 +0900 | [diff] [blame] | 9 | - "allwinner,sun8i-h3-pwm" |
Alexandre Belloni | ed73598 | 2014-12-17 22:15:40 +0100 | [diff] [blame] | 10 | - reg: physical base address and length of the controller's registers |
| 11 | - #pwm-cells: should be 3. See pwm.txt in this directory for a description of |
| 12 | the cells format. |
| 13 | - clocks: From common clock binding, handle to the parent clock. |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | pwm: pwm@01c20e00 { |
| 18 | compatible = "allwinner,sun7i-a20-pwm"; |
| 19 | reg = <0x01c20e00 0xc>; |
| 20 | clocks = <&osc24M>; |
| 21 | #pwm-cells = <3>; |
| 22 | status = "disabled"; |
| 23 | }; |