2 * Copyright (C) 2014 STMicroelectronics R&D Limited
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 #include <dt-bindings/clock/stih410-clks.h>
11 * Fixed 30MHz oscillator inputs to SoC
13 clk_sysin: clk-sysin {
15 compatible = "fixed-clock";
16 clock-frequency = <30000000>;
17 clock-output-names = "CLK_SYSIN";
20 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
22 compatible = "fixed-clock";
23 clock-frequency = <0>;
31 compatible = "st,stih410-clk", "simple-bus";
37 compatible = "st,clkgen-c32";
38 reg = <0x92b0000 0xffff>;
40 clockgen_a9_pll: clockgen-a9-pll {
42 compatible = "st,stih407-clkgen-plla9";
44 clocks = <&clk_sysin>;
46 clock-output-names = "clockgen-a9-pll-odf";
51 * ARM CPU related clocks.
53 clk_m_a9: clk-m-a9@92b0000 {
55 compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
56 reg = <0x92b0000 0x10000>;
58 clocks = <&clockgen_a9_pll 0>,
60 <&clk_s_c0_flexgen 13>,
61 <&clk_m_a9_ext2f_div2>;
63 * ARM Peripheral clock for timers
65 arm_periph_clk: clk-m-a9-periphs {
67 compatible = "fixed-factor-clock";
75 compatible = "st,clkgen-c32";
76 reg = <0x90ff000 0x1000>;
78 clk_s_a0_pll: clk-s-a0-pll {
80 compatible = "st,clkgen-pll0";
82 clocks = <&clk_sysin>;
84 clock-output-names = "clk-s-a0-pll-ofd-0";
85 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
88 clk_s_a0_flexgen: clk-s-a0-flexgen {
89 compatible = "st,flexgen";
93 clocks = <&clk_s_a0_pll 0>,
96 clock-output-names = "clk-ic-lmi0",
98 clock-critical = <CLK_IC_LMI0>;
102 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
104 compatible = "st,quadfs-pll";
105 reg = <0x9103000 0x1000>;
107 clocks = <&clk_sysin>;
109 clock-output-names = "clk-s-c0-fs0-ch0",
113 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */
116 clk_s_c0: clockgen-c@9103000 {
117 compatible = "st,clkgen-c32";
118 reg = <0x9103000 0x1000>;
120 clk_s_c0_pll0: clk-s-c0-pll0 {
122 compatible = "st,clkgen-pll0";
124 clocks = <&clk_sysin>;
126 clock-output-names = "clk-s-c0-pll0-odf-0";
127 clock-critical = <0>; /* clk-s-c0-pll0-odf-0 */
130 clk_s_c0_pll1: clk-s-c0-pll1 {
132 compatible = "st,clkgen-pll1";
134 clocks = <&clk_sysin>;
136 clock-output-names = "clk-s-c0-pll1-odf-0";
139 clk_s_c0_flexgen: clk-s-c0-flexgen {
141 compatible = "st,flexgen";
143 clocks = <&clk_s_c0_pll0 0>,
145 <&clk_s_c0_quadfs 0>,
146 <&clk_s_c0_quadfs 1>,
147 <&clk_s_c0_quadfs 2>,
148 <&clk_s_c0_quadfs 3>,
151 clock-output-names = "clk-icn-gpu",
178 "clk-eth-ref-phyclk",
190 clock-critical = <CLK_PROC_STFE>,
198 * ARM Peripheral clock for timers
200 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
202 compatible = "fixed-factor-clock";
204 clocks = <&clk_s_c0_flexgen 13>;
206 clock-output-names = "clk-m-a9-ext2f-div2";
214 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
216 compatible = "st,quadfs";
217 reg = <0x9104000 0x1000>;
219 clocks = <&clk_sysin>;
221 clock-output-names = "clk-s-d0-fs0-ch0",
227 clockgen-d0@9104000 {
228 compatible = "st,clkgen-c32";
229 reg = <0x9104000 0x1000>;
231 clk_s_d0_flexgen: clk-s-d0-flexgen {
233 compatible = "st,flexgen-audio", "st,flexgen";
235 clocks = <&clk_s_d0_quadfs 0>,
236 <&clk_s_d0_quadfs 1>,
237 <&clk_s_d0_quadfs 2>,
238 <&clk_s_d0_quadfs 3>,
241 clock-output-names = "clk-pcm-0",
250 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
252 compatible = "st,quadfs";
253 reg = <0x9106000 0x1000>;
255 clocks = <&clk_sysin>;
257 clock-output-names = "clk-s-d2-fs0-ch0",
263 clockgen-d2@9106000 {
264 compatible = "st,clkgen-c32";
265 reg = <0x9106000 0x1000>;
267 clk_s_d2_flexgen: clk-s-d2-flexgen {
269 compatible = "st,flexgen-video", "st,flexgen";
271 clocks = <&clk_s_d2_quadfs 0>,
272 <&clk_s_d2_quadfs 1>,
273 <&clk_s_d2_quadfs 2>,
274 <&clk_s_d2_quadfs 3>,
279 clock-output-names = "clk-pix-main-disp",
298 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
300 compatible = "st,quadfs";
301 reg = <0x9107000 0x1000>;
303 clocks = <&clk_sysin>;
305 clock-output-names = "clk-s-d3-fs0-ch0",
311 clockgen-d3@9107000 {
312 compatible = "st,clkgen-c32";
313 reg = <0x9107000 0x1000>;
315 clk_s_d3_flexgen: clk-s-d3-flexgen {
317 compatible = "st,flexgen";
319 clocks = <&clk_s_d3_quadfs 0>,
320 <&clk_s_d3_quadfs 1>,
321 <&clk_s_d3_quadfs 2>,
322 <&clk_s_d3_quadfs 3>,
325 clock-output-names = "clk-stfe-frc1",