omap54xx-clocks.dtsi 25.8 KB
Newer Older
T
Tero Kristo 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * Device Tree Source for OMAP5 clock data
 *
 * Copyright (C) 2013 Texas Instruments, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
&cm_core_aon_clocks {
	pad_clks_src_ck: pad_clks_src_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

17
	pad_clks_ck: pad_clks_ck@108 {
T
Tero Kristo 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&pad_clks_src_ck>;
		ti,bit-shift = <8>;
		reg = <0x0108>;
	};

	secure_32k_clk_src_ck: secure_32k_clk_src_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;
	};

	slimbus_src_clk: slimbus_src_clk {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

37
	slimbus_clk: slimbus_clk@108 {
T
Tero Kristo 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&slimbus_src_clk>;
		ti,bit-shift = <10>;
		reg = <0x0108>;
	};

	sys_32k_ck: sys_32k_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;
	};

	virt_12000000_ck: virt_12000000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <12000000>;
	};

	virt_13000000_ck: virt_13000000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <13000000>;
	};

	virt_16800000_ck: virt_16800000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <16800000>;
	};

	virt_19200000_ck: virt_19200000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <19200000>;
	};

	virt_26000000_ck: virt_26000000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <26000000>;
	};

	virt_27000000_ck: virt_27000000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <27000000>;
	};

	virt_38400000_ck: virt_38400000_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <38400000>;
	};

	xclk60mhsp1_ck: xclk60mhsp1_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <60000000>;
	};

	xclk60mhsp2_ck: xclk60mhsp2_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <60000000>;
	};

105
	dpll_abe_ck: dpll_abe_ck@1e0 {
T
Tero Kristo 已提交
106 107 108 109 110 111 112 113 114 115 116 117
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-m4xen-clock";
		clocks = <&abe_dpll_clk_mux>, <&abe_dpll_bypass_clk_mux>;
		reg = <0x01e0>, <0x01e4>, <0x01ec>, <0x01e8>;
	};

	dpll_abe_x2_ck: dpll_abe_x2_ck {
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-x2-clock";
		clocks = <&dpll_abe_ck>;
	};

118
	dpll_abe_m2x2_ck: dpll_abe_m2x2_ck@1f0 {
T
Tero Kristo 已提交
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_abe_x2_ck>;
		ti,max-div = <31>;
		reg = <0x01f0>;
		ti,index-starts-at-one;
	};

	abe_24m_fclk: abe_24m_fclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_abe_m2x2_ck>;
		clock-mult = <1>;
		clock-div = <8>;
	};

135
	abe_clk: abe_clk@108 {
T
Tero Kristo 已提交
136 137 138 139 140 141 142 143
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_abe_m2x2_ck>;
		ti,max-div = <4>;
		reg = <0x0108>;
		ti,index-power-of-two;
	};

144
	abe_iclk: abe_iclk@528 {
T
Tero Kristo 已提交
145
		#clock-cells = <0>;
146 147 148 149 150
		compatible = "ti,divider-clock";
		clocks = <&aess_fclk>;
		ti,bit-shift = <24>;
		reg = <0x0528>;
		ti,dividers = <2>, <1>;
T
Tero Kristo 已提交
151 152 153 154 155 156 157 158 159 160
	};

	abe_lp_clk_div: abe_lp_clk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_abe_m2x2_ck>;
		clock-mult = <1>;
		clock-div = <16>;
	};

161
	dpll_abe_m3x2_ck: dpll_abe_m3x2_ck@1f4 {
T
Tero Kristo 已提交
162 163 164 165 166 167 168 169
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_abe_x2_ck>;
		ti,max-div = <31>;
		reg = <0x01f4>;
		ti,index-starts-at-one;
	};

170
	dpll_core_byp_mux: dpll_core_byp_mux@12c {
171 172 173 174 175 176 177
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&dpll_abe_m3x2_ck>;
		ti,bit-shift = <23>;
		reg = <0x012c>;
	};

178
	dpll_core_ck: dpll_core_ck@120 {
T
Tero Kristo 已提交
179 180
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-core-clock";
181
		clocks = <&sys_clkin>, <&dpll_core_byp_mux>;
T
Tero Kristo 已提交
182 183 184 185 186 187 188 189 190
		reg = <0x0120>, <0x0124>, <0x012c>, <0x0128>;
	};

	dpll_core_x2_ck: dpll_core_x2_ck {
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-x2-clock";
		clocks = <&dpll_core_ck>;
	};

