Neil Armstrong | 89394cc | 2016-08-22 17:36:31 +0200 | [diff] [blame] | 1 | Amlogic Meson PWM Controller |
| 2 | ============================ |
| 3 | |
| 4 | Required properties: |
Jerome Brunet | 8517bb1 | 2017-06-08 14:24:14 +0200 | [diff] [blame] | 5 | - compatible: Shall contain "amlogic,meson8b-pwm" |
| 6 | or "amlogic,meson-gxbb-pwm" |
| 7 | or "amlogic,meson-gxbb-ao-pwm" |
Jian Hu | a52d97c | 2017-12-04 14:00:16 +0800 | [diff] [blame] | 8 | or "amlogic,meson-axg-ee-pwm" |
| 9 | or "amlogic,meson-axg-ao-pwm" |
Neil Armstrong | ad36cb9 | 2019-04-23 15:36:44 +0200 | [diff] [blame^] | 10 | or "amlogic,meson-g12a-ee-pwm" |
| 11 | or "amlogic,meson-g12a-ao-pwm-ab" |
| 12 | or "amlogic,meson-g12a-ao-pwm-cd" |
Neil Armstrong | 89394cc | 2016-08-22 17:36:31 +0200 | [diff] [blame] | 13 | - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of |
| 14 | the cells format. |
| 15 | |
| 16 | Optional properties: |
| 17 | - clocks: Could contain one or two parents clocks phandle for each of the two |
| 18 | PWM channels. |
| 19 | - clock-names: Could contain at least the "clkin0" and/or "clkin1" names. |
| 20 | |
| 21 | Example: |
| 22 | |
| 23 | pwm_ab: pwm@8550 { |
| 24 | compatible = "amlogic,meson-gxbb-pwm"; |
| 25 | reg = <0x0 0x08550 0x0 0x10>; |
| 26 | #pwm-cells = <3>; |
Neil Armstrong | 89394cc | 2016-08-22 17:36:31 +0200 | [diff] [blame] | 27 | clocks = <&xtal>, <&xtal>; |
| 28 | clock-names = "clkin0", "clkin1"; |
| 29 | } |