Alexander Shiyan | 7eb3f6f | 2014-03-12 19:53:05 +0400 | [diff] [blame] | 1 | * Cirris Logic CLPS711X PWM controller |
| 2 | |
| 3 | Required properties: |
Alexander Shiyan | ba60ae1 | 2016-06-04 10:09:58 +0300 | [diff] [blame] | 4 | - compatible: Shall contain "cirrus,ep7209-pwm". |
Alexander Shiyan | 7eb3f6f | 2014-03-12 19:53:05 +0400 | [diff] [blame] | 5 | - reg: Physical base address and length of the controller's registers. |
| 6 | - clocks: phandle + clock specifier pair of the PWM reference clock. |
| 7 | - #pwm-cells: Should be 1. The cell specifies the index of the channel. |
| 8 | |
| 9 | Example: |
| 10 | pwm: pwm@80000400 { |
Alexander Shiyan | ba60ae1 | 2016-06-04 10:09:58 +0300 | [diff] [blame] | 11 | compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm"; |
Alexander Shiyan | 7eb3f6f | 2014-03-12 19:53:05 +0400 | [diff] [blame] | 12 | reg = <0x80000400 0x4>; |
| 13 | clocks = <&clks 8>; |
| 14 | #pwm-cells = <1>; |
| 15 | }; |