Lines Matching +full:jz4770 +full:- +full:intc
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 Documentation/mips/ingenic-tcu.rst.
14 - Paul Cercueil <paul@crapouillou.net>
21 - ingenic,jz4740-tcu
22 - ingenic,jz4725b-tcu
23 - ingenic,jz4770-tcu
24 - ingenic,jz4780-tcu
25 - ingenic,x1000-tcu
27 - compatible
31 pattern: "^timer@[0-9a-f]+$"
33 "#address-cells":
36 "#size-cells":
39 "#clock-cells":
42 "#interrupt-cells":
45 interrupt-controller: true
51 - items:
52 - enum:
53 - ingenic,jz4740-tcu
54 - ingenic,jz4725b-tcu
55 - ingenic,jz4770-tcu
56 - ingenic,x1000-tcu
57 - const: simple-mfd
58 - items:
59 - const: ingenic,jz4780-tcu
60 - const: ingenic,jz4770-tcu
61 - const: simple-mfd
68 - description: RTC clock
69 - description: EXT clock
70 - description: PCLK clock
71 - description: TCU clock
74 clock-names:
76 - const: rtc
77 - const: ext
78 - const: pclk
79 - const: tcu
84 - description: TCU0 interrupt
85 - description: TCU1 interrupt
86 - description: TCU2 interrupt
89 assigned-clocks:
93 assigned-clock-parents:
97 assigned-clock-rates:
101 ingenic,pwm-channels-mask:
109 "^watchdog@[a-f0-9]+$":
115 - enum:
116 - ingenic,jz4740-watchdog
117 - ingenic,jz4780-watchdog
118 - items:
119 - enum:
120 - ingenic,jz4770-watchdog
121 - ingenic,jz4725b-watchdog
122 - const: ingenic,jz4740-watchdog
130 clock-names:
134 - compatible
135 - reg
136 - clocks
137 - clock-names
139 "^pwm@[a-f0-9]+$":
145 - enum:
146 - ingenic,jz4740-pwm
147 - ingenic,jz4725b-pwm
148 - items:
149 - enum:
150 - ingenic,jz4770-pwm
151 - ingenic,jz4780-pwm
152 - const: ingenic,jz4740-pwm
161 clock-names:
163 - const: timer0
164 - const: timer1
165 - const: timer2
166 - const: timer3
167 - const: timer4
168 - const: timer5
169 - const: timer6
170 - const: timer7
174 - compatible
175 - reg
176 - clocks
177 - clock-names
179 "^timer@[a-f0-9]+$":
184 - enum:
185 - ingenic,jz4725b-ost
186 - ingenic,jz4770-ost
187 - items:
188 - const: ingenic,jz4780-ost
189 - const: ingenic,jz4770-ost
197 clock-names:
204 - compatible
205 - reg
206 - clocks
207 - clock-names
208 - interrupts
213 - "#clock-cells"
214 - "#interrupt-cells"
215 - interrupt-controller
216 - compatible
217 - reg
218 - clocks
219 - clock-names
220 - interrupts
225 - |
226 #include <dt-bindings/clock/jz4770-cgu.h>
227 #include <dt-bindings/clock/ingenic,tcu.h>
229 compatible = "ingenic,jz4770-tcu", "simple-mfd";
231 #address-cells = <1>;
232 #size-cells = <1>;
235 #clock-cells = <1>;
240 clock-names = "rtc", "ext", "pclk";
242 interrupt-controller;
243 #interrupt-cells = <1>;
245 interrupt-parent = <&intc>;
249 compatible = "ingenic,jz4770-watchdog", "ingenic,jz4740-watchdog";
253 clock-names = "wdt";
257 compatible = "ingenic,jz4770-pwm", "ingenic,jz4740-pwm";
260 #pwm-cells = <3>;
270 clock-names = "timer0", "timer1", "timer2", "timer3",
275 compatible = "ingenic,jz4770-ost";
279 clock-names = "ost";