blob: dced92a8970e65e7786dc335f17e8cc0808dabc9 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Tero Kristoea291c92013-07-18 18:15:35 +03002/*
3 * Device Tree Source for AM33xx clock data
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
Tero Kristoea291c92013-07-18 18:15:35 +03006 */
Tero Kristoe3bc5352015-03-20 13:08:29 +02007&scm_clocks {
Tero Kristob524cab2016-04-04 18:16:09 +03008 sys_clkin_ck: sys_clkin_ck@40 {
Tero Kristoea291c92013-07-18 18:15:35 +03009 #clock-cells = <0>;
10 compatible = "ti,mux-clock";
11 clocks = <&virt_19200000_ck>, <&virt_24000000_ck>, <&virt_25000000_ck>, <&virt_26000000_ck>;
12 ti,bit-shift = <22>;
13 reg = <0x0040>;
14 };
15
16 adc_tsc_fck: adc_tsc_fck {
17 #clock-cells = <0>;
18 compatible = "fixed-factor-clock";
19 clocks = <&sys_clkin_ck>;
20 clock-mult = <1>;
21 clock-div = <1>;
22 };
23
24 dcan0_fck: dcan0_fck {
25 #clock-cells = <0>;
26 compatible = "fixed-factor-clock";
27 clocks = <&sys_clkin_ck>;
28 clock-mult = <1>;
29 clock-div = <1>;
30 };
31
32 dcan1_fck: dcan1_fck {
33 #clock-cells = <0>;
34 compatible = "fixed-factor-clock";
35 clocks = <&sys_clkin_ck>;
36 clock-mult = <1>;
37 clock-div = <1>;
38 };
39
40 mcasp0_fck: mcasp0_fck {
41 #clock-cells = <0>;
42 compatible = "fixed-factor-clock";
43 clocks = <&sys_clkin_ck>;
44 clock-mult = <1>;
45 clock-div = <1>;
46 };
47
48 mcasp1_fck: mcasp1_fck {
49 #clock-cells = <0>;
50 compatible = "fixed-factor-clock";
51 clocks = <&sys_clkin_ck>;
52 clock-mult = <1>;
53 clock-div = <1>;
54 };
55
56 smartreflex0_fck: smartreflex0_fck {
57 #clock-cells = <0>;
58 compatible = "fixed-factor-clock";
59 clocks = <&sys_clkin_ck>;
60 clock-mult = <1>;
61 clock-div = <1>;
62 };
63
64 smartreflex1_fck: smartreflex1_fck {
65 #clock-cells = <0>;
66 compatible = "fixed-factor-clock";
67 clocks = <&sys_clkin_ck>;
68 clock-mult = <1>;
69 clock-div = <1>;
70 };
71
72 sha0_fck: sha0_fck {
73 #clock-cells = <0>;
74 compatible = "fixed-factor-clock";
75 clocks = <&sys_clkin_ck>;
76 clock-mult = <1>;
77 clock-div = <1>;
78 };
79
80 aes0_fck: aes0_fck {
81 #clock-cells = <0>;
82 compatible = "fixed-factor-clock";
83 clocks = <&sys_clkin_ck>;
84 clock-mult = <1>;
85 clock-div = <1>;
86 };
87
88 rng_fck: rng_fck {
89 #clock-cells = <0>;
90 compatible = "fixed-factor-clock";
91 clocks = <&sys_clkin_ck>;
92 clock-mult = <1>;
93 clock-div = <1>;
94 };
95
Poddar, Sourav9e100eb2014-04-29 14:04:20 +053096 ehrpwm0_tbclk: ehrpwm0_tbclk@44e10664 {
Tero Kristoea291c92013-07-18 18:15:35 +030097 #clock-cells = <0>;
Poddar, Sourav9e100eb2014-04-29 14:04:20 +053098 compatible = "ti,gate-clock";
Vignesh R6e226162015-02-10 11:05:41 +053099 clocks = <&l4ls_gclk>;
Tero Kristoea291c92013-07-18 18:15:35 +0300100 ti,bit-shift = <0>;
101 reg = <0x0664>;
102 };
103
Poddar, Sourav9e100eb2014-04-29 14:04:20 +0530104 ehrpwm1_tbclk: ehrpwm1_tbclk@44e10664 {
Tero Kristoea291c92013-07-18 18:15:35 +0300105 #clock-cells = <0>;
Poddar, Sourav9e100eb2014-04-29 14:04:20 +0530106 compatible = "ti,gate-clock";
Vignesh R6e226162015-02-10 11:05:41 +0530107 clocks = <&l4ls_gclk>;
Tero Kristoea291c92013-07-18 18:15:35 +0300108 ti,bit-shift = <1>;
109 reg = <0x0664>;
110 };
111
Poddar, Sourav9e100eb2014-04-29 14:04:20 +0530112 ehrpwm2_tbclk: ehrpwm2_tbclk@44e10664 {
Tero Kristoea291c92013-07-18 18:15:35 +0300113 #clock-cells = <0>;
Poddar, Sourav9e100eb2014-04-29 14:04:20 +0530114 compatible = "ti,gate-clock";
Vignesh R6e226162015-02-10 11:05:41 +0530115 clocks = <&l4ls_gclk>;
Tero Kristoea291c92013-07-18 18:15:35 +0300116 ti,bit-shift = <2>;
117 reg = <0x0664>;
118 };
Tero Kristoea291c92013-07-18 18:15:35 +0300119};
120&prcm_clocks {
121 clk_32768_ck: clk_32768_ck {
122 #clock-cells = <0>;
123 compatible = "fixed-clock";
124 clock-frequency = <32768>;
125 };
126
127 clk_rc32k_ck: clk_rc32k_ck {
128 #clock-cells = <0>;
129 compatible = "fixed-clock";
130 clock-frequency = <32000>;
131 };
132
133 virt_19200000_ck: virt_19200000_ck {
134 #clock-cells = <0>;
135 compatible = "fixed-clock";
136 clock-frequency = <19200000>;
137 };
138
139 virt_24000000_ck: virt_24000000_ck {
140 #clock-cells = <0>;
141 compatible = "fixed-clock";
142 clock-frequency = <24000000>;
143 };
144
145 virt_25000000_ck: virt_25000000_ck {
146 #clock-cells = <0>;
147 compatible = "fixed-clock";
148 clock-frequency = <25000000>;
149 };
150
151 virt_26000000_ck: virt_26000000_ck {
152 #clock-cells = <0>;
153 compatible = "fixed-clock";
154 clock-frequency = <26000000>;
155 };
156
157 tclkin_ck: tclkin_ck {
158 #clock-cells = <0>;
159 compatible = "fixed-clock";
160 clock-frequency = <12000000>;
161 };
162
Tero Kristob524cab2016-04-04 18:16:09 +0300163 dpll_core_ck: dpll_core_ck@490 {
Tero Kristoea291c92013-07-18 18:15:35 +0300164 #clock-cells = <0>;
165 compatible = "ti,am3-dpll-core-clock";
166 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
167 reg = <0x0490>, <0x045c>, <0x0468>;
168 };
169
170 dpll_core_x2_ck: dpll_core_x2_ck {
171 #clock-cells = <0>;
172 compatible = "ti,am3-dpll-x2-clock";
173 clocks = <&dpll_core_ck>;
174 };
175
Tero Kristob524cab2016-04-04 18:16:09 +0300176 dpll_core_m4_ck: dpll_core_m4_ck@480 {
Tero Kristoea291c92013-07-18 18:15:35 +0300177 #clock-cells = <0>;
178 compatible = "ti,divider-clock";
179 clocks = <&dpll_core_x2_ck>;
180 ti,max-div = <31>;
181 reg = <0x0480>;
182 ti,index-starts-at-one;
183 };
184
Tero Kristob524cab2016-04-04 18:16:09 +0300185 dpll_core_m5_ck: dpll_core_m5_ck@484 {
Tero Kristoea291c92013-07-18 18:15:35 +0300186 #clock-cells = <0>;
187 compatible = "ti,divider-clock";
188 clocks = <&dpll_core_x2_ck>;
189 ti,max-div = <31>;
190 reg = <0x0484>;
191 ti,index-starts-at-one;
192 };
193
Tero Kristob524cab2016-04-04 18:16:09 +0300194 dpll_core_m6_ck: dpll_core_m6_ck@4d8 {
Tero Kristoea291c92013-07-18 18:15:35 +0300195 #clock-cells = <0>;
196 compatible = "ti,divider-clock";
197 clocks = <&dpll_core_x2_ck>;
198 ti,max-div = <31>;
199 reg = <0x04d8>;
200 ti,index-starts-at-one;
201 };
202
Tero Kristob524cab2016-04-04 18:16:09 +0300203 dpll_mpu_ck: dpll_mpu_ck@488 {
Tero Kristoea291c92013-07-18 18:15:35 +0300204 #clock-cells = <0>;
205 compatible = "ti,am3-dpll-clock";
206 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
207 reg = <0x0488>, <0x0420>, <0x042c>;
208 };
209
Tero Kristob524cab2016-04-04 18:16:09 +0300210 dpll_mpu_m2_ck: dpll_mpu_m2_ck@4a8 {
Tero Kristoea291c92013-07-18 18:15:35 +0300211 #clock-cells = <0>;
212 compatible = "ti,divider-clock";
213 clocks = <&dpll_mpu_ck>;
214 ti,max-div = <31>;
215 reg = <0x04a8>;
216 ti,index-starts-at-one;
217 };
218
Tero Kristob524cab2016-04-04 18:16:09 +0300219 dpll_ddr_ck: dpll_ddr_ck@494 {
Tero Kristoea291c92013-07-18 18:15:35 +0300220 #clock-cells = <0>;
221 compatible = "ti,am3-dpll-no-gate-clock";
222 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
223 reg = <0x0494>, <0x0434>, <0x0440>;
224 };
225
Tero Kristob524cab2016-04-04 18:16:09 +0300226 dpll_ddr_m2_ck: dpll_ddr_m2_ck@4a0 {
Tero Kristoea291c92013-07-18 18:15:35 +0300227 #clock-cells = <0>;
228 compatible = "ti,divider-clock";
229 clocks = <&dpll_ddr_ck>;
230 ti,max-div = <31>;
231 reg = <0x04a0>;
232 ti,index-starts-at-one;
233 };
234
235 dpll_ddr_m2_div2_ck: dpll_ddr_m2_div2_ck {
236 #clock-cells = <0>;
237 compatible = "fixed-factor-clock";
238 clocks = <&dpll_ddr_m2_ck>;
239 clock-mult = <1>;
240 clock-div = <2>;
241 };
242
Tero Kristob524cab2016-04-04 18:16:09 +0300243 dpll_disp_ck: dpll_disp_ck@498 {
Tero Kristoea291c92013-07-18 18:15:35 +0300244 #clock-cells = <0>;
245 compatible = "ti,am3-dpll-no-gate-clock";
246 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
247 reg = <0x0498>, <0x0448>, <0x0454>;
248 };
249
Tero Kristob524cab2016-04-04 18:16:09 +0300250 dpll_disp_m2_ck: dpll_disp_m2_ck@4a4 {
Tero Kristoea291c92013-07-18 18:15:35 +0300251 #clock-cells = <0>;
252 compatible = "ti,divider-clock";
253 clocks = <&dpll_disp_ck>;
254 ti,max-div = <31>;
255 reg = <0x04a4>;
256 ti,index-starts-at-one;
257 ti,set-rate-parent;
258 };
259
Tero Kristob524cab2016-04-04 18:16:09 +0300260 dpll_per_ck: dpll_per_ck@48c {
Tero Kristoea291c92013-07-18 18:15:35 +0300261 #clock-cells = <0>;
262 compatible = "ti,am3-dpll-no-gate-j-type-clock";
263 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
264 reg = <0x048c>, <0x0470>, <0x049c>;
265 };
266
Tero Kristob524cab2016-04-04 18:16:09 +0300267 dpll_per_m2_ck: dpll_per_m2_ck@4ac {
Tero Kristoea291c92013-07-18 18:15:35 +0300268 #clock-cells = <0>;
269 compatible = "ti,divider-clock";
270 clocks = <&dpll_per_ck>;
271 ti,max-div = <31>;
272 reg = <0x04ac>;
273 ti,index-starts-at-one;
274 };
275
276 dpll_per_m2_div4_wkupdm_ck: dpll_per_m2_div4_wkupdm_ck {
277 #clock-cells = <0>;
278 compatible = "fixed-factor-clock";
279 clocks = <&dpll_per_m2_ck>;
280 clock-mult = <1>;
281 clock-div = <4>;
282 };
283
284 dpll_per_m2_div4_ck: dpll_per_m2_div4_ck {
285 #clock-cells = <0>;
286 compatible = "fixed-factor-clock";
287 clocks = <&dpll_per_m2_ck>;
288 clock-mult = <1>;
289 clock-div = <4>;
290 };
291
Tero Kristoea291c92013-07-18 18:15:35 +0300292 clk_24mhz: clk_24mhz {
293 #clock-cells = <0>;
294 compatible = "fixed-factor-clock";
295 clocks = <&dpll_per_m2_ck>;
296 clock-mult = <1>;
297 clock-div = <8>;
298 };
299
300 clkdiv32k_ck: clkdiv32k_ck {
301 #clock-cells = <0>;
302 compatible = "fixed-factor-clock";
303 clocks = <&clk_24mhz>;
304 clock-mult = <1>;
305 clock-div = <732>;
306 };
307
Tero Kristoea291c92013-07-18 18:15:35 +0300308 l3_gclk: l3_gclk {
309 #clock-cells = <0>;
310 compatible = "fixed-factor-clock";
311 clocks = <&dpll_core_m4_ck>;
312 clock-mult = <1>;
313 clock-div = <1>;
314 };
315
Tero Kristob524cab2016-04-04 18:16:09 +0300316 pruss_ocp_gclk: pruss_ocp_gclk@530 {
Tero Kristoea291c92013-07-18 18:15:35 +0300317 #clock-cells = <0>;
318 compatible = "ti,mux-clock";
319 clocks = <&l3_gclk>, <&dpll_disp_m2_ck>;
320 reg = <0x0530>;
321 };
322
Tero Kristob524cab2016-04-04 18:16:09 +0300323 mmu_fck: mmu_fck@914 {
Tero Kristoea291c92013-07-18 18:15:35 +0300324 #clock-cells = <0>;
325 compatible = "ti,gate-clock";
326 clocks = <&dpll_core_m4_ck>;
327 ti,bit-shift = <1>;
328 reg = <0x0914>;
329 };
330
Tero Kristob524cab2016-04-04 18:16:09 +0300331 timer1_fck: timer1_fck@528 {
Tero Kristoea291c92013-07-18 18:15:35 +0300332 #clock-cells = <0>;
333 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300334 clocks = <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>, <&tclkin_ck>, <&clk_rc32k_ck>, <&clk_32768_ck>;
Tero Kristoea291c92013-07-18 18:15:35 +0300335 reg = <0x0528>;
336 };
337
Tero Kristob524cab2016-04-04 18:16:09 +0300338 timer2_fck: timer2_fck@508 {
Tero Kristoea291c92013-07-18 18:15:35 +0300339 #clock-cells = <0>;
340 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300341 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300342 reg = <0x0508>;
343 };
344
Tero Kristob524cab2016-04-04 18:16:09 +0300345 timer3_fck: timer3_fck@50c {
Tero Kristoea291c92013-07-18 18:15:35 +0300346 #clock-cells = <0>;
347 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300348 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300349 reg = <0x050c>;
350 };
351
Tero Kristob524cab2016-04-04 18:16:09 +0300352 timer4_fck: timer4_fck@510 {
Tero Kristoea291c92013-07-18 18:15:35 +0300353 #clock-cells = <0>;
354 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300355 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300356 reg = <0x0510>;
357 };
358
Tero Kristob524cab2016-04-04 18:16:09 +0300359 timer5_fck: timer5_fck@518 {
Tero Kristoea291c92013-07-18 18:15:35 +0300360 #clock-cells = <0>;
361 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300362 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300363 reg = <0x0518>;
364 };
365
Tero Kristob524cab2016-04-04 18:16:09 +0300366 timer6_fck: timer6_fck@51c {
Tero Kristoea291c92013-07-18 18:15:35 +0300367 #clock-cells = <0>;
368 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300369 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300370 reg = <0x051c>;
371 };
372
Tero Kristob524cab2016-04-04 18:16:09 +0300373 timer7_fck: timer7_fck@504 {
Tero Kristoea291c92013-07-18 18:15:35 +0300374 #clock-cells = <0>;
375 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300376 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300377 reg = <0x0504>;
378 };
379
Tero Kristob524cab2016-04-04 18:16:09 +0300380 usbotg_fck: usbotg_fck@47c {
Tero Kristoea291c92013-07-18 18:15:35 +0300381 #clock-cells = <0>;
382 compatible = "ti,gate-clock";
383 clocks = <&dpll_per_ck>;
384 ti,bit-shift = <8>;
385 reg = <0x047c>;
386 };
387
388 dpll_core_m4_div2_ck: dpll_core_m4_div2_ck {
389 #clock-cells = <0>;
390 compatible = "fixed-factor-clock";
391 clocks = <&dpll_core_m4_ck>;
392 clock-mult = <1>;
393 clock-div = <2>;
394 };
395
Tero Kristob524cab2016-04-04 18:16:09 +0300396 ieee5000_fck: ieee5000_fck@e4 {
Tero Kristoea291c92013-07-18 18:15:35 +0300397 #clock-cells = <0>;
398 compatible = "ti,gate-clock";
399 clocks = <&dpll_core_m4_div2_ck>;
400 ti,bit-shift = <1>;
401 reg = <0x00e4>;
402 };
403
Tero Kristob524cab2016-04-04 18:16:09 +0300404 wdt1_fck: wdt1_fck@538 {
Tero Kristoea291c92013-07-18 18:15:35 +0300405 #clock-cells = <0>;
406 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300407 clocks = <&clk_rc32k_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300408 reg = <0x0538>;
409 };
410
411 l4_rtc_gclk: l4_rtc_gclk {
412 #clock-cells = <0>;
413 compatible = "fixed-factor-clock";
414 clocks = <&dpll_core_m4_ck>;
415 clock-mult = <1>;
416 clock-div = <2>;
417 };
418
419 l4hs_gclk: l4hs_gclk {
420 #clock-cells = <0>;
421 compatible = "fixed-factor-clock";
422 clocks = <&dpll_core_m4_ck>;
423 clock-mult = <1>;
424 clock-div = <1>;
425 };
426
427 l3s_gclk: l3s_gclk {
428 #clock-cells = <0>;
429 compatible = "fixed-factor-clock";
430 clocks = <&dpll_core_m4_div2_ck>;
431 clock-mult = <1>;
432 clock-div = <1>;
433 };
434
435 l4fw_gclk: l4fw_gclk {
436 #clock-cells = <0>;
437 compatible = "fixed-factor-clock";
438 clocks = <&dpll_core_m4_div2_ck>;
439 clock-mult = <1>;
440 clock-div = <1>;
441 };
442
443 l4ls_gclk: l4ls_gclk {
444 #clock-cells = <0>;
445 compatible = "fixed-factor-clock";
446 clocks = <&dpll_core_m4_div2_ck>;
447 clock-mult = <1>;
448 clock-div = <1>;
449 };
450
451 sysclk_div_ck: sysclk_div_ck {
452 #clock-cells = <0>;
453 compatible = "fixed-factor-clock";
454 clocks = <&dpll_core_m4_ck>;
455 clock-mult = <1>;
456 clock-div = <1>;
457 };
458
459 cpsw_125mhz_gclk: cpsw_125mhz_gclk {
460 #clock-cells = <0>;
461 compatible = "fixed-factor-clock";
462 clocks = <&dpll_core_m5_ck>;
463 clock-mult = <1>;
464 clock-div = <2>;
465 };
466
Tero Kristob524cab2016-04-04 18:16:09 +0300467 cpsw_cpts_rft_clk: cpsw_cpts_rft_clk@520 {
Tero Kristoea291c92013-07-18 18:15:35 +0300468 #clock-cells = <0>;
469 compatible = "ti,mux-clock";
470 clocks = <&dpll_core_m5_ck>, <&dpll_core_m4_ck>;
471 reg = <0x0520>;
472 };
473
Tero Kristob524cab2016-04-04 18:16:09 +0300474 gpio0_dbclk_mux_ck: gpio0_dbclk_mux_ck@53c {
Tero Kristoea291c92013-07-18 18:15:35 +0300475 #clock-cells = <0>;
476 compatible = "ti,mux-clock";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300477 clocks = <&clk_rc32k_ck>, <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tero Kristoea291c92013-07-18 18:15:35 +0300478 reg = <0x053c>;
479 };
480
Tero Kristob524cab2016-04-04 18:16:09 +0300481 lcd_gclk: lcd_gclk@534 {
Tero Kristoea291c92013-07-18 18:15:35 +0300482 #clock-cells = <0>;
483 compatible = "ti,mux-clock";
484 clocks = <&dpll_disp_m2_ck>, <&dpll_core_m5_ck>, <&dpll_per_m2_ck>;
485 reg = <0x0534>;
486 ti,set-rate-parent;
487 };
488
489 mmc_clk: mmc_clk {
490 #clock-cells = <0>;
491 compatible = "fixed-factor-clock";
492 clocks = <&dpll_per_m2_ck>;
493 clock-mult = <1>;
494 clock-div = <2>;
495 };
496
Tero Kristob524cab2016-04-04 18:16:09 +0300497 gfx_fclk_clksel_ck: gfx_fclk_clksel_ck@52c {
Tero Kristoea291c92013-07-18 18:15:35 +0300498 #clock-cells = <0>;
499 compatible = "ti,mux-clock";
500 clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
501 ti,bit-shift = <1>;
502 reg = <0x052c>;
503 };
504
Tero Kristob524cab2016-04-04 18:16:09 +0300505 gfx_fck_div_ck: gfx_fck_div_ck@52c {
Tero Kristoea291c92013-07-18 18:15:35 +0300506 #clock-cells = <0>;
507 compatible = "ti,divider-clock";
508 clocks = <&gfx_fclk_clksel_ck>;
509 reg = <0x052c>;
510 ti,max-div = <2>;
511 };
512
Tero Kristob524cab2016-04-04 18:16:09 +0300513 sysclkout_pre_ck: sysclkout_pre_ck@700 {
Tero Kristoea291c92013-07-18 18:15:35 +0300514 #clock-cells = <0>;
515 compatible = "ti,mux-clock";
516 clocks = <&clk_32768_ck>, <&l3_gclk>, <&dpll_ddr_m2_ck>, <&dpll_per_m2_ck>, <&lcd_gclk>;
517 reg = <0x0700>;
518 };
519
Tero Kristob524cab2016-04-04 18:16:09 +0300520 clkout2_div_ck: clkout2_div_ck@700 {
Tero Kristoea291c92013-07-18 18:15:35 +0300521 #clock-cells = <0>;
522 compatible = "ti,divider-clock";
523 clocks = <&sysclkout_pre_ck>;
524 ti,bit-shift = <3>;
525 ti,max-div = <8>;
526 reg = <0x0700>;
527 };
528
Tero Kristob524cab2016-04-04 18:16:09 +0300529 clkout2_ck: clkout2_ck@700 {
Tero Kristoea291c92013-07-18 18:15:35 +0300530 #clock-cells = <0>;
531 compatible = "ti,gate-clock";
532 clocks = <&clkout2_div_ck>;
533 ti,bit-shift = <7>;
534 reg = <0x0700>;
535 };
536};
537
Tero Kristo05376342017-12-08 17:17:30 +0200538&prcm {
Tero Kristo69fd70c2018-08-31 18:14:49 +0300539 per_cm: per-cm@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200540 compatible = "ti,omap4-cm";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300541 reg = <0x0 0x400>;
Tero Kristo05376342017-12-08 17:17:30 +0200542 #address-cells = <1>;
543 #size-cells = <1>;
Tero Kristo69fd70c2018-08-31 18:14:49 +0300544 ranges = <0 0x0 0x400>;
Tero Kristo05376342017-12-08 17:17:30 +0200545
Tero Kristo69fd70c2018-08-31 18:14:49 +0300546 l4ls_clkctrl: l4ls-clkctrl@38 {
Tero Kristo05376342017-12-08 17:17:30 +0200547 compatible = "ti,clkctrl";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300548 reg = <0x38 0x2c>, <0x6c 0x28>, <0xac 0xc>, <0xc0 0x1c>, <0xec 0xc>, <0x10c 0x8>, <0x130 0x4>;
549 #clock-cells = <2>;
550 };
551
552 l3s_clkctrl: l3s-clkctrl@1c {
553 compatible = "ti,clkctrl";
554 reg = <0x1c 0x4>, <0x30 0x8>, <0x68 0x4>, <0xf8 0x4>;
555 #clock-cells = <2>;
556 };
557
558 l3_clkctrl: l3-clkctrl@24 {
559 compatible = "ti,clkctrl";
560 reg = <0x24 0xc>, <0x94 0x10>, <0xbc 0x4>, <0xdc 0x8>, <0xfc 0x8>;
561 #clock-cells = <2>;
562 };
563
564 l4hs_clkctrl: l4hs-clkctrl@120 {
565 compatible = "ti,clkctrl";
566 reg = <0x120 0x4>;
567 #clock-cells = <2>;
568 };
569
570 pruss_ocp_clkctrl: pruss-ocp-clkctrl@e8 {
571 compatible = "ti,clkctrl";
572 reg = <0xe8 0x4>;
573 #clock-cells = <2>;
574 };
575
576 cpsw_125mhz_clkctrl: cpsw-125mhz-clkctrl@0 {
577 compatible = "ti,clkctrl";
578 reg = <0x0 0x18>;
579 #clock-cells = <2>;
580 };
581
582 lcdc_clkctrl: lcdc-clkctrl@18 {
583 compatible = "ti,clkctrl";
584 reg = <0x18 0x4>;
585 #clock-cells = <2>;
586 };
587
588 clk_24mhz_clkctrl: clk-24mhz-clkctrl@14c {
589 compatible = "ti,clkctrl";
590 reg = <0x14c 0x4>;
Tero Kristo05376342017-12-08 17:17:30 +0200591 #clock-cells = <2>;
592 };
593 };
594
Tero Kristo69fd70c2018-08-31 18:14:49 +0300595 wkup_cm: wkup-cm@400 {
Tero Kristo05376342017-12-08 17:17:30 +0200596 compatible = "ti,omap4-cm";
597 reg = <0x400 0x100>;
598 #address-cells = <1>;
599 #size-cells = <1>;
600 ranges = <0 0x400 0x100>;
601
Tero Kristo69fd70c2018-08-31 18:14:49 +0300602 l4_wkup_clkctrl: l4-wkup-clkctrl@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200603 compatible = "ti,clkctrl";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300604 reg = <0x0 0x10>, <0xb4 0x24>;
605 #clock-cells = <2>;
606 };
607
608 l3_aon_clkctrl: l3-aon-clkctrl@14 {
609 compatible = "ti,clkctrl";
610 reg = <0x14 0x4>;
611 #clock-cells = <2>;
612 };
613
614 l4_wkup_aon_clkctrl: l4-wkup-aon-clkctrl@b0 {
615 compatible = "ti,clkctrl";
616 reg = <0xb0 0x4>;
Tero Kristo05376342017-12-08 17:17:30 +0200617 #clock-cells = <2>;
618 };
619 };
620
Tero Kristo69fd70c2018-08-31 18:14:49 +0300621 mpu_cm: mpu-cm@600 {
Tero Kristo05376342017-12-08 17:17:30 +0200622 compatible = "ti,omap4-cm";
623 reg = <0x600 0x100>;
624 #address-cells = <1>;
625 #size-cells = <1>;
626 ranges = <0 0x600 0x100>;
627
Tero Kristo69fd70c2018-08-31 18:14:49 +0300628 mpu_clkctrl: mpu-clkctrl@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200629 compatible = "ti,clkctrl";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300630 reg = <0x0 0x8>;
Tero Kristo05376342017-12-08 17:17:30 +0200631 #clock-cells = <2>;
632 };
633 };
634
Tero Kristo69fd70c2018-08-31 18:14:49 +0300635 l4_rtc_cm: l4-rtc-cm@800 {
Tero Kristo05376342017-12-08 17:17:30 +0200636 compatible = "ti,omap4-cm";
637 reg = <0x800 0x100>;
638 #address-cells = <1>;
639 #size-cells = <1>;
640 ranges = <0 0x800 0x100>;
641
Tero Kristo69fd70c2018-08-31 18:14:49 +0300642 l4_rtc_clkctrl: l4-rtc-clkctrl@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200643 compatible = "ti,clkctrl";
644 reg = <0x0 0x4>;
645 #clock-cells = <2>;
646 };
647 };
648
Tero Kristo69fd70c2018-08-31 18:14:49 +0300649 gfx_l3_cm: gfx-l3-cm@900 {
Tero Kristo05376342017-12-08 17:17:30 +0200650 compatible = "ti,omap4-cm";
651 reg = <0x900 0x100>;
652 #address-cells = <1>;
653 #size-cells = <1>;
654 ranges = <0 0x900 0x100>;
655
Tero Kristo69fd70c2018-08-31 18:14:49 +0300656 gfx_l3_clkctrl: gfx-l3-clkctrl@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200657 compatible = "ti,clkctrl";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300658 reg = <0x0 0x8>;
Tero Kristo05376342017-12-08 17:17:30 +0200659 #clock-cells = <2>;
660 };
661 };
662
Tero Kristo69fd70c2018-08-31 18:14:49 +0300663 l4_cefuse_cm: l4-cefuse-cm@a00 {
Tero Kristo05376342017-12-08 17:17:30 +0200664 compatible = "ti,omap4-cm";
665 reg = <0xa00 0x100>;
666 #address-cells = <1>;
667 #size-cells = <1>;
668 ranges = <0 0xa00 0x100>;
669
Tero Kristo69fd70c2018-08-31 18:14:49 +0300670 l4_cefuse_clkctrl: l4-cefuse-clkctrl@0 {
Tero Kristo05376342017-12-08 17:17:30 +0200671 compatible = "ti,clkctrl";
Tero Kristo69fd70c2018-08-31 18:14:49 +0300672 reg = <0x0 0x24>;
Tero Kristo05376342017-12-08 17:17:30 +0200673 #clock-cells = <2>;
674 };
Tero Kristoea291c92013-07-18 18:15:35 +0300675 };
676};