191
	dpll_core_h21x2_ck: dpll_core_h21x2_ck@150 {
T
Tero Kristo 已提交
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0150>;
		ti,index-starts-at-one;
	};

	c2c_fclk: c2c_fclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_core_h21x2_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

	c2c_iclk: c2c_iclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&c2c_fclk>;
		clock-mult = <1>;
		clock-div = <2>;
	};

216
	dpll_core_h11x2_ck: dpll_core_h11x2_ck@138 {
T
Tero Kristo 已提交
217 218 219 220 221 222 223 224
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0138>;
		ti,index-starts-at-one;
	};

225
	dpll_core_h12x2_ck: dpll_core_h12x2_ck@13c {
T
Tero Kristo 已提交
226 227 228 229 230 231 232 233
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x013c>;
		ti,index-starts-at-one;
	};

234
	dpll_core_h13x2_ck: dpll_core_h13x2_ck@140 {
T
Tero Kristo 已提交
235 236 237 238 239 240 241 242
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0140>;
		ti,index-starts-at-one;
	};

243
	dpll_core_h14x2_ck: dpll_core_h14x2_ck@144 {
T
Tero Kristo 已提交
244 245 246 247 248 249 250 251
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0144>;
		ti,index-starts-at-one;
	};

252
	dpll_core_h22x2_ck: dpll_core_h22x2_ck@154 {
T
Tero Kristo 已提交
253 254 255 256 257 258 259 260
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0154>;
		ti,index-starts-at-one;
	};

261
	dpll_core_h23x2_ck: dpll_core_h23x2_ck@158 {
T
Tero Kristo 已提交
262 263 264 265 266 267 268 269
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0158>;
		ti,index-starts-at-one;
	};

270
	dpll_core_h24x2_ck: dpll_core_h24x2_ck@15c {
T
Tero Kristo 已提交
271 272 273 274 275 276 277 278
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <63>;
		reg = <0x015c>;
		ti,index-starts-at-one;
	};

279
	dpll_core_m2_ck: dpll_core_m2_ck@130 {
T
Tero Kristo 已提交
280 281 282 283 284 285 286 287
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_ck>;
		ti,max-div = <31>;
		reg = <0x0130>;
		ti,index-starts-at-one;
	};

288
	dpll_core_m3x2_ck: dpll_core_m3x2_ck@134 {
T
Tero Kristo 已提交
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_core_x2_ck>;
		ti,max-div = <31>;
		reg = <0x0134>;
		ti,index-starts-at-one;
	};

	iva_dpll_hs_clk_div: iva_dpll_hs_clk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_core_h12x2_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

305
	dpll_iva_byp_mux: dpll_iva_byp_mux@1ac {
306 307 308 309 310 311 312
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&iva_dpll_hs_clk_div>;
		ti,bit-shift = <23>;
		reg = <0x01ac>;
	};

313
	dpll_iva_ck: dpll_iva_ck@1a0 {
T
Tero Kristo 已提交
314 315
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-clock";
316
		clocks = <&sys_clkin>, <&dpll_iva_byp_mux>;
T
Tero Kristo 已提交
317
		reg = <0x01a0>, <0x01a4>, <0x01ac>, <0x01a8>;
318 319
		assigned-clocks = <&dpll_iva_ck>;
		assigned-clock-rates = <1165000000>;
T
Tero Kristo 已提交
320 321 322 323 324 325 326 327
	};

	dpll_iva_x2_ck: dpll_iva_x2_ck {
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-x2-clock";
		clocks = <&dpll_iva_ck>;
	};

328
	dpll_iva_h11x2_ck: dpll_iva_h11x2_ck@1b8 {
T
Tero Kristo 已提交
329 330 331 332 333 334
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_iva_x2_ck>;
		ti,max-div = <63>;
		reg = <0x01b8>;
		ti,index-starts-at-one;
335 336
		assigned-clocks = <&dpll_iva_h11x2_ck>;
		assigned-clock-rates = <465920000>;
T
Tero Kristo 已提交
337 338
	};

