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_ICN_CPU>,
219 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
221 compatible = "st,quadfs";
222 reg = <0x9104000 0x1000>;
224 clocks = <&clk_sysin>;
226 clock-output-names = "clk-s-d0-fs0-ch0",
232 clockgen-d0@09104000 {
233 compatible = "st,clkgen-c32";
234 reg = <0x9104000 0x1000>;
236 clk_s_d0_flexgen: clk-s-d0-flexgen {
238 compatible = "st,flexgen-audio", "st,flexgen";
240 clocks = <&clk_s_d0_quadfs 0>,
241 <&clk_s_d0_quadfs 1>,
242 <&clk_s_d0_quadfs 2>,
243 <&clk_s_d0_quadfs 3>,
246 clock-output-names = "clk-pcm-0",
255 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
257 compatible = "st,quadfs";
258 reg = <0x9106000 0x1000>;
260 clocks = <&clk_sysin>;
262 clock-output-names = "clk-s-d2-fs0-ch0",
268 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
270 compatible = "fixed-clock";
271 clock-frequency = <0>;
274 clockgen-d2@x9106000 {
275 compatible = "st,clkgen-c32";
276 reg = <0x9106000 0x1000>;
278 clk_s_d2_flexgen: clk-s-d2-flexgen {
280 compatible = "st,flexgen-video", "st,flexgen";
282 clocks = <&clk_s_d2_quadfs 0>,
283 <&clk_s_d2_quadfs 1>,
284 <&clk_s_d2_quadfs 2>,
285 <&clk_s_d2_quadfs 3>,
290 clock-output-names = "clk-pix-main-disp",
309 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
311 compatible = "st,quadfs";
312 reg = <0x9107000 0x1000>;
314 clocks = <&clk_sysin>;
316 clock-output-names = "clk-s-d3-fs0-ch0",
322 clockgen-d3@9107000 {
323 compatible = "st,clkgen-c32";
324 reg = <0x9107000 0x1000>;
326 clk_s_d3_flexgen: clk-s-d3-flexgen {
328 compatible = "st,flexgen";
330 clocks = <&clk_s_d3_quadfs 0>,
331 <&clk_s_d3_quadfs 1>,
332 <&clk_s_d3_quadfs 2>,
333 <&clk_s_d3_quadfs 3>,
336 clock-output-names = "clk-stfe-frc1",