Lines Matching +full:pwm +full:- +full:clock
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic PWM
10 - Heiner Kallweit <hkallweit1@gmail.com>
15 - enum:
16 - amlogic,meson8b-pwm
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
25 - items:
26 - const: amlogic,meson-gx-pwm
27 - const: amlogic,meson-gxbb-pwm
29 - items:
30 - const: amlogic,meson-gx-ao-pwm
31 - const: amlogic,meson-gxbb-ao-pwm
33 - items:
34 - const: amlogic,meson8-pwm
35 - const: amlogic,meson8b-pwm
37 - enum:
38 - amlogic,meson8-pwm-v2
39 - amlogic,meson-s4-pwm
40 - items:
41 - enum:
42 - amlogic,meson-a1-pwm
43 - const: amlogic,meson-s4-pwm
44 - items:
45 - enum:
46 - amlogic,meson8b-pwm-v2
47 - amlogic,meson-gxbb-pwm-v2
48 - amlogic,meson-axg-pwm-v2
49 - amlogic,meson-g12-pwm-v2
50 - const: amlogic,meson8-pwm-v2
59 clock-names:
63 power-domains:
66 "#pwm-cells":
70 - compatible
71 - reg
74 - $ref: pwm.yaml#
76 - if:
81 - amlogic,meson8-pwm
82 - amlogic,meson8b-pwm
83 - amlogic,meson-gxbb-pwm
84 - amlogic,meson-gxbb-ao-pwm
85 - amlogic,meson-axg-ee-pwm
86 - amlogic,meson-axg-ao-pwm
87 - amlogic,meson-g12a-ee-pwm
88 - amlogic,meson-g12a-ao-pwm-ab
89 - amlogic,meson-g12a-ao-pwm-cd
93 # known (hard-coded) in the driver and used to select pwm clock
99 clock-names:
101 - items:
102 - enum: [clkin0, clkin1]
103 - items:
104 - const: clkin0
105 - const: clkin1
107 # Newer binding where clock describe the actual clock inputs of the pwm
109 - if:
114 - amlogic,meson8-pwm-v2
120 - description: input clock 0 of the pwm block
121 - description: input clock 1 of the pwm block
122 - description: input clock 2 of the pwm block
123 - description: input clock 3 of the pwm block
124 clock-names: false
126 - clocks
130 - if:
135 - amlogic,meson-s4-pwm
140 - description: input clock of PWM channel A
141 - description: input clock of PWM channel B
142 clock-names: false
144 - clocks
146 - if:
151 - amlogic,meson-a1-pwm
154 - power-domains
159 - |
160 pwm@8550 {
161 compatible = "amlogic,meson-gxbb-pwm";
164 clock-names = "clkin0", "clkin1";
165 #pwm-cells = <3>;
167 - |
168 pwm@2000 {
169 compatible = "amlogic,meson8-pwm-v2";
172 #pwm-cells = <3>;
174 - |
175 pwm@1000 {
176 compatible = "amlogic,meson-s4-pwm";
179 #pwm-cells = <3>;