339
	dpll_iva_h12x2_ck: dpll_iva_h12x2_ck@1bc {
T
Tero Kristo 已提交
340 341 342 343 344 345
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_iva_x2_ck>;
		ti,max-div = <63>;
		reg = <0x01bc>;
		ti,index-starts-at-one;
346 347
		assigned-clocks = <&dpll_iva_h12x2_ck>;
		assigned-clock-rates = <388300000>;
T
Tero Kristo 已提交
348 349 350 351 352 353 354 355 356 357
	};

	mpu_dpll_hs_clk_div: mpu_dpll_hs_clk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_core_h12x2_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

358
	dpll_mpu_ck: dpll_mpu_ck@160 {
T
Tero Kristo 已提交
359
		#clock-cells = <0>;
360
		compatible = "ti,omap5-mpu-dpll-clock";
T
Tero Kristo 已提交
361 362 363 364
		clocks = <&sys_clkin>, <&mpu_dpll_hs_clk_div>;
		reg = <0x0160>, <0x0164>, <0x016c>, <0x0168>;
	};

365
	dpll_mpu_m2_ck: dpll_mpu_m2_ck@170 {
T
Tero Kristo 已提交
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_mpu_ck>;
		ti,max-div = <31>;
		reg = <0x0170>;
		ti,index-starts-at-one;
	};

	per_dpll_hs_clk_div: per_dpll_hs_clk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_abe_m3x2_ck>;
		clock-mult = <1>;
		clock-div = <2>;
	};

	usb_dpll_hs_clk_div: usb_dpll_hs_clk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_abe_m3x2_ck>;
		clock-mult = <1>;
		clock-div = <3>;
	};

390
	l3_iclk_div: l3_iclk_div@100 {
T
Tero Kristo 已提交
391
		#clock-cells = <0>;
392 393 394 395
		compatible = "ti,divider-clock";
		ti,max-div = <2>;
		ti,bit-shift = <4>;
		reg = <0x100>;
T
Tero Kristo 已提交
396
		clocks = <&dpll_core_h12x2_ck>;
397
		ti,index-power-of-two;
T
Tero Kristo 已提交
398 399 400 401 402 403 404 405 406 407
	};

	gpu_l3_iclk: gpu_l3_iclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&l3_iclk_div>;
		clock-mult = <1>;
		clock-div = <1>;
	};

408
	l4_root_clk_div: l4_root_clk_div@100 {
T
Tero Kristo 已提交
409
		#clock-cells = <0>;
410 411 412 413
		compatible = "ti,divider-clock";
		ti,max-div = <2>;
		ti,bit-shift = <8>;
		reg = <0x100>;
T
Tero Kristo 已提交
414
		clocks = <&l3_iclk_div>;
415
		ti,index-power-of-two;
T
Tero Kristo 已提交
416 417
	};

418
	slimbus1_slimbus_clk: slimbus1_slimbus_clk@560 {
T
Tero Kristo 已提交
419 420 421 422 423 424 425
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&slimbus_clk>;
		ti,bit-shift = <11>;
		reg = <0x0560>;
	};

426
	aess_fclk: aess_fclk@528 {
T
Tero Kristo 已提交
427 428 429 430 431 432 433 434
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&abe_clk>;
		ti,bit-shift = <24>;
		ti,max-div = <2>;
		reg = <0x0528>;
	};

435
	mcasp_sync_mux_ck: mcasp_sync_mux_ck@540 {
T
Tero Kristo 已提交
436 437 438 439 440 441 442
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&abe_24m_fclk>, <&dss_syc_gfclk_div>, <&func_24m_clk>;
		ti,bit-shift = <26>;
		reg = <0x0540>;
	};

443
	mcasp_gfclk: mcasp_gfclk@540 {
T
Tero Kristo 已提交
444 445 446 447 448 449 450 451 452 453 454 455 456 457
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&mcasp_sync_mux_ck>, <&pad_clks_ck>, <&slimbus_clk>;
		ti,bit-shift = <24>;
		reg = <0x0540>;
	};

	dummy_ck: dummy_ck {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <0>;
	};
};
&prm_clocks {
458
	sys_clkin: sys_clkin@110 {
T
Tero Kristo 已提交
459 460 461 462 463 464 465
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&virt_12000000_ck>, <&virt_13000000_ck>, <&virt_16800000_ck>, <&virt_19200000_ck>, <&virt_26000000_ck>, <&virt_27000000_ck>, <&virt_38400000_ck>;
		reg = <0x0110>;
		ti,index-starts-at-one;
	};

466
	abe_dpll_bypass_clk_mux: abe_dpll_bypass_clk_mux@108 {
T
Tero Kristo 已提交
467 468 469 470 471 472
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&sys_32k_ck>;
		reg = <0x0108>;
	};

473
	abe_dpll_clk_mux: abe_dpll_clk_mux@10c {
T
Tero Kristo 已提交
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&sys_32k_ck>;
		reg = <0x010c>;
	};

	custefuse_sys_gfclk_div: custefuse_sys_gfclk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&sys_clkin>;
		clock-mult = <1>;
		clock-div = <2>;
	};

	dss_syc_gfclk_div: dss_syc_gfclk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&sys_clkin>;
		clock-mult = <1>;
		clock-div = <1>;
	};

