1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for AM33xx clock data
5 * Copyright (C) 2013 Texas Instruments, Inc.
8 sys_clkin_ck: sys_clkin_ck@40 {
10 compatible = "ti,mux-clock";
11 clocks = <&virt_19200000_ck>, <&virt_24000000_ck>, <&virt_25000000_ck>, <&virt_26000000_ck>;
16 adc_tsc_fck: adc_tsc_fck {
18 compatible = "fixed-factor-clock";
19 clocks = <&sys_clkin_ck>;
24 dcan0_fck: dcan0_fck {
26 compatible = "fixed-factor-clock";
27 clocks = <&sys_clkin_ck>;
32 dcan1_fck: dcan1_fck {
34 compatible = "fixed-factor-clock";
35 clocks = <&sys_clkin_ck>;
40 mcasp0_fck: mcasp0_fck {
42 compatible = "fixed-factor-clock";
43 clocks = <&sys_clkin_ck>;
48 mcasp1_fck: mcasp1_fck {
50 compatible = "fixed-factor-clock";
51 clocks = <&sys_clkin_ck>;
56 smartreflex0_fck: smartreflex0_fck {
58 compatible = "fixed-factor-clock";
59 clocks = <&sys_clkin_ck>;
64 smartreflex1_fck: smartreflex1_fck {
66 compatible = "fixed-factor-clock";
67 clocks = <&sys_clkin_ck>;
74 compatible = "fixed-factor-clock";
75 clocks = <&sys_clkin_ck>;
82 compatible = "fixed-factor-clock";
83 clocks = <&sys_clkin_ck>;
90 compatible = "fixed-factor-clock";
91 clocks = <&sys_clkin_ck>;
96 ehrpwm0_tbclk: ehrpwm0_tbclk@44e10664 {
98 compatible = "ti,gate-clock";
99 clocks = <&l4ls_gclk>;
104 ehrpwm1_tbclk: ehrpwm1_tbclk@44e10664 {
106 compatible = "ti,gate-clock";
107 clocks = <&l4ls_gclk>;
112 ehrpwm2_tbclk: ehrpwm2_tbclk@44e10664 {
114 compatible = "ti,gate-clock";
115 clocks = <&l4ls_gclk>;
121 clk_32768_ck: clk_32768_ck {
123 compatible = "fixed-clock";
124 clock-frequency = <32768>;
127 clk_rc32k_ck: clk_rc32k_ck {
129 compatible = "fixed-clock";
130 clock-frequency = <32000>;
133 virt_19200000_ck: virt_19200000_ck {
135 compatible = "fixed-clock";
136 clock-frequency = <19200000>;
139 virt_24000000_ck: virt_24000000_ck {
141 compatible = "fixed-clock";
142 clock-frequency = <24000000>;
145 virt_25000000_ck: virt_25000000_ck {
147 compatible = "fixed-clock";
148 clock-frequency = <25000000>;
151 virt_26000000_ck: virt_26000000_ck {
153 compatible = "fixed-clock";
154 clock-frequency = <26000000>;
157 tclkin_ck: tclkin_ck {
159 compatible = "fixed-clock";
160 clock-frequency = <12000000>;
163 dpll_core_ck: dpll_core_ck@490 {
165 compatible = "ti,am3-dpll-core-clock";
166 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
167 reg = <0x0490>, <0x045c>, <0x0468>;
170 dpll_core_x2_ck: dpll_core_x2_ck {
172 compatible = "ti,am3-dpll-x2-clock";
173 clocks = <&dpll_core_ck>;
176 dpll_core_m4_ck: dpll_core_m4_ck@480 {
178 compatible = "ti,divider-clock";
179 clocks = <&dpll_core_x2_ck>;
182 ti,index-starts-at-one;
185 dpll_core_m5_ck: dpll_core_m5_ck@484 {
187 compatible = "ti,divider-clock";
188 clocks = <&dpll_core_x2_ck>;
191 ti,index-starts-at-one;
194 dpll_core_m6_ck: dpll_core_m6_ck@4d8 {
196 compatible = "ti,divider-clock";
197 clocks = <&dpll_core_x2_ck>;
200 ti,index-starts-at-one;
203 dpll_mpu_ck: dpll_mpu_ck@488 {
205 compatible = "ti,am3-dpll-clock";
206 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
207 reg = <0x0488>, <0x0420>, <0x042c>;
210 dpll_mpu_m2_ck: dpll_mpu_m2_ck@4a8 {
212 compatible = "ti,divider-clock";
213 clocks = <&dpll_mpu_ck>;
216 ti,index-starts-at-one;
219 dpll_ddr_ck: dpll_ddr_ck@494 {
221 compatible = "ti,am3-dpll-no-gate-clock";
222 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
223 reg = <0x0494>, <0x0434>, <0x0440>;
226 dpll_ddr_m2_ck: dpll_ddr_m2_ck@4a0 {
228 compatible = "ti,divider-clock";
229 clocks = <&dpll_ddr_ck>;
232 ti,index-starts-at-one;
235 dpll_ddr_m2_div2_ck: dpll_ddr_m2_div2_ck {
237 compatible = "fixed-factor-clock";
238 clocks = <&dpll_ddr_m2_ck>;
243 dpll_disp_ck: dpll_disp_ck@498 {
245 compatible = "ti,am3-dpll-no-gate-clock";
246 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
247 reg = <0x0498>, <0x0448>, <0x0454>;
250 dpll_disp_m2_ck: dpll_disp_m2_ck@4a4 {
252 compatible = "ti,divider-clock";
253 clocks = <&dpll_disp_ck>;
256 ti,index-starts-at-one;
260 dpll_per_ck: dpll_per_ck@48c {
262 compatible = "ti,am3-dpll-no-gate-j-type-clock";
263 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
264 reg = <0x048c>, <0x0470>, <0x049c>;
267 dpll_per_m2_ck: dpll_per_m2_ck@4ac {
269 compatible = "ti,divider-clock";
270 clocks = <&dpll_per_ck>;
273 ti,index-starts-at-one;
276 dpll_per_m2_div4_wkupdm_ck: dpll_per_m2_div4_wkupdm_ck {
278 compatible = "fixed-factor-clock";
279 clocks = <&dpll_per_m2_ck>;
284 dpll_per_m2_div4_ck: dpll_per_m2_div4_ck {
286 compatible = "fixed-factor-clock";
287 clocks = <&dpll_per_m2_ck>;
292 clk_24mhz: clk_24mhz {
294 compatible = "fixed-factor-clock";
295 clocks = <&dpll_per_m2_ck>;
300 clkdiv32k_ck: clkdiv32k_ck {
302 compatible = "fixed-factor-clock";
303 clocks = <&clk_24mhz>;
310 compatible = "fixed-factor-clock";
311 clocks = <&dpll_core_m4_ck>;
316 pruss_ocp_gclk: pruss_ocp_gclk@530 {
318 compatible = "ti,mux-clock";
319 clocks = <&l3_gclk>, <&dpll_disp_m2_ck>;
323 mmu_fck: mmu_fck@914 {
325 compatible = "ti,gate-clock";
326 clocks = <&dpll_core_m4_ck>;
331 timer1_fck: timer1_fck@528 {
333 compatible = "ti,mux-clock";
334 clocks = <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>, <&tclkin_ck>, <&clk_rc32k_ck>, <&clk_32768_ck>;
338 timer2_fck: timer2_fck@508 {
340 compatible = "ti,mux-clock";
341 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
345 timer3_fck: timer3_fck@50c {
347 compatible = "ti,mux-clock";
348 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
352 timer4_fck: timer4_fck@510 {
354 compatible = "ti,mux-clock";
355 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
359 timer5_fck: timer5_fck@518 {
361 compatible = "ti,mux-clock";
362 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
366 timer6_fck: timer6_fck@51c {
368 compatible = "ti,mux-clock";
369 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
373 timer7_fck: timer7_fck@504 {
375 compatible = "ti,mux-clock";
376 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
380 usbotg_fck: usbotg_fck@47c {
382 compatible = "ti,gate-clock";
383 clocks = <&dpll_per_ck>;
388 dpll_core_m4_div2_ck: dpll_core_m4_div2_ck {
390 compatible = "fixed-factor-clock";
391 clocks = <&dpll_core_m4_ck>;
396 ieee5000_fck: ieee5000_fck@e4 {
398 compatible = "ti,gate-clock";
399 clocks = <&dpll_core_m4_div2_ck>;
404 wdt1_fck: wdt1_fck@538 {
406 compatible = "ti,mux-clock";
407 clocks = <&clk_rc32k_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
411 l4_rtc_gclk: l4_rtc_gclk {
413 compatible = "fixed-factor-clock";
414 clocks = <&dpll_core_m4_ck>;
419 l4hs_gclk: l4hs_gclk {
421 compatible = "fixed-factor-clock";
422 clocks = <&dpll_core_m4_ck>;
429 compatible = "fixed-factor-clock";
430 clocks = <&dpll_core_m4_div2_ck>;
435 l4fw_gclk: l4fw_gclk {
437 compatible = "fixed-factor-clock";
438 clocks = <&dpll_core_m4_div2_ck>;
443 l4ls_gclk: l4ls_gclk {
445 compatible = "fixed-factor-clock";
446 clocks = <&dpll_core_m4_div2_ck>;
451 sysclk_div_ck: sysclk_div_ck {
453 compatible = "fixed-factor-clock";
454 clocks = <&dpll_core_m4_ck>;
459 cpsw_125mhz_gclk: cpsw_125mhz_gclk {
461 compatible = "fixed-factor-clock";
462 clocks = <&dpll_core_m5_ck>;
467 cpsw_cpts_rft_clk: cpsw_cpts_rft_clk@520 {
469 compatible = "ti,mux-clock";
470 clocks = <&dpll_core_m5_ck>, <&dpll_core_m4_ck>;
474 gpio0_dbclk_mux_ck: gpio0_dbclk_mux_ck@53c {
476 compatible = "ti,mux-clock";
477 clocks = <&clk_rc32k_ck>, <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
481 lcd_gclk: lcd_gclk@534 {
483 compatible = "ti,mux-clock";
484 clocks = <&dpll_disp_m2_ck>, <&dpll_core_m5_ck>, <&dpll_per_m2_ck>;
491 compatible = "fixed-factor-clock";
492 clocks = <&dpll_per_m2_ck>;
497 gfx_fclk_clksel_ck: gfx_fclk_clksel_ck@52c {
499 compatible = "ti,mux-clock";
500 clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
505 gfx_fck_div_ck: gfx_fck_div_ck@52c {
507 compatible = "ti,divider-clock";
508 clocks = <&gfx_fclk_clksel_ck>;
513 sysclkout_pre_ck: sysclkout_pre_ck@700 {
515 compatible = "ti,mux-clock";
516 clocks = <&clk_32768_ck>, <&l3_gclk>, <&dpll_ddr_m2_ck>, <&dpll_per_m2_ck>, <&lcd_gclk>;
520 clkout2_div_ck: clkout2_div_ck@700 {
522 compatible = "ti,divider-clock";
523 clocks = <&sysclkout_pre_ck>;
529 clkout2_ck: clkout2_ck@700 {
531 compatible = "ti,gate-clock";
532 clocks = <&clkout2_div_ck>;
540 compatible = "ti,omap4-cm";
542 #address-cells = <1>;
544 ranges = <0 0x0 0x400>;
546 l4ls_clkctrl: l4ls-clkctrl@38 {
547 compatible = "ti,clkctrl";
548 reg = <0x38 0x2c>, <0x6c 0x28>, <0xac 0xc>, <0xc0 0x1c>, <0xec 0xc>, <0x10c 0x8>, <0x130 0x4>;
552 l3s_clkctrl: l3s-clkctrl@1c {
553 compatible = "ti,clkctrl";
554 reg = <0x1c 0x4>, <0x30 0x8>, <0x68 0x4>, <0xf8 0x4>;
558 l3_clkctrl: l3-clkctrl@24 {
559 compatible = "ti,clkctrl";
560 reg = <0x24 0xc>, <0x94 0x10>, <0xbc 0x4>, <0xdc 0x8>, <0xfc 0x8>;
564 l4hs_clkctrl: l4hs-clkctrl@120 {
565 compatible = "ti,clkctrl";
570 pruss_ocp_clkctrl: pruss-ocp-clkctrl@e8 {
571 compatible = "ti,clkctrl";
576 cpsw_125mhz_clkctrl: cpsw-125mhz-clkctrl@0 {
577 compatible = "ti,clkctrl";
582 lcdc_clkctrl: lcdc-clkctrl@18 {
583 compatible = "ti,clkctrl";
588 clk_24mhz_clkctrl: clk-24mhz-clkctrl@14c {
589 compatible = "ti,clkctrl";
595 wkup_cm: wkup-cm@400 {
596 compatible = "ti,omap4-cm";
598 #address-cells = <1>;
600 ranges = <0 0x400 0x100>;
602 l4_wkup_clkctrl: l4-wkup-clkctrl@0 {
603 compatible = "ti,clkctrl";
604 reg = <0x0 0x10>, <0xb4 0x24>;
608 l3_aon_clkctrl: l3-aon-clkctrl@14 {
609 compatible = "ti,clkctrl";
614 l4_wkup_aon_clkctrl: l4-wkup-aon-clkctrl@b0 {
615 compatible = "ti,clkctrl";
622 compatible = "ti,omap4-cm";
624 #address-cells = <1>;
626 ranges = <0 0x600 0x100>;
628 mpu_clkctrl: mpu-clkctrl@0 {
629 compatible = "ti,clkctrl";
635 l4_rtc_cm: l4-rtc-cm@800 {
636 compatible = "ti,omap4-cm";
638 #address-cells = <1>;
640 ranges = <0 0x800 0x100>;
642 l4_rtc_clkctrl: l4-rtc-clkctrl@0 {
643 compatible = "ti,clkctrl";
649 gfx_l3_cm: gfx-l3-cm@900 {
650 compatible = "ti,omap4-cm";
652 #address-cells = <1>;
654 ranges = <0 0x900 0x100>;
656 gfx_l3_clkctrl: gfx-l3-clkctrl@0 {
657 compatible = "ti,clkctrl";
663 l4_cefuse_cm: l4-cefuse-cm@a00 {
664 compatible = "ti,omap4-cm";
666 #address-cells = <1>;
668 ranges = <0 0xa00 0x100>;
670 l4_cefuse_clkctrl: l4-cefuse-clkctrl@0 {
671 compatible = "ti,clkctrl";