1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiner Kallweit <hkallweit1@gmail.com>
17 - amlogic,meson-gxbb-pwm
18 - amlogic,meson-gxbb-ao-pwm
19 - amlogic,meson-axg-ee-pwm
20 - amlogic,meson-axg-ao-pwm
21 - amlogic,meson-g12a-ee-pwm
22 - amlogic,meson-g12a-ao-pwm-ab
23 - amlogic,meson-g12a-ao-pwm-cd
26 - const: amlogic,meson-gx-pwm
27 - const: amlogic,meson-gxbb-pwm
30 - const: amlogic,meson-gx-ao-pwm
31 - const: amlogic,meson-gxbb-ao-pwm
34 - const: amlogic,meson8-pwm
35 - const: amlogic,meson8b-pwm
38 - amlogic,meson8-pwm-v2
39 - amlogic,meson-s4-pwm
43 - amlogic,meson-a1-pwm
44 - const: amlogic,meson-s4-pwm
47 - amlogic,meson8b-pwm-v2
48 - amlogic,meson-gxbb-pwm-v2
49 - amlogic,meson-axg-pwm-v2
50 - amlogic,meson-g12-pwm-v2
51 - const: amlogic,meson8-pwm-v2
84 - amlogic,meson-gxbb-pwm
85 - amlogic,meson-gxbb-ao-pwm
86 - amlogic,meson-axg-ee-pwm
87 - amlogic,meson-axg-ao-pwm
88 - amlogic,meson-g12a-ee-pwm
89 - amlogic,meson-g12a-ao-pwm-ab
90 - amlogic,meson-g12a-ao-pwm-cd
92 # Obsolete historic bindings tied to the driver implementation
93 # The clocks provided here are meant to be matched with the input
94 # known (hard-coded) in the driver and used to select pwm clock
95 # source. Currently, the linux driver ignores this.
96 # This is kept to maintain ABI backward compatibility.
103 - enum: [clkin0, clkin1]
108 # Newer binding where clock describe the actual clock inputs of the pwm
109 # block. These are necessary but some inputs may be grounded.
115 - amlogic,meson8-pwm-v2
121 - description: input clock 0 of the pwm block
122 - description: input clock 1 of the pwm block
123 - description: input clock 2 of the pwm block
124 - description: input clock 3 of the pwm block
129 # Newer IP block take a single input per channel, instead of 4 inputs
136 - amlogic,meson-s4-pwm
141 - description: input clock of PWM channel A
142 - description: input clock of PWM channel B
152 - amlogic,meson-a1-pwm
157 additionalProperties: false
162 compatible = "amlogic,meson-gxbb-pwm";
163 reg = <0x08550 0x10>;
164 clocks = <&xtal>, <&xtal>;
165 clock-names = "clkin0", "clkin1";
170 compatible = "amlogic,meson8-pwm-v2";
172 clocks = <&xtal>, <0>, <&fdiv4>, <&fdiv5>;
177 compatible = "amlogic,meson-s4-pwm";
179 clocks = <&pwm_src_a>, <&pwm_src_b>;