496
	wkupaon_iclk_mux: wkupaon_iclk_mux@108 {
T
Tero Kristo 已提交
497 498 499 500 501 502 503 504 505 506 507 508 509 510
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&abe_lp_clk_div>;
		reg = <0x0108>;
	};

	l3instr_ts_gclk_div: l3instr_ts_gclk_div {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&wkupaon_iclk_mux>;
		clock-mult = <1>;
		clock-div = <1>;
	};
};
T
Tero Kristo 已提交
511

T
Tero Kristo 已提交
512
&cm_core_clocks {
513

514
	dpll_per_byp_mux: dpll_per_byp_mux@14c {
515 516 517 518 519 520 521
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&per_dpll_hs_clk_div>;
		ti,bit-shift = <23>;
		reg = <0x014c>;
	};

522
	dpll_per_ck: dpll_per_ck@140 {
T
Tero Kristo 已提交
523 524
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-clock";
525
		clocks = <&sys_clkin>, <&dpll_per_byp_mux>;
T
Tero Kristo 已提交
526 527 528 529 530 531 532 533 534
		reg = <0x0140>, <0x0144>, <0x014c>, <0x0148>;
	};

	dpll_per_x2_ck: dpll_per_x2_ck {
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-x2-clock";
		clocks = <&dpll_per_ck>;
	};

535
	dpll_per_h11x2_ck: dpll_per_h11x2_ck@158 {
T
Tero Kristo 已提交
536 537 538 539 540 541 542 543
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0158>;
		ti,index-starts-at-one;
	};

544
	dpll_per_h12x2_ck: dpll_per_h12x2_ck@15c {
T
Tero Kristo 已提交
545 546 547 548 549 550 551 552
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_x2_ck>;
		ti,max-div = <63>;
		reg = <0x015c>;
		ti,index-starts-at-one;
	};

553
	dpll_per_h14x2_ck: dpll_per_h14x2_ck@164 {
T
Tero Kristo 已提交
554 555 556 557 558 559 560 561
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_x2_ck>;
		ti,max-div = <63>;
		reg = <0x0164>;
		ti,index-starts-at-one;
	};

562
	dpll_per_m2_ck: dpll_per_m2_ck@150 {
T
Tero Kristo 已提交
563 564 565 566 567 568 569 570
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_ck>;
		ti,max-div = <31>;
		reg = <0x0150>;
		ti,index-starts-at-one;
	};

571
	dpll_per_m2x2_ck: dpll_per_m2x2_ck@150 {
T
Tero Kristo 已提交
572 573 574 575 576 577 578 579
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_x2_ck>;
		ti,max-div = <31>;
		reg = <0x0150>;
		ti,index-starts-at-one;
	};

580
	dpll_per_m3x2_ck: dpll_per_m3x2_ck@154 {
T
Tero Kristo 已提交
581 582 583 584 585 586 587 588
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_x2_ck>;
		ti,max-div = <31>;
		reg = <0x0154>;
		ti,index-starts-at-one;
	};

589
	dpll_unipro1_ck: dpll_unipro1_ck@200 {
T
Tero Kristo 已提交
590 591 592 593 594 595 596 597 598 599 600 601 602 603
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-clock";
		clocks = <&sys_clkin>, <&sys_clkin>;
		reg = <0x0200>, <0x0204>, <0x020c>, <0x0208>;
	};

	dpll_unipro1_clkdcoldo: dpll_unipro1_clkdcoldo {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_unipro1_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

604
	dpll_unipro1_m2_ck: dpll_unipro1_m2_ck@210 {
T
Tero Kristo 已提交
605 606 607 608 609 610 611 612
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_unipro1_ck>;
		ti,max-div = <127>;
		reg = <0x0210>;
		ti,index-starts-at-one;
	};

613
	dpll_unipro2_ck: dpll_unipro2_ck@1c0 {
T
Tero Kristo 已提交
614 615 616 617 618 619 620 621 622 623 624 625 626 627
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-clock";
		clocks = <&sys_clkin>, <&sys_clkin>;
		reg = <0x01c0>, <0x01c4>, <0x01cc>, <0x01c8>;
	};

	dpll_unipro2_clkdcoldo: dpll_unipro2_clkdcoldo {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_unipro2_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

628
	dpll_unipro2_m2_ck: dpll_unipro2_m2_ck@1d0 {
T
Tero Kristo 已提交
629 630 631 632 633 634 635 636
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_unipro2_ck>;
		ti,max-div = <127>;
		reg = <0x01d0>;
		ti,index-starts-at-one;
	};

637
	dpll_usb_byp_mux: dpll_usb_byp_mux@18c {
638 639 640 641 642 643 644
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&sys_clkin>, <&usb_dpll_hs_clk_div>;
		ti,bit-shift = <23>;
		reg = <0x018c>;
	};

645
	dpll_usb_ck: dpll_usb_ck@180 {
T
Tero Kristo 已提交
646 647
		#clock-cells = <0>;
		compatible = "ti,omap4-dpll-j-type-clock";
648
		clocks = <&sys_clkin>, <&dpll_usb_byp_mux>;
T
Tero Kristo 已提交
649 650 651 652 653 654 655 656 657 658 659
		reg = <0x0180>, <0x0184>, <0x018c>, <0x0188>;
	};

	dpll_usb_clkdcoldo: dpll_usb_clkdcoldo {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_usb_ck>;
		clock-mult = <1>;
		clock-div = <1>;
	};

660
	dpll_usb_m2_ck: dpll_usb_m2_ck@190 {
T
Tero Kristo 已提交
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_usb_ck>;
		ti,max-div = <127>;
		reg = <0x0190>;
		ti,index-starts-at-one;
	};

	func_128m_clk: func_128m_clk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_per_h11x2_ck>;
		clock-mult = <1>;
		clock-div = <2>;
	};

	func_12m_fclk: func_12m_fclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_per_m2x2_ck>;
		clock-mult = <1>;
		clock-div = <16>;
	};

	func_24m_clk: func_24m_clk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_per_m2_ck>;
		clock-mult = <1>;
		clock-div = <4>;
	};

	func_48m_fclk: func_48m_fclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_per_m2x2_ck>;
		clock-mult = <1>;
		clock-div = <4>;
	};

	func_96m_fclk: func_96m_fclk {
		#clock-cells = <0>;
		compatible = "fixed-factor-clock";
		clocks = <&dpll_per_m2x2_ck>;
		clock-mult = <1>;
		clock-div = <2>;
	};

