aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 12:38:59 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 12:38:59 -0500
commit18656782a820f075cb5c168a2e381a8938b1550a (patch)
treedb431928382a8ae2cc6a153ad28e5bb6a8d5d67e /arch/arm/boot
parenta233bb742aed62fc6164073d9835135f639b8828 (diff)
parent6f4554bdff6870c9e0f0b152bbec71d7a0f366f1 (diff)
Merge tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC driver updates from Olof Johansson: "These are changes for drivers that are intimately tied to some SoC and for some reason could not get merged through the respective subsystem maintainer tree. This time around, much of this is for at91, with the bulk of it being syscon and udc drivers. Also, there's: - coupled cpuidle support for Samsung Exynos4210 - Renesas 73A0 common-clk work - of/platform changes to tear down DMA mappings on device destruction - a few updates to the TI Keystone knav code" * tag 'drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits) cpuidle: exynos: add coupled cpuidle support for exynos4210 ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static soc: ti: knav_qmss_queue: makefile tweak to build as dynamic module pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM soc: ti: knav_qmss_queue: export API calls for use by user driver of/platform: teardown DMA mappings on device destruction usb: gadget: at91_udc: Allocate udc instance usb: gadget: at91_udc: Update DT binding documentation usb: gadget: at91_udc: Rework for multi-platform kernel support usb: gadget: at91_udc: Simplify probe and remove functions usb: gadget: at91_udc: Remove non-DT handling code usb: gadget: at91_udc: Document DT clocks and clock-names property usb: gadget: at91_udc: Drop uclk clock usb: gadget: at91_udc: Fix clock names mfd: syscon: Add Atmel SMC binding doc mfd: syscon: Add atmel-smc registers definition mfd: syscon: Add Atmel Matrix bus DT binding documentation mfd: syscon: Add atmel-matrix registers definition clk: shmobile: fix sparse NULL pointer warning ...
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/sh73a0-kzm9g-reference.dts4
-rw-r--r--arch/arm/boot/dts/sh73a0.dtsi358
2 files changed, 362 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
index 863dc4c7d7f6..6d32c87632d4 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
@@ -182,6 +182,10 @@
182 status = "okay"; 182 status = "okay";
183}; 183};
184 184
185&extal2_clk {
186 clock-frequency = <48000000>;
187};
188
185&i2c0 { 189&i2c0 {
186 status = "okay"; 190 status = "okay";
187 as3711@40 { 191 as3711@40 {
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 37c8a761aeab..2dfd5b44255d 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -10,6 +10,7 @@
10 10
11/include/ "skeleton.dtsi" 11/include/ "skeleton.dtsi"
12 12
13#include <dt-bindings/clock/sh73a0-clock.h>
13#include <dt-bindings/interrupt-controller/irq.h> 14#include <dt-bindings/interrupt-controller/irq.h>
14 15
15/ { 16/ {
@@ -71,6 +72,8 @@
71 72
72 renesas,channels-mask = <0x3f>; 73 renesas,channels-mask = <0x3f>;
73 74
75 clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
76 clock-names = "fck";
74 status = "disabled"; 77 status = "disabled";
75 }; 78 };
76 79
@@ -160,6 +163,7 @@
160 0 168 IRQ_TYPE_LEVEL_HIGH 163 0 168 IRQ_TYPE_LEVEL_HIGH
161 0 169 IRQ_TYPE_LEVEL_HIGH 164 0 169 IRQ_TYPE_LEVEL_HIGH
162 0 170 IRQ_TYPE_LEVEL_HIGH>; 165 0 170 IRQ_TYPE_LEVEL_HIGH>;
166 clocks = <&mstp1_clks SH73A0_CLK_IIC0>;
163 status = "disabled"; 167 status = "disabled";
164 }; 168 };
165 169
@@ -172,6 +176,7 @@
172 0 52 IRQ_TYPE_LEVEL_HIGH 176 0 52 IRQ_TYPE_LEVEL_HIGH
173 0 53 IRQ_TYPE_LEVEL_HIGH 177 0 53 IRQ_TYPE_LEVEL_HIGH
174 0 54 IRQ_TYPE_LEVEL_HIGH>; 178 0 54 IRQ_TYPE_LEVEL_HIGH>;
179 clocks = <&mstp3_clks SH73A0_CLK_IIC1>;
175 status = "disabled"; 180 status = "disabled";
176 }; 181 };
177 182
@@ -184,6 +189,7 @@
184 0 172 IRQ_TYPE_LEVEL_HIGH 189 0 172 IRQ_TYPE_LEVEL_HIGH
185 0 173 IRQ_TYPE_LEVEL_HIGH 190 0 173 IRQ_TYPE_LEVEL_HIGH
186 0 174 IRQ_TYPE_LEVEL_HIGH>; 191 0 174 IRQ_TYPE_LEVEL_HIGH>;
192 clocks = <&mstp0_clks SH73A0_CLK_IIC2>;
187 status = "disabled"; 193 status = "disabled";
188 }; 194 };
189 195
@@ -196,6 +202,7 @@
196 0 184 IRQ_TYPE_LEVEL_HIGH 202 0 184 IRQ_TYPE_LEVEL_HIGH
197 0 185 IRQ_TYPE_LEVEL_HIGH 203 0 185 IRQ_TYPE_LEVEL_HIGH
198 0 186 IRQ_TYPE_LEVEL_HIGH>; 204 0 186 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&mstp4_clks SH73A0_CLK_IIC3>;
199 status = "disabled"; 206 status = "disabled";
200 }; 207 };
201 208
@@ -208,6 +215,7 @@
208 0 188 IRQ_TYPE_LEVEL_HIGH 215 0 188 IRQ_TYPE_LEVEL_HIGH
209 0 189 IRQ_TYPE_LEVEL_HIGH 216 0 189 IRQ_TYPE_LEVEL_HIGH
210 0 190 IRQ_TYPE_LEVEL_HIGH>; 217 0 190 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&mstp4_clks SH73A0_CLK_IIC4>;
211 status = "disabled"; 219 status = "disabled";
212 }; 220 };
213 221
@@ -216,6 +224,7 @@
216 reg = <0xe6bd0000 0x100>; 224 reg = <0xe6bd0000 0x100>;
217 interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH 225 interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
218 0 141 IRQ_TYPE_LEVEL_HIGH>; 226 0 141 IRQ_TYPE_LEVEL_HIGH>;
227 clocks = <&mstp3_clks SH73A0_CLK_MMCIF0>;
219 reg-io-width = <4>; 228 reg-io-width = <4>;
220 status = "disabled"; 229 status = "disabled";
221 }; 230 };
@@ -226,6 +235,7 @@
226 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH 235 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH
227 0 84 IRQ_TYPE_LEVEL_HIGH 236 0 84 IRQ_TYPE_LEVEL_HIGH
228 0 85 IRQ_TYPE_LEVEL_HIGH>; 237 0 85 IRQ_TYPE_LEVEL_HIGH>;
238 clocks = <&mstp3_clks SH73A0_CLK_SDHI0>;
229 cap-sd-highspeed; 239 cap-sd-highspeed;
230 status = "disabled"; 240 status = "disabled";
231 }; 241 };
@@ -236,6 +246,7 @@
236 reg = <0xee120000 0x100>; 246 reg = <0xee120000 0x100>;
237 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH 247 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH
238 0 89 IRQ_TYPE_LEVEL_HIGH>; 248 0 89 IRQ_TYPE_LEVEL_HIGH>;
249 clocks = <&mstp3_clks SH73A0_CLK_SDHI1>;
239 toshiba,mmc-wrprotect-disable; 250 toshiba,mmc-wrprotect-disable;
240 cap-sd-highspeed; 251 cap-sd-highspeed;
241 status = "disabled"; 252 status = "disabled";
@@ -246,6 +257,7 @@
246 reg = <0xee140000 0x100>; 257 reg = <0xee140000 0x100>;
247 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH 258 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH
248 0 105 IRQ_TYPE_LEVEL_HIGH>; 259 0 105 IRQ_TYPE_LEVEL_HIGH>;
260 clocks = <&mstp3_clks SH73A0_CLK_SDHI2>;
249 toshiba,mmc-wrprotect-disable; 261 toshiba,mmc-wrprotect-disable;
250 cap-sd-highspeed; 262 cap-sd-highspeed;
251 status = "disabled"; 263 status = "disabled";
@@ -255,6 +267,8 @@
255 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 267 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
256 reg = <0xe6c40000 0x100>; 268 reg = <0xe6c40000 0x100>;
257 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; 269 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
270 clocks = <&mstp2_clks SH73A0_CLK_SCIFA0>;
271 clock-names = "sci_ick";
258 status = "disabled"; 272 status = "disabled";
259 }; 273 };
260 274
@@ -262,6 +276,8 @@
262 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 276 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
263 reg = <0xe6c50000 0x100>; 277 reg = <0xe6c50000 0x100>;
264 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; 278 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&mstp2_clks SH73A0_CLK_SCIFA1>;
280 clock-names = "sci_ick";
265 status = "disabled"; 281 status = "disabled";
266 }; 282 };
267 283
@@ -269,6 +285,8 @@
269 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 285 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
270 reg = <0xe6c60000 0x100>; 286 reg = <0xe6c60000 0x100>;
271 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; 287 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
288 clocks = <&mstp2_clks SH73A0_CLK_SCIFA2>;
289 clock-names = "sci_ick";
272 status = "disabled"; 290 status = "disabled";
273 }; 291 };
274 292
@@ -276,6 +294,8 @@
276 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 294 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
277 reg = <0xe6c70000 0x100>; 295 reg = <0xe6c70000 0x100>;
278 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; 296 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
297 clocks = <&mstp2_clks SH73A0_CLK_SCIFA3>;
298 clock-names = "sci_ick";
279 status = "disabled"; 299 status = "disabled";
280 }; 300 };
281 301
@@ -283,6 +303,8 @@
283 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 303 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
284 reg = <0xe6c80000 0x100>; 304 reg = <0xe6c80000 0x100>;
285 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; 305 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
306 clocks = <&mstp2_clks SH73A0_CLK_SCIFA4>;
307 clock-names = "sci_ick";
286 status = "disabled"; 308 status = "disabled";
287 }; 309 };
288 310
@@ -290,6 +312,8 @@
290 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 312 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
291 reg = <0xe6cb0000 0x100>; 313 reg = <0xe6cb0000 0x100>;
292 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; 314 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
315 clocks = <&mstp2_clks SH73A0_CLK_SCIFA5>;
316 clock-names = "sci_ick";
293 status = "disabled"; 317 status = "disabled";
294 }; 318 };
295 319
@@ -297,6 +321,8 @@
297 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 321 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
298 reg = <0xe6cc0000 0x100>; 322 reg = <0xe6cc0000 0x100>;
299 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>; 323 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
324 clocks = <&mstp3_clks SH73A0_CLK_SCIFA6>;
325 clock-names = "sci_ick";
300 status = "disabled"; 326 status = "disabled";
301 }; 327 };
302 328
@@ -304,6 +330,8 @@
304 compatible = "renesas,scifa-sh73a0", "renesas,scifa"; 330 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
305 reg = <0xe6cd0000 0x100>; 331 reg = <0xe6cd0000 0x100>;
306 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; 332 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&mstp2_clks SH73A0_CLK_SCIFA7>;
334 clock-names = "sci_ick";
307 status = "disabled"; 335 status = "disabled";
308 }; 336 };
309 337
@@ -311,6 +339,8 @@
311 compatible = "renesas,scifb-sh73a0", "renesas,scifb"; 339 compatible = "renesas,scifb-sh73a0", "renesas,scifb";
312 reg = <0xe6c30000 0x100>; 340 reg = <0xe6c30000 0x100>;
313 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; 341 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
342 clocks = <&mstp2_clks SH73A0_CLK_SCIFB>;
343 clock-names = "sci_ick";
314 status = "disabled"; 344 status = "disabled";
315 }; 345 };
316 346
@@ -338,4 +368,332 @@
338 interrupts = <0 146 0x4>; 368 interrupts = <0 146 0x4>;
339 status = "disabled"; 369 status = "disabled";
340 }; 370 };
371
372 clocks {
373 #address-cells = <1>;
374 #size-cells = <1>;
375 ranges;
376
377 /* External root clocks */
378 extalr_clk: extalr_clk {
379 compatible = "fixed-clock";
380 #clock-cells = <0>;
381 clock-frequency = <32768>;
382 clock-output-names = "extalr";
383 };
384 extal1_clk: extal1_clk {
385 compatible = "fixed-clock";
386 #clock-cells = <0>;
387 clock-frequency = <26000000>;
388 clock-output-names = "extal1";
389 };
390 extal2_clk: extal2_clk {
391 compatible = "fixed-clock";
392 #clock-cells = <0>;
393 clock-output-names = "extal2";
394 };
395 extcki_clk: extcki_clk {
396 compatible = "fixed-clock";
397 #clock-cells = <0>;
398 clock-output-names = "extcki";
399 };
400 fsiack_clk: fsiack_clk {
401 compatible = "fixed-clock";
402 #clock-cells = <0>;
403 clock-frequency = <0>;
404 clock-output-names = "fsiack";
405 };
406 fsibck_clk: fsibck_clk {
407 compatible = "fixed-clock";
408 #clock-cells = <0>;
409 clock-frequency = <0>;
410 clock-output-names = "fsibck";
411 };
412
413 /* Special CPG clocks */
414 cpg_clocks: cpg_clocks@e6150000 {
415 compatible = "renesas,sh73a0-cpg-clocks";
416 reg = <0xe6150000 0x10000>;
417 clocks = <&extal1_clk>, <&extal2_clk>;
418 #clock-cells = <1>;
419 clock-output-names = "main", "pll0", "pll1", "pll2",
420 "pll3", "dsi0phy", "dsi1phy",
421 "zg", "m3", "b", "m1", "m2",
422 "z", "zx", "hp";
423 };
424
425 /* Variable factor clocks (DIV6) */
426 vclk1_clk: vclk1_clk@e6150008 {
427 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
428 reg = <0xe6150008 4>;
429 clocks = <&pll1_div2_clk>;
430 #clock-cells = <0>;
431 clock-output-names = "vclk1";
432 };
433 vclk2_clk: vclk2_clk@e615000c {
434 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
435 reg = <0xe615000c 4>;
436 clocks = <&pll1_div2_clk>;
437 #clock-cells = <0>;
438 clock-output-names = "vclk2";
439 };
440 vclk3_clk: vclk3_clk@e615001c {
441 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
442 reg = <0xe615001c 4>;
443 clocks = <&pll1_div2_clk>;
444 #clock-cells = <0>;
445 clock-output-names = "vclk3";
446 };
447 zb_clk: zb_clk@e6150010 {
448 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
449 reg = <0xe6150010 4>;
450 clocks = <&pll1_div2_clk>;
451 #clock-cells = <0>;
452 clock-output-names = "zb";
453 };
454 flctl_clk: flctl_clk@e6150014 {
455 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
456 reg = <0xe6150014 4>;
457 clocks = <&pll1_div2_clk>;
458 #clock-cells = <0>;
459 clock-output-names = "flctlck";
460 };
461 sdhi0_clk: sdhi0_clk@e6150074 {
462 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
463 reg = <0xe6150074 4>;
464 clocks = <&pll1_div2_clk>;
465 #clock-cells = <0>;
466 clock-output-names = "sdhi0ck";
467 };
468 sdhi1_clk: sdhi1_clk@e6150078 {
469 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
470 reg = <0xe6150078 4>;
471 clocks = <&pll1_div2_clk>;
472 #clock-cells = <0>;
473 clock-output-names = "sdhi1ck";
474 };
475 sdhi2_clk: sdhi2_clk@e615007c {
476 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
477 reg = <0xe615007c 4>;
478 clocks = <&pll1_div2_clk>;
479 #clock-cells = <0>;
480 clock-output-names = "sdhi2ck";
481 };
482 fsia_clk: fsia_clk@e6150018 {
483 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
484 reg = <0xe6150018 4>;
485 clocks = <&pll1_div2_clk>;
486 #clock-cells = <0>;
487 clock-output-names = "fsia";
488 };
489 fsib_clk: fsib_clk@e6150090 {
490 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
491 reg = <0xe6150090 4>;
492 clocks = <&pll1_div2_clk>;
493 #clock-cells = <0>;
494 clock-output-names = "fsib";
495 };
496 sub_clk: sub_clk@e6150080 {
497 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
498 reg = <0xe6150080 4>;
499 clocks = <&extal2_clk>;
500 #clock-cells = <0>;
501 clock-output-names = "sub";
502 };
503 spua_clk: spua_clk@e6150084 {
504 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
505 reg = <0xe6150084 4>;
506 clocks = <&pll1_div2_clk>;
507 #clock-cells = <0>;
508 clock-output-names = "spua";
509 };
510 spuv_clk: spuv_clk@e6150094 {
511 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
512 reg = <0xe6150094 4>;
513 clocks = <&pll1_div2_clk>;
514 #clock-cells = <0>;
515 clock-output-names = "spuv";
516 };
517 msu_clk: msu_clk@e6150088 {
518 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
519 reg = <0xe6150088 4>;
520 clocks = <&pll1_div2_clk>;
521 #clock-cells = <0>;
522 clock-output-names = "msu";
523 };
524 hsi_clk: hsi_clk@e615008c {
525 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
526 reg = <0xe615008c 4>;
527 clocks = <&pll1_div2_clk>;
528 #clock-cells = <0>;
529 clock-output-names = "hsi";
530 };
531 mfg1_clk: mfg1_clk@e6150098 {
532 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
533 reg = <0xe6150098 4>;
534 clocks = <&pll1_div2_clk>;
535 #clock-cells = <0>;
536 clock-output-names = "mfg1";
537 };
538 mfg2_clk: mfg2_clk@e615009c {
539 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
540 reg = <0xe615009c 4>;
541 clocks = <&pll1_div2_clk>;
542 #clock-cells = <0>;
543 clock-output-names = "mfg2";
544 };
545 dsit_clk: dsit_clk@e6150060 {
546 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
547 reg = <0xe6150060 4>;
548 clocks = <&pll1_div2_clk>;
549 #clock-cells = <0>;
550 clock-output-names = "dsit";
551 };
552 dsi0p_clk: dsi0p_clk@e6150064 {
553 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
554 reg = <0xe6150064 4>;
555 clocks = <&pll1_div2_clk>;
556 #clock-cells = <0>;
557 clock-output-names = "dsi0pck";
558 };
559
560 /* Fixed factor clocks */
561 main_div2_clk: main_div2_clk {
562 compatible = "fixed-factor-clock";
563 clocks = <&cpg_clocks SH73A0_CLK_MAIN>;
564 #clock-cells = <0>;
565 clock-div = <2>;
566 clock-mult = <1>;
567 clock-output-names = "main_div2";
568 };
569 pll1_div2_clk: pll1_div2_clk {
570 compatible = "fixed-factor-clock";
571 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
572 #clock-cells = <0>;
573 clock-div = <2>;
574 clock-mult = <1>;
575 clock-output-names = "pll1_div2";
576 };
577 pll1_div7_clk: pll1_div7_clk {
578 compatible = "fixed-factor-clock";
579 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
580 #clock-cells = <0>;
581 clock-div = <7>;
582 clock-mult = <1>;
583 clock-output-names = "pll1_div7";
584 };
585 pll1_div13_clk: pll1_div13_clk {
586 compatible = "fixed-factor-clock";
587 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
588 #clock-cells = <0>;
589 clock-div = <13>;
590 clock-mult = <1>;
591 clock-output-names = "pll1_div13";
592 };
593 twd_clk: twd_clk {
594 compatible = "fixed-factor-clock";
595 clocks = <&cpg_clocks SH73A0_CLK_Z>;
596 #clock-cells = <0>;
597 clock-div = <4>;
598 clock-mult = <1>;
599 clock-output-names = "twd";
600 };
601
602 /* Gate clocks */
603 mstp0_clks: mstp0_clks@e6150130 {
604 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
605 reg = <0xe6150130 4>, <0xe6150030 4>;
606 clocks = <&cpg_clocks SH73A0_CLK_HP>;
607 #clock-cells = <1>;
608 clock-indices = <
609 SH73A0_CLK_IIC2
610 >;
611 clock-output-names =
612 "iic2";
613 };
614 mstp1_clks: mstp1_clks@e6150134 {
615 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
616 reg = <0xe6150134 4>, <0xe6150038 4>;
617 clocks = <&cpg_clocks SH73A0_CLK_B>,
618 <&cpg_clocks SH73A0_CLK_B>,
619 <&cpg_clocks SH73A0_CLK_B>,
620 <&cpg_clocks SH73A0_CLK_B>,
621 <&sub_clk>, <&cpg_clocks SH73A0_CLK_B>,
622 <&cpg_clocks SH73A0_CLK_HP>,
623 <&cpg_clocks SH73A0_CLK_ZG>,
624 <&cpg_clocks SH73A0_CLK_B>;
625 #clock-cells = <1>;
626 clock-indices = <
627 SH73A0_CLK_CEU1 SH73A0_CLK_CSI2_RX1
628 SH73A0_CLK_CEU0 SH73A0_CLK_CSI2_RX0
629 SH73A0_CLK_TMU0 SH73A0_CLK_DSITX0
630 SH73A0_CLK_IIC0 SH73A0_CLK_SGX
631 SH73A0_CLK_LCDC0
632 >;
633 clock-output-names =
634 "ceu1", "csi2_rx1", "ceu0", "csi2_rx0",
635 "tmu0", "dsitx0", "iic0", "sgx", "lcdc0";
636 };
637 mstp2_clks: mstp2_clks@e6150138 {
638 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
639 reg = <0xe6150138 4>, <0xe6150040 4>;
640 clocks = <&sub_clk>, <&cpg_clocks SH73A0_CLK_HP>,
641 <&cpg_clocks SH73A0_CLK_HP>, <&sub_clk>,
642 <&sub_clk>, <&sub_clk>, <&sub_clk>, <&sub_clk>,
643 <&sub_clk>, <&sub_clk>;
644 #clock-cells = <1>;
645 clock-indices = <
646 SH73A0_CLK_SCIFA7 SH73A0_CLK_SY_DMAC
647 SH73A0_CLK_MP_DMAC SH73A0_CLK_SCIFA5
648 SH73A0_CLK_SCIFB SH73A0_CLK_SCIFA0
649 SH73A0_CLK_SCIFA1 SH73A0_CLK_SCIFA2
650 SH73A0_CLK_SCIFA3 SH73A0_CLK_SCIFA4
651 >;
652 clock-output-names =
653 "scifa7", "sy_dmac", "mp_dmac", "scifa5",
654 "scifb", "scifa0", "scifa1", "scifa2",
655 "scifa3", "scifa4";
656 };
657 mstp3_clks: mstp3_clks@e615013c {
658 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
659 reg = <0xe615013c 4>, <0xe6150048 4>;
660 clocks = <&sub_clk>, <&extalr_clk>,
661 <&cpg_clocks SH73A0_CLK_HP>, <&sub_clk>,
662 <&cpg_clocks SH73A0_CLK_HP>,
663 <&cpg_clocks SH73A0_CLK_HP>, <&flctl_clk>,
664 <&sdhi0_clk>, <&sdhi1_clk>,
665 <&cpg_clocks SH73A0_CLK_HP>, <&sdhi2_clk>,
666 <&main_div2_clk>, <&main_div2_clk>,
667 <&main_div2_clk>, <&main_div2_clk>,
668 <&main_div2_clk>;
669 #clock-cells = <1>;
670 clock-indices = <
671 SH73A0_CLK_SCIFA6 SH73A0_CLK_CMT1
672 SH73A0_CLK_FSI SH73A0_CLK_IRDA
673 SH73A0_CLK_IIC1 SH73A0_CLK_USB SH73A0_CLK_FLCTL
674 SH73A0_CLK_SDHI0 SH73A0_CLK_SDHI1
675 SH73A0_CLK_MMCIF0 SH73A0_CLK_SDHI2
676 SH73A0_CLK_TPU0 SH73A0_CLK_TPU1
677 SH73A0_CLK_TPU2 SH73A0_CLK_TPU3
678 SH73A0_CLK_TPU4
679 >;
680 clock-output-names =
681 "scifa6", "cmt1", "fsi", "irda", "iic1",
682 "usb", "flctl", "sdhi0", "sdhi1", "mmcif0", "sdhi2",
683 "tpu0", "tpu1", "tpu2", "tpu3", "tpu4";
684 };
685 mstp4_clks: mstp4_clks@e6150140 {
686 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
687 reg = <0xe6150140 4>, <0xe615004c 4>;
688 clocks = <&cpg_clocks SH73A0_CLK_HP>,
689 <&cpg_clocks SH73A0_CLK_HP>, <&extalr_clk>;
690 #clock-cells = <1>;
691 clock-indices = <
692 SH73A0_CLK_IIC3 SH73A0_CLK_IIC4
693 SH73A0_CLK_KEYSC
694 >;
695 clock-output-names =
696 "iic3", "iic4", "keysc";
697 };
698 };
341}; 699};