blob: 2984b2f9f3cf02ac1bc5183beb1d3ac80e41d9a7 [file] [log] [blame]
Andrew Davisebc98d92023-04-11 13:24:54 -05001// SPDX-License-Identifier: GPL-2.0-only
Tom Rini5ba15962015-07-31 19:55:08 -04002/*
3 * Device Tree Source for AM33xx clock data
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
Tom Rini5ba15962015-07-31 19:55:08 -04006 */
7&scm_clocks {
Andrew Davisa45320d2023-04-11 13:25:05 -05008 sys_clkin_ck: clock-sys-clkin-22@40 {
Tom Rini5ba15962015-07-31 19:55:08 -04009 #clock-cells = <0>;
10 compatible = "ti,mux-clock";
11 clocks = <&virt_19200000_ck>, <&virt_24000000_ck>, <&virt_25000000_ck>, <&virt_26000000_ck>;
12 ti,bit-shift = <22>;
13 reg = <0x0040>;
14 };
15
Andrew Davisa45320d2023-04-11 13:25:05 -050016 adc_tsc_fck: clock-adc-tsc-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040017 #clock-cells = <0>;
18 compatible = "fixed-factor-clock";
19 clocks = <&sys_clkin_ck>;
20 clock-mult = <1>;
21 clock-div = <1>;
22 };
23
Andrew Davisa45320d2023-04-11 13:25:05 -050024 dcan0_fck: clock-dcan0-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040025 #clock-cells = <0>;
26 compatible = "fixed-factor-clock";
27 clocks = <&sys_clkin_ck>;
28 clock-mult = <1>;
29 clock-div = <1>;
30 };
31
Andrew Davisa45320d2023-04-11 13:25:05 -050032 dcan1_fck: clock-dcan1-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040033 #clock-cells = <0>;
34 compatible = "fixed-factor-clock";
35 clocks = <&sys_clkin_ck>;
36 clock-mult = <1>;
37 clock-div = <1>;
38 };
39
Andrew Davisa45320d2023-04-11 13:25:05 -050040 mcasp0_fck: clock-mcasp0-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040041 #clock-cells = <0>;
42 compatible = "fixed-factor-clock";
43 clocks = <&sys_clkin_ck>;
44 clock-mult = <1>;
45 clock-div = <1>;
46 };
47
Andrew Davisa45320d2023-04-11 13:25:05 -050048 mcasp1_fck: clock-mcasp1-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040049 #clock-cells = <0>;
50 compatible = "fixed-factor-clock";
51 clocks = <&sys_clkin_ck>;
52 clock-mult = <1>;
53 clock-div = <1>;
54 };
55
Andrew Davisa45320d2023-04-11 13:25:05 -050056 smartreflex0_fck: clock-smartreflex0-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040057 #clock-cells = <0>;
58 compatible = "fixed-factor-clock";
59 clocks = <&sys_clkin_ck>;
60 clock-mult = <1>;
61 clock-div = <1>;
62 };
63
Andrew Davisa45320d2023-04-11 13:25:05 -050064 smartreflex1_fck: clock-smartreflex1-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040065 #clock-cells = <0>;
66 compatible = "fixed-factor-clock";
67 clocks = <&sys_clkin_ck>;
68 clock-mult = <1>;
69 clock-div = <1>;
70 };
71
Andrew Davisa45320d2023-04-11 13:25:05 -050072 sha0_fck: clock-sha0-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040073 #clock-cells = <0>;
74 compatible = "fixed-factor-clock";
75 clocks = <&sys_clkin_ck>;
76 clock-mult = <1>;
77 clock-div = <1>;
78 };
79
Andrew Davisa45320d2023-04-11 13:25:05 -050080 aes0_fck: clock-aes0-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040081 #clock-cells = <0>;
82 compatible = "fixed-factor-clock";
83 clocks = <&sys_clkin_ck>;
84 clock-mult = <1>;
85 clock-div = <1>;
86 };
87
Andrew Davisa45320d2023-04-11 13:25:05 -050088 rng_fck: clock-rng-fck {
Tom Rini5ba15962015-07-31 19:55:08 -040089 #clock-cells = <0>;
90 compatible = "fixed-factor-clock";
91 clocks = <&sys_clkin_ck>;
92 clock-mult = <1>;
93 clock-div = <1>;
94 };
95
96 ehrpwm0_tbclk: ehrpwm0_tbclk@44e10664 {
97 #clock-cells = <0>;
98 compatible = "ti,gate-clock";
99 clocks = <&l4ls_gclk>;
100 ti,bit-shift = <0>;
101 reg = <0x0664>;
102 };
103
104 ehrpwm1_tbclk: ehrpwm1_tbclk@44e10664 {
105 #clock-cells = <0>;
106 compatible = "ti,gate-clock";
107 clocks = <&l4ls_gclk>;
108 ti,bit-shift = <1>;
109 reg = <0x0664>;
110 };
111
112 ehrpwm2_tbclk: ehrpwm2_tbclk@44e10664 {
113 #clock-cells = <0>;
114 compatible = "ti,gate-clock";
115 clocks = <&l4ls_gclk>;
116 ti,bit-shift = <2>;
117 reg = <0x0664>;
118 };
119};
120&prcm_clocks {
Andrew Davisa45320d2023-04-11 13:25:05 -0500121 clk_32768_ck: clock-clk-32768 {
Tom Rini5ba15962015-07-31 19:55:08 -0400122 #clock-cells = <0>;
123 compatible = "fixed-clock";
124 clock-frequency = <32768>;
125 };
126
Andrew Davisa45320d2023-04-11 13:25:05 -0500127 clk_rc32k_ck: clock-clk-rc32k {
Tom Rini5ba15962015-07-31 19:55:08 -0400128 #clock-cells = <0>;
129 compatible = "fixed-clock";
130 clock-frequency = <32000>;
131 };
132
Andrew Davisa45320d2023-04-11 13:25:05 -0500133 virt_19200000_ck: clock-virt-19200000 {
Tom Rini5ba15962015-07-31 19:55:08 -0400134 #clock-cells = <0>;
135 compatible = "fixed-clock";
136 clock-frequency = <19200000>;
137 };
138
Andrew Davisa45320d2023-04-11 13:25:05 -0500139 virt_24000000_ck: clock-virt-24000000 {
Tom Rini5ba15962015-07-31 19:55:08 -0400140 #clock-cells = <0>;
141 compatible = "fixed-clock";
142 clock-frequency = <24000000>;
143 };
144
Andrew Davisa45320d2023-04-11 13:25:05 -0500145 virt_25000000_ck: clock-virt-25000000 {
Tom Rini5ba15962015-07-31 19:55:08 -0400146 #clock-cells = <0>;
147 compatible = "fixed-clock";
148 clock-frequency = <25000000>;
149 };
150
Andrew Davisa45320d2023-04-11 13:25:05 -0500151 virt_26000000_ck: clock-virt-26000000 {
Tom Rini5ba15962015-07-31 19:55:08 -0400152 #clock-cells = <0>;
153 compatible = "fixed-clock";
154 clock-frequency = <26000000>;
155 };
156
Andrew Davisa45320d2023-04-11 13:25:05 -0500157 tclkin_ck: clock-tclkin {
Tom Rini5ba15962015-07-31 19:55:08 -0400158 #clock-cells = <0>;
159 compatible = "fixed-clock";
160 clock-frequency = <12000000>;
161 };
162
Andrew Davisa45320d2023-04-11 13:25:05 -0500163 dpll_core_ck: clock@490 {
Tom Rini5ba15962015-07-31 19:55:08 -0400164 #clock-cells = <0>;
165 compatible = "ti,am3-dpll-core-clock";
166 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
Dario Binacchi7ee817f2021-09-26 11:58:56 +0200167 reg = <0x0490>, <0x045c>, <0x0468>, <0x0460>, <0x0464>;
Tom Rini5ba15962015-07-31 19:55:08 -0400168 };
169
Andrew Davisa45320d2023-04-11 13:25:05 -0500170 dpll_core_x2_ck: clock-dpll-core-x2 {
Tom Rini5ba15962015-07-31 19:55:08 -0400171 #clock-cells = <0>;
172 compatible = "ti,am3-dpll-x2-clock";
173 clocks = <&dpll_core_ck>;
174 };
175
Andrew Davisa45320d2023-04-11 13:25:05 -0500176 dpll_core_m4_ck: clock-dpll-core-m4@480 {
Tom Rini5ba15962015-07-31 19:55:08 -0400177 #clock-cells = <0>;
178 compatible = "ti,divider-clock";
179 clocks = <&dpll_core_x2_ck>;
180 ti,max-div = <31>;
181 reg = <0x0480>;
182 ti,index-starts-at-one;
183 };
184
Andrew Davisa45320d2023-04-11 13:25:05 -0500185 dpll_core_m5_ck: clock-dpll-core-m5@484 {
Tom Rini5ba15962015-07-31 19:55:08 -0400186 #clock-cells = <0>;
187 compatible = "ti,divider-clock";
188 clocks = <&dpll_core_x2_ck>;
189 ti,max-div = <31>;
190 reg = <0x0484>;
191 ti,index-starts-at-one;
192 };
193
Andrew Davisa45320d2023-04-11 13:25:05 -0500194 dpll_core_m6_ck: clock-dpll-core-m6@4d8 {
Tom Rini5ba15962015-07-31 19:55:08 -0400195 #clock-cells = <0>;
196 compatible = "ti,divider-clock";
197 clocks = <&dpll_core_x2_ck>;
198 ti,max-div = <31>;
199 reg = <0x04d8>;
200 ti,index-starts-at-one;
201 };
202
Andrew Davisa45320d2023-04-11 13:25:05 -0500203 dpll_mpu_ck: clock@488 {
Tom Rini5ba15962015-07-31 19:55:08 -0400204 #clock-cells = <0>;
205 compatible = "ti,am3-dpll-clock";
206 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
Dario Binacchi7ee817f2021-09-26 11:58:56 +0200207 reg = <0x0488>, <0x0420>, <0x042c>, <0x0424>, <0x0428>;
Tom Rini5ba15962015-07-31 19:55:08 -0400208 };
209
Andrew Davisa45320d2023-04-11 13:25:05 -0500210 dpll_mpu_m2_ck: clock-dpll-mpu-m2@4a8 {
Tom Rini5ba15962015-07-31 19:55:08 -0400211 #clock-cells = <0>;
212 compatible = "ti,divider-clock";
213 clocks = <&dpll_mpu_ck>;
214 ti,max-div = <31>;
215 reg = <0x04a8>;
216 ti,index-starts-at-one;
217 };
218
Andrew Davisa45320d2023-04-11 13:25:05 -0500219 dpll_ddr_ck: clock@494 {
Tom Rini5ba15962015-07-31 19:55:08 -0400220 #clock-cells = <0>;
221 compatible = "ti,am3-dpll-no-gate-clock";
222 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
Dario Binacchi7ee817f2021-09-26 11:58:56 +0200223 reg = <0x0494>, <0x0434>, <0x0440>, <0x0438>, <0x043c>;
Tom Rini5ba15962015-07-31 19:55:08 -0400224 };
225
Andrew Davisa45320d2023-04-11 13:25:05 -0500226 dpll_ddr_m2_ck: clock-dpll-ddr-m2@4a0 {
Tom Rini5ba15962015-07-31 19:55:08 -0400227 #clock-cells = <0>;
228 compatible = "ti,divider-clock";
229 clocks = <&dpll_ddr_ck>;
230 ti,max-div = <31>;
231 reg = <0x04a0>;
232 ti,index-starts-at-one;
233 };
234
Andrew Davisa45320d2023-04-11 13:25:05 -0500235 dpll_ddr_m2_div2_ck: clock-dpll-ddr-m2-div2 {
Tom Rini5ba15962015-07-31 19:55:08 -0400236 #clock-cells = <0>;
237 compatible = "fixed-factor-clock";
238 clocks = <&dpll_ddr_m2_ck>;
239 clock-mult = <1>;
240 clock-div = <2>;
241 };
242
Andrew Davisa45320d2023-04-11 13:25:05 -0500243 dpll_disp_ck: clock@498 {
Tom Rini5ba15962015-07-31 19:55:08 -0400244 #clock-cells = <0>;
245 compatible = "ti,am3-dpll-no-gate-clock";
246 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
Dario Binacchi7ee817f2021-09-26 11:58:56 +0200247 reg = <0x0498>, <0x0448>, <0x0454>, <0x044c>, <0x0450>;
Tom Rini5ba15962015-07-31 19:55:08 -0400248 };
249
Andrew Davisa45320d2023-04-11 13:25:05 -0500250 dpll_disp_m2_ck: clock-dpll-disp-m2@4a4 {
Tom Rini5ba15962015-07-31 19:55:08 -0400251 #clock-cells = <0>;
252 compatible = "ti,divider-clock";
253 clocks = <&dpll_disp_ck>;
254 ti,max-div = <31>;
255 reg = <0x04a4>;
256 ti,index-starts-at-one;
257 ti,set-rate-parent;
258 };
259
Andrew Davisa45320d2023-04-11 13:25:05 -0500260 dpll_per_ck: clock@48c {
Tom Rini5ba15962015-07-31 19:55:08 -0400261 #clock-cells = <0>;
262 compatible = "ti,am3-dpll-no-gate-j-type-clock";
263 clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
Dario Binacchi7ee817f2021-09-26 11:58:56 +0200264 reg = <0x048c>, <0x0470>, <0x049c>, <0x0474>, <0x0478>;
Tom Rini5ba15962015-07-31 19:55:08 -0400265 };
266
Andrew Davisa45320d2023-04-11 13:25:05 -0500267 dpll_per_m2_ck: clock-dpll-per-m2@4ac {
Tom Rini5ba15962015-07-31 19:55:08 -0400268 #clock-cells = <0>;
269 compatible = "ti,divider-clock";
270 clocks = <&dpll_per_ck>;
271 ti,max-div = <31>;
272 reg = <0x04ac>;
273 ti,index-starts-at-one;
274 };
275
Andrew Davisa45320d2023-04-11 13:25:05 -0500276 dpll_per_m2_div4_wkupdm_ck: clock-dpll-per-m2-div4-wkupdm {
Tom Rini5ba15962015-07-31 19:55:08 -0400277 #clock-cells = <0>;
278 compatible = "fixed-factor-clock";
279 clocks = <&dpll_per_m2_ck>;
280 clock-mult = <1>;
281 clock-div = <4>;
282 };
283
Andrew Davisa45320d2023-04-11 13:25:05 -0500284 dpll_per_m2_div4_ck: clock-dpll-per-m2-div4 {
Tom Rini5ba15962015-07-31 19:55:08 -0400285 #clock-cells = <0>;
286 compatible = "fixed-factor-clock";
287 clocks = <&dpll_per_m2_ck>;
288 clock-mult = <1>;
289 clock-div = <4>;
290 };
291
Andrew Davisa45320d2023-04-11 13:25:05 -0500292 clk_24mhz: clock-clk-24mhz {
Tom Rini5ba15962015-07-31 19:55:08 -0400293 #clock-cells = <0>;
294 compatible = "fixed-factor-clock";
295 clocks = <&dpll_per_m2_ck>;
296 clock-mult = <1>;
297 clock-div = <8>;
298 };
299
Andrew Davisa45320d2023-04-11 13:25:05 -0500300 clkdiv32k_ck: clock-clkdiv32k {
Tom Rini5ba15962015-07-31 19:55:08 -0400301 #clock-cells = <0>;
302 compatible = "fixed-factor-clock";
303 clocks = <&clk_24mhz>;
304 clock-mult = <1>;
305 clock-div = <732>;
306 };
307
Andrew Davisa45320d2023-04-11 13:25:05 -0500308 l3_gclk: clock-l3-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400309 #clock-cells = <0>;
310 compatible = "fixed-factor-clock";
311 clocks = <&dpll_core_m4_ck>;
312 clock-mult = <1>;
313 clock-div = <1>;
314 };
315
Andrew Davisa45320d2023-04-11 13:25:05 -0500316 pruss_ocp_gclk: clock-pruss-ocp-gclk@530 {
Tom Rini5ba15962015-07-31 19:55:08 -0400317 #clock-cells = <0>;
318 compatible = "ti,mux-clock";
319 clocks = <&l3_gclk>, <&dpll_disp_m2_ck>;
320 reg = <0x0530>;
321 };
322
Andrew Davisa45320d2023-04-11 13:25:05 -0500323 mmu_fck: clock-mmu-fck-1@914 {
Tom Rini5ba15962015-07-31 19:55:08 -0400324 #clock-cells = <0>;
325 compatible = "ti,gate-clock";
326 clocks = <&dpll_core_m4_ck>;
327 ti,bit-shift = <1>;
328 reg = <0x0914>;
329 };
330
Andrew Davisa45320d2023-04-11 13:25:05 -0500331 timer1_fck: clock-timer1-fck@528 {
Tom Rini5ba15962015-07-31 19:55:08 -0400332 #clock-cells = <0>;
333 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100334 clocks = <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>, <&tclkin_ck>, <&clk_rc32k_ck>, <&clk_32768_ck>;
Tom Rini5ba15962015-07-31 19:55:08 -0400335 reg = <0x0528>;
336 };
337
Andrew Davisa45320d2023-04-11 13:25:05 -0500338 timer2_fck: clock-timer2-fck@508 {
Tom Rini5ba15962015-07-31 19:55:08 -0400339 #clock-cells = <0>;
340 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100341 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400342 reg = <0x0508>;
343 };
344
Andrew Davisa45320d2023-04-11 13:25:05 -0500345 timer3_fck: clock-timer3-fck@50c {
Tom Rini5ba15962015-07-31 19:55:08 -0400346 #clock-cells = <0>;
347 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100348 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400349 reg = <0x050c>;
350 };
351
Andrew Davisa45320d2023-04-11 13:25:05 -0500352 timer4_fck: clock-timer4-fck@510 {
Tom Rini5ba15962015-07-31 19:55:08 -0400353 #clock-cells = <0>;
354 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100355 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400356 reg = <0x0510>;
357 };
358
Andrew Davisa45320d2023-04-11 13:25:05 -0500359 timer5_fck: clock-timer5-fck@518 {
Tom Rini5ba15962015-07-31 19:55:08 -0400360 #clock-cells = <0>;
361 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100362 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400363 reg = <0x0518>;
364 };
365
Andrew Davisa45320d2023-04-11 13:25:05 -0500366 timer6_fck: clock-timer6-fck@51c {
Tom Rini5ba15962015-07-31 19:55:08 -0400367 #clock-cells = <0>;
368 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100369 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400370 reg = <0x051c>;
371 };
372
Andrew Davisa45320d2023-04-11 13:25:05 -0500373 timer7_fck: clock-timer7-fck@504 {
Tom Rini5ba15962015-07-31 19:55:08 -0400374 #clock-cells = <0>;
375 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100376 clocks = <&tclkin_ck>, <&sys_clkin_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400377 reg = <0x0504>;
378 };
379
Andrew Davisa45320d2023-04-11 13:25:05 -0500380 usbotg_fck: clock-usbotg-fck-8@47c {
Tom Rini5ba15962015-07-31 19:55:08 -0400381 #clock-cells = <0>;
382 compatible = "ti,gate-clock";
383 clocks = <&dpll_per_ck>;
384 ti,bit-shift = <8>;
385 reg = <0x047c>;
386 };
387
Andrew Davisa45320d2023-04-11 13:25:05 -0500388 dpll_core_m4_div2_ck: clock-dpll-core-m4-div2 {
Tom Rini5ba15962015-07-31 19:55:08 -0400389 #clock-cells = <0>;
390 compatible = "fixed-factor-clock";
391 clocks = <&dpll_core_m4_ck>;
392 clock-mult = <1>;
393 clock-div = <2>;
394 };
395
Andrew Davisa45320d2023-04-11 13:25:05 -0500396 ieee5000_fck: clock-ieee5000-fck-1@e4 {
Tom Rini5ba15962015-07-31 19:55:08 -0400397 #clock-cells = <0>;
398 compatible = "ti,gate-clock";
399 clocks = <&dpll_core_m4_div2_ck>;
400 ti,bit-shift = <1>;
401 reg = <0x00e4>;
402 };
403
Andrew Davisa45320d2023-04-11 13:25:05 -0500404 wdt1_fck: clock-wdt1-fck@538 {
Tom Rini5ba15962015-07-31 19:55:08 -0400405 #clock-cells = <0>;
406 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100407 clocks = <&clk_rc32k_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400408 reg = <0x0538>;
409 };
410
Andrew Davisa45320d2023-04-11 13:25:05 -0500411 l4_rtc_gclk: clock-l4-rtc-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400412 #clock-cells = <0>;
413 compatible = "fixed-factor-clock";
414 clocks = <&dpll_core_m4_ck>;
415 clock-mult = <1>;
416 clock-div = <2>;
417 };
418
Andrew Davisa45320d2023-04-11 13:25:05 -0500419 l4hs_gclk: clock-l4hs-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400420 #clock-cells = <0>;
421 compatible = "fixed-factor-clock";
422 clocks = <&dpll_core_m4_ck>;
423 clock-mult = <1>;
424 clock-div = <1>;
425 };
426
Andrew Davisa45320d2023-04-11 13:25:05 -0500427 l3s_gclk: clock-l3s-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400428 #clock-cells = <0>;
429 compatible = "fixed-factor-clock";
430 clocks = <&dpll_core_m4_div2_ck>;
431 clock-mult = <1>;
432 clock-div = <1>;
433 };
434
Andrew Davisa45320d2023-04-11 13:25:05 -0500435 l4fw_gclk: clock-l4fw-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400436 #clock-cells = <0>;
437 compatible = "fixed-factor-clock";
438 clocks = <&dpll_core_m4_div2_ck>;
439 clock-mult = <1>;
440 clock-div = <1>;
441 };
442
Andrew Davisa45320d2023-04-11 13:25:05 -0500443 l4ls_gclk: clock-l4ls-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400444 #clock-cells = <0>;
445 compatible = "fixed-factor-clock";
446 clocks = <&dpll_core_m4_div2_ck>;
447 clock-mult = <1>;
448 clock-div = <1>;
449 };
450
Andrew Davisa45320d2023-04-11 13:25:05 -0500451 sysclk_div_ck: clock-sysclk-div {
Tom Rini5ba15962015-07-31 19:55:08 -0400452 #clock-cells = <0>;
453 compatible = "fixed-factor-clock";
454 clocks = <&dpll_core_m4_ck>;
455 clock-mult = <1>;
456 clock-div = <1>;
457 };
458
Andrew Davisa45320d2023-04-11 13:25:05 -0500459 cpsw_125mhz_gclk: clock-cpsw-125mhz-gclk {
Tom Rini5ba15962015-07-31 19:55:08 -0400460 #clock-cells = <0>;
461 compatible = "fixed-factor-clock";
462 clocks = <&dpll_core_m5_ck>;
463 clock-mult = <1>;
464 clock-div = <2>;
465 };
466
Andrew Davisa45320d2023-04-11 13:25:05 -0500467 cpsw_cpts_rft_clk: clock-cpsw-cpts-rft@520 {
Tom Rini5ba15962015-07-31 19:55:08 -0400468 #clock-cells = <0>;
469 compatible = "ti,mux-clock";
470 clocks = <&dpll_core_m5_ck>, <&dpll_core_m4_ck>;
471 reg = <0x0520>;
472 };
473
Andrew Davisa45320d2023-04-11 13:25:05 -0500474 gpio0_dbclk_mux_ck: clock-gpio0-dbclk-mux@53c {
Tom Rini5ba15962015-07-31 19:55:08 -0400475 #clock-cells = <0>;
476 compatible = "ti,mux-clock";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100477 clocks = <&clk_rc32k_ck>, <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>;
Tom Rini5ba15962015-07-31 19:55:08 -0400478 reg = <0x053c>;
479 };
480
Andrew Davisa45320d2023-04-11 13:25:05 -0500481 lcd_gclk: clock-lcd-gclk@534 {
Tom Rini5ba15962015-07-31 19:55:08 -0400482 #clock-cells = <0>;
483 compatible = "ti,mux-clock";
484 clocks = <&dpll_disp_m2_ck>, <&dpll_core_m5_ck>, <&dpll_per_m2_ck>;
485 reg = <0x0534>;
486 ti,set-rate-parent;
487 };
488
Andrew Davisa45320d2023-04-11 13:25:05 -0500489 mmc_clk: clock-mmc {
Tom Rini5ba15962015-07-31 19:55:08 -0400490 #clock-cells = <0>;
491 compatible = "fixed-factor-clock";
492 clocks = <&dpll_per_m2_ck>;
493 clock-mult = <1>;
494 clock-div = <2>;
495 };
496
Felix Brack7262f382018-12-05 14:53:42 +0100497 gfx_fclk_clksel_ck: gfx_fclk_clksel_ck@52c {
Tom Rini5ba15962015-07-31 19:55:08 -0400498 #clock-cells = <0>;
499 compatible = "ti,mux-clock";
500 clocks = <&dpll_core_m4_ck>, <&dpll_per_m2_ck>;
501 ti,bit-shift = <1>;
502 reg = <0x052c>;
503 };
504
Felix Brack7262f382018-12-05 14:53:42 +0100505 gfx_fck_div_ck: gfx_fck_div_ck@52c {
Tom Rini5ba15962015-07-31 19:55:08 -0400506 #clock-cells = <0>;
507 compatible = "ti,divider-clock";
508 clocks = <&gfx_fclk_clksel_ck>;
509 reg = <0x052c>;
510 ti,max-div = <2>;
511 };
512
Felix Brack7262f382018-12-05 14:53:42 +0100513 sysclkout_pre_ck: sysclkout_pre_ck@700 {
Tom Rini5ba15962015-07-31 19:55:08 -0400514 #clock-cells = <0>;
515 compatible = "ti,mux-clock";
516 clocks = <&clk_32768_ck>, <&l3_gclk>, <&dpll_ddr_m2_ck>, <&dpll_per_m2_ck>, <&lcd_gclk>;
517 reg = <0x0700>;
518 };
519
Felix Brack7262f382018-12-05 14:53:42 +0100520 clkout2_div_ck: clkout2_div_ck@700 {
Tom Rini5ba15962015-07-31 19:55:08 -0400521 #clock-cells = <0>;
522 compatible = "ti,divider-clock";
523 clocks = <&sysclkout_pre_ck>;
524 ti,bit-shift = <3>;
525 ti,max-div = <8>;
526 reg = <0x0700>;
527 };
528
Felix Brack7262f382018-12-05 14:53:42 +0100529 clkout2_ck: clkout2_ck@700 {
Tom Rini5ba15962015-07-31 19:55:08 -0400530 #clock-cells = <0>;
531 compatible = "ti,gate-clock";
Felix Brack7262f382018-12-05 14:53:42 +0100532 clocks = <&clkout2_div_ck>;
533 ti,bit-shift = <7>;
534 reg = <0x0700>;
Tom Rini5ba15962015-07-31 19:55:08 -0400535 };
Felix Brack7262f382018-12-05 14:53:42 +0100536};
Tom Rini5ba15962015-07-31 19:55:08 -0400537
Felix Brack7262f382018-12-05 14:53:42 +0100538&prcm {
Andrew Davisa45320d2023-04-11 13:25:05 -0500539 per_cm: clock@0 {
Felix Brack7262f382018-12-05 14:53:42 +0100540 compatible = "ti,omap4-cm";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100541 reg = <0x0 0x400>;
Felix Brack7262f382018-12-05 14:53:42 +0100542 #address-cells = <1>;
543 #size-cells = <1>;
Dario Binacchi96d04d72020-12-30 00:06:30 +0100544 ranges = <0 0x0 0x400>;
Tom Rini5ba15962015-07-31 19:55:08 -0400545
Andrew Davisa45320d2023-04-11 13:25:05 -0500546 l4ls_clkctrl: clock@38 {
Felix Brack7262f382018-12-05 14:53:42 +0100547 compatible = "ti,clkctrl";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100548 reg = <0x38 0x2c>, <0x6c 0x28>, <0xac 0xc>, <0xc0 0x1c>, <0xec 0xc>, <0x10c 0x8>, <0x130 0x4>;
Felix Brack7262f382018-12-05 14:53:42 +0100549 #clock-cells = <2>;
550 };
Dario Binacchi96d04d72020-12-30 00:06:30 +0100551
Andrew Davisa45320d2023-04-11 13:25:05 -0500552 l3s_clkctrl: clock@1c {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100553 compatible = "ti,clkctrl";
554 reg = <0x1c 0x4>, <0x30 0x8>, <0x68 0x4>, <0xf8 0x4>;
555 #clock-cells = <2>;
556 };
557
Andrew Davisa45320d2023-04-11 13:25:05 -0500558 l3_clkctrl: clock@24 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100559 compatible = "ti,clkctrl";
560 reg = <0x24 0xc>, <0x94 0x10>, <0xbc 0x4>, <0xdc 0x8>, <0xfc 0x8>;
561 #clock-cells = <2>;
562 };
563
Andrew Davisa45320d2023-04-11 13:25:05 -0500564 l4hs_clkctrl: clock@120 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100565 compatible = "ti,clkctrl";
566 reg = <0x120 0x4>;
567 #clock-cells = <2>;
568 };
569
Andrew Davisa45320d2023-04-11 13:25:05 -0500570 pruss_ocp_clkctrl: clock@e8 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100571 compatible = "ti,clkctrl";
572 reg = <0xe8 0x4>;
573 #clock-cells = <2>;
574 };
575
Andrew Davisa45320d2023-04-11 13:25:05 -0500576 cpsw_125mhz_clkctrl: clock@0 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100577 compatible = "ti,clkctrl";
578 reg = <0x0 0x18>;
579 #clock-cells = <2>;
580 };
581
Andrew Davisa45320d2023-04-11 13:25:05 -0500582 lcdc_clkctrl: clock@18 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100583 compatible = "ti,clkctrl";
584 reg = <0x18 0x4>;
585 #clock-cells = <2>;
586 };
587
Andrew Davisa45320d2023-04-11 13:25:05 -0500588 clk_24mhz_clkctrl: clock@14c {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100589 compatible = "ti,clkctrl";
590 reg = <0x14c 0x4>;
591 #clock-cells = <2>;
592 };
Tom Rini5ba15962015-07-31 19:55:08 -0400593 };
594
Andrew Davisa45320d2023-04-11 13:25:05 -0500595 wkup_cm: clock@400 {
Felix Brack7262f382018-12-05 14:53:42 +0100596 compatible = "ti,omap4-cm";
597 reg = <0x400 0x100>;
598 #address-cells = <1>;
599 #size-cells = <1>;
600 ranges = <0 0x400 0x100>;
601
Andrew Davisa45320d2023-04-11 13:25:05 -0500602 l4_wkup_clkctrl: clock@0 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100603 compatible = "ti,clkctrl";
Dario Binacchi50d5a4d2021-02-13 12:00:45 +0100604 reg = <0x0 0x10>, <0xb4 0x24>;
Dario Binacchi96d04d72020-12-30 00:06:30 +0100605 #clock-cells = <2>;
606 };
607
Andrew Davisa45320d2023-04-11 13:25:05 -0500608 l3_aon_clkctrl: clock@14 {
Felix Brack7262f382018-12-05 14:53:42 +0100609 compatible = "ti,clkctrl";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100610 reg = <0x14 0x4>;
Felix Brack7262f382018-12-05 14:53:42 +0100611 #clock-cells = <2>;
612 };
Dario Binacchi96d04d72020-12-30 00:06:30 +0100613
Andrew Davisa45320d2023-04-11 13:25:05 -0500614 l4_wkup_aon_clkctrl: clock@b0 {
Dario Binacchi96d04d72020-12-30 00:06:30 +0100615 compatible = "ti,clkctrl";
616 reg = <0xb0 0x4>;
617 #clock-cells = <2>;
618 };
Tom Rini5ba15962015-07-31 19:55:08 -0400619 };
620
Andrew Davisa45320d2023-04-11 13:25:05 -0500621 mpu_cm: clock@600 {
Felix Brack7262f382018-12-05 14:53:42 +0100622 compatible = "ti,omap4-cm";
623 reg = <0x600 0x100>;
624 #address-cells = <1>;
625 #size-cells = <1>;
626 ranges = <0 0x600 0x100>;
627
Andrew Davisa45320d2023-04-11 13:25:05 -0500628 mpu_clkctrl: clock@0 {
Felix Brack7262f382018-12-05 14:53:42 +0100629 compatible = "ti,clkctrl";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100630 reg = <0x0 0x8>;
Felix Brack7262f382018-12-05 14:53:42 +0100631 #clock-cells = <2>;
632 };
Tom Rini5ba15962015-07-31 19:55:08 -0400633 };
634
Andrew Davisa45320d2023-04-11 13:25:05 -0500635 l4_rtc_cm: clock@800 {
Felix Brack7262f382018-12-05 14:53:42 +0100636 compatible = "ti,omap4-cm";
637 reg = <0x800 0x100>;
638 #address-cells = <1>;
639 #size-cells = <1>;
640 ranges = <0 0x800 0x100>;
641
Andrew Davisa45320d2023-04-11 13:25:05 -0500642 l4_rtc_clkctrl: clock@0 {
Felix Brack7262f382018-12-05 14:53:42 +0100643 compatible = "ti,clkctrl";
644 reg = <0x0 0x4>;
645 #clock-cells = <2>;
646 };
Tom Rini5ba15962015-07-31 19:55:08 -0400647 };
648
Andrew Davisa45320d2023-04-11 13:25:05 -0500649 gfx_l3_cm: clock@900 {
Felix Brack7262f382018-12-05 14:53:42 +0100650 compatible = "ti,omap4-cm";
651 reg = <0x900 0x100>;
652 #address-cells = <1>;
653 #size-cells = <1>;
654 ranges = <0 0x900 0x100>;
655
Andrew Davisa45320d2023-04-11 13:25:05 -0500656 gfx_l3_clkctrl: clock@0 {
Felix Brack7262f382018-12-05 14:53:42 +0100657 compatible = "ti,clkctrl";
Dario Binacchi96d04d72020-12-30 00:06:30 +0100658 reg = <0x0 0x8>;
Felix Brack7262f382018-12-05 14:53:42 +0100659 #clock-cells = <2>;
660 };
Tom Rini5ba15962015-07-31 19:55:08 -0400661 };
Felix Brack7262f382018-12-05 14:53:42 +0100662
Andrew Davisa45320d2023-04-11 13:25:05 -0500663 l4_cefuse_cm: clock@a00 {
Felix Brack7262f382018-12-05 14:53:42 +0100664 compatible = "ti,omap4-cm";
665 reg = <0xa00 0x100>;
666 #address-cells = <1>;
667 #size-cells = <1>;
668 ranges = <0 0xa00 0x100>;
Tom Rini5ba15962015-07-31 19:55:08 -0400669
Andrew Davisa45320d2023-04-11 13:25:05 -0500670 l4_cefuse_clkctrl: clock@0 {
Felix Brack7262f382018-12-05 14:53:42 +0100671 compatible = "ti,clkctrl";
Dario Binacchi7f135e92021-02-13 12:09:19 +0100672 reg = <0x0 0x24>;
Felix Brack7262f382018-12-05 14:53:42 +0100673 #clock-cells = <2>;
674 };
Tom Rini5ba15962015-07-31 19:55:08 -0400675 };
676};