709
	l3init_60m_fclk: l3init_60m_fclk@104 {
T
Tero Kristo 已提交
710 711 712 713 714 715 716
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_usb_m2_ck>;
		reg = <0x0104>;
		ti,dividers = <1>, <8>;
	};

717
	iss_ctrlclk: iss_ctrlclk@1320 {
T
Tero Kristo 已提交
718 719 720 721 722 723 724
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&func_96m_fclk>;
		ti,bit-shift = <8>;
		reg = <0x1320>;
	};

725
	lli_txphy_clk: lli_txphy_clk@f20 {
T
Tero Kristo 已提交
726 727 728 729 730 731 732
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&dpll_unipro1_clkdcoldo>;
		ti,bit-shift = <8>;
		reg = <0x0f20>;
	};

733
	lli_txphy_ls_clk: lli_txphy_ls_clk@f20 {
T
Tero Kristo 已提交
734 735 736 737 738 739 740
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&dpll_unipro1_m2_ck>;
		ti,bit-shift = <9>;
		reg = <0x0f20>;
	};

741
	usb_phy_cm_clk32k: usb_phy_cm_clk32k@640 {
T
Tero Kristo 已提交
742 743 744 745 746 747 748
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&sys_32k_ck>;
		ti,bit-shift = <8>;
		reg = <0x0640>;
	};

749
	fdif_fclk: fdif_fclk@1328 {
T
Tero Kristo 已提交
750 751 752 753 754 755 756 757
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_h11x2_ck>;
		ti,bit-shift = <24>;
		ti,max-div = <2>;
		reg = <0x1328>;
	};

