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>
15 compatible = "st,stih410-clk", "simple-bus";
18 * Fixed 30MHz oscillator inputs to SoC
20 clk_sysin: clk-sysin {
22 compatible = "fixed-clock";
23 clock-frequency = <30000000>;
24 clock-output-names = "CLK_SYSIN";
28 * ARM Peripheral clock for timers
30 arm_periph_clk: clk-m-a9-periphs {
32 compatible = "fixed-factor-clock";
42 compatible = "st,clkgen-c32";
43 reg = <0x92b0000 0xffff>;
45 clockgen_a9_pll: clockgen-a9-pll {
47 compatible = "st,stih407-clkgen-plla9";
49 clocks = <&clk_sysin>;
51 clock-output-names = "clockgen-a9-pll-odf";
56 * ARM CPU related clocks.
58 clk_m_a9: clk-m-a9@92b0000 {
60 compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
61 reg = <0x92b0000 0x10000>;
63 clocks = <&clockgen_a9_pll 0>,
65 <&clk_s_c0_flexgen 13>,
66 <&clk_m_a9_ext2f_div2>;
70 * ARM Peripheral clock for timers
72 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
74 compatible = "fixed-factor-clock";
76 clocks = <&clk_s_c0_flexgen 13>;
78 clock-output-names = "clk-m-a9-ext2f-div2";
85 * Bootloader initialized system infrastructure clock for
88 clk_ext2f_a9: clockgen-c0@13 {
90 compatible = "fixed-clock";
91 clock-frequency = <200000000>;
92 clock-output-names = "clk-s-icn-reg-0";
96 compatible = "st,clkgen-c32";
97 reg = <0x90ff000 0x1000>;
99 clk_s_a0_pll: clk-s-a0-pll {
101 compatible = "st,clkgen-pll0";
103 clocks = <&clk_sysin>;
105 clock-output-names = "clk-s-a0-pll-ofd-0";
106 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
109 clk_s_a0_flexgen: clk-s-a0-flexgen {
110 compatible = "st,flexgen";
114 clocks = <&clk_s_a0_pll 0>,
117 clock-output-names = "clk-ic-lmi0",
119 clock-critical = <CLK_IC_LMI0>;
123 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
125 compatible = "st,quadfs-pll";
126 reg = <0x9103000 0x1000>;
128 clocks = <&clk_sysin>;
130 clock-output-names = "clk-s-c0-fs0-ch0",
134 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */
137 clk_s_c0: clockgen-c@09103000 {
138 compatible = "st,clkgen-c32";
139 reg = <0x9103000 0x1000>;
141 clk_s_c0_pll0: clk-s-c0-pll0 {
143 compatible = "st,clkgen-pll0";
145 clocks = <&clk_sysin>;
147 clock-output-names = "clk-s-c0-pll0-odf-0";
148 clock-critical = <0>; /* clk-s-c0-pll0-odf-0 */
151 clk_s_c0_pll1: clk-s-c0-pll1 {
153 compatible = "st,clkgen-pll1";
155 clocks = <&clk_sysin>;
157 clock-output-names = "clk-s-c0-pll1-odf-0";
160 clk_s_c0_flexgen: clk-s-c0-flexgen {
162 compatible = "st,flexgen";
164 clocks = <&clk_s_c0_pll0 0>,
166 <&clk_s_c0_quadfs 0>,
167 <&clk_s_c0_quadfs 1>,
168 <&clk_s_c0_quadfs 2>,
169 <&clk_s_c0_quadfs 3>,
172 clock-output-names = "clk-icn-gpu",
199 "clk-eth-ref-phyclk",
211 clock-critical = <CLK_PROC_STFE>,
220 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
222 compatible = "st,quadfs";
223 reg = <0x9104000 0x1000>;
225 clocks = <&clk_sysin>;
227 clock-output-names = "clk-s-d0-fs0-ch0",
233 clockgen-d0@09104000 {
234 compatible = "st,clkgen-c32";
235 reg = <0x9104000 0x1000>;
237 clk_s_d0_flexgen: clk-s-d0-flexgen {
239 compatible = "st,flexgen-audio", "st,flexgen";
241 clocks = <&clk_s_d0_quadfs 0>,
242 <&clk_s_d0_quadfs 1>,
243 <&clk_s_d0_quadfs 2>,
244 <&clk_s_d0_quadfs 3>,
247 clock-output-names = "clk-pcm-0",
256 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
258 compatible = "st,quadfs";
259 reg = <0x9106000 0x1000>;
261 clocks = <&clk_sysin>;
263 clock-output-names = "clk-s-d2-fs0-ch0",
269 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
271 compatible = "fixed-clock";
272 clock-frequency = <0>;
275 clockgen-d2@x9106000 {
276 compatible = "st,clkgen-c32";
277 reg = <0x9106000 0x1000>;
279 clk_s_d2_flexgen: clk-s-d2-flexgen {
281 compatible = "st,flexgen-video", "st,flexgen";
283 clocks = <&clk_s_d2_quadfs 0>,
284 <&clk_s_d2_quadfs 1>,
285 <&clk_s_d2_quadfs 2>,
286 <&clk_s_d2_quadfs 3>,
291 clock-output-names = "clk-pix-main-disp",
310 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
312 compatible = "st,quadfs";
313 reg = <0x9107000 0x1000>;
315 clocks = <&clk_sysin>;
317 clock-output-names = "clk-s-d3-fs0-ch0",
323 clockgen-d3@9107000 {
324 compatible = "st,clkgen-c32";
325 reg = <0x9107000 0x1000>;
327 clk_s_d3_flexgen: clk-s-d3-flexgen {
329 compatible = "st,flexgen";
331 clocks = <&clk_s_d3_quadfs 0>,
332 <&clk_s_d3_quadfs 1>,
333 <&clk_s_d3_quadfs 2>,
334 <&clk_s_d3_quadfs 3>,
337 clock-output-names = "clk-stfe-frc1",