blob: f5dca1ff1d6e222876ea6a59165852a2f0781fb4 [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>;
676 compatible = "fixed-factor-clock";
677 clocks = <&dpll_core_h12x2_ck>;
678 clock-mult = <1>;
679 clock-div = <1>;
680 };
681
682 l4_root_clk_div: l4_root_clk_div {
683 #clock-cells = <0>;
684 compatible = "fixed-factor-clock";
685 clocks = <&l3_iclk_div>;
686 clock-mult = <1>;
687 clock-div = <1>;
688 };
689
690 video1_clk2_div: video1_clk2_div {
691 #clock-cells = <0>;
692 compatible = "fixed-factor-clock";
693 clocks = <&video1_clkin_ck>;
694 clock-mult = <1>;
695 clock-div = <1>;
696 };
697
698 video1_div_clk: video1_div_clk {
699 #clock-cells = <0>;
700 compatible = "fixed-factor-clock";
701 clocks = <&video1_clkin_ck>;
702 clock-mult = <1>;
703 clock-div = <1>;
704 };
705
706 video2_clk2_div: video2_clk2_div {
707 #clock-cells = <0>;
708 compatible = "fixed-factor-clock";
709 clocks = <&video2_clkin_ck>;
710 clock-mult = <1>;
711 clock-div = <1>;
712 };
713
714 video2_div_clk: video2_div_clk {
715 #clock-cells = <0>;
716 compatible = "fixed-factor-clock";
717 clocks = <&video2_clkin_ck>;
718 clock-mult = <1>;
719 clock-div = <1>;
720 };
721
722 ipu1_gfclk_mux: ipu1_gfclk_mux {
723 #clock-cells = <0>;
724 compatible = "ti,mux-clock";
725 clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
726 ti,bit-shift = <24>;
727 reg = <0x0520>;
728 };
729
730 mcasp1_ahclkr_mux: mcasp1_ahclkr_mux {
731 #clock-cells = <0>;
732 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +0300733 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 +0300734 ti,bit-shift = <28>;
735 reg = <0x0550>;
736 };
737
738 mcasp1_ahclkx_mux: mcasp1_ahclkx_mux {
739 #clock-cells = <0>;
740 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +0300741 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 +0300742 ti,bit-shift = <24>;
743 reg = <0x0550>;
744 };
745
746 mcasp1_aux_gfclk_mux: mcasp1_aux_gfclk_mux {
747 #clock-cells = <0>;
748 compatible = "ti,mux-clock";
749 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
750 ti,bit-shift = <22>;
751 reg = <0x0550>;
752 };
753
754 timer5_gfclk_mux: timer5_gfclk_mux {
755 #clock-cells = <0>;
756 compatible = "ti,mux-clock";
757 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>;
758 ti,bit-shift = <24>;
759 reg = <0x0558>;
760 };
761
762 timer6_gfclk_mux: timer6_gfclk_mux {
763 #clock-cells = <0>;
764 compatible = "ti,mux-clock";
765 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>;
766 ti,bit-shift = <24>;
767 reg = <0x0560>;
768 };
769
770 timer7_gfclk_mux: timer7_gfclk_mux {
771 #clock-cells = <0>;
772 compatible = "ti,mux-clock";
773 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>;
774 ti,bit-shift = <24>;
775 reg = <0x0568>;
776 };
777
778 timer8_gfclk_mux: timer8_gfclk_mux {
779 #clock-cells = <0>;
780 compatible = "ti,mux-clock";
781 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>;
782 ti,bit-shift = <24>;
783 reg = <0x0570>;
784 };
785
786 uart6_gfclk_mux: uart6_gfclk_mux {
787 #clock-cells = <0>;
788 compatible = "ti,mux-clock";
789 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
790 ti,bit-shift = <24>;
791 reg = <0x0580>;
792 };
793
794 dummy_ck: dummy_ck {
795 #clock-cells = <0>;
796 compatible = "fixed-clock";
797 clock-frequency = <0>;
798 };
799};
800&prm_clocks {
801 sys_clkin1: sys_clkin1 {
802 #clock-cells = <0>;
803 compatible = "ti,mux-clock";
804 clocks = <&virt_12000000_ck>, <&virt_20000000_ck>, <&virt_16800000_ck>, <&virt_19200000_ck>, <&virt_26000000_ck>, <&virt_27000000_ck>, <&virt_38400000_ck>;
805 reg = <0x0110>;
806 ti,index-starts-at-one;
807 };
808
809 abe_dpll_sys_clk_mux: abe_dpll_sys_clk_mux {
810 #clock-cells = <0>;
811 compatible = "ti,mux-clock";
812 clocks = <&sys_clkin1>, <&sys_clkin2>;
813 reg = <0x0118>;
814 };
815
816 abe_dpll_bypass_clk_mux: abe_dpll_bypass_clk_mux {
817 #clock-cells = <0>;
818 compatible = "ti,mux-clock";
819 clocks = <&abe_dpll_sys_clk_mux>, <&sys_32k_ck>;
820 reg = <0x0114>;
821 };
822
823 abe_dpll_clk_mux: abe_dpll_clk_mux {
824 #clock-cells = <0>;
825 compatible = "ti,mux-clock";
826 clocks = <&abe_dpll_sys_clk_mux>, <&sys_32k_ck>;
827 reg = <0x010c>;
828 };
829
830 abe_24m_fclk: abe_24m_fclk {
831 #clock-cells = <0>;
832 compatible = "ti,divider-clock";
833 clocks = <&dpll_abe_m2x2_ck>;
834 reg = <0x011c>;
835 ti,dividers = <8>, <16>;
836 };
837
838 aess_fclk: aess_fclk {
839 #clock-cells = <0>;
840 compatible = "ti,divider-clock";
841 clocks = <&abe_clk>;
842 reg = <0x0178>;
843 ti,max-div = <2>;
844 };
845
846 abe_giclk_div: abe_giclk_div {
847 #clock-cells = <0>;
848 compatible = "ti,divider-clock";
849 clocks = <&aess_fclk>;
850 reg = <0x0174>;
851 ti,max-div = <2>;
852 };
853
854 abe_lp_clk_div: abe_lp_clk_div {
855 #clock-cells = <0>;
856 compatible = "ti,divider-clock";
857 clocks = <&dpll_abe_m2x2_ck>;
858 reg = <0x01d8>;
859 ti,dividers = <16>, <32>;
860 };
861
862 abe_sys_clk_div: abe_sys_clk_div {
863 #clock-cells = <0>;
864 compatible = "ti,divider-clock";
865 clocks = <&sys_clkin1>;
866 reg = <0x0120>;
867 ti,max-div = <2>;
868 };
869
870 adc_gfclk_mux: adc_gfclk_mux {
871 #clock-cells = <0>;
872 compatible = "ti,mux-clock";
873 clocks = <&sys_clkin1>, <&sys_clkin2>, <&sys_32k_ck>;
874 reg = <0x01dc>;
875 };
876
877 sys_clk1_dclk_div: sys_clk1_dclk_div {
878 #clock-cells = <0>;
879 compatible = "ti,divider-clock";
880 clocks = <&sys_clkin1>;
881 ti,max-div = <64>;
882 reg = <0x01c8>;
883 ti,index-power-of-two;
884 };
885
886 sys_clk2_dclk_div: sys_clk2_dclk_div {
887 #clock-cells = <0>;
888 compatible = "ti,divider-clock";
889 clocks = <&sys_clkin2>;
890 ti,max-div = <64>;
891 reg = <0x01cc>;
892 ti,index-power-of-two;
893 };
894
895 per_abe_x1_dclk_div: per_abe_x1_dclk_div {
896 #clock-cells = <0>;
897 compatible = "ti,divider-clock";
898 clocks = <&dpll_abe_m2_ck>;
899 ti,max-div = <64>;
900 reg = <0x01bc>;
901 ti,index-power-of-two;
902 };
903
904 dsp_gclk_div: dsp_gclk_div {
905 #clock-cells = <0>;
906 compatible = "ti,divider-clock";
907 clocks = <&dpll_dsp_m2_ck>;
908 ti,max-div = <64>;
909 reg = <0x018c>;
910 ti,index-power-of-two;
911 };
912
913 gpu_dclk: gpu_dclk {
914 #clock-cells = <0>;
915 compatible = "ti,divider-clock";
916 clocks = <&dpll_gpu_m2_ck>;
917 ti,max-div = <64>;
918 reg = <0x01a0>;
919 ti,index-power-of-two;
920 };
921
922 emif_phy_dclk_div: emif_phy_dclk_div {
923 #clock-cells = <0>;
924 compatible = "ti,divider-clock";
925 clocks = <&dpll_ddr_m2_ck>;
926 ti,max-div = <64>;
927 reg = <0x0190>;
928 ti,index-power-of-two;
929 };
930
931 gmac_250m_dclk_div: gmac_250m_dclk_div {
932 #clock-cells = <0>;
933 compatible = "ti,divider-clock";
934 clocks = <&dpll_gmac_m2_ck>;
935 ti,max-div = <64>;
936 reg = <0x019c>;
937 ti,index-power-of-two;
938 };
939
940 l3init_480m_dclk_div: l3init_480m_dclk_div {
941 #clock-cells = <0>;
942 compatible = "ti,divider-clock";
943 clocks = <&dpll_usb_m2_ck>;
944 ti,max-div = <64>;
945 reg = <0x01ac>;
946 ti,index-power-of-two;
947 };
948
949 usb_otg_dclk_div: usb_otg_dclk_div {
950 #clock-cells = <0>;
951 compatible = "ti,divider-clock";
952 clocks = <&usb_otg_clkin_ck>;
953 ti,max-div = <64>;
954 reg = <0x0184>;
955 ti,index-power-of-two;
956 };
957
958 sata_dclk_div: sata_dclk_div {
959 #clock-cells = <0>;
960 compatible = "ti,divider-clock";
961 clocks = <&sys_clkin1>;
962 ti,max-div = <64>;
963 reg = <0x01c0>;
964 ti,index-power-of-two;
965 };
966
967 pcie2_dclk_div: pcie2_dclk_div {
968 #clock-cells = <0>;
969 compatible = "ti,divider-clock";
970 clocks = <&dpll_pcie_ref_m2_ck>;
971 ti,max-div = <64>;
972 reg = <0x01b8>;
973 ti,index-power-of-two;
974 };
975
976 pcie_dclk_div: pcie_dclk_div {
977 #clock-cells = <0>;
978 compatible = "ti,divider-clock";
979 clocks = <&apll_pcie_m2_ck>;
980 ti,max-div = <64>;
981 reg = <0x01b4>;
982 ti,index-power-of-two;
983 };
984
985 emu_dclk_div: emu_dclk_div {
986 #clock-cells = <0>;
987 compatible = "ti,divider-clock";
988 clocks = <&sys_clkin1>;
989 ti,max-div = <64>;
990 reg = <0x0194>;
991 ti,index-power-of-two;
992 };
993
994 secure_32k_dclk_div: secure_32k_dclk_div {
995 #clock-cells = <0>;
996 compatible = "ti,divider-clock";
997 clocks = <&secure_32k_clk_src_ck>;
998 ti,max-div = <64>;
999 reg = <0x01c4>;
1000 ti,index-power-of-two;
1001 };
1002
1003 clkoutmux0_clk_mux: clkoutmux0_clk_mux {
1004 #clock-cells = <0>;
1005 compatible = "ti,mux-clock";
1006 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>;
1007 reg = <0x0158>;
1008 };
1009
1010 clkoutmux1_clk_mux: clkoutmux1_clk_mux {
1011 #clock-cells = <0>;
1012 compatible = "ti,mux-clock";
1013 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>;
1014 reg = <0x015c>;
1015 };
1016
1017 clkoutmux2_clk_mux: clkoutmux2_clk_mux {
1018 #clock-cells = <0>;
1019 compatible = "ti,mux-clock";
1020 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>;
1021 reg = <0x0160>;
1022 };
1023
1024 custefuse_sys_gfclk_div: custefuse_sys_gfclk_div {
1025 #clock-cells = <0>;
1026 compatible = "fixed-factor-clock";
1027 clocks = <&sys_clkin1>;
1028 clock-mult = <1>;
1029 clock-div = <2>;
1030 };
1031
1032 eve_clk: eve_clk {
1033 #clock-cells = <0>;
1034 compatible = "ti,mux-clock";
1035 clocks = <&dpll_eve_m2_ck>, <&dpll_dsp_m3x2_ck>;
1036 reg = <0x0180>;
1037 };
1038
1039 hdmi_dpll_clk_mux: hdmi_dpll_clk_mux {
1040 #clock-cells = <0>;
1041 compatible = "ti,mux-clock";
1042 clocks = <&sys_clkin1>, <&sys_clkin2>;
1043 reg = <0x01a4>;
1044 };
1045
1046 mlb_clk: mlb_clk {
1047 #clock-cells = <0>;
1048 compatible = "ti,divider-clock";
1049 clocks = <&mlb_clkin_ck>;
1050 ti,max-div = <64>;
1051 reg = <0x0134>;
1052 ti,index-power-of-two;
1053 };
1054
1055 mlbp_clk: mlbp_clk {
1056 #clock-cells = <0>;
1057 compatible = "ti,divider-clock";
1058 clocks = <&mlbp_clkin_ck>;
1059 ti,max-div = <64>;
1060 reg = <0x0130>;
1061 ti,index-power-of-two;
1062 };
1063
1064 per_abe_x1_gfclk2_div: per_abe_x1_gfclk2_div {
1065 #clock-cells = <0>;
1066 compatible = "ti,divider-clock";
1067 clocks = <&dpll_abe_m2_ck>;
1068 ti,max-div = <64>;
1069 reg = <0x0138>;
1070 ti,index-power-of-two;
1071 };
1072
1073 timer_sys_clk_div: timer_sys_clk_div {
1074 #clock-cells = <0>;
1075 compatible = "ti,divider-clock";
1076 clocks = <&sys_clkin1>;
1077 reg = <0x0144>;
1078 ti,max-div = <2>;
1079 };
1080
1081 video1_dpll_clk_mux: video1_dpll_clk_mux {
1082 #clock-cells = <0>;
1083 compatible = "ti,mux-clock";
1084 clocks = <&sys_clkin1>, <&sys_clkin2>;
1085 reg = <0x01d0>;
1086 };
1087
1088 video2_dpll_clk_mux: video2_dpll_clk_mux {
1089 #clock-cells = <0>;
1090 compatible = "ti,mux-clock";
1091 clocks = <&sys_clkin1>, <&sys_clkin2>;
1092 reg = <0x01d4>;
1093 };
1094
1095 wkupaon_iclk_mux: wkupaon_iclk_mux {
1096 #clock-cells = <0>;
1097 compatible = "ti,mux-clock";
1098 clocks = <&sys_clkin1>, <&abe_lp_clk_div>;
1099 reg = <0x0108>;
1100 };
1101
1102 gpio1_dbclk: gpio1_dbclk {
1103 #clock-cells = <0>;
1104 compatible = "ti,gate-clock";
1105 clocks = <&sys_32k_ck>;
1106 ti,bit-shift = <8>;
1107 reg = <0x1838>;
1108 };
1109
1110 dcan1_sys_clk_mux: dcan1_sys_clk_mux {
1111 #clock-cells = <0>;
1112 compatible = "ti,mux-clock";
1113 clocks = <&sys_clkin1>, <&sys_clkin2>;
1114 ti,bit-shift = <24>;
1115 reg = <0x1888>;
1116 };
1117
1118 timer1_gfclk_mux: timer1_gfclk_mux {
1119 #clock-cells = <0>;
1120 compatible = "ti,mux-clock";
1121 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>;
1122 ti,bit-shift = <24>;
1123 reg = <0x1840>;
1124 };
1125
1126 uart10_gfclk_mux: uart10_gfclk_mux {
1127 #clock-cells = <0>;
1128 compatible = "ti,mux-clock";
1129 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1130 ti,bit-shift = <24>;
1131 reg = <0x1880>;
1132 };
1133};
1134&cm_core_clocks {
1135 dpll_pcie_ref_ck: dpll_pcie_ref_ck {
1136 #clock-cells = <0>;
1137 compatible = "ti,omap4-dpll-clock";
1138 clocks = <&sys_clkin1>, <&sys_clkin1>;
1139 reg = <0x0200>, <0x0204>, <0x020c>, <0x0208>;
1140 };
1141
1142 dpll_pcie_ref_m2ldo_ck: dpll_pcie_ref_m2ldo_ck {
1143 #clock-cells = <0>;
1144 compatible = "ti,divider-clock";
1145 clocks = <&dpll_pcie_ref_ck>;
1146 ti,max-div = <31>;
1147 ti,autoidle-shift = <8>;
1148 reg = <0x0210>;
1149 ti,index-starts-at-one;
1150 ti,invert-autoidle-bit;
1151 };
1152
J Keerthy7d138d32013-07-23 12:05:38 +05301153 apll_pcie_in_clk_mux: apll_pcie_in_clk_mux@4ae06118 {
1154 compatible = "ti,mux-clock";
Keerthy4310e902014-07-14 16:12:17 +05301155 clocks = <&dpll_pcie_ref_m2ldo_ck>, <&pciesref_acs_clk_ck>;
J Keerthy7d138d32013-07-23 12:05:38 +05301156 #clock-cells = <0>;
1157 reg = <0x021c 0x4>;
1158 ti,bit-shift = <7>;
1159 };
1160
Tero Kristoee6c7502013-07-18 17:18:33 +03001161 apll_pcie_ck: apll_pcie_ck {
1162 #clock-cells = <0>;
J Keerthy7d138d32013-07-23 12:05:38 +05301163 compatible = "ti,dra7-apll-clock";
1164 clocks = <&apll_pcie_in_clk_mux>, <&dpll_pcie_ref_ck>;
1165 reg = <0x021c>, <0x0220>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001166 };
1167
J Keerthya0289f92013-07-23 12:05:40 +05301168 optfclk_pciephy_div: optfclk_pciephy_div@4a00821c {
1169 compatible = "ti,divider-clock";
1170 clocks = <&apll_pcie_ck>;
1171 #clock-cells = <0>;
1172 reg = <0x021c>;
Keerthy147e5412014-07-14 16:12:16 +05301173 ti,dividers = <2>, <1>;
J Keerthya0289f92013-07-23 12:05:40 +05301174 ti,bit-shift = <8>;
1175 ti,max-div = <2>;
1176 };
1177
1178 optfclk_pciephy_clk: optfclk_pciephy_clk@4a0093b0 {
1179 compatible = "ti,gate-clock";
1180 clocks = <&apll_pcie_ck>;
1181 #clock-cells = <0>;
1182 reg = <0x13b0>;
1183 ti,bit-shift = <9>;
1184 };
1185
1186 optfclk_pciephy_div_clk: optfclk_pciephy_div_clk@4a0093b0 {
1187 compatible = "ti,gate-clock";
1188 clocks = <&optfclk_pciephy_div>;
1189 #clock-cells = <0>;
1190 reg = <0x13b0>;
1191 ti,bit-shift = <10>;
1192 };
1193
Tero Kristoee6c7502013-07-18 17:18:33 +03001194 apll_pcie_clkvcoldo: apll_pcie_clkvcoldo {
1195 #clock-cells = <0>;
1196 compatible = "fixed-factor-clock";
1197 clocks = <&apll_pcie_ck>;
1198 clock-mult = <1>;
1199 clock-div = <1>;
1200 };
1201
1202 apll_pcie_clkvcoldo_div: apll_pcie_clkvcoldo_div {
1203 #clock-cells = <0>;
1204 compatible = "fixed-factor-clock";
1205 clocks = <&apll_pcie_ck>;
1206 clock-mult = <1>;
1207 clock-div = <1>;
1208 };
1209
1210 apll_pcie_m2_ck: apll_pcie_m2_ck {
1211 #clock-cells = <0>;
J Keerthyc3be7ac2013-07-23 12:05:39 +05301212 compatible = "fixed-factor-clock";
Tero Kristoee6c7502013-07-18 17:18:33 +03001213 clocks = <&apll_pcie_ck>;
J Keerthyc3be7ac2013-07-23 12:05:39 +05301214 clock-mult = <1>;
1215 clock-div = <1>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001216 };
1217
1218 dpll_per_ck: dpll_per_ck {
1219 #clock-cells = <0>;
1220 compatible = "ti,omap4-dpll-clock";
1221 clocks = <&sys_clkin1>, <&per_dpll_hs_clk_div>;
1222 reg = <0x0140>, <0x0144>, <0x014c>, <0x0148>;
1223 };
1224
1225 dpll_per_m2_ck: dpll_per_m2_ck {
1226 #clock-cells = <0>;
1227 compatible = "ti,divider-clock";
1228 clocks = <&dpll_per_ck>;
1229 ti,max-div = <31>;
1230 ti,autoidle-shift = <8>;
1231 reg = <0x0150>;
1232 ti,index-starts-at-one;
1233 ti,invert-autoidle-bit;
1234 };
1235
1236 func_96m_aon_dclk_div: func_96m_aon_dclk_div {
1237 #clock-cells = <0>;
1238 compatible = "fixed-factor-clock";
1239 clocks = <&dpll_per_m2_ck>;
1240 clock-mult = <1>;
1241 clock-div = <1>;
1242 };
1243
1244 dpll_usb_ck: dpll_usb_ck {
1245 #clock-cells = <0>;
1246 compatible = "ti,omap4-dpll-j-type-clock";
1247 clocks = <&sys_clkin1>, <&usb_dpll_hs_clk_div>;
1248 reg = <0x0180>, <0x0184>, <0x018c>, <0x0188>;
1249 };
1250
1251 dpll_usb_m2_ck: dpll_usb_m2_ck {
1252 #clock-cells = <0>;
1253 compatible = "ti,divider-clock";
1254 clocks = <&dpll_usb_ck>;
1255 ti,max-div = <127>;
1256 ti,autoidle-shift = <8>;
1257 reg = <0x0190>;
1258 ti,index-starts-at-one;
1259 ti,invert-autoidle-bit;
1260 };
1261
1262 dpll_pcie_ref_m2_ck: dpll_pcie_ref_m2_ck {
1263 #clock-cells = <0>;
1264 compatible = "ti,divider-clock";
1265 clocks = <&dpll_pcie_ref_ck>;
1266 ti,max-div = <127>;
1267 ti,autoidle-shift = <8>;
1268 reg = <0x0210>;
1269 ti,index-starts-at-one;
1270 ti,invert-autoidle-bit;
1271 };
1272
1273 dpll_per_x2_ck: dpll_per_x2_ck {
1274 #clock-cells = <0>;
1275 compatible = "ti,omap4-dpll-x2-clock";
1276 clocks = <&dpll_per_ck>;
1277 };
1278
1279 dpll_per_h11x2_ck: dpll_per_h11x2_ck {
1280 #clock-cells = <0>;
1281 compatible = "ti,divider-clock";
1282 clocks = <&dpll_per_x2_ck>;
1283 ti,max-div = <63>;
1284 ti,autoidle-shift = <8>;
1285 reg = <0x0158>;
1286 ti,index-starts-at-one;
1287 ti,invert-autoidle-bit;
1288 };
1289
1290 dpll_per_h12x2_ck: dpll_per_h12x2_ck {
1291 #clock-cells = <0>;
1292 compatible = "ti,divider-clock";
1293 clocks = <&dpll_per_x2_ck>;
1294 ti,max-div = <63>;
1295 ti,autoidle-shift = <8>;
1296 reg = <0x015c>;
1297 ti,index-starts-at-one;
1298 ti,invert-autoidle-bit;
1299 };
1300
1301 dpll_per_h13x2_ck: dpll_per_h13x2_ck {
1302 #clock-cells = <0>;
1303 compatible = "ti,divider-clock";
1304 clocks = <&dpll_per_x2_ck>;
1305 ti,max-div = <63>;
1306 ti,autoidle-shift = <8>;
1307 reg = <0x0160>;
1308 ti,index-starts-at-one;
1309 ti,invert-autoidle-bit;
1310 };
1311
1312 dpll_per_h14x2_ck: dpll_per_h14x2_ck {
1313 #clock-cells = <0>;
1314 compatible = "ti,divider-clock";
1315 clocks = <&dpll_per_x2_ck>;
1316 ti,max-div = <63>;
1317 ti,autoidle-shift = <8>;
1318 reg = <0x0164>;
1319 ti,index-starts-at-one;
1320 ti,invert-autoidle-bit;
1321 };
1322
1323 dpll_per_m2x2_ck: dpll_per_m2x2_ck {
1324 #clock-cells = <0>;
1325 compatible = "ti,divider-clock";
1326 clocks = <&dpll_per_x2_ck>;
1327 ti,max-div = <31>;
1328 ti,autoidle-shift = <8>;
1329 reg = <0x0150>;
1330 ti,index-starts-at-one;
1331 ti,invert-autoidle-bit;
1332 };
1333
1334 dpll_usb_clkdcoldo: dpll_usb_clkdcoldo {
1335 #clock-cells = <0>;
1336 compatible = "fixed-factor-clock";
1337 clocks = <&dpll_usb_ck>;
1338 clock-mult = <1>;
1339 clock-div = <1>;
1340 };
1341
1342 func_128m_clk: func_128m_clk {
1343 #clock-cells = <0>;
1344 compatible = "fixed-factor-clock";
1345 clocks = <&dpll_per_h11x2_ck>;
1346 clock-mult = <1>;
1347 clock-div = <2>;
1348 };
1349
1350 func_12m_fclk: func_12m_fclk {
1351 #clock-cells = <0>;
1352 compatible = "fixed-factor-clock";
1353 clocks = <&dpll_per_m2x2_ck>;
1354 clock-mult = <1>;
1355 clock-div = <16>;
1356 };
1357
1358 func_24m_clk: func_24m_clk {
1359 #clock-cells = <0>;
1360 compatible = "fixed-factor-clock";
1361 clocks = <&dpll_per_m2_ck>;
1362 clock-mult = <1>;
1363 clock-div = <4>;
1364 };
1365
1366 func_48m_fclk: func_48m_fclk {
1367 #clock-cells = <0>;
1368 compatible = "fixed-factor-clock";
1369 clocks = <&dpll_per_m2x2_ck>;
1370 clock-mult = <1>;
1371 clock-div = <4>;
1372 };
1373
1374 func_96m_fclk: func_96m_fclk {
1375 #clock-cells = <0>;
1376 compatible = "fixed-factor-clock";
1377 clocks = <&dpll_per_m2x2_ck>;
1378 clock-mult = <1>;
1379 clock-div = <2>;
1380 };
1381
1382 l3init_60m_fclk: l3init_60m_fclk {
1383 #clock-cells = <0>;
1384 compatible = "ti,divider-clock";
1385 clocks = <&dpll_usb_m2_ck>;
1386 reg = <0x0104>;
1387 ti,dividers = <1>, <8>;
1388 };
1389
Roger Quadros032d7742014-05-05 12:54:43 +03001390 l3init_960m_gfclk: l3init_960m_gfclk {
1391 #clock-cells = <0>;
1392 compatible = "ti,gate-clock";
1393 clocks = <&dpll_usb_clkdcoldo>;
1394 ti,bit-shift = <8>;
1395 reg = <0x06c0>;
1396 };
1397
Tero Kristoee6c7502013-07-18 17:18:33 +03001398 dss_32khz_clk: dss_32khz_clk {
1399 #clock-cells = <0>;
1400 compatible = "ti,gate-clock";
1401 clocks = <&sys_32k_ck>;
1402 ti,bit-shift = <11>;
1403 reg = <0x1120>;
1404 };
1405
1406 dss_48mhz_clk: dss_48mhz_clk {
1407 #clock-cells = <0>;
1408 compatible = "ti,gate-clock";
1409 clocks = <&func_48m_fclk>;
1410 ti,bit-shift = <9>;
1411 reg = <0x1120>;
1412 };
1413
1414 dss_dss_clk: dss_dss_clk {
1415 #clock-cells = <0>;
1416 compatible = "ti,gate-clock";
1417 clocks = <&dpll_per_h12x2_ck>;
1418 ti,bit-shift = <8>;
1419 reg = <0x1120>;
1420 };
1421
1422 dss_hdmi_clk: dss_hdmi_clk {
1423 #clock-cells = <0>;
1424 compatible = "ti,gate-clock";
1425 clocks = <&hdmi_dpll_clk_mux>;
1426 ti,bit-shift = <10>;
1427 reg = <0x1120>;
1428 };
1429
1430 dss_video1_clk: dss_video1_clk {
1431 #clock-cells = <0>;
1432 compatible = "ti,gate-clock";
1433 clocks = <&video1_dpll_clk_mux>;
1434 ti,bit-shift = <12>;
1435 reg = <0x1120>;
1436 };
1437
1438 dss_video2_clk: dss_video2_clk {
1439 #clock-cells = <0>;
1440 compatible = "ti,gate-clock";
1441 clocks = <&video2_dpll_clk_mux>;
1442 ti,bit-shift = <13>;
1443 reg = <0x1120>;
1444 };
1445
1446 gpio2_dbclk: gpio2_dbclk {
1447 #clock-cells = <0>;
1448 compatible = "ti,gate-clock";
1449 clocks = <&sys_32k_ck>;
1450 ti,bit-shift = <8>;
1451 reg = <0x1760>;
1452 };
1453
1454 gpio3_dbclk: gpio3_dbclk {
1455 #clock-cells = <0>;
1456 compatible = "ti,gate-clock";
1457 clocks = <&sys_32k_ck>;
1458 ti,bit-shift = <8>;
1459 reg = <0x1768>;
1460 };
1461
1462 gpio4_dbclk: gpio4_dbclk {
1463 #clock-cells = <0>;
1464 compatible = "ti,gate-clock";
1465 clocks = <&sys_32k_ck>;
1466 ti,bit-shift = <8>;
1467 reg = <0x1770>;
1468 };
1469
1470 gpio5_dbclk: gpio5_dbclk {
1471 #clock-cells = <0>;
1472 compatible = "ti,gate-clock";
1473 clocks = <&sys_32k_ck>;
1474 ti,bit-shift = <8>;
1475 reg = <0x1778>;
1476 };
1477
1478 gpio6_dbclk: gpio6_dbclk {
1479 #clock-cells = <0>;
1480 compatible = "ti,gate-clock";
1481 clocks = <&sys_32k_ck>;
1482 ti,bit-shift = <8>;
1483 reg = <0x1780>;
1484 };
1485
1486 gpio7_dbclk: gpio7_dbclk {
1487 #clock-cells = <0>;
1488 compatible = "ti,gate-clock";
1489 clocks = <&sys_32k_ck>;
1490 ti,bit-shift = <8>;
1491 reg = <0x1810>;
1492 };
1493
1494 gpio8_dbclk: gpio8_dbclk {
1495 #clock-cells = <0>;
1496 compatible = "ti,gate-clock";
1497 clocks = <&sys_32k_ck>;
1498 ti,bit-shift = <8>;
1499 reg = <0x1818>;
1500 };
1501
1502 mmc1_clk32k: mmc1_clk32k {
1503 #clock-cells = <0>;
1504 compatible = "ti,gate-clock";
1505 clocks = <&sys_32k_ck>;
1506 ti,bit-shift = <8>;
1507 reg = <0x1328>;
1508 };
1509
1510 mmc2_clk32k: mmc2_clk32k {
1511 #clock-cells = <0>;
1512 compatible = "ti,gate-clock";
1513 clocks = <&sys_32k_ck>;
1514 ti,bit-shift = <8>;
1515 reg = <0x1330>;
1516 };
1517
1518 mmc3_clk32k: mmc3_clk32k {
1519 #clock-cells = <0>;
1520 compatible = "ti,gate-clock";
1521 clocks = <&sys_32k_ck>;
1522 ti,bit-shift = <8>;
1523 reg = <0x1820>;
1524 };
1525
1526 mmc4_clk32k: mmc4_clk32k {
1527 #clock-cells = <0>;
1528 compatible = "ti,gate-clock";
1529 clocks = <&sys_32k_ck>;
1530 ti,bit-shift = <8>;
1531 reg = <0x1828>;
1532 };
1533
1534 sata_ref_clk: sata_ref_clk {
1535 #clock-cells = <0>;
1536 compatible = "ti,gate-clock";
1537 clocks = <&sys_clkin1>;
1538 ti,bit-shift = <8>;
1539 reg = <0x1388>;
1540 };
1541
1542 usb_otg_ss1_refclk960m: usb_otg_ss1_refclk960m {
1543 #clock-cells = <0>;
1544 compatible = "ti,gate-clock";
Roger Quadros032d7742014-05-05 12:54:43 +03001545 clocks = <&l3init_960m_gfclk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001546 ti,bit-shift = <8>;
1547 reg = <0x13f0>;
1548 };
1549
1550 usb_otg_ss2_refclk960m: usb_otg_ss2_refclk960m {
1551 #clock-cells = <0>;
1552 compatible = "ti,gate-clock";
Roger Quadros032d7742014-05-05 12:54:43 +03001553 clocks = <&l3init_960m_gfclk>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001554 ti,bit-shift = <8>;
1555 reg = <0x1340>;
1556 };
1557
1558 usb_phy1_always_on_clk32k: usb_phy1_always_on_clk32k {
1559 #clock-cells = <0>;
1560 compatible = "ti,gate-clock";
1561 clocks = <&sys_32k_ck>;
1562 ti,bit-shift = <8>;
1563 reg = <0x0640>;
1564 };
1565
1566 usb_phy2_always_on_clk32k: usb_phy2_always_on_clk32k {
1567 #clock-cells = <0>;
1568 compatible = "ti,gate-clock";
1569 clocks = <&sys_32k_ck>;
1570 ti,bit-shift = <8>;
1571 reg = <0x0688>;
1572 };
1573
1574 usb_phy3_always_on_clk32k: usb_phy3_always_on_clk32k {
1575 #clock-cells = <0>;
1576 compatible = "ti,gate-clock";
1577 clocks = <&sys_32k_ck>;
1578 ti,bit-shift = <8>;
1579 reg = <0x0698>;
1580 };
1581
1582 atl_dpll_clk_mux: atl_dpll_clk_mux {
1583 #clock-cells = <0>;
1584 compatible = "ti,mux-clock";
1585 clocks = <&sys_32k_ck>, <&video1_clkin_ck>, <&video2_clkin_ck>, <&hdmi_clkin_ck>;
1586 ti,bit-shift = <24>;
1587 reg = <0x0c00>;
1588 };
1589
1590 atl_gfclk_mux: atl_gfclk_mux {
1591 #clock-cells = <0>;
1592 compatible = "ti,mux-clock";
1593 clocks = <&l3_iclk_div>, <&dpll_abe_m2_ck>, <&atl_dpll_clk_mux>;
1594 ti,bit-shift = <26>;
1595 reg = <0x0c00>;
1596 };
1597
1598 gmac_gmii_ref_clk_div: gmac_gmii_ref_clk_div {
1599 #clock-cells = <0>;
1600 compatible = "ti,divider-clock";
1601 clocks = <&dpll_gmac_m2_ck>;
1602 ti,bit-shift = <24>;
1603 reg = <0x13d0>;
1604 ti,dividers = <2>;
1605 };
1606
1607 gmac_rft_clk_mux: gmac_rft_clk_mux {
1608 #clock-cells = <0>;
1609 compatible = "ti,mux-clock";
1610 clocks = <&video1_clkin_ck>, <&video2_clkin_ck>, <&dpll_abe_m2_ck>, <&hdmi_clkin_ck>, <&l3_iclk_div>;
1611 ti,bit-shift = <25>;
1612 reg = <0x13d0>;
1613 };
1614
1615 gpu_core_gclk_mux: gpu_core_gclk_mux {
1616 #clock-cells = <0>;
1617 compatible = "ti,mux-clock";
1618 clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>, <&dpll_gpu_m2_ck>;
1619 ti,bit-shift = <24>;
1620 reg = <0x1220>;
1621 };
1622
1623 gpu_hyd_gclk_mux: gpu_hyd_gclk_mux {
1624 #clock-cells = <0>;
1625 compatible = "ti,mux-clock";
1626 clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>, <&dpll_gpu_m2_ck>;
1627 ti,bit-shift = <26>;
1628 reg = <0x1220>;
1629 };
1630
1631 l3instr_ts_gclk_div: l3instr_ts_gclk_div {
1632 #clock-cells = <0>;
1633 compatible = "ti,divider-clock";
1634 clocks = <&wkupaon_iclk_mux>;
1635 ti,bit-shift = <24>;
1636 reg = <0x0e50>;
1637 ti,dividers = <8>, <16>, <32>;
1638 };
1639
1640 mcasp2_ahclkr_mux: mcasp2_ahclkr_mux {
1641 #clock-cells = <0>;
1642 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001643 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 +03001644 ti,bit-shift = <28>;
1645 reg = <0x1860>;
1646 };
1647
1648 mcasp2_ahclkx_mux: mcasp2_ahclkx_mux {
1649 #clock-cells = <0>;
1650 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001651 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 +03001652 ti,bit-shift = <24>;
Tero Kristoee6c7502013-07-18 17:18:33 +03001653 reg = <0x1860>;
1654 };
1655
1656 mcasp2_aux_gfclk_mux: mcasp2_aux_gfclk_mux {
1657 #clock-cells = <0>;
1658 compatible = "ti,mux-clock";
1659 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1660 ti,bit-shift = <22>;
1661 reg = <0x1860>;
1662 };
1663
1664 mcasp3_ahclkx_mux: mcasp3_ahclkx_mux {
1665 #clock-cells = <0>;
1666 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001667 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 +03001668 ti,bit-shift = <24>;
1669 reg = <0x1868>;
1670 };
1671
1672 mcasp3_aux_gfclk_mux: mcasp3_aux_gfclk_mux {
1673 #clock-cells = <0>;
1674 compatible = "ti,mux-clock";
1675 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1676 ti,bit-shift = <22>;
1677 reg = <0x1868>;
1678 };
1679
1680 mcasp4_ahclkx_mux: mcasp4_ahclkx_mux {
1681 #clock-cells = <0>;
1682 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001683 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 +03001684 ti,bit-shift = <24>;
1685 reg = <0x1898>;
1686 };
1687
1688 mcasp4_aux_gfclk_mux: mcasp4_aux_gfclk_mux {
1689 #clock-cells = <0>;
1690 compatible = "ti,mux-clock";
1691 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1692 ti,bit-shift = <22>;
1693 reg = <0x1898>;
1694 };
1695
1696 mcasp5_ahclkx_mux: mcasp5_ahclkx_mux {
1697 #clock-cells = <0>;
1698 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001699 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 +03001700 ti,bit-shift = <24>;
1701 reg = <0x1878>;
1702 };
1703
1704 mcasp5_aux_gfclk_mux: mcasp5_aux_gfclk_mux {
1705 #clock-cells = <0>;
1706 compatible = "ti,mux-clock";
1707 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1708 ti,bit-shift = <22>;
1709 reg = <0x1878>;
1710 };
1711
1712 mcasp6_ahclkx_mux: mcasp6_ahclkx_mux {
1713 #clock-cells = <0>;
1714 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001715 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 +03001716 ti,bit-shift = <24>;
1717 reg = <0x1904>;
1718 };
1719
1720 mcasp6_aux_gfclk_mux: mcasp6_aux_gfclk_mux {
1721 #clock-cells = <0>;
1722 compatible = "ti,mux-clock";
1723 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1724 ti,bit-shift = <22>;
1725 reg = <0x1904>;
1726 };
1727
1728 mcasp7_ahclkx_mux: mcasp7_ahclkx_mux {
1729 #clock-cells = <0>;
1730 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001731 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 +03001732 ti,bit-shift = <24>;
1733 reg = <0x1908>;
1734 };
1735
1736 mcasp7_aux_gfclk_mux: mcasp7_aux_gfclk_mux {
1737 #clock-cells = <0>;
1738 compatible = "ti,mux-clock";
1739 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1740 ti,bit-shift = <22>;
1741 reg = <0x1908>;
1742 };
1743
1744 mcasp8_ahclk_mux: mcasp8_ahclk_mux {
1745 #clock-cells = <0>;
1746 compatible = "ti,mux-clock";
Peter Ujfalusi0cccd912014-05-07 13:20:45 +03001747 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 +03001748 ti,bit-shift = <22>;
1749 reg = <0x1890>;
1750 };
1751
1752 mcasp8_aux_gfclk_mux: mcasp8_aux_gfclk_mux {
1753 #clock-cells = <0>;
1754 compatible = "ti,mux-clock";
1755 clocks = <&per_abe_x1_gfclk2_div>, <&video1_clk2_div>, <&video2_clk2_div>, <&hdmi_clk2_div>;
1756 ti,bit-shift = <24>;
1757 reg = <0x1890>;
1758 };
1759
1760 mmc1_fclk_mux: mmc1_fclk_mux {
1761 #clock-cells = <0>;
1762 compatible = "ti,mux-clock";
1763 clocks = <&func_128m_clk>, <&dpll_per_m2x2_ck>;
1764 ti,bit-shift = <24>;
1765 reg = <0x1328>;
1766 };
1767
1768 mmc1_fclk_div: mmc1_fclk_div {
1769 #clock-cells = <0>;
1770 compatible = "ti,divider-clock";
1771 clocks = <&mmc1_fclk_mux>;
1772 ti,bit-shift = <25>;
1773 ti,max-div = <4>;
1774 reg = <0x1328>;
1775 ti,index-power-of-two;
1776 };
1777
1778 mmc2_fclk_mux: mmc2_fclk_mux {
1779 #clock-cells = <0>;
1780 compatible = "ti,mux-clock";
1781 clocks = <&func_128m_clk>, <&dpll_per_m2x2_ck>;
1782 ti,bit-shift = <24>;
1783 reg = <0x1330>;
1784 };
1785
1786 mmc2_fclk_div: mmc2_fclk_div {
1787 #clock-cells = <0>;
1788 compatible = "ti,divider-clock";
1789 clocks = <&mmc2_fclk_mux>;
1790 ti,bit-shift = <25>;
1791 ti,max-div = <4>;
1792 reg = <0x1330>;
1793 ti,index-power-of-two;
1794 };
1795
1796 mmc3_gfclk_mux: mmc3_gfclk_mux {
1797 #clock-cells = <0>;
1798 compatible = "ti,mux-clock";
1799 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1800 ti,bit-shift = <24>;
1801 reg = <0x1820>;
1802 };
1803
1804 mmc3_gfclk_div: mmc3_gfclk_div {
1805 #clock-cells = <0>;
1806 compatible = "ti,divider-clock";
1807 clocks = <&mmc3_gfclk_mux>;
1808 ti,bit-shift = <25>;
1809 ti,max-div = <4>;
1810 reg = <0x1820>;
1811 ti,index-power-of-two;
1812 };
1813
1814 mmc4_gfclk_mux: mmc4_gfclk_mux {
1815 #clock-cells = <0>;
1816 compatible = "ti,mux-clock";
1817 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1818 ti,bit-shift = <24>;
1819 reg = <0x1828>;
1820 };
1821
1822 mmc4_gfclk_div: mmc4_gfclk_div {
1823 #clock-cells = <0>;
1824 compatible = "ti,divider-clock";
1825 clocks = <&mmc4_gfclk_mux>;
1826 ti,bit-shift = <25>;
1827 ti,max-div = <4>;
1828 reg = <0x1828>;
1829 ti,index-power-of-two;
1830 };
1831
1832 qspi_gfclk_mux: qspi_gfclk_mux {
1833 #clock-cells = <0>;
1834 compatible = "ti,mux-clock";
1835 clocks = <&func_128m_clk>, <&dpll_per_h13x2_ck>;
1836 ti,bit-shift = <24>;
1837 reg = <0x1838>;
1838 };
1839
1840 qspi_gfclk_div: qspi_gfclk_div {
1841 #clock-cells = <0>;
1842 compatible = "ti,divider-clock";
1843 clocks = <&qspi_gfclk_mux>;
1844 ti,bit-shift = <25>;
1845 ti,max-div = <4>;
1846 reg = <0x1838>;
1847 ti,index-power-of-two;
1848 };
1849
1850 timer10_gfclk_mux: timer10_gfclk_mux {
1851 #clock-cells = <0>;
1852 compatible = "ti,mux-clock";
1853 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>;
1854 ti,bit-shift = <24>;
1855 reg = <0x1728>;
1856 };
1857
1858 timer11_gfclk_mux: timer11_gfclk_mux {
1859 #clock-cells = <0>;
1860 compatible = "ti,mux-clock";
1861 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>;
1862 ti,bit-shift = <24>;
1863 reg = <0x1730>;
1864 };
1865
1866 timer13_gfclk_mux: timer13_gfclk_mux {
1867 #clock-cells = <0>;
1868 compatible = "ti,mux-clock";
1869 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>;
1870 ti,bit-shift = <24>;
1871 reg = <0x17c8>;
1872 };
1873
1874 timer14_gfclk_mux: timer14_gfclk_mux {
1875 #clock-cells = <0>;
1876 compatible = "ti,mux-clock";
1877 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>;
1878 ti,bit-shift = <24>;
1879 reg = <0x17d0>;
1880 };
1881
1882 timer15_gfclk_mux: timer15_gfclk_mux {
1883 #clock-cells = <0>;
1884 compatible = "ti,mux-clock";
1885 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>;
1886 ti,bit-shift = <24>;
1887 reg = <0x17d8>;
1888 };
1889
1890 timer16_gfclk_mux: timer16_gfclk_mux {
1891 #clock-cells = <0>;
1892 compatible = "ti,mux-clock";
1893 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>;
1894 ti,bit-shift = <24>;
1895 reg = <0x1830>;
1896 };
1897
1898 timer2_gfclk_mux: timer2_gfclk_mux {
1899 #clock-cells = <0>;
1900 compatible = "ti,mux-clock";
1901 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>;
1902 ti,bit-shift = <24>;
1903 reg = <0x1738>;
1904 };
1905
1906 timer3_gfclk_mux: timer3_gfclk_mux {
1907 #clock-cells = <0>;
1908 compatible = "ti,mux-clock";
1909 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>;
1910 ti,bit-shift = <24>;
1911 reg = <0x1740>;
1912 };
1913
1914 timer4_gfclk_mux: timer4_gfclk_mux {
1915 #clock-cells = <0>;
1916 compatible = "ti,mux-clock";
1917 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>;
1918 ti,bit-shift = <24>;
1919 reg = <0x1748>;
1920 };
1921
1922 timer9_gfclk_mux: timer9_gfclk_mux {
1923 #clock-cells = <0>;
1924 compatible = "ti,mux-clock";
1925 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>;
1926 ti,bit-shift = <24>;
1927 reg = <0x1750>;
1928 };
1929
1930 uart1_gfclk_mux: uart1_gfclk_mux {
1931 #clock-cells = <0>;
1932 compatible = "ti,mux-clock";
1933 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1934 ti,bit-shift = <24>;
1935 reg = <0x1840>;
1936 };
1937
1938 uart2_gfclk_mux: uart2_gfclk_mux {
1939 #clock-cells = <0>;
1940 compatible = "ti,mux-clock";
1941 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1942 ti,bit-shift = <24>;
1943 reg = <0x1848>;
1944 };
1945
1946 uart3_gfclk_mux: uart3_gfclk_mux {
1947 #clock-cells = <0>;
1948 compatible = "ti,mux-clock";
1949 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1950 ti,bit-shift = <24>;
1951 reg = <0x1850>;
1952 };
1953
1954 uart4_gfclk_mux: uart4_gfclk_mux {
1955 #clock-cells = <0>;
1956 compatible = "ti,mux-clock";
1957 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1958 ti,bit-shift = <24>;
1959 reg = <0x1858>;
1960 };
1961
1962 uart5_gfclk_mux: uart5_gfclk_mux {
1963 #clock-cells = <0>;
1964 compatible = "ti,mux-clock";
1965 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1966 ti,bit-shift = <24>;
1967 reg = <0x1870>;
1968 };
1969
1970 uart7_gfclk_mux: uart7_gfclk_mux {
1971 #clock-cells = <0>;
1972 compatible = "ti,mux-clock";
1973 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1974 ti,bit-shift = <24>;
1975 reg = <0x18d0>;
1976 };
1977
1978 uart8_gfclk_mux: uart8_gfclk_mux {
1979 #clock-cells = <0>;
1980 compatible = "ti,mux-clock";
1981 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1982 ti,bit-shift = <24>;
1983 reg = <0x18e0>;
1984 };
1985
1986 uart9_gfclk_mux: uart9_gfclk_mux {
1987 #clock-cells = <0>;
1988 compatible = "ti,mux-clock";
1989 clocks = <&func_48m_fclk>, <&dpll_per_m2x2_ck>;
1990 ti,bit-shift = <24>;
1991 reg = <0x18e8>;
1992 };
1993
1994 vip1_gclk_mux: vip1_gclk_mux {
1995 #clock-cells = <0>;
1996 compatible = "ti,mux-clock";
1997 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
1998 ti,bit-shift = <24>;
1999 reg = <0x1020>;
2000 };
2001
2002 vip2_gclk_mux: vip2_gclk_mux {
2003 #clock-cells = <0>;
2004 compatible = "ti,mux-clock";
2005 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
2006 ti,bit-shift = <24>;
2007 reg = <0x1028>;
2008 };
2009
2010 vip3_gclk_mux: vip3_gclk_mux {
2011 #clock-cells = <0>;
2012 compatible = "ti,mux-clock";
2013 clocks = <&l3_iclk_div>, <&dpll_core_h23x2_ck>;
2014 ti,bit-shift = <24>;
2015 reg = <0x1030>;
2016 };
2017};
2018
2019&cm_core_clockdomains {
2020 coreaon_clkdm: coreaon_clkdm {
2021 compatible = "ti,clockdomain";
2022 clocks = <&dpll_usb_ck>;
2023 };
2024};