xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/pwm-meson.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1Amlogic Meson PWM Controller
2============================
3
4Required 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.yaml 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>;
27		clocks = <&xtal>, <&xtal>;
28		clock-names = "clkin0", "clkin1";
29	}
30