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/stih407-clks.h>
16 * Fixed 30MHz oscillator inputs to SoC
18 clk_sysin: clk-sysin {
20 compatible = "fixed-clock";
21 clock-frequency = <30000000>;
25 * ARM Peripheral clock for timers
27 arm_periph_clk: clk-m-a9-periphs {
29 compatible = "fixed-factor-clock";
40 compatible = "st,clkgen-c32";
41 reg = <0x92b0000 0xffff>;
43 clockgen_a9_pll: clockgen-a9-pll {
45 compatible = "st,stih407-clkgen-plla9";
47 clocks = <&clk_sysin>;
49 clock-output-names = "clockgen-a9-pll-odf";
54 * ARM CPU related clocks.
56 clk_m_a9: clk-m-a9@92b0000 {
58 compatible = "st,stih407-clkgen-a9-mux";
59 reg = <0x92b0000 0x10000>;
61 clocks = <&clockgen_a9_pll 0>,
63 <&clk_s_c0_flexgen 13>,
64 <&clk_m_a9_ext2f_div2>;
68 * ARM Peripheral clock for timers
70 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
72 compatible = "fixed-factor-clock";
74 clocks = <&clk_s_c0_flexgen 13>;
76 clock-output-names = "clk-m-a9-ext2f-div2";
83 * Bootloader initialized system infrastructure clock for
86 clk_ext2f_a9: clockgen-c0@13 {
88 compatible = "fixed-clock";
89 clock-frequency = <200000000>;
90 clock-output-names = "clk-s-icn-reg-0";
94 compatible = "st,clkgen-c32";
95 reg = <0x90ff000 0x1000>;
97 clk_s_a0_pll: clk-s-a0-pll {
99 compatible = "st,clkgen-pll0";
101 clocks = <&clk_sysin>;
103 clock-output-names = "clk-s-a0-pll-ofd-0";
104 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
107 clk_s_a0_flexgen: clk-s-a0-flexgen {
108 compatible = "st,flexgen";
112 clocks = <&clk_s_a0_pll 0>,
115 clock-output-names = "clk-ic-lmi0";
116 clock-critical = <CLK_IC_LMI0>;
120 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
122 compatible = "st,quadfs-pll";
123 reg = <0x9103000 0x1000>;
125 clocks = <&clk_sysin>;
127 clock-output-names = "clk-s-c0-fs0-ch0",
131 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */
134 clk_s_c0: clockgen-c@09103000 {
135 compatible = "st,clkgen-c32";
136 reg = <0x9103000 0x1000>;
138 clk_s_c0_pll0: clk-s-c0-pll0 {
140 compatible = "st,clkgen-pll0";
142 clocks = <&clk_sysin>;
144 clock-output-names = "clk-s-c0-pll0-odf-0";
145 clock-critical = <0>; /* clk-s-c0-pll0-odf-0 */
148 clk_s_c0_pll1: clk-s-c0-pll1 {
150 compatible = "st,clkgen-pll1";
152 clocks = <&clk_sysin>;
154 clock-output-names = "clk-s-c0-pll1-odf-0";
157 clk_s_c0_flexgen: clk-s-c0-flexgen {
159 compatible = "st,flexgen";
161 clocks = <&clk_s_c0_pll0 0>,
163 <&clk_s_c0_quadfs 0>,
164 <&clk_s_c0_quadfs 1>,
165 <&clk_s_c0_quadfs 2>,
166 <&clk_s_c0_quadfs 3>,
169 clock-output-names = "clk-icn-gpu",
196 "clk-eth-ref-phyclk",
201 clock-critical = <CLK_PROC_STFE>,
210 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
212 compatible = "st,quadfs";
213 reg = <0x9104000 0x1000>;
215 clocks = <&clk_sysin>;
217 clock-output-names = "clk-s-d0-fs0-ch0",
223 clockgen-d0@09104000 {
224 compatible = "st,clkgen-c32";
225 reg = <0x9104000 0x1000>;
227 clk_s_d0_flexgen: clk-s-d0-flexgen {
229 compatible = "st,flexgen-audio", "st,flexgen";
231 clocks = <&clk_s_d0_quadfs 0>,
232 <&clk_s_d0_quadfs 1>,
233 <&clk_s_d0_quadfs 2>,
234 <&clk_s_d0_quadfs 3>,
237 clock-output-names = "clk-pcm-0",
244 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
246 compatible = "st,quadfs";
247 reg = <0x9106000 0x1000>;
249 clocks = <&clk_sysin>;
251 clock-output-names = "clk-s-d2-fs0-ch0",
257 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
259 compatible = "fixed-clock";
260 clock-frequency = <0>;
263 clockgen-d2@x9106000 {
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",