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>
11 * Fixed 30MHz oscillator inputs to SoC
13 clk_sysin: clk-sysin {
15 compatible = "fixed-clock";
16 clock-frequency = <30000000>;
19 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
21 compatible = "fixed-clock";
22 clock-frequency = <0>;
34 compatible = "st,clkgen-c32";
35 reg = <0x92b0000 0xffff>;
37 clockgen_a9_pll: clockgen-a9-pll {
39 compatible = "st,stih407-clkgen-plla9";
41 clocks = <&clk_sysin>;
43 clock-output-names = "clockgen-a9-pll-odf";
48 * ARM CPU related clocks.
50 clk_m_a9: clk-m-a9@92b0000 {
52 compatible = "st,stih407-clkgen-a9-mux";
53 reg = <0x92b0000 0x10000>;
55 clocks = <&clockgen_a9_pll 0>,
57 <&clk_s_c0_flexgen 13>,
58 <&clk_m_a9_ext2f_div2>;
62 * ARM Peripheral clock for timers
64 arm_periph_clk: clk-m-a9-periphs {
66 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";
97 clock-critical = <CLK_IC_LMI0>;
101 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
103 compatible = "st,quadfs-pll";
104 reg = <0x9103000 0x1000>;
106 clocks = <&clk_sysin>;
108 clock-output-names = "clk-s-c0-fs0-ch0",
112 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */
115 clk_s_c0: clockgen-c@9103000 {
116 compatible = "st,clkgen-c32";
117 reg = <0x9103000 0x1000>;
119 clk_s_c0_pll0: clk-s-c0-pll0 {
121 compatible = "st,clkgen-pll0";
123 clocks = <&clk_sysin>;
125 clock-output-names = "clk-s-c0-pll0-odf-0";
126 clock-critical = <0>; /* clk-s-c0-pll0-odf-0 */
129 clk_s_c0_pll1: clk-s-c0-pll1 {
131 compatible = "st,clkgen-pll1";
133 clocks = <&clk_sysin>;
135 clock-output-names = "clk-s-c0-pll1-odf-0";
138 clk_s_c0_flexgen: clk-s-c0-flexgen {
140 compatible = "st,flexgen";
142 clocks = <&clk_s_c0_pll0 0>,
144 <&clk_s_c0_quadfs 0>,
145 <&clk_s_c0_quadfs 1>,
146 <&clk_s_c0_quadfs 2>,
147 <&clk_s_c0_quadfs 3>,
150 clock-output-names = "clk-icn-gpu",
177 "clk-eth-ref-phyclk",
182 clock-critical = <CLK_PROC_STFE>,
190 * ARM Peripheral clock for timers
192 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
194 compatible = "fixed-factor-clock";
196 clocks = <&clk_s_c0_flexgen 13>;
198 clock-output-names = "clk-m-a9-ext2f-div2";
206 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
208 compatible = "st,quadfs";
209 reg = <0x9104000 0x1000>;
211 clocks = <&clk_sysin>;
213 clock-output-names = "clk-s-d0-fs0-ch0",
219 clockgen-d0@9104000 {
220 compatible = "st,clkgen-c32";
221 reg = <0x9104000 0x1000>;
223 clk_s_d0_flexgen: clk-s-d0-flexgen {
225 compatible = "st,flexgen-audio", "st,flexgen";
227 clocks = <&clk_s_d0_quadfs 0>,
228 <&clk_s_d0_quadfs 1>,
229 <&clk_s_d0_quadfs 2>,
230 <&clk_s_d0_quadfs 3>,
233 clock-output-names = "clk-pcm-0",
240 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
242 compatible = "st,quadfs";
243 reg = <0x9106000 0x1000>;
245 clocks = <&clk_sysin>;
247 clock-output-names = "clk-s-d2-fs0-ch0",
253 clockgen-d2@9106000 {
254 compatible = "st,clkgen-c32";
255 reg = <0x9106000 0x1000>;
257 clk_s_d2_flexgen: clk-s-d2-flexgen {
259 compatible = "st,flexgen-video", "st,flexgen";
261 clocks = <&clk_s_d2_quadfs 0>,
262 <&clk_s_d2_quadfs 1>,
263 <&clk_s_d2_quadfs 2>,
264 <&clk_s_d2_quadfs 3>,
269 clock-output-names = "clk-pix-main-disp",
288 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
290 compatible = "st,quadfs";
291 reg = <0x9107000 0x1000>;
293 clocks = <&clk_sysin>;
295 clock-output-names = "clk-s-d3-fs0-ch0",
301 clockgen-d3@9107000 {
302 compatible = "st,clkgen-c32";
303 reg = <0x9107000 0x1000>;
305 clk_s_d3_flexgen: clk-s-d3-flexgen {
307 compatible = "st,flexgen";
309 clocks = <&clk_s_d3_quadfs 0>,
310 <&clk_s_d3_quadfs 1>,
311 <&clk_s_d3_quadfs 2>,
312 <&clk_s_d3_quadfs 3>,
315 clock-output-names = "clk-stfe-frc1",