758
	gpu_core_gclk_mux: gpu_core_gclk_mux@1520 {
T
Tero Kristo 已提交
759 760 761 762 763 764 765
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>;
		ti,bit-shift = <24>;
		reg = <0x1520>;
	};

766
	gpu_hyd_gclk_mux: gpu_hyd_gclk_mux@1520 {
T
Tero Kristo 已提交
767 768 769 770 771 772 773
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&dpll_core_h14x2_ck>, <&dpll_per_h14x2_ck>;
		ti,bit-shift = <25>;
		reg = <0x1520>;
	};

774
	hsi_fclk: hsi_fclk@1638 {
T
Tero Kristo 已提交
775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&dpll_per_m2x2_ck>;
		ti,bit-shift = <24>;
		ti,max-div = <2>;
		reg = <0x1638>;
	};
};

&cm_core_clockdomains {
	l3init_clkdm: l3init_clkdm {
		compatible = "ti,clockdomain";
		clocks = <&dpll_usb_ck>;
	};
};

&scrm_clocks {
792
	auxclk0_src_gate_ck: auxclk0_src_gate_ck@310 {
T
Tero Kristo 已提交
793 794 795 796 797 798 799
		#clock-cells = <0>;
		compatible = "ti,composite-no-wait-gate-clock";
		clocks = <&dpll_core_m3x2_ck>;
		ti,bit-shift = <8>;
		reg = <0x0310>;
	};

800
	auxclk0_src_mux_ck: auxclk0_src_mux_ck@310 {
T
Tero Kristo 已提交
801 802 803 804 805 806 807 808 809 810 811 812 813
		#clock-cells = <0>;
		compatible = "ti,composite-mux-clock";
		clocks = <&sys_clkin>, <&dpll_core_m3x2_ck>, <&dpll_per_m3x2_ck>;
		ti,bit-shift = <1>;
		reg = <0x0310>;
	};

	auxclk0_src_ck: auxclk0_src_ck {
		#clock-cells = <0>;
		compatible = "ti,composite-clock";
		clocks = <&auxclk0_src_gate_ck>, <&auxclk0_src_mux_ck>;
	};

814
	auxclk0_ck: auxclk0_ck@310 {
T
Tero Kristo 已提交
815 816 817 818 819 820 821 822
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&auxclk0_src_ck>;
		ti,bit-shift = <16>;
		ti,max-div = <16>;
		reg = <0x0310>;
	};

823
	auxclk1_src_gate_ck: auxclk1_src_gate_ck@314 {
T
Tero Kristo 已提交
824 825 826 827 828 829 830
		#clock-cells = <0>;
		compatible = "ti,composite-no-wait-gate-clock";
		clocks = <&dpll_core_m3x2_ck>;
		ti,bit-shift = <8>;
		reg = <0x0314>;
	};

831
	auxclk1_src_mux_ck: auxclk1_src_mux_ck@314 {
T
Tero Kristo 已提交
832 833 834 835 836 837 838 839 840 841 842 843 844
		#clock-cells = <0>;
		compatible = "ti,composite-mux-clock";
		clocks = <&sys_clkin>, <&dpll_core_m3x2_ck>, <&dpll_per_m3x2_ck>;
		ti,bit-shift = <1>;
		reg = <0x0314>;
	};

	auxclk1_src_ck: auxclk1_src_ck {
		#clock-cells = <0>;
		compatible = "ti,composite-clock";
		clocks = <&auxclk1_src_gate_ck>, <&auxclk1_src_mux_ck>;
	};

845
	auxclk1_ck: auxclk1_ck@314 {
T
Tero Kristo 已提交
846 847 848 849 850 851 852 853
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&auxclk1_src_ck>;
		ti,bit-shift = <16>;
		ti,max-div = <16>;
		reg = <0x0314>;
	};

854
	auxclk2_src_gate_ck: auxclk2_src_gate_ck@318 {
T
Tero Kristo 已提交
855 856 857 858 859 860 861
		#clock-cells = <0>;
		compatible = "ti,composite-no-wait-gate-clock";
		clocks = <&dpll_core_m3x2_ck>;
		ti,bit-shift = <8>;
		reg = <0x0318>;
	};

862
	auxclk2_src_mux_ck: auxclk2_src_mux_ck@318 {
T
Tero Kristo 已提交
863 864 865 866 867 868 869 870 871 872 873 874 875
		#clock-cells = <0>;
		compatible = "ti,composite-mux-clock";
		clocks = <&sys_clkin>, <&dpll_core_m3x2_ck>, <&dpll_per_m3x2_ck>;
		ti,bit-shift = <1>;
		reg = <0x0318>;
	};

	auxclk2_src_ck: auxclk2_src_ck {
		#clock-cells = <0>;
		compatible = "ti,composite-clock";
		clocks = <&auxclk2_src_gate_ck>, <&auxclk2_src_mux_ck>;
	};

876
	auxclk2_ck: auxclk2_ck@318 {
T
Tero Kristo 已提交
877 878 879 880 881 882 883 884
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&auxclk2_src_ck>;
		ti,bit-shift = <16>;
		ti,max-div = <16>;
		reg = <0x0318>;
	};

885
	auxclk3_src_gate_ck: auxclk3_src_gate_ck@31c {
T
Tero Kristo 已提交
886 887 888 889 890 891 892
		#clock-cells = <0>;
		compatible = "ti,composite-no-wait-gate-clock";
		clocks = <&dpll_core_m3x2_ck>;
		ti,bit-shift = <8>;
		reg = <0x031c>;
	};

893
	auxclk3_src_mux_ck: auxclk3_src_mux_ck@31c {
T
Tero Kristo 已提交
894 895 896 897 898 899 900 901 902 903 904 905 906
		#clock-cells = <0>;
		compatible = "ti,composite-mux-clock";
		clocks = <&sys_clkin>, <&dpll_core_m3x2_ck>, <&dpll_per_m3x2_ck>;
		ti,bit-shift = <1>;
		reg = <0x031c>;
	};

	auxclk3_src_ck: auxclk3_src_ck {
		#clock-cells = <0>;
		compatible = "ti,composite-clock";
		clocks = <&auxclk3_src_gate_ck>, <&auxclk3_src_mux_ck>;
	};

907
	auxclk3_ck: auxclk3_ck@31c {
T
Tero Kristo 已提交
908 909 910 911 912 913 914 915
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&auxclk3_src_ck>;
		ti,bit-shift = <16>;
		ti,max-div = <16>;
		reg = <0x031c>;
	};

916
	auxclk4_src_gate_ck: auxclk4_src_gate_ck@320 {
T
Tero Kristo 已提交
917 918 919 920 921 922 923
		#clock-cells = <0>;
		compatible = "ti,composite-no-wait-gate-clock";
		clocks = <&dpll_core_m3x2_ck>;
		ti,bit-shift = <8>;
		reg = <0x0320>;
	};

924
	auxclk4_src_mux_ck: auxclk4_src_mux_ck@320 {
T
Tero Kristo 已提交
925 926 927 928 929 930 931 932 933 934 935 936 937
		#clock-cells = <0>;
		compatible = "ti,composite-mux-clock";
		clocks = <&sys_clkin>, <&dpll_core_m3x2_ck>, <&dpll_per_m3x2_ck>;
		ti,bit-shift = <1>;
		reg = <0x0320>;
	};

	auxclk4_src_ck: auxclk4_src_ck {
		#clock-cells = <0>;
		compatible = "ti,composite-clock";
		clocks = <&auxclk4_src_gate_ck>, <&auxclk4_src_mux_ck>;
	};

938
	auxclk4_ck: auxclk4_ck@320 {
T
Tero Kristo 已提交
939 940 941 942 943 944 945 946
		#clock-cells = <0>;
		compatible = "ti,divider-clock";
		clocks = <&auxclk4_src_ck>;
		ti,bit-shift = <16>;
		ti,max-div = <16>;
		reg = <0x0320>;
	};

947
	auxclkreq0_ck: auxclkreq0_ck@210 {
T
Tero Kristo 已提交
948 949 950 951 952 953 954
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&auxclk0_ck>, <&auxclk1_ck>, <&auxclk2_ck>, <&auxclk3_ck>, <&auxclk4_ck>;
		ti,bit-shift = <2>;
		reg = <0x0210>;
	};

955
	auxclkreq1_ck: auxclkreq1_ck@214 {
T
Tero Kristo 已提交
956 957 958 959 960 961 962
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&auxclk0_ck>, <&auxclk1_ck>, <&auxclk2_ck>, <&auxclk3_ck>, <&auxclk4_ck>;
		ti,bit-shift = <2>;
		reg = <0x0214>;
	};

963
	auxclkreq2_ck: auxclkreq2_ck@218 {
T
Tero Kristo 已提交
964 965 966 967 968 969 970
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&auxclk0_ck>, <&auxclk1_ck>, <&auxclk2_ck>, <&auxclk3_ck>, <&auxclk4_ck>;
		ti,bit-shift = <2>;
		reg = <0x0218>;
	};

971
	auxclkreq3_ck: auxclkreq3_ck@21c {
T
Tero Kristo 已提交
972 973 974 975 976 977 978
		#clock-cells = <0>;
		compatible = "ti,mux-clock";
		clocks = <&auxclk0_ck>, <&auxclk1_ck>, <&auxclk2_ck>, <&auxclk3_ck>, <&auxclk4_ck>;
		ti,bit-shift = <2>;
		reg = <0x021c>;
	};
};
T
Tero Kristo 已提交
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181

