Commit | Line | Data |
---|---|---|
89394cc7 NA |
1 | Amlogic Meson PWM Controller |
2 | ============================ | |
3 | ||
4 | Required properties: | |
5 | - compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm". | |
6 | - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of | |
7 | the cells format. | |
8 | ||
9 | Optional properties: | |
10 | - clocks: Could contain one or two parents clocks phandle for each of the two | |
11 | PWM channels. | |
12 | - clock-names: Could contain at least the "clkin0" and/or "clkin1" names. | |
13 | ||
14 | Example: | |
15 | ||
16 | pwm_ab: pwm@8550 { | |
17 | compatible = "amlogic,meson-gxbb-pwm"; | |
18 | reg = <0x0 0x08550 0x0 0x10>; | |
19 | #pwm-cells = <3>; | |
20 | status = "disabled"; | |
21 | clocks = <&xtal>, <&xtal>; | |
22 | clock-names = "clkin0", "clkin1"; | |
23 | } |