diff options
author | Gabriel FERNANDEZ <gabriel.fernandez@st.com> | 2014-05-20 09:22:00 -0400 |
---|---|---|
committer | Maxime Coquelin <maxime.coquelin@st.com> | 2014-05-21 08:27:11 -0400 |
commit | d0128b7d3056fe0315c56c76c8f7d77900e768a0 (patch) | |
tree | f230b36bab03645b0cb2e0063e15ac55668d66a6 /arch/arm/boot/dts/stih416-clock.dtsi | |
parent | 7f8472c8970ca1e02a357b3a7b6095ef2be3b01b (diff) |
ARM: STi: DT: STiH416: 416 DT Entry for clockgen A9/DDR/GPU
Patch adds DT entries for clockgen A9/DDR/GPU
Signed-off-by: Pankaj Dev <pankaj.dev@st.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stih416-clock.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stih416-clock.dtsi | 79 |
1 files changed, 70 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/stih416-clock.dtsi b/arch/arm/boot/dts/stih416-clock.dtsi index 0eeadc7af574..5b4fb838cddb 100644 --- a/arch/arm/boot/dts/stih416-clock.dtsi +++ b/arch/arm/boot/dts/stih416-clock.dtsi | |||
@@ -25,15 +25,6 @@ | |||
25 | }; | 25 | }; |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * ARM Peripheral clock for timers | ||
29 | */ | ||
30 | arm_periph_clk: arm_periph_clk { | ||
31 | #clock-cells = <0>; | ||
32 | compatible = "fixed-clock"; | ||
33 | clock-frequency = <600000000>; | ||
34 | }; | ||
35 | |||
36 | /* | ||
37 | * ClockGenAs on SASG2 | 28 | * ClockGenAs on SASG2 |
38 | */ | 29 | */ |
39 | clockgen-a@fee62000 { | 30 | clockgen-a@fee62000 { |
@@ -504,6 +495,45 @@ | |||
504 | }; | 495 | }; |
505 | 496 | ||
506 | /* | 497 | /* |
498 | * A9 PLL | ||
499 | */ | ||
500 | clockgen-a9@fdde08b0 { | ||
501 | reg = <0xfdde08b0 0x70>; | ||
502 | |||
503 | clockgen_a9_pll: clockgen-a9-pll { | ||
504 | #clock-cells = <1>; | ||
505 | compatible = "st,stih416-plls-c32-a9", "st,clkgen-plls-c32"; | ||
506 | |||
507 | clocks = <&clk_sysin>; | ||
508 | clock-output-names = "clockgen-a9-pll-odf"; | ||
509 | }; | ||
510 | }; | ||
511 | |||
512 | /* | ||
513 | * ARM CPU related clocks | ||
514 | */ | ||
515 | clk_m_a9: clk-m-a9@fdde08ac { | ||
516 | #clock-cells = <0>; | ||
517 | compatible = "st,stih416-clkgen-a9-mux", "st,clkgen-mux"; | ||
518 | reg = <0xfdde08ac 0x4>; | ||
519 | clocks = <&clockgen_a9_pll 0>, | ||
520 | <&clockgen_a9_pll 0>, | ||
521 | <&clk_m_a0_div1 2>, | ||
522 | <&clk_m_a9_ext2f_div2>; | ||
523 | }; | ||
524 | |||
525 | /* | ||
526 | * ARM Peripheral clock for timers | ||
527 | */ | ||
528 | arm_periph_clk: clk-m-a9-periphs { | ||
529 | #clock-cells = <0>; | ||
530 | compatible = "fixed-factor-clock"; | ||
531 | clocks = <&clk_m_a9>; | ||
532 | clock-div = <2>; | ||
533 | clock-mult = <1>; | ||
534 | }; | ||
535 | |||
536 | /* | ||
507 | * Frequency synthesizers on the SASG2 | 537 | * Frequency synthesizers on the SASG2 |
508 | */ | 538 | */ |
509 | clockgen_b0: clockgen-b0@fee108b4 { | 539 | clockgen_b0: clockgen-b0@fee108b4 { |
@@ -691,5 +721,36 @@ | |||
691 | "clk-m-pix-hdmirx-0", | 721 | "clk-m-pix-hdmirx-0", |
692 | "clk-m-pix-hdmirx-1"; | 722 | "clk-m-pix-hdmirx-1"; |
693 | }; | 723 | }; |
724 | |||
725 | /* | ||
726 | * DDR PLL | ||
727 | */ | ||
728 | clockgen-ddr@0xfdde07d8 { | ||
729 | reg = <0xfdde07d8 0x110>; | ||
730 | |||
731 | clockgen_ddr_pll: clockgen-ddr-pll { | ||
732 | #clock-cells = <1>; | ||
733 | compatible = "st,stih416-plls-c32-ddr", "st,clkgen-plls-c32"; | ||
734 | |||
735 | clocks = <&clk_sysin>; | ||
736 | clock-output-names = "clockgen-ddr0", | ||
737 | "clockgen-ddr1"; | ||
738 | }; | ||
739 | }; | ||
740 | |||
741 | /* | ||
742 | * GPU PLL | ||
743 | */ | ||
744 | clockgen-gpu@fd68ff00 { | ||
745 | reg = <0xfd68ff00 0x910>; | ||
746 | |||
747 | clockgen_gpu_pll: clockgen-gpu-pll { | ||
748 | #clock-cells = <1>; | ||
749 | compatible = "st,stih416-gpu-pll-c32", "st,clkgengpu-pll-c32"; | ||
750 | |||
751 | clocks = <&clk_sysin>; | ||
752 | clock-output-names = "clockgen-gpu-pll"; | ||
753 | }; | ||
754 | }; | ||
694 | }; | 755 | }; |
695 | }; | 756 | }; |