&cm_core_aon {
	mpu_cm: mpu_cm@300 {
		compatible = "ti,omap4-cm";
		reg = <0x300 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x300 0x100>;

		mpu_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	dsp_cm: dsp_cm@400 {
		compatible = "ti,omap4-cm";
		reg = <0x400 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x400 0x100>;

		dsp_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	abe_cm: abe_cm@500 {
		compatible = "ti,omap4-cm";
		reg = <0x500 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x500 0x100>;

		abe_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x64>;
			#clock-cells = <2>;
		};
	};

};

&cm_core {
	l3main1_cm: l3main1_cm@700 {
		compatible = "ti,omap4-cm";
		reg = <0x700 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x700 0x100>;

		l3main1_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	l3main2_cm: l3main2_cm@800 {
		compatible = "ti,omap4-cm";
		reg = <0x800 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x800 0x100>;

		l3main2_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	ipu_cm: ipu_cm@900 {
		compatible = "ti,omap4-cm";
		reg = <0x900 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x900 0x100>;

		ipu_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	dma_cm: dma_cm@a00 {
		compatible = "ti,omap4-cm";
		reg = <0xa00 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0xa00 0x100>;

		dma_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	emif_cm: emif_cm@b00 {
		compatible = "ti,omap4-cm";
		reg = <0xb00 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0xb00 0x100>;

		emif_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x1c>;
			#clock-cells = <2>;
		};
	};

	l4cfg_cm: l4cfg_cm@d00 {
		compatible = "ti,omap4-cm";
		reg = <0xd00 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0xd00 0x100>;

		l4cfg_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x14>;
			#clock-cells = <2>;
		};
	};

	l3instr_cm: l3instr_cm@e00 {
		compatible = "ti,omap4-cm";
		reg = <0xe00 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0xe00 0x100>;

		l3instr_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0xc>;
			#clock-cells = <2>;
		};
	};

	l4per_cm: l4per_cm@1000 {
		compatible = "ti,omap4-cm";
		reg = <0x1000 0x200>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x1000 0x200>;

		l4per_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x15c>;
			#clock-cells = <2>;
		};
	};

	dss_cm: dss_cm@1400 {
		compatible = "ti,omap4-cm";
		reg = <0x1400 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x1400 0x100>;

		dss_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x4>;
			#clock-cells = <2>;
		};
	};

	l3init_cm: l3init_cm@1600 {
		compatible = "ti,omap4-cm";
		reg = <0x1600 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x1600 0x100>;

		l3init_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0xd4>;
			#clock-cells = <2>;
		};
	};
};

&prm {
	wkupaon_cm: wkupaon_cm@1900 {
		compatible = "ti,omap4-cm";
		reg = <0x1900 0x100>;
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0x1900 0x100>;

		wkupaon_clkctrl: clk@20 {
			compatible = "ti,clkctrl";
			reg = <0x20 0x5c>;
			#clock-cells = <2>;
		};
	};
};
1182 1183 1184 1185 1186 1187 1188 1189 1190 1191

&scm_wkup_pad_conf_clocks {
	fref_xtal_ck: fref_xtal_ck {
		#clock-cells = <0>;
		compatible = "ti,gate-clock";
		clocks = <&sys_clkin>;
		ti,bit-shift = <28>;
		reg = <0x14>;
	};
};