blob: 891632354065269d490cab32c08f184b8c2181d2 [file] [log] [blame]
Neil Armstrong89394cc2016-08-22 17:36:31 +02001Amlogic Meson PWM Controller
2============================
3
4Required properties:
Jerome Brunet8517bb12017-06-08 14:24:14 +02005- compatible: Shall contain "amlogic,meson8b-pwm"
6 or "amlogic,meson-gxbb-pwm"
7 or "amlogic,meson-gxbb-ao-pwm"
Jian Hua52d97c2017-12-04 14:00:16 +08008 or "amlogic,meson-axg-ee-pwm"
9 or "amlogic,meson-axg-ao-pwm"
Neil Armstrongad36cb92019-04-23 15:36:44 +020010 or "amlogic,meson-g12a-ee-pwm"
11 or "amlogic,meson-g12a-ao-pwm-ab"
12 or "amlogic,meson-g12a-ao-pwm-cd"
Neil Armstrong89394cc2016-08-22 17:36:31 +020013- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
14 the cells format.
15
16Optional 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
21Example:
22
23 pwm_ab: pwm@8550 {
24 compatible = "amlogic,meson-gxbb-pwm";
25 reg = <0x0 0x08550 0x0 0x10>;
26 #pwm-cells = <3>;
Neil Armstrong89394cc2016-08-22 17:36:31 +020027 clocks = <&xtal>, <&xtal>;
28 clock-names = "clkin0", "clkin1";
29 }