Lines Matching +full:jz4760 +full:- +full:rtc
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Documentation/arch/mips/ingenic-tcu.rst.
14 - Paul Cercueil <paul@crapouillou.net>
21 - ingenic,jz4740-tcu
22 - ingenic,jz4725b-tcu
23 - ingenic,jz4760-tcu
24 - ingenic,jz4760b-tcu
25 - ingenic,jz4770-tcu
26 - ingenic,jz4780-tcu
27 - ingenic,x1000-tcu
29 - compatible
33 pattern: "^timer@[0-9a-f]+$"
35 "#address-cells":
38 "#size-cells":
41 "#clock-cells":
44 "#interrupt-cells":
47 interrupt-controller: true
53 - items:
54 - enum:
55 - ingenic,jz4740-tcu
56 - ingenic,jz4725b-tcu
57 - ingenic,jz4760-tcu
58 - ingenic,x1000-tcu
59 - const: simple-mfd
60 - items:
61 - enum:
62 - ingenic,jz4780-tcu
63 - ingenic,jz4770-tcu
64 - ingenic,jz4760b-tcu
65 - const: ingenic,jz4760-tcu
66 - const: simple-mfd
73 - description: RTC clock
74 - description: EXT clock
75 - description: PCLK clock
76 - description: TCU clock
79 clock-names:
81 - const: rtc
82 - const: ext
83 - const: pclk
84 - const: tcu
89 - description: TCU0 interrupt
90 - description: TCU1 interrupt
91 - description: TCU2 interrupt
94 assigned-clocks:
98 assigned-clock-parents:
102 assigned-clock-rates:
106 ingenic,pwm-channels-mask:
114 "^watchdog@[a-f0-9]+$":
122 - enum:
123 - ingenic,jz4740-watchdog
124 - ingenic,jz4780-watchdog
125 - items:
126 - enum:
127 - ingenic,jz4770-watchdog
128 - ingenic,jz4760b-watchdog
129 - ingenic,jz4760-watchdog
130 - ingenic,jz4725b-watchdog
131 - const: ingenic,jz4740-watchdog
139 clock-names:
143 - compatible
144 - reg
145 - clocks
146 - clock-names
148 "^pwm@[a-f0-9]+$":
156 - enum:
157 - ingenic,jz4740-pwm
158 - ingenic,jz4725b-pwm
159 - ingenic,x1000-pwm
160 - items:
161 - enum:
162 - ingenic,jz4760-pwm
163 - ingenic,jz4760b-pwm
164 - ingenic,jz4770-pwm
165 - ingenic,jz4780-pwm
166 - const: ingenic,jz4740-pwm
175 clock-names:
177 - const: timer0
178 - const: timer1
179 - const: timer2
180 - const: timer3
181 - const: timer4
182 - const: timer5
183 - const: timer6
184 - const: timer7
188 - compatible
189 - reg
190 - clocks
191 - clock-names
193 "^timer@[a-f0-9]+$":
198 - enum:
199 - ingenic,jz4725b-ost
200 - ingenic,jz4760b-ost
201 - items:
202 - const: ingenic,jz4760-ost
203 - const: ingenic,jz4725b-ost
204 - items:
205 - enum:
206 - ingenic,jz4780-ost
207 - ingenic,jz4770-ost
208 - const: ingenic,jz4760b-ost
216 clock-names:
223 - compatible
224 - reg
225 - clocks
226 - clock-names
227 - interrupts
232 - "#clock-cells"
233 - "#interrupt-cells"
234 - interrupt-controller
235 - compatible
236 - reg
237 - clocks
238 - clock-names
239 - interrupts
244 - |
245 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
246 #include <dt-bindings/clock/ingenic,tcu.h>
248 compatible = "ingenic,jz4770-tcu", "ingenic,jz4760-tcu", "simple-mfd";
250 #address-cells = <1>;
251 #size-cells = <1>;
254 #clock-cells = <1>;
259 clock-names = "rtc", "ext", "pclk";
261 interrupt-controller;
262 #interrupt-cells = <1>;
264 interrupt-parent = <&intc>;
268 compatible = "ingenic,jz4770-watchdog", "ingenic,jz4740-watchdog";
272 clock-names = "wdt";
276 compatible = "ingenic,jz4770-pwm", "ingenic,jz4740-pwm";
279 #pwm-cells = <3>;
289 clock-names = "timer0", "timer1", "timer2", "timer3",
294 compatible = "ingenic,jz4770-ost", "ingenic,jz4760b-ost";
298 clock-names = "ost";