| .. | .. |
|---|
| 14 | 14 | - For newer hardware (rk3328 and future socs): specified by name |
|---|
| 15 | 15 | - "pwm": This is used to derive the functional clock. |
|---|
| 16 | 16 | - "pclk": This is the APB bus clock. |
|---|
| 17 | | - - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.txt in this directory |
|---|
| 17 | + - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.yaml in this directory |
|---|
| 18 | 18 | for a description of the cell format. |
|---|
| 19 | | - |
|---|
| 20 | | -Optional properties: |
|---|
| 21 | | - - center-aligned: support pwm output center aligned mode. |
|---|
| 22 | 19 | |
|---|
| 23 | 20 | Example: |
|---|
| 24 | 21 | |
|---|
| .. | .. |
|---|
| 27 | 24 | reg = <0x20030000 0x10>; |
|---|
| 28 | 25 | clocks = <&cru PCLK_PWM01>; |
|---|
| 29 | 26 | #pwm-cells = <2>; |
|---|
| 30 | | - center-aligned; |
|---|
| 31 | 27 | }; |
|---|