blob: d126d57634221e32ac940a269c0481e7bd2a6549 [file] [log] [blame]
Tero Kristoee6c7502013-07-18 17:18:33 +03001/*
2 * Device Tree Source for DRA7xx clock data
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10&cm_core_aon_clocks {
11 atl_clkin0_ck: atl_clkin0_ck {
12 #clock-cells = <0>;
13 compatible = "fixed-clock";
14 clock-frequency = <0>;
15 };
16
17 atl_clkin1_ck: atl_clkin1_ck {
18 #clock-cells = <0>;
19 compatible = "fixed-clock";
20 clock-frequency = <0>;
21 };
22
23 atl_clkin2_ck: atl_clkin2_ck {
24 #clock-cells = <0>;
25 compatible = "fixed-clock";
26 clock-frequency = <0>;
27 };
28
Peter Ujfalusi0cccd912014-05-07 13:20:45 +030029 atl_clkin3_ck: atl_clkin3_ck {
Tero Kristoee6c7502013-07-18 17:18:33 +030030 #clock-cells = <0>;
31 compatible = "fixed-clock";
32 clock-frequency = <0>;
33 };
34
35 hdmi_clkin_ck: hdmi_clkin_ck {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <0>;
39 };
40
41 mlb_clkin_ck: mlb_clkin_ck {
42 #clock-cells = <0>;
43 compatible = "fixed-clock";
44 clock-frequency = <0>;
45 };
46
47 mlbp_clkin_ck: mlbp_clkin_ck {
48 #clock-cells = <0>;
49 compatible = "fixed-clock";
50 clock-frequency = <0>;
51 };
52
53 pciesref_acs_clk_ck: pciesref_acs_clk_ck {
54 #clock-cells = <0>;
55 compatible = "fixed-clock";
56 clock-frequency = <100000000>;
57 };
58
59 ref_clkin0_ck: ref_clkin0_ck {
60 #clock-cells = <0>;
61 compatible = "fixed-clock";
62 clock-frequency = <0>;
63 };
64
65 ref_clkin1_ck: ref_clkin1_ck {
66 #clock-cells = <0>;
67 compatible = "fixed-clock";
68 clock-frequency = <0>;
69 };
70
71 ref_clkin2_ck: ref_clkin2_ck {
72 #clock-cells = <0>;
73 compatible = "fixed-clock";
74 clock-frequency = <0>;
75 };
76
77 ref_clkin3_ck: ref_clkin3_ck {
78 #clock-cells = <0>;
79 compatible = "fixed-clock";
80 clock-frequency = <0>;
81 };
82
83 rmii_clk_ck: rmii_clk_ck {
84 #clock-cells = <0>;
85 compatible = "fixed-clock";
86 clock-frequency = <0>;
87 };
88
89 sdvenc_clkin_ck: sdvenc_clkin_ck {
90 #clock-cells = <0>;
91 compatible = "fixed-clock";
92 clock-frequency = <0>;
93 };
94
95 secure_32k_clk_src_ck: secure_32k_clk_src_ck {
96 #clock-cells = <0>;
97 compatible = "fixed-clock";
98 clock-frequency = <32768>;
99 };
100
101 sys_32k_ck: sys_32k_ck {
102 #clock-cells = <0>;
103 compatible = "fixed-clock";
104 clock-frequency = <32768>;
105 };
106
107 virt_12000000_ck: virt_12000000_ck {
108 #clock-cells = <0>;
109 compatible = "fixed-clock";
110 clock-frequency = <12000000>;
111 };
112
113 virt_13000000_ck: virt_13000000_ck {
114 #clock-cells = <0>;
115 compatible = "fixed-clock";
116 clock-frequency = <13000000>;
117 };
118
119 virt_16800000_ck: virt_16800000_ck {
120 #clock-cells = <0>;
121 compatible = "fixed-clock";
122 clock-frequency = <16800000>;
123 };
124
125 virt_19200000_ck: virt_19200000_ck {
126 #clock-cells = <0>;
127 compatible = "fixed-clock";
128 clock-frequency = <19200000>;
129 };
130
131 virt_20000000_ck: virt_20000000_ck {
132 #clock-cells = <0>;
133 compatible = "fixed-clock";
134 clock-frequency = <20000000>;
135 };
136
137 virt_26000000_ck: virt_26000000_ck {
138 #clock-cells = <0>;
139 compatible = "fixed-clock";
140 clock-frequency = <26000000>;
141 };
142
143 virt_27000000_ck: virt_27000000_ck {
144 #clock-cells = <0>;
145 compatible = "fixed-clock";
146 clock-frequency = <27000000>;
147 };
148
149 virt_38400000_ck: virt_38400000_ck {
150 #clock-cells = <0>;
151 compatible = "fixed-clock";
152 clock-frequency = <38400000>;
153 };
154
155 sys_clkin2: sys_clkin2 {
156 #clock-cells = <0>;
157 compatible = "fixed-clock";
158 clock-frequency = <22579200>;
159 };
160
161 usb_otg_clkin_ck: usb_otg_clkin_ck {
162 #clock-cells = <0>;
163 compatible = "fixed-clock";
164 clock-frequency = <0>;
165 };
166
167 video1_clkin_ck: video1_clkin_ck {
168 #clock-cells = <0>;
169 compatible = "fixed-clock";
170 clock-frequency = <0>;
171 };
172
173 video1_m2_clkin_ck: video1_m2_clkin_ck {
174 #clock-cells = <0>;
175 compatible = "fixed-clock";
176 clock-frequency = <0>;
177 };
178
179 video2_clkin_ck: video2_clkin_ck {
180 #clock-cells = <0>;
181 compatible = "fixed-clock";
182 clock-frequency = <0>;
183 };
184
185 video2_m2_clkin_ck: video2_m2_clkin_ck {
186 #clock-cells = <0>;
187 compatible = "fixed-clock";
188 clock-frequency = <0>;
189 };
190
191 dpll_abe_ck: dpll_abe_ck {
192 #clock-cells = <0>;
193 compatible = "ti,omap4-dpll-m4xen-clock";
194 clocks = <&abe_dpll_clk_mux>, <&abe_dpll_bypass_clk_mux>;
195 reg = <0x01e0>, <0x01e4>, <0x01ec>, <0x01e8>;
196 };
197
198 dpll_abe_x2_ck: dpll_abe_x2_ck {
199 #clock-cells = <0>;
200 compatible = "ti,omap4-dpll-x2-clock";
201 clocks = <&dpll_abe_ck>;
202 };
203
204 dpll_abe_m2x2_ck: dpll_abe_m2x2_ck {
205 #clock-cells = <0>;
206 compatible = "ti,divider-clock";
207 clocks = <&dpll_abe_x2_ck>;
208 ti,max-div = <31>;
209 ti,autoidle-shift = <8>;
210 reg = <0x01f0>;
211 ti,index-starts-at-one;
212 ti,invert-autoidle-bit;
213 };
214
215 abe_clk: abe_clk {
216 #clock-cells = <0>;
217 compatible = "ti,divider-clock";
218 clocks = <&dpll_abe_m2x2_ck>;
219 ti,max-div = <4>;
220 reg = <0x0108>;
221 ti,index-power-of-two;
222 };
223
224 dpll_abe_m2_ck: dpll_abe_m2_ck {
225 #clock-cells = <0>;
226 compatible = "ti,divider-clock";
227 clocks = <&dpll_abe_ck>;
228 ti,max-div = <31>;
229 ti,autoidle-shift = <8>;
230 reg = <0x01f0>;
231 ti,index-starts-at-one;
232 ti,invert-autoidle-bit;
233 };
234
235 dpll_abe_m3x2_ck: dpll_abe_m3x2_ck {
236 #clock-cells = <0>;
237 compatible = "ti,divider-clock";
238 clocks = <&dpll_abe_x2_ck>;
239 ti,max-div = <31>;
240 ti,autoidle-shift = <8>;
241 reg = <0x01f4>;
242 ti,index-starts-at-one;
243 ti,invert-autoidle-bit;
244 };
245
246 dpll_core_ck: dpll_core_ck {
247 #clock-cells = <0>;
248 compatible = "ti,omap4-dpll-core-clock";
249 clocks = <&sys_clkin1>, <&dpll_abe_m3x2_ck>;
250 reg = <0x0120>, <0x0124>, <0x012c>, <0x0128>;
251 };
252
253 dpll_core_x2_ck: dpll_core_x2_ck {
254 #clock-cells = <0>;
255 compatible = "ti,omap4-dpll-x2-clock";
256 clocks = <&dpll_core_ck>;
257 };
258
259 dpll_core_h12x2_ck: dpll_core_h12x2_ck {
260 #clock-cells = <0>;
261 compatible = "ti,divider-clock";
262 clocks = <&dpll_core_x2_ck>;
263 ti,max-div = <63>;
264 ti,autoidle-shift = <8>;
265 reg = <0x013c>;
266 ti,index-starts-at-one;
267 ti,invert-autoidle-bit;
268 };
269
270 mpu_dpll_hs_clk_div: mpu_dpll_hs_clk_div {
271 #clock-cells = <0>;
272 compatible = "fixed-factor-clock";
273 clocks = <&dpll_core_h12x2_ck>;
274 clock-mult = <1>;
275 clock-div = <1>;
276 };
277
278 dpll_mpu_ck: dpll_mpu_ck {
279 #clock-cells = <0>;
Nishanth Menon7e148072014-05-16 05:46:00 -0500280 compatible = "ti,omap5-mpu-dpll-clock";
Tero Kristoee6c7502013-07-18 17:18:33 +0300281 clocks = <&sys_clkin1>, <&mpu_dpll_hs_clk_div>;
282 reg = <0x0160>, <0x0164>, <0x016c>, <0x0168>;
283 };
284
285 dpll_mpu_m2_ck: dpll_mpu_m2_ck {
286 #clock-cells = <0>;
287 compatible = "ti,divider-clock";
288 clocks = <&dpll_mpu_ck>;
289 ti,max-div = <31>;
290 ti,autoidle-shift = <8>;
291 reg = <0x0170>;
292 ti,index-starts-at-one;
293 ti,invert-autoidle-bit;
294 };
295
296 mpu_dclk_div: mpu_dclk_div {
297 #clock-cells = <0>;
298 compatible = "fixed-factor-clock";
299 clocks = <&dpll_mpu_m2_ck>;
300 clock-mult = <1>;
301 clock-div = <1>;
302 };
303
304 dsp_dpll_hs_clk_div: dsp_dpll_hs_clk_div {
305 #clock-cells = <0>;
306 compatible = "fixed-factor-clock";
307 clocks = <&dpll_core_h12x2_ck>;
308 clock-mult = <1>;
309 clock-div = <1>;
310 };
311
312 dpll_dsp_ck: dpll_dsp_ck {
313 #clock-cells = <0>;
314 compatible = "ti,omap4-dpll-clock";
315 clocks = <&sys_clkin1>, <&dsp_dpll_hs_clk_div>;
316 reg = <0x0234>, <0x0238>, <0x0240>, <0x023c>;
317 };
318
319 dpll_dsp_m2_ck: dpll_dsp_m2_ck {
320 #clock-cells = <0>;
321 compatible = "ti,divider-clock";
322 clocks = <&dpll_dsp_ck>;
323 ti,max-div = <31>;
324 ti,autoidle-shift = <8>;
325 reg = <0x0244>;
326 ti,index-starts-at-one;
327 ti,invert-autoidle-bit;
328 };
329
330 iva_dpll_hs_clk_div: iva_dpll_hs_clk_div {
331 #clock-cells = <0>;
332 compatible = "fixed-factor-clock";
333 clocks = <&dpll_core_h12x2_ck>;
334 clock-mult = <1>;
335 clock-div = <1>;
336 };
337
338 dpll_iva_ck: dpll_iva_ck {
339 #clock-cells = <0>;
340 compatible = "ti,omap4-dpll-clock";
341 clocks = <&sys_clkin1>, <&iva_dpll_hs_clk_div>;
342 reg = <0x01a0>, <0x01a4>, <0x01ac>, <0x01a8>;
343 };
344
345 dpll_iva_m2_ck: dpll_iva_m2_ck {
346 #clock-cells = <0>;
347 compatible = "ti,divider-clock";
348 clocks = <&dpll_iva_ck>;
349 ti,max-div = <31>;
350 ti,autoidle-shift = <8>;
351 reg = <0x01b0>;
352 ti,index-starts-at-one;
353 ti,invert-autoidle-bit;
354 };
355
356 iva_dclk: iva_dclk {
357 #clock-cells = <0>;
358 compatible = "fixed-factor-clock";
359 clocks = <&dpll_iva_m2_ck>;
360 clock-mult = <1>;
361 clock-div = <1>;
362 };
363
364 dpll_gpu_ck: dpll_gpu_ck {
365 #clock-cells = <0>;
366 compatible = "ti,omap4-dpll-clock";
367 clocks = <&sys_clkin1>, <&dpll_abe_m3x2_ck>;
368 reg = <0x02d8>, <0x02dc>, <0x02e4>, <0x02e0>;
369 };
370
371 dpll_gpu_m2_ck: dpll_gpu_m2_ck {
372 #clock-cells = <0>;
373 compatible = "ti,divider-clock";
374 clocks = <&dpll_gpu_ck>;
375 ti,max-div = <31>;
376 ti,autoidle-shift = <8>;
377 reg = <0x02e8>;
378 ti,index-starts-at-one;
379 ti,invert-autoidle-bit;
380 };
381
382 dpll_core_m2_ck: dpll_core_m2_ck {
383 #clock-cells = <0>;
384 compatible = "ti,divider-clock";
385 clocks = <&dpll_core_ck>;
386 ti,max-div = <31>;
387 ti,autoidle-shift = <8>;
388 reg = <0x0130>;
389 ti,index-starts-at-one;
390 ti,invert-autoidle-bit;
391 };
392
393 core_dpll_out_dclk_div: core_dpll_out_dclk_div {
394 #clock-cells = <0>;
395 compatible = "fixed-factor-clock";
396 clocks = <&dpll_core_m2_ck>;
397 clock-mult = <1>;
398 clock-div = <1>;
399 };
400
401 dpll_ddr_ck: dpll_ddr_ck {
402 #clock-cells = <0>;
403 compatible = "ti,omap4-dpll-clock";
404 clocks = <&sys_clkin1>, <&dpll_abe_m3x2_ck>;
405 reg = <0x0210>, <0x0214>, <0x021c>, <0x0218>;
406 };
407
408 dpll_ddr_m2_ck: dpll_ddr_m2_ck {
409 #clock-cells = <0>;
410 compatible = "ti,divider-clock";
411 clocks = <&dpll_ddr_ck>;
412 ti,max-div = <31>;
413 ti,autoidle-shift = <8>;
414 reg = <0x0220>;
415 ti,index-starts-at-one;
416 ti,invert-autoidle-bit;
417 };
418
419 dpll_gmac_ck: dpll_gmac_ck {
420 #clock-cells = <0>;
421 compatible = "ti,omap4-dpll-clock";
422 clocks = <&sys_clkin1>, <&dpll_abe_m3x2_ck>;
423 reg = <0x02a8>, <0x02ac>, <0x02b4>, <0x02b0>;
424 };
425
426 dpll_gmac_m2_ck: dpll_gmac_m2_ck {
427 #clock-cells = <0>;
428 compatible = "ti,divider-clock";
429 clocks = <&dpll_gmac_ck>;
430 ti,max-div = <31>;
431 ti,autoidle-shift = <8>;
432 reg = <0x02b8>;
433 ti,index-starts-at-one;
434 ti,invert-autoidle-bit;
435 };
436
437 video2_dclk_div: video2_dclk_div {
438 #clock-cells = <0>;
439 compatible = "fixed-factor-clock";
440 clocks = <&video2_m2_clkin_ck>;
441 clock-mult = <1>;
442 clock-div = <1>;
443 };
444
445 video1_dclk_div: video1_dclk_div {
446 #clock-cells = <0>;
447 compatible = "fixed-factor-clock";
448 clocks = <&video1_m2_clkin_ck>;
449 clock-mult = <1>;
450 clock-div = <1>;
451 };
452
453 hdmi_dclk_div: hdmi_dclk_div {
454 #clock-cells = <0>;
455 compatible = "fixed-factor-clock";
456 clocks = <&hdmi_clkin_ck>;
457 clock-mult = <1>;
458 clock-div = <1>;
459 };
460
461 per_dpll_hs_clk_div: per_dpll_hs_clk_div {
462 #clock-cells = <0>;
463 compatible = "fixed-factor-clock";
464 clocks = <&dpll_abe_m3x2_ck>;
465 clock-mult = <1>;
466 clock-div = <2>;
467 };
468
469 usb_dpll_hs_clk_div: usb_dpll_hs_clk_div {
470 #clock-cells = <0>;
471 compatible = "fixed-factor-clock";
472 clocks = <&dpll_abe_m3x2_ck>;
473 clock-mult = <1>;
474 clock-div = <3>;
475 };
476
477 eve_dpll_hs_clk_div: eve_dpll_hs_clk_div {
478 #clock-cells = <0>;
479 compatible = "fixed-factor-clock";
480 clocks = <&dpll_core_h12x2_ck>;
481 clock-mult = <1>;
482 clock-div = <1>;
483 };
484
485 dpll_eve_ck: dpll_eve_ck {
486 #clock-cells = <0>;
487 compatible = "ti,omap4-dpll-clock";
488 clocks = <&sys_clkin1>, <&eve_dpll_hs_clk_div>;
489 reg = <0x0284>, <0x0288>, <0x0290>, <0x028c>;
490 };
491
492 dpll_eve_m2_ck: dpll_eve_m2_ck {
493 #clock-cells = <0>;
494 compatible = "ti,divider-clock";
495 clocks = <&dpll_eve_ck>;
496 ti,max-div = <31>;
497 ti,autoidle-shift = <8>;
498 reg = <0x0294>;
499 ti,index-starts-at-one;
500 ti,invert-autoidle-bit;
501 };
502
503 eve_dclk_div: eve_dclk_div {
504 #clock-cells = <0>;
505 compatible = "fixed-factor-clock";
506 clocks = <&dpll_eve_m2_ck>;
507 clock-mult = <1>;
508 clock-div = <1>;
509 };
510
511 dpll_core_h13x2_ck: dpll_core_h13x2_ck {
512 #clock-cells = <0>;
513 compatible = "ti,divider-clock";
514 clocks = <&dpll_core_x2_ck>;
515 ti,max-div = <63>;
516 ti,autoidle-shift = <8>;
517 reg = <0x0140>;
518 ti,index-starts-at-one;
519 ti,invert-autoidle-bit;
520 };
521
522 dpll_core_h14x2_ck: dpll_core_h14x2_ck {
523 #clock-cells = <0>;
524 compatible = "ti,divider-clock";
525 clocks = <&dpll_core_x2_ck>;
526 ti,max-div = <63>;
527 ti,autoidle-shift = <8>;
528 reg = <0x0144>;
529 ti,index-starts-at-one;
530 ti,invert-autoidle-bit;
531 };
532
533 dpll_core_h22x2_ck: dpll_core_h22x2_ck {
534 #clock-cells = <0>;
535 compatible = "ti,divider-clock";
536 clocks = <&dpll_core_x2_ck>;
537 ti,max-div = <63>;
538 ti,autoidle-shift = <8>;
539 reg = <0x0154>;
540 ti,index-starts-at-one;
541 ti,invert-autoidle-bit;
542 };
543
544 dpll_core_h23x2_ck: dpll_core_h23x2_ck {
545 #clock-cells = <0>;
546 compatible = "ti,divider-clock";
547 clocks = <&dpll_core_x2_ck>;
548 ti,max-div = <63>;
549 ti,autoidle-shift = <8>;
550 reg = <0x0158>;
551 ti,index-starts-at-one;
552 ti,invert-autoidle-bit;
553 };
554
555 dpll_core_h24x2_ck: dpll_core_h24x2_ck {
556 #clock-cells = <0>;
557 compatible = "ti,divider-clock";
558 clocks = <&dpll_core_x2_ck>;
559 ti,max-div = <63>;
560 ti,autoidle-shift = <8>;
561 reg = <0x015c>;
562 ti,index-starts-at-one;
563 ti,invert-autoidle-bit;
564 };
565
566 dpll_ddr_x2_ck: dpll_ddr_x2_ck {
567 #clock-cells = <0>;
568 compatible = "ti,omap4-dpll-x2-clock";
569 clocks = <&dpll_ddr_ck>;
570 };
571
572 dpll_ddr_h11x2_ck: dpll_ddr_h11x2_ck {
573 #clock-cells = <0>;
574 compatible = "ti,divider-clock";
575 clocks = <&dpll_ddr_x2_ck>;
576 ti,max-div = <63>;
577 ti,autoidle-shift = <8>;
578 reg = <0x0228>;
579 ti,index-starts-at-one;
580 ti,invert-autoidle-bit;
581 };
582
583 dpll_dsp_x2_ck: dpll_dsp_x2_ck {
584 #clock-cells = <0>;
585 compatible = "ti,omap4-dpll-x2-clock";
586 clocks = <&dpll_dsp_ck>;
587 };
588
589 dpll_dsp_m3x2_ck: dpll_dsp_m3x2_ck {
590 #clock-cells = <0>;
591 compatible = "ti,divider-clock";
592 clocks = <&dpll_dsp_x2_ck>;
593 ti,max-div = <31>;
594 ti,autoidle-shift = <8>;
595 reg = <0x0248>;
596 ti,index-starts-at-one;
597 ti,invert-autoidle-bit;
598 };
599
600 dpll_gmac_x2_ck: dpll_gmac_x2_ck {
601 #clock-cells = <0>;
602 compatible = "ti,omap4-dpll-x2-clock";
603 clocks = <&dpll_gmac_ck>;
604 };
605
606 dpll_gmac_h11x2_ck: dpll_gmac_h11x2_ck {
607 #clock-cells = <0>;
608 compatible = "ti,divider-clock";
609 clocks = <&dpll_gmac_x2_ck>;
610 ti,max-div = <63>;
611 ti,autoidle-shift = <8>;
612 reg = <0x02c0>;
613 ti,index-starts-at-one;
614 ti,invert-autoidle-bit;
615 };
616
617 dpll_gmac_h12x2_ck: dpll_gmac_h12x2_ck {
618 #clock-cells = <0>;
619 compatible = "ti,divider-clock";
620 clocks = <&dpll_gmac_x2_ck>;
621 ti,max-div = <63>;
622 ti,autoidle-shift = <8>;
623 reg = <0x02c4>;
624 ti,index-starts-at-one;
625 ti,invert-autoidle-bit;
626 };
627
628 dpll_gmac_h13x2_ck: dpll_gmac_h13x2_ck {
629 #clock-cells = <0>;
630 compatible = "ti,divider-clock";
631 clocks = <&dpll_gmac_x2_ck>;
632 ti,max-div = <63>;
633 ti,autoidle-shift = <8>;
634 reg = <0x02c8>;
635 ti,index-starts-at-one;
636 ti,invert-autoidle-bit;
637 };
638
639 dpll_gmac_m3x2_ck: dpll_gmac_m3x2_ck {
640 #clock-cells = <0>;
641 compatible = "ti,divider-clock";
642 clocks = <&dpll_gmac_x2_ck>;
643 ti,max-div = <31>;
644 ti,autoidle-shift = <8>;
645 reg = <0x02bc>;
646 ti,index-starts-at-one;
647 ti,invert-autoidle-bit;
648 };
649
650 gmii_m_clk_div: gmii_m_clk_div {
651 #clock-cells = <0>;
652 compatible = "fixed-factor-clock";
653 clocks = <&dpll_gmac_h11x2_ck>;
654 clock-mult = <1>;
655 clock-div = <2>;
656 };
657
658 hdmi_clk2_div: hdmi_clk2_div {
659 #clock-cells = <0>;
660 compatible = "fixed-factor-clock";
661 clocks = <&hdmi_clkin_ck>;
662 clock-mult = <1>;
663 clock-div = <1>;
664 };
665
666 hdmi_div_clk: hdmi_div_clk {
667 #clock-cells = <0>;
668 compatible = "fixed-factor-clock";
669 clocks = <&hdmi_clkin_ck>;
670 clock-mult = <1>;
671 clock-div = <1>;
672 };
673
674 l3_iclk_div: l3_iclk_div {
675 #clock-cells = <0>;
Rajendra Nayakdd943242014-05-27 14:25:43 +0530676 compatible = "ti,divider-clock";
677 ti,max-div = <2>;
678 ti,bit-shift = <4>;
679 reg = <0x0100>;
Tero Kristoee6c7502013-07-18 17:18:33 +0300680 clocks = <&dpll_core_h12x2_ck>;
Rajendra Nayakdd943242014-05-27 14:25:43 +0530681 ti,index-power-of-two;
Tero Kristoee6c7502013-07-18 17:18:33 +0300682 };
683
684 l4_root_clk_div: l4_root_clk_div {
685 #clock-cells = <0>;
686 compatible = "fixed-factor-clock";
687 clocks = <&l3_iclk_div>;
688 clock-mult = <1>;
Rajendra Nayakdd943242014-05-27 14:25:43 +0530689 clock-div = <2>;
Tero Kristoee6c7502013-07-18 17:18:33 +0300690 };
691
692 video1_clk2_div: video1_clk2_div {
693 #clock-cells = <0>;
694 compatible = "fixed-factor-clock";
695 clocks = <&video1_clkin_ck>;
696 clock-mult = <1>;
697 clock-div = <1>;
698 };
699
700 video1_div_clk: video1_div_clk {
701 #clock-cells = <0>;
702 compatible = "fixed-factor-clock";
703 clocks = <&video1_clkin_ck>;
704 clock-mult = <1>;
705 clock-div = <1>;
706 };
707
708 video2_clk2_div: video2_clk2_div {
709 #clock-cells = <0>;
710 compatible = "fixed-factor-clock";
711 clocks = <&video2_clkin_ck>;
712 clock-mult = <1>;
713 clock-div = <1>;
714 };
715
716 video2_div_clk: video2_div_clk {
717 #clock-cells = <0>;
718 compatible = "fixed-factor-clock";
719 clocks = <&video2_clkin_ck>;
720 clock-mult = <1>;
721 clock-div = <1>;
722 };
723
724 ipu1_gfclk_mux: ipu1_gfclk_mux {
725 #clock-cells = <0>;
726 compatible = "ti,mux-clock";
727 clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
728 ti,bit-shift = <24>;
729 reg = <0x0520>;
730 };
731
732 mcasp1_ahclkr_mux: mcasp1_ahclkr_mux {
733 #clock-cells = <0>;
734 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +0300735 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +0300736 ti,bit-shift = <28>;
737 reg = <0x0550>;
738 };
739
740 mcasp1_ahclkx_mux: mcasp1_ahclkx_mux {
741 #clock-cells = <0>;
742 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +0300743 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +0300744 ti,bit-shift = <24>;
745 reg = <0x0550>;
746 };
747
748 mcasp1_aux_gfclk_mux: mcasp1_aux_gfclk_mux {
749 #clock-cells = <0>;
750 compatible = "ti,mux-clock";
751 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
752 ti,bit-shift = <22>;
753 reg = <0x0550>;
754 };
755
756 timer5_gfclk_mux: timer5_gfclk_mux {
757 #clock-cells = <0>;
758 compatible = "ti,mux-clock";
759 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>, <&clkoutmux0_clk_mux>;
760 ti,bit-shift = <24>;
761 reg = <0x0558>;
762 };
763
764 timer6_gfclk_mux: timer6_gfclk_mux {
765 #clock-cells = <0>;
766 compatible = "ti,mux-clock";
767 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>, <&clkoutmux0_clk_mux>;
768 ti,bit-shift = <24>;
769 reg = <0x0560>;
770 };
771
772 timer7_gfclk_mux: timer7_gfclk_mux {
773 #clock-cells = <0>;
774 compatible = "ti,mux-clock";
775 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>, <&clkoutmux0_clk_mux>;
776 ti,bit-shift = <24>;
777 reg = <0x0568>;
778 };
779
780 timer8_gfclk_mux: timer8_gfclk_mux {
781 #clock-cells = <0>;
782 compatible = "ti,mux-clock";
783 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>, <&clkoutmux0_clk_mux>;
784 ti,bit-shift = <24>;
785 reg = <0x0570>;
786 };
787
788 uart6_gfclk_mux: uart6_gfclk_mux {
789 #clock-cells = <0>;
790 compatible = "ti,mux-clock";
791 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
792 ti,bit-shift = <24>;
793 reg = <0x0580>;
794 };
795
796 dummy_ck: dummy_ck {
797 #clock-cells = <0>;
798 compatible = "fixed-clock";
799 clock-frequency = <0>;
800 };
801};
802&prm_clocks {
803 sys_clkin1: sys_clkin1 {
804 #clock-cells = <0>;
805 compatible = "ti,mux-clock";
806 clocks = <&virt_12000000_ck>, <&virt_20000000_ck>, <&virt_16800000_ck>, <&virt_19200000_ck>, <&virt_26000000_ck>, <&virt_27000000_ck>, <&virt_38400000_ck>;
807 reg = <0x0110>;
808 ti,index-starts-at-one;
809 };
810
811 abe_dpll_sys_clk_mux: abe_dpll_sys_clk_mux {
812 #clock-cells = <0>;
813 compatible = "ti,mux-clock";
814 clocks = <&sys_clkin1>, <&sys_clkin2>;
815 reg = <0x0118>;
816 };
817
818 abe_dpll_bypass_clk_mux: abe_dpll_bypass_clk_mux {
819 #clock-cells = <0>;
820 compatible = "ti,mux-clock";
821 clocks = <&abe_dpll_sys_clk_mux>, <&sys_32k_ck>;
822 reg = <0x0114>;
823 };
824
825 abe_dpll_clk_mux: abe_dpll_clk_mux {
826 #clock-cells = <0>;
827 compatible = "ti,mux-clock";
828 clocks = <&abe_dpll_sys_clk_mux>, <&sys_32k_ck>;
829 reg = <0x010c>;
830 };
831
832 abe_24m_fclk: abe_24m_fclk {
833 #clock-cells = <0>;
834 compatible = "ti,divider-clock";
835 clocks = <&dpll_abe_m2x2_ck>;
836 reg = <0x011c>;
837 ti,dividers = <8>, <16>;
838 };
839
840 aess_fclk: aess_fclk {
841 #clock-cells = <0>;
842 compatible = "ti,divider-clock";
843 clocks = <&abe_clk>;
844 reg = <0x0178>;
845 ti,max-div = <2>;
846 };
847
848 abe_giclk_div: abe_giclk_div {
849 #clock-cells = <0>;
850 compatible = "ti,divider-clock";
851 clocks = <&aess_fclk>;
852 reg = <0x0174>;
853 ti,max-div = <2>;
854 };
855
856 abe_lp_clk_div: abe_lp_clk_div {
857 #clock-cells = <0>;
858 compatible = "ti,divider-clock";
859 clocks = <&dpll_abe_m2x2_ck>;
860 reg = <0x01d8>;
861 ti,dividers = <16>, <32>;
862 };
863
864 abe_sys_clk_div: abe_sys_clk_div {
865 #clock-cells = <0>;
866 compatible = "ti,divider-clock";
867 clocks = <&sys_clkin1>;
868 reg = <0x0120>;
869 ti,max-div = <2>;
870 };
871
872 adc_gfclk_mux: adc_gfclk_mux {
873 #clock-cells = <0>;
874 compatible = "ti,mux-clock";
875 clocks = <&sys_clkin1>, <&sys_clkin2>, <&sys_32k_ck>;
876 reg = <0x01dc>;
877 };
878
879 sys_clk1_dclk_div: sys_clk1_dclk_div {
880 #clock-cells = <0>;
881 compatible = "ti,divider-clock";
882 clocks = <&sys_clkin1>;
883 ti,max-div = <64>;
884 reg = <0x01c8>;
885 ti,index-power-of-two;
886 };
887
888 sys_clk2_dclk_div: sys_clk2_dclk_div {
889 #clock-cells = <0>;
890 compatible = "ti,divider-clock";
891 clocks = <&sys_clkin2>;
892 ti,max-div = <64>;
893 reg = <0x01cc>;
894 ti,index-power-of-two;
895 };
896
897 per_abe_x1_dclk_div: per_abe_x1_dclk_div {
898 #clock-cells = <0>;
899 compatible = "ti,divider-clock";
900 clocks = <&dpll_abe_m2_ck>;
901 ti,max-div = <64>;
902 reg = <0x01bc>;
903 ti,index-power-of-two;
904 };
905
906 dsp_gclk_div: dsp_gclk_div {
907 #clock-cells = <0>;
908 compatible = "ti,divider-clock";
909 clocks = <&dpll_dsp_m2_ck>;
910 ti,max-div = <64>;
911 reg = <0x018c>;
912 ti,index-power-of-two;
913 };
914
915 gpu_dclk: gpu_dclk {
916 #clock-cells = <0>;
917 compatible = "ti,divider-clock";
918 clocks = <&dpll_gpu_m2_ck>;
919 ti,max-div = <64>;
920 reg = <0x01a0>;
921 ti,index-power-of-two;
922 };
923
924 emif_phy_dclk_div: emif_phy_dclk_div {
925 #clock-cells = <0>;
926 compatible = "ti,divider-clock";
927 clocks = <&dpll_ddr_m2_ck>;
928 ti,max-div = <64>;
929 reg = <0x0190>;
930 ti,index-power-of-two;
931 };
932
933 gmac_250m_dclk_div: gmac_250m_dclk_div {
934 #clock-cells = <0>;
935 compatible = "ti,divider-clock";
936 clocks = <&dpll_gmac_m2_ck>;
937 ti,max-div = <64>;
938 reg = <0x019c>;
939 ti,index-power-of-two;
940 };
941
942 l3init_480m_dclk_div: l3init_480m_dclk_div {
943 #clock-cells = <0>;
944 compatible = "ti,divider-clock";
945 clocks = <&dpll_usb_m2_ck>;
946 ti,max-div = <64>;
947 reg = <0x01ac>;
948 ti,index-power-of-two;
949 };
950
951 usb_otg_dclk_div: usb_otg_dclk_div {
952 #clock-cells = <0>;
953 compatible = "ti,divider-clock";
954 clocks = <&usb_otg_clkin_ck>;
955 ti,max-div = <64>;
956 reg = <0x0184>;
957 ti,index-power-of-two;
958 };
959
960 sata_dclk_div: sata_dclk_div {
961 #clock-cells = <0>;
962 compatible = "ti,divider-clock";
963 clocks = <&sys_clkin1>;
964 ti,max-div = <64>;
965 reg = <0x01c0>;
966 ti,index-power-of-two;
967 };
968
969 pcie2_dclk_div: pcie2_dclk_div {
970 #clock-cells = <0>;
971 compatible = "ti,divider-clock";
972 clocks = <&dpll_pcie_ref_m2_ck>;
973 ti,max-div = <64>;
974 reg = <0x01b8>;
975 ti,index-power-of-two;
976 };
977
978 pcie_dclk_div: pcie_dclk_div {
979 #clock-cells = <0>;
980 compatible = "ti,divider-clock";
981 clocks = <&apll_pcie_m2_ck>;
982 ti,max-div = <64>;
983 reg = <0x01b4>;
984 ti,index-power-of-two;
985 };
986
987 emu_dclk_div: emu_dclk_div {
988 #clock-cells = <0>;
989 compatible = "ti,divider-clock";
990 clocks = <&sys_clkin1>;
991 ti,max-div = <64>;
992 reg = <0x0194>;
993 ti,index-power-of-two;
994 };
995
996 secure_32k_dclk_div: secure_32k_dclk_div {
997 #clock-cells = <0>;
998 compatible = "ti,divider-clock";
999 clocks = <&secure_32k_clk_src_ck>;
1000 ti,max-div = <64>;
1001 reg = <0x01c4>;
1002 ti,index-power-of-two;
1003 };
1004
1005 clkoutmux0_clk_mux: clkoutmux0_clk_mux {
1006 #clock-cells = <0>;
1007 compatible = "ti,mux-clock";
1008 clocks = <&sys_clk1_dclk_div>, <&sys_clk2_dclk_div>, <&per_abe_x1_dclk_div>, <&mpu_dclk_div>, <&dsp_gclk_div>, <&iva_dclk>, <&gpu_dclk>, <&core_dpll_out_dclk_div>, <&emif_phy_dclk_div>, <&gmac_250m_dclk_div>, <&video2_dclk_div>, <&video1_dclk_div>, <&hdmi_dclk_div>, <&func_96m_aon_dclk_div>, <&l3init_480m_dclk_div>, <&usb_otg_dclk_div>, <&sata_dclk_div>, <&pcie2_dclk_div>, <&pcie_dclk_div>, <&emu_dclk_div>, <&secure_32k_dclk_div>, <&eve_dclk_div>;
1009 reg = <0x0158>;
1010 };
1011
1012 clkoutmux1_clk_mux: clkoutmux1_clk_mux {
1013 #clock-cells = <0>;
1014 compatible = "ti,mux-clock";
1015 clocks = <&sys_clk1_dclk_div>, <&sys_clk2_dclk_div>, <&per_abe_x1_dclk_div>, <&mpu_dclk_div>, <&dsp_gclk_div>, <&iva_dclk>, <&gpu_dclk>, <&core_dpll_out_dclk_div>, <&emif_phy_dclk_div>, <&gmac_250m_dclk_div>, <&video2_dclk_div>, <&video1_dclk_div>, <&hdmi_dclk_div>, <&func_96m_aon_dclk_div>, <&l3init_480m_dclk_div>, <&usb_otg_dclk_div>, <&sata_dclk_div>, <&pcie2_dclk_div>, <&pcie_dclk_div>, <&emu_dclk_div>, <&secure_32k_dclk_div>, <&eve_dclk_div>;
1016 reg = <0x015c>;
1017 };
1018
1019 clkoutmux2_clk_mux: clkoutmux2_clk_mux {
1020 #clock-cells = <0>;
1021 compatible = "ti,mux-clock";
1022 clocks = <&sys_clk1_dclk_div>, <&sys_clk2_dclk_div>, <&per_abe_x1_dclk_div>, <&mpu_dclk_div>, <&dsp_gclk_div>, <&iva_dclk>, <&gpu_dclk>, <&core_dpll_out_dclk_div>, <&emif_phy_dclk_div>, <&gmac_250m_dclk_div>, <&video2_dclk_div>, <&video1_dclk_div>, <&hdmi_dclk_div>, <&func_96m_aon_dclk_div>, <&l3init_480m_dclk_div>, <&usb_otg_dclk_div>, <&sata_dclk_div>, <&pcie2_dclk_div>, <&pcie_dclk_div>, <&emu_dclk_div>, <&secure_32k_dclk_div>, <&eve_dclk_div>;
1023 reg = <0x0160>;
1024 };
1025
1026 custefuse_sys_gfclk_div: custefuse_sys_gfclk_div {
1027 #clock-cells = <0>;
1028 compatible = "fixed-factor-clock";
1029 clocks = <&sys_clkin1>;
1030 clock-mult = <1>;
1031 clock-div = <2>;
1032 };
1033
1034 eve_clk: eve_clk {
1035 #clock-cells = <0>;
1036 compatible = "ti,mux-clock";
1037 clocks = <&dpll_eve_m2_ck>, <&dpll_dsp_m3x2_ck>;
1038 reg = <0x0180>;
1039 };
1040
1041 hdmi_dpll_clk_mux: hdmi_dpll_clk_mux {
1042 #clock-cells = <0>;
1043 compatible = "ti,mux-clock";
1044 clocks = <&sys_clkin1>, <&sys_clkin2>;
1045 reg = <0x01a4>;
1046 };
1047
1048 mlb_clk: mlb_clk {
1049 #clock-cells = <0>;
1050 compatible = "ti,divider-clock";
1051 clocks = <&mlb_clkin_ck>;
1052 ti,max-div = <64>;
1053 reg = <0x0134>;
1054 ti,index-power-of-two;
1055 };
1056
1057 mlbp_clk: mlbp_clk {
1058 #clock-cells = <0>;
1059 compatible = "ti,divider-clock";
1060 clocks = <&mlbp_clkin_ck>;
1061 ti,max-div = <64>;
1062 reg = <0x0130>;
1063 ti,index-power-of-two;
1064 };
1065
1066 per_abe_x1_gfclk2_div: per_abe_x1_gfclk2_div {
1067 #clock-cells = <0>;
1068 compatible = "ti,divider-clock";
1069 clocks = <&dpll_abe_m2_ck>;
1070 ti,max-div = <64>;
1071 reg = <0x0138>;
1072 ti,index-power-of-two;
1073 };
1074
1075 timer_sys_clk_div: timer_sys_clk_div {
1076 #clock-cells = <0>;
1077 compatible = "ti,divider-clock";
1078 clocks = <&sys_clkin1>;
1079 reg = <0x0144>;
1080 ti,max-div = <2>;
1081 };
1082
1083 video1_dpll_clk_mux: video1_dpll_clk_mux {
1084 #clock-cells = <0>;
1085 compatible = "ti,mux-clock";
1086 clocks = <&sys_clkin1>, <&sys_clkin2>;
1087 reg = <0x01d0>;
1088 };
1089
1090 video2_dpll_clk_mux: video2_dpll_clk_mux {
1091 #clock-cells = <0>;
1092 compatible = "ti,mux-clock";
1093 clocks = <&sys_clkin1>, <&sys_clkin2>;
1094 reg = <0x01d4>;
1095 };
1096
1097 wkupaon_iclk_mux: wkupaon_iclk_mux {
1098 #clock-cells = <0>;
1099 compatible = "ti,mux-clock";
1100 clocks = <&sys_clkin1>, <&abe_lp_clk_div>;
1101 reg = <0x0108>;
1102 };
1103
1104 gpio1_dbclk: gpio1_dbclk {
1105 #clock-cells = <0>;
1106 compatible = "ti,gate-clock";
1107 clocks = <&sys_32k_ck>;
1108 ti,bit-shift = <8>;
1109 reg = <0x1838>;
1110 };
1111
1112 dcan1_sys_clk_mux: dcan1_sys_clk_mux {
1113 #clock-cells = <0>;
1114 compatible = "ti,mux-clock";
1115 clocks = <&sys_clkin1>, <&sys_clkin2>;
1116 ti,bit-shift = <24>;
1117 reg = <0x1888>;
1118 };
1119
1120 timer1_gfclk_mux: timer1_gfclk_mux {
1121 #clock-cells = <0>;
1122 compatible = "ti,mux-clock";
1123 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1124 ti,bit-shift = <24>;
1125 reg = <0x1840>;
1126 };
1127
1128 uart10_gfclk_mux: uart10_gfclk_mux {
1129 #clock-cells = <0>;
1130 compatible = "ti,mux-clock";
1131 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1132 ti,bit-shift = <24>;
1133 reg = <0x1880>;
1134 };
1135};
1136&cm_core_clocks {
1137 dpll_pcie_ref_ck: dpll_pcie_ref_ck {
1138 #clock-cells = <0>;
1139 compatible = "ti,omap4-dpll-clock";
1140 clocks = <&sys_clkin1>, <&sys_clkin1>;
1141 reg = <0x0200>, <0x0204>, <0x020c>, <0x0208>;
1142 };
1143
1144 dpll_pcie_ref_m2ldo_ck: dpll_pcie_ref_m2ldo_ck {
1145 #clock-cells = <0>;
1146 compatible = "ti,divider-clock";
1147 clocks = <&dpll_pcie_ref_ck>;
1148 ti,max-div = <31>;
1149 ti,autoidle-shift = <8>;
1150 reg = <0x0210>;
1151 ti,index-starts-at-one;
1152 ti,invert-autoidle-bit;
1153 };
1154
J Keerthy7d138d32013-07-23 12:05:38 +05301155 apll_pcie_in_clk_mux: apll_pcie_in_clk_mux@4ae06118 {
1156 compatible = "ti,mux-clock";
1157 clocks = <&dpll_pcie_ref_ck>, <&pciesref_acs_clk_ck>;
1158 #clock-cells = <0>;
1159 reg = <0x021c 0x4>;
1160 ti,bit-shift = <7>;
1161 };
1162
Tero Kristoee6c7502013-07-18 17:18:33 +03001163 apll_pcie_ck: apll_pcie_ck {
1164 #clock-cells = <0>;
J Keerthy7d138d32013-07-23 12:05:38 +05301165 compatible = "ti,dra7-apll-clock";
1166 clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>;
1167 reg = <0x021c>, <0x0220>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001168 };
1169
J Keerthya0289f92013-07-23 12:05:40 +05301170 optfclk_pciephy_div: optfclk_pciephy_div@4a00821c {
1171 compatible = "ti,divider-clock";
1172 clocks = <&apll_pcie_ck>;
1173 #clock-cells = <0>;
1174 reg = <0x021c>;
1175 ti,bit-shift = <8>;
1176 ti,max-div = <2>;
1177 };
1178
1179 optfclk_pciephy_clk: optfclk_pciephy_clk@4a0093b0 {
1180 compatible = "ti,gate-clock";
1181 clocks = <&apll_pcie_ck>;
1182 #clock-cells = <0>;
1183 reg = <0x13b0>;
1184 ti,bit-shift = <9>;
1185 };
1186
1187 optfclk_pciephy_div_clk: optfclk_pciephy_div_clk@4a0093b0 {
1188 compatible = "ti,gate-clock";
1189 clocks = <&optfclk_pciephy_div>;
1190 #clock-cells = <0>;
1191 reg = <0x13b0>;
1192 ti,bit-shift = <10>;
1193 };
1194
Tero Kristoee6c7502013-07-18 17:18:33 +03001195 apll_pcie_clkvcoldo: apll_pcie_clkvcoldo {
1196 #clock-cells = <0>;
1197 compatible = "fixed-factor-clock";
1198 clocks = <&apll_pcie_ck>;
1199 clock-mult = <1>;
1200 clock-div = <1>;
1201 };
1202
1203 apll_pcie_clkvcoldo_div: apll_pcie_clkvcoldo_div {
1204 #clock-cells = <0>;
1205 compatible = "fixed-factor-clock";
1206 clocks = <&apll_pcie_ck>;
1207 clock-mult = <1>;
1208 clock-div = <1>;
1209 };
1210
1211 apll_pcie_m2_ck: apll_pcie_m2_ck {
1212 #clock-cells = <0>;
J Keerthyc3be7ac2013-07-23 12:05:39 +05301213 compatible = "fixed-factor-clock";
Tero Kristoee6c7502013-07-18 17:18:33 +03001214 clocks = <&apll_pcie_ck>;
J Keerthyc3be7ac2013-07-23 12:05:39 +05301215 clock-mult = <1>;
1216 clock-div = <1>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001217 };
1218
1219 dpll_per_ck: dpll_per_ck {
1220 #clock-cells = <0>;
1221 compatible = "ti,omap4-dpll-clock";
1222 clocks = <&sys_clkin1>, <&per_dpll_hs_clk_div>;
1223 reg = <0x0140>, <0x0144>, <0x014c>, <0x0148>;
1224 };
1225
1226 dpll_per_m2_ck: dpll_per_m2_ck {
1227 #clock-cells = <0>;
1228 compatible = "ti,divider-clock";
1229 clocks = <&dpll_per_ck>;
1230 ti,max-div = <31>;
1231 ti,autoidle-shift = <8>;
1232 reg = <0x0150>;
1233 ti,index-starts-at-one;
1234 ti,invert-autoidle-bit;
1235 };
1236
1237 func_96m_aon_dclk_div: func_96m_aon_dclk_div {
1238 #clock-cells = <0>;
1239 compatible = "fixed-factor-clock";
1240 clocks = <&dpll_per_m2_ck>;
1241 clock-mult = <1>;
1242 clock-div = <1>;
1243 };
1244
1245 dpll_usb_ck: dpll_usb_ck {
1246 #clock-cells = <0>;
1247 compatible = "ti,omap4-dpll-j-type-clock";
1248 clocks = <&sys_clkin1>, <&usb_dpll_hs_clk_div>;
1249 reg = <0x0180>, <0x0184>, <0x018c>, <0x0188>;
1250 };
1251
1252 dpll_usb_m2_ck: dpll_usb_m2_ck {
1253 #clock-cells = <0>;
1254 compatible = "ti,divider-clock";
1255 clocks = <&dpll_usb_ck>;
1256 ti,max-div = <127>;
1257 ti,autoidle-shift = <8>;
1258 reg = <0x0190>;
1259 ti,index-starts-at-one;
1260 ti,invert-autoidle-bit;
1261 };
1262
1263 dpll_pcie_ref_m2_ck: dpll_pcie_ref_m2_ck {
1264 #clock-cells = <0>;
1265 compatible = "ti,divider-clock";
1266 clocks = <&dpll_pcie_ref_ck>;
1267 ti,max-div = <127>;
1268 ti,autoidle-shift = <8>;
1269 reg = <0x0210>;
1270 ti,index-starts-at-one;
1271 ti,invert-autoidle-bit;
1272 };
1273
1274 dpll_per_x2_ck: dpll_per_x2_ck {
1275 #clock-cells = <0>;
1276 compatible = "ti,omap4-dpll-x2-clock";
1277 clocks = <&dpll_per_ck>;
1278 };
1279
1280 dpll_per_h11x2_ck: dpll_per_h11x2_ck {
1281 #clock-cells = <0>;
1282 compatible = "ti,divider-clock";
1283 clocks = <&dpll_per_x2_ck>;
1284 ti,max-div = <63>;
1285 ti,autoidle-shift = <8>;
1286 reg = <0x0158>;
1287 ti,index-starts-at-one;
1288 ti,invert-autoidle-bit;
1289 };
1290
1291 dpll_per_h12x2_ck: dpll_per_h12x2_ck {
1292 #clock-cells = <0>;
1293 compatible = "ti,divider-clock";
1294 clocks = <&dpll_per_x2_ck>;
1295 ti,max-div = <63>;
1296 ti,autoidle-shift = <8>;
1297 reg = <0x015c>;
1298 ti,index-starts-at-one;
1299 ti,invert-autoidle-bit;
1300 };
1301
1302 dpll_per_h13x2_ck: dpll_per_h13x2_ck {
1303 #clock-cells = <0>;
1304 compatible = "ti,divider-clock";
1305 clocks = <&dpll_per_x2_ck>;
1306 ti,max-div = <63>;
1307 ti,autoidle-shift = <8>;
1308 reg = <0x0160>;
1309 ti,index-starts-at-one;
1310 ti,invert-autoidle-bit;
1311 };
1312
1313 dpll_per_h14x2_ck: dpll_per_h14x2_ck {
1314 #clock-cells = <0>;
1315 compatible = "ti,divider-clock";
1316 clocks = <&dpll_per_x2_ck>;
1317 ti,max-div = <63>;
1318 ti,autoidle-shift = <8>;
1319 reg = <0x0164>;
1320 ti,index-starts-at-one;
1321 ti,invert-autoidle-bit;
1322 };
1323
1324 dpll_per_m2x2_ck: dpll_per_m2x2_ck {
1325 #clock-cells = <0>;
1326 compatible = "ti,divider-clock";
1327 clocks = <&dpll_per_x2_ck>;
1328 ti,max-div = <31>;
1329 ti,autoidle-shift = <8>;
1330 reg = <0x0150>;
1331 ti,index-starts-at-one;
1332 ti,invert-autoidle-bit;
1333 };
1334
1335 dpll_usb_clkdcoldo: dpll_usb_clkdcoldo {
1336 #clock-cells = <0>;
1337 compatible = "fixed-factor-clock";
1338 clocks = <&dpll_usb_ck>;
1339 clock-mult = <1>;
1340 clock-div = <1>;
1341 };
1342
1343 func_128m_clk: func_128m_clk {
1344 #clock-cells = <0>;
1345 compatible = "fixed-factor-clock";
1346 clocks = <&dpll_per_h11x2_ck>;
1347 clock-mult = <1>;
1348 clock-div = <2>;
1349 };
1350
1351 func_12m_fclk: func_12m_fclk {
1352 #clock-cells = <0>;
1353 compatible = "fixed-factor-clock";
1354 clocks = <&dpll_per_m2x2_ck>;
1355 clock-mult = <1>;
1356 clock-div = <16>;
1357 };
1358
1359 func_24m_clk: func_24m_clk {
1360 #clock-cells = <0>;
1361 compatible = "fixed-factor-clock";
1362 clocks = <&dpll_per_m2_ck>;
1363 clock-mult = <1>;
1364 clock-div = <4>;
1365 };
1366
1367 func_48m_fclk: func_48m_fclk {
1368 #clock-cells = <0>;
1369 compatible = "fixed-factor-clock";
1370 clocks = <&dpll_per_m2x2_ck>;
1371 clock-mult = <1>;
1372 clock-div = <4>;
1373 };
1374
1375 func_96m_fclk: func_96m_fclk {
1376 #clock-cells = <0>;
1377 compatible = "fixed-factor-clock";
1378 clocks = <&dpll_per_m2x2_ck>;
1379 clock-mult = <1>;
1380 clock-div = <2>;
1381 };
1382
1383 l3init_60m_fclk: l3init_60m_fclk {
1384 #clock-cells = <0>;
1385 compatible = "ti,divider-clock";
1386 clocks = <&dpll_usb_m2_ck>;
1387 reg = <0x0104>;
1388 ti,dividers = <1>, <8>;
1389 };
1390
Roger Quadros032d7742014-05-05 12:54:43 +03001391 l3init_960m_gfclk: l3init_960m_gfclk {
1392 #clock-cells = <0>;
1393 compatible = "ti,gate-clock";
1394 clocks = <&dpll_usb_clkdcoldo>;
1395 ti,bit-shift = <8>;
1396 reg = <0x06c0>;
1397 };
1398
Tero Kristoee6c7502013-07-18 17:18:33 +03001399 dss_32khz_clk: dss_32khz_clk {
1400 #clock-cells = <0>;
1401 compatible = "ti,gate-clock";
1402 clocks = <&sys_32k_ck>;
1403 ti,bit-shift = <11>;
1404 reg = <0x1120>;
1405 };
1406
1407 dss_48mhz_clk: dss_48mhz_clk {
1408 #clock-cells = <0>;
1409 compatible = "ti,gate-clock";
1410 clocks = <&func_48m_fclk>;
1411 ti,bit-shift = <9>;
1412 reg = <0x1120>;
1413 };
1414
1415 dss_dss_clk: dss_dss_clk {
1416 #clock-cells = <0>;
1417 compatible = "ti,gate-clock";
1418 clocks = <&dpll_per_h12x2_ck>;
1419 ti,bit-shift = <8>;
1420 reg = <0x1120>;
1421 };
1422
1423 dss_hdmi_clk: dss_hdmi_clk {
1424 #clock-cells = <0>;
1425 compatible = "ti,gate-clock";
1426 clocks = <&hdmi_dpll_clk_mux>;
1427 ti,bit-shift = <10>;
1428 reg = <0x1120>;
1429 };
1430
1431 dss_video1_clk: dss_video1_clk {
1432 #clock-cells = <0>;
1433 compatible = "ti,gate-clock";
1434 clocks = <&video1_dpll_clk_mux>;
1435 ti,bit-shift = <12>;
1436 reg = <0x1120>;
1437 };
1438
1439 dss_video2_clk: dss_video2_clk {
1440 #clock-cells = <0>;
1441 compatible = "ti,gate-clock";
1442 clocks = <&video2_dpll_clk_mux>;
1443 ti,bit-shift = <13>;
1444 reg = <0x1120>;
1445 };
1446
1447 gpio2_dbclk: gpio2_dbclk {
1448 #clock-cells = <0>;
1449 compatible = "ti,gate-clock";
1450 clocks = <&sys_32k_ck>;
1451 ti,bit-shift = <8>;
1452 reg = <0x1760>;
1453 };
1454
1455 gpio3_dbclk: gpio3_dbclk {
1456 #clock-cells = <0>;
1457 compatible = "ti,gate-clock";
1458 clocks = <&sys_32k_ck>;
1459 ti,bit-shift = <8>;
1460 reg = <0x1768>;
1461 };
1462
1463 gpio4_dbclk: gpio4_dbclk {
1464 #clock-cells = <0>;
1465 compatible = "ti,gate-clock";
1466 clocks = <&sys_32k_ck>;
1467 ti,bit-shift = <8>;
1468 reg = <0x1770>;
1469 };
1470
1471 gpio5_dbclk: gpio5_dbclk {
1472 #clock-cells = <0>;
1473 compatible = "ti,gate-clock";
1474 clocks = <&sys_32k_ck>;
1475 ti,bit-shift = <8>;
1476 reg = <0x1778>;
1477 };
1478
1479 gpio6_dbclk: gpio6_dbclk {
1480 #clock-cells = <0>;
1481 compatible = "ti,gate-clock";
1482 clocks = <&sys_32k_ck>;
1483 ti,bit-shift = <8>;
1484 reg = <0x1780>;
1485 };
1486
1487 gpio7_dbclk: gpio7_dbclk {
1488 #clock-cells = <0>;
1489 compatible = "ti,gate-clock";
1490 clocks = <&sys_32k_ck>;
1491 ti,bit-shift = <8>;
1492 reg = <0x1810>;
1493 };
1494
1495 gpio8_dbclk: gpio8_dbclk {
1496 #clock-cells = <0>;
1497 compatible = "ti,gate-clock";
1498 clocks = <&sys_32k_ck>;
1499 ti,bit-shift = <8>;
1500 reg = <0x1818>;
1501 };
1502
1503 mmc1_clk32k: mmc1_clk32k {
1504 #clock-cells = <0>;
1505 compatible = "ti,gate-clock";
1506 clocks = <&sys_32k_ck>;
1507 ti,bit-shift = <8>;
1508 reg = <0x1328>;
1509 };
1510
1511 mmc2_clk32k: mmc2_clk32k {
1512 #clock-cells = <0>;
1513 compatible = "ti,gate-clock";
1514 clocks = <&sys_32k_ck>;
1515 ti,bit-shift = <8>;
1516 reg = <0x1330>;
1517 };
1518
1519 mmc3_clk32k: mmc3_clk32k {
1520 #clock-cells = <0>;
1521 compatible = "ti,gate-clock";
1522 clocks = <&sys_32k_ck>;
1523 ti,bit-shift = <8>;
1524 reg = <0x1820>;
1525 };
1526
1527 mmc4_clk32k: mmc4_clk32k {
1528 #clock-cells = <0>;
1529 compatible = "ti,gate-clock";
1530 clocks = <&sys_32k_ck>;
1531 ti,bit-shift = <8>;
1532 reg = <0x1828>;
1533 };
1534
1535 sata_ref_clk: sata_ref_clk {
1536 #clock-cells = <0>;
1537 compatible = "ti,gate-clock";
1538 clocks = <&sys_clkin1>;
1539 ti,bit-shift = <8>;
1540 reg = <0x1388>;
1541 };
1542
1543 usb_otg_ss1_refclk960m: usb_otg_ss1_refclk960m {
1544 #clock-cells = <0>;
1545 compatible = "ti,gate-clock";
Roger Quadros032d7742014-05-05 12:54:43 +03001546 clocks = <&l3init_960m_gfclk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001547 ti,bit-shift = <8>;
1548 reg = <0x13f0>;
1549 };
1550
1551 usb_otg_ss2_refclk960m: usb_otg_ss2_refclk960m {
1552 #clock-cells = <0>;
1553 compatible = "ti,gate-clock";
Roger Quadros032d7742014-05-05 12:54:43 +03001554 clocks = <&l3init_960m_gfclk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001555 ti,bit-shift = <8>;
1556 reg = <0x1340>;
1557 };
1558
1559 usb_phy1_always_on_clk32k: usb_phy1_always_on_clk32k {
1560 #clock-cells = <0>;
1561 compatible = "ti,gate-clock";
1562 clocks = <&sys_32k_ck>;
1563 ti,bit-shift = <8>;
1564 reg = <0x0640>;
1565 };
1566
1567 usb_phy2_always_on_clk32k: usb_phy2_always_on_clk32k {
1568 #clock-cells = <0>;
1569 compatible = "ti,gate-clock";
1570 clocks = <&sys_32k_ck>;
1571 ti,bit-shift = <8>;
1572 reg = <0x0688>;
1573 };
1574
1575 usb_phy3_always_on_clk32k: usb_phy3_always_on_clk32k {
1576 #clock-cells = <0>;
1577 compatible = "ti,gate-clock";
1578 clocks = <&sys_32k_ck>;
1579 ti,bit-shift = <8>;
1580 reg = <0x0698>;
1581 };
1582
1583 atl_dpll_clk_mux: atl_dpll_clk_mux {
1584 #clock-cells = <0>;
1585 compatible = "ti,mux-clock";
1586 clocks = <&sys_32k_ck>, <&video1_clkin_ck>, <&video2_clkin_ck>, <&hdmi_clkin_ck>;
1587 ti,bit-shift = <24>;
1588 reg = <0x0c00>;
1589 };
1590
1591 atl_gfclk_mux: atl_gfclk_mux {
1592 #clock-cells = <0>;
1593 compatible = "ti,mux-clock";
1594 clocks = <&l3_iclk_div>, <&dpll_abe_m2_ck>, <&atl_dpll_clk_mux>;
1595 ti,bit-shift = <26>;
1596 reg = <0x0c00>;
1597 };
1598
1599 gmac_gmii_ref_clk_div: gmac_gmii_ref_clk_div {
1600 #clock-cells = <0>;
1601 compatible = "ti,divider-clock";
1602 clocks = <&dpll_gmac_m2_ck>;
1603 ti,bit-shift = <24>;
1604 reg = <0x13d0>;
1605 ti,dividers = <2>;
1606 };
1607
1608 gmac_rft_clk_mux: gmac_rft_clk_mux {
1609 #clock-cells = <0>;
1610 compatible = "ti,mux-clock";
1611 clocks = <&video1_clkin_ck>, <&video2_clkin_ck>, <&dpll_abe_m2_ck>, <&hdmi_clkin_ck>, <&l3_iclk_div>;
1612 ti,bit-shift = <25>;
1613 reg = <0x13d0>;
1614 };
1615
1616 gpu_core_gclk_mux: gpu_core_gclk_mux {
1617 #clock-cells = <0>;
1618 compatible = "ti,mux-clock";
1619 clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>, <&dpll_gpu_m2_ck>;
1620 ti,bit-shift = <24>;
1621 reg = <0x1220>;
1622 };
1623
1624 gpu_hyd_gclk_mux: gpu_hyd_gclk_mux {
1625 #clock-cells = <0>;
1626 compatible = "ti,mux-clock";
1627 clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>, <&dpll_gpu_m2_ck>;
1628 ti,bit-shift = <26>;
1629 reg = <0x1220>;
1630 };
1631
1632 l3instr_ts_gclk_div: l3instr_ts_gclk_div {
1633 #clock-cells = <0>;
1634 compatible = "ti,divider-clock";
1635 clocks = <&wkupaon_iclk_mux>;
1636 ti,bit-shift = <24>;
1637 reg = <0x0e50>;
1638 ti,dividers = <8>, <16>, <32>;
1639 };
1640
1641 mcasp2_ahclkr_mux: mcasp2_ahclkr_mux {
1642 #clock-cells = <0>;
1643 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001644 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001645 ti,bit-shift = <28>;
1646 reg = <0x1860>;
1647 };
1648
1649 mcasp2_ahclkx_mux: mcasp2_ahclkx_mux {
1650 #clock-cells = <0>;
1651 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001652 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Peter Ujfalusi8c0b4fd2014-04-02 16:46:25 +03001653 ti,bit-shift = <24>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001654 reg = <0x1860>;
1655 };
1656
1657 mcasp2_aux_gfclk_mux: mcasp2_aux_gfclk_mux {
1658 #clock-cells = <0>;
1659 compatible = "ti,mux-clock";
1660 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1661 ti,bit-shift = <22>;
1662 reg = <0x1860>;
1663 };
1664
1665 mcasp3_ahclkx_mux: mcasp3_ahclkx_mux {
1666 #clock-cells = <0>;
1667 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001668 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001669 ti,bit-shift = <24>;
1670 reg = <0x1868>;
1671 };
1672
1673 mcasp3_aux_gfclk_mux: mcasp3_aux_gfclk_mux {
1674 #clock-cells = <0>;
1675 compatible = "ti,mux-clock";
1676 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1677 ti,bit-shift = <22>;
1678 reg = <0x1868>;
1679 };
1680
1681 mcasp4_ahclkx_mux: mcasp4_ahclkx_mux {
1682 #clock-cells = <0>;
1683 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001684 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001685 ti,bit-shift = <24>;
1686 reg = <0x1898>;
1687 };
1688
1689 mcasp4_aux_gfclk_mux: mcasp4_aux_gfclk_mux {
1690 #clock-cells = <0>;
1691 compatible = "ti,mux-clock";
1692 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1693 ti,bit-shift = <22>;
1694 reg = <0x1898>;
1695 };
1696
1697 mcasp5_ahclkx_mux: mcasp5_ahclkx_mux {
1698 #clock-cells = <0>;
1699 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001700 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001701 ti,bit-shift = <24>;
1702 reg = <0x1878>;
1703 };
1704
1705 mcasp5_aux_gfclk_mux: mcasp5_aux_gfclk_mux {
1706 #clock-cells = <0>;
1707 compatible = "ti,mux-clock";
1708 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1709 ti,bit-shift = <22>;
1710 reg = <0x1878>;
1711 };
1712
1713 mcasp6_ahclkx_mux: mcasp6_ahclkx_mux {
1714 #clock-cells = <0>;
1715 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001716 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001717 ti,bit-shift = <24>;
1718 reg = <0x1904>;
1719 };
1720
1721 mcasp6_aux_gfclk_mux: mcasp6_aux_gfclk_mux {
1722 #clock-cells = <0>;
1723 compatible = "ti,mux-clock";
1724 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1725 ti,bit-shift = <22>;
1726 reg = <0x1904>;
1727 };
1728
1729 mcasp7_ahclkx_mux: mcasp7_ahclkx_mux {
1730 #clock-cells = <0>;
1731 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001732 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001733 ti,bit-shift = <24>;
1734 reg = <0x1908>;
1735 };
1736
1737 mcasp7_aux_gfclk_mux: mcasp7_aux_gfclk_mux {
1738 #clock-cells = <0>;
1739 compatible = "ti,mux-clock";
1740 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1741 ti,bit-shift = <22>;
1742 reg = <0x1908>;
1743 };
1744
1745 mcasp8_ahclk_mux: mcasp8_ahclk_mux {
1746 #clock-cells = <0>;
1747 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001748 clocks = <&abe_24m_fclk>, <&abe_sys_clk_div>, <&func_24m_clk>, <&atl_clkin3_ck>, <&atl_clkin2_ck>, <&atl_clkin1_ck>, <&atl_clkin0_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&mlb_clk>, <&mlbp_clk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001749 ti,bit-shift = <22>;
1750 reg = <0x1890>;
1751 };
1752
1753 mcasp8_aux_gfclk_mux: mcasp8_aux_gfclk_mux {
1754 #clock-cells = <0>;
1755 compatible = "ti,mux-clock";
1756 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1757 ti,bit-shift = <24>;
1758 reg = <0x1890>;
1759 };
1760
1761 mmc1_fclk_mux: mmc1_fclk_mux {
1762 #clock-cells = <0>;
1763 compatible = "ti,mux-clock";
1764 clocks = <&func_128m_clk>, <&dpll_per_m2x2_ck>;
1765 ti,bit-shift = <24>;
1766 reg = <0x1328>;
1767 };
1768
1769 mmc1_fclk_div: mmc1_fclk_div {
1770 #clock-cells = <0>;
1771 compatible = "ti,divider-clock";
1772 clocks = <&mmc1_fclk_mux>;
1773 ti,bit-shift = <25>;
1774 ti,max-div = <4>;
1775 reg = <0x1328>;
1776 ti,index-power-of-two;
1777 };
1778
1779 mmc2_fclk_mux: mmc2_fclk_mux {
1780 #clock-cells = <0>;
1781 compatible = "ti,mux-clock";
1782 clocks = <&func_128m_clk>, <&dpll_per_m2x2_ck>;
1783 ti,bit-shift = <24>;
1784 reg = <0x1330>;
1785 };
1786
1787 mmc2_fclk_div: mmc2_fclk_div {
1788 #clock-cells = <0>;
1789 compatible = "ti,divider-clock";
1790 clocks = <&mmc2_fclk_mux>;
1791 ti,bit-shift = <25>;
1792 ti,max-div = <4>;
1793 reg = <0x1330>;
1794 ti,index-power-of-two;
1795 };
1796
1797 mmc3_gfclk_mux: mmc3_gfclk_mux {
1798 #clock-cells = <0>;
1799 compatible = "ti,mux-clock";
1800 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1801 ti,bit-shift = <24>;
1802 reg = <0x1820>;
1803 };
1804
1805 mmc3_gfclk_div: mmc3_gfclk_div {
1806 #clock-cells = <0>;
1807 compatible = "ti,divider-clock";
1808 clocks = <&mmc3_gfclk_mux>;
1809 ti,bit-shift = <25>;
1810 ti,max-div = <4>;
1811 reg = <0x1820>;
1812 ti,index-power-of-two;
1813 };
1814
1815 mmc4_gfclk_mux: mmc4_gfclk_mux {
1816 #clock-cells = <0>;
1817 compatible = "ti,mux-clock";
1818 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1819 ti,bit-shift = <24>;
1820 reg = <0x1828>;
1821 };
1822
1823 mmc4_gfclk_div: mmc4_gfclk_div {
1824 #clock-cells = <0>;
1825 compatible = "ti,divider-clock";
1826 clocks = <&mmc4_gfclk_mux>;
1827 ti,bit-shift = <25>;
1828 ti,max-div = <4>;
1829 reg = <0x1828>;
1830 ti,index-power-of-two;
1831 };
1832
1833 qspi_gfclk_mux: qspi_gfclk_mux {
1834 #clock-cells = <0>;
1835 compatible = "ti,mux-clock";
1836 clocks = <&func_128m_clk>, <&dpll_per_h13x2_ck>;
1837 ti,bit-shift = <24>;
1838 reg = <0x1838>;
1839 };
1840
1841 qspi_gfclk_div: qspi_gfclk_div {
1842 #clock-cells = <0>;
1843 compatible = "ti,divider-clock";
1844 clocks = <&qspi_gfclk_mux>;
1845 ti,bit-shift = <25>;
1846 ti,max-div = <4>;
1847 reg = <0x1838>;
1848 ti,index-power-of-two;
1849 };
1850
1851 timer10_gfclk_mux: timer10_gfclk_mux {
1852 #clock-cells = <0>;
1853 compatible = "ti,mux-clock";
1854 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1855 ti,bit-shift = <24>;
1856 reg = <0x1728>;
1857 };
1858
1859 timer11_gfclk_mux: timer11_gfclk_mux {
1860 #clock-cells = <0>;
1861 compatible = "ti,mux-clock";
1862 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1863 ti,bit-shift = <24>;
1864 reg = <0x1730>;
1865 };
1866
1867 timer13_gfclk_mux: timer13_gfclk_mux {
1868 #clock-cells = <0>;
1869 compatible = "ti,mux-clock";
1870 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1871 ti,bit-shift = <24>;
1872 reg = <0x17c8>;
1873 };
1874
1875 timer14_gfclk_mux: timer14_gfclk_mux {
1876 #clock-cells = <0>;
1877 compatible = "ti,mux-clock";
1878 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1879 ti,bit-shift = <24>;
1880 reg = <0x17d0>;
1881 };
1882
1883 timer15_gfclk_mux: timer15_gfclk_mux {
1884 #clock-cells = <0>;
1885 compatible = "ti,mux-clock";
1886 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1887 ti,bit-shift = <24>;
1888 reg = <0x17d8>;
1889 };
1890
1891 timer16_gfclk_mux: timer16_gfclk_mux {
1892 #clock-cells = <0>;
1893 compatible = "ti,mux-clock";
1894 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1895 ti,bit-shift = <24>;
1896 reg = <0x1830>;
1897 };
1898
1899 timer2_gfclk_mux: timer2_gfclk_mux {
1900 #clock-cells = <0>;
1901 compatible = "ti,mux-clock";
1902 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1903 ti,bit-shift = <24>;
1904 reg = <0x1738>;
1905 };
1906
1907 timer3_gfclk_mux: timer3_gfclk_mux {
1908 #clock-cells = <0>;
1909 compatible = "ti,mux-clock";
1910 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1911 ti,bit-shift = <24>;
1912 reg = <0x1740>;
1913 };
1914
1915 timer4_gfclk_mux: timer4_gfclk_mux {
1916 #clock-cells = <0>;
1917 compatible = "ti,mux-clock";
1918 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1919 ti,bit-shift = <24>;
1920 reg = <0x1748>;
1921 };
1922
1923 timer9_gfclk_mux: timer9_gfclk_mux {
1924 #clock-cells = <0>;
1925 compatible = "ti,mux-clock";
1926 clocks = <&timer_sys_clk_div>, <&sys_32k_ck>, <&sys_clkin2>, <&ref_clkin0_ck>, <&ref_clkin1_ck>, <&ref_clkin2_ck>, <&ref_clkin3_ck>, <&abe_giclk_div>, <&video1_div_clk>, <&video2_div_clk>, <&hdmi_div_clk>;
1927 ti,bit-shift = <24>;
1928 reg = <0x1750>;
1929 };
1930
1931 uart1_gfclk_mux: uart1_gfclk_mux {
1932 #clock-cells = <0>;
1933 compatible = "ti,mux-clock";
1934 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1935 ti,bit-shift = <24>;
1936 reg = <0x1840>;
1937 };
1938
1939 uart2_gfclk_mux: uart2_gfclk_mux {
1940 #clock-cells = <0>;
1941 compatible = "ti,mux-clock";
1942 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1943 ti,bit-shift = <24>;
1944 reg = <0x1848>;
1945 };
1946
1947 uart3_gfclk_mux: uart3_gfclk_mux {
1948 #clock-cells = <0>;
1949 compatible = "ti,mux-clock";
1950 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1951 ti,bit-shift = <24>;
1952 reg = <0x1850>;
1953 };
1954
1955 uart4_gfclk_mux: uart4_gfclk_mux {
1956 #clock-cells = <0>;
1957 compatible = "ti,mux-clock";
1958 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1959 ti,bit-shift = <24>;
1960 reg = <0x1858>;
1961 };
1962
1963 uart5_gfclk_mux: uart5_gfclk_mux {
1964 #clock-cells = <0>;
1965 compatible = "ti,mux-clock";
1966 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1967 ti,bit-shift = <24>;
1968 reg = <0x1870>;
1969 };
1970
1971 uart7_gfclk_mux: uart7_gfclk_mux {
1972 #clock-cells = <0>;
1973 compatible = "ti,mux-clock";
1974 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1975 ti,bit-shift = <24>;
1976 reg = <0x18d0>;
1977 };
1978
1979 uart8_gfclk_mux: uart8_gfclk_mux {
1980 #clock-cells = <0>;
1981 compatible = "ti,mux-clock";
1982 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1983 ti,bit-shift = <24>;
1984 reg = <0x18e0>;
1985 };
1986
1987 uart9_gfclk_mux: uart9_gfclk_mux {
1988 #clock-cells = <0>;
1989 compatible = "ti,mux-clock";
1990 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1991 ti,bit-shift = <24>;
1992 reg = <0x18e8>;
1993 };
1994
1995 vip1_gclk_mux: vip1_gclk_mux {
1996 #clock-cells = <0>;
1997 compatible = "ti,mux-clock";
1998 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
1999 ti,bit-shift = <24>;
2000 reg = <0x1020>;
2001 };
2002
2003 vip2_gclk_mux: vip2_gclk_mux {
2004 #clock-cells = <0>;
2005 compatible = "ti,mux-clock";
2006 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
2007 ti,bit-shift = <24>;
2008 reg = <0x1028>;
2009 };
2010
2011 vip3_gclk_mux: vip3_gclk_mux {
2012 #clock-cells = <0>;
2013 compatible = "ti,mux-clock";
2014 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
2015 ti,bit-shift = <24>;
2016 reg = <0x1030>;
2017 };
2018};
2019
2020&cm_core_clockdomains {
2021 coreaon_clkdm: coreaon_clkdm {
2022 compatible = "ti,clockdomain";
2023 clocks = <&dpll_usb_ck>;
2024 };
2025};