dt-bindings: pwm: Update bindings for the Meson G12A Family
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pwm / pwm-meson.txt
1 Amlogic Meson PWM Controller
2 ============================
3
4 Required properties:
5 - compatible: Shall contain "amlogic,meson8b-pwm"
6                          or "amlogic,meson-gxbb-pwm"
7                          or "amlogic,meson-gxbb-ao-pwm"
8                          or "amlogic,meson-axg-ee-pwm"
9                          or "amlogic,meson-axg-ao-pwm"
10                          or "amlogic,meson-g12a-ee-pwm"
11                          or "amlogic,meson-g12a-ao-pwm-ab"
12                          or "amlogic,meson-g12a-ao-pwm-cd"
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>;
27                 clocks = <&xtal>, <&xtal>;
28                 clock-names = "clkin0", "clkin1";
29         }