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-plls-c32-a9", "st,clkgen-plls-c32";
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,stih407-plls-c32-a0", "st,clkgen-plls-c32";
103 clocks = <&clk_sysin>;
105 clock-output-names = "clk-s-a0-pll-ofd-0";
108 clk_s_a0_flexgen: clk-s-a0-flexgen {
109 compatible = "st,flexgen";
113 clocks = <&clk_s_a0_pll 0>,
116 clock-output-names = "clk-ic-lmi0",
121 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
123 compatible = "st,stih407-quadfs660-C", "st,quadfs";
124 reg = <0x9103000 0x1000>;
126 clocks = <&clk_sysin>;
128 clock-output-names = "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,plls-c32-cx_0", "st,clkgen-plls-c32";
142 clocks = <&clk_sysin>;
144 clock-output-names = "clk-s-c0-pll0-odf-0";
147 clk_s_c0_pll1: clk-s-c0-pll1 {
149 compatible = "st,plls-c32-cx_1", "st,clkgen-plls-c32";
151 clocks = <&clk_sysin>;
153 clock-output-names = "clk-s-c0-pll1-odf-0";
156 clk_s_c0_flexgen: clk-s-c0-flexgen {
158 compatible = "st,flexgen";
160 clocks = <&clk_s_c0_pll0 0>,
162 <&clk_s_c0_quadfs 0>,
163 <&clk_s_c0_quadfs 1>,
164 <&clk_s_c0_quadfs 2>,
165 <&clk_s_c0_quadfs 3>,
168 clock-output-names = "clk-icn-gpu",
195 "clk-eth-ref-phyclk",
210 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
212 compatible = "st,stih407-quadfs660-D", "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";
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",
246 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
248 compatible = "st,stih407-quadfs660-D", "st,quadfs";
249 reg = <0x9106000 0x1000>;
251 clocks = <&clk_sysin>;
253 clock-output-names = "clk-s-d2-fs0-ch0",
259 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
261 compatible = "fixed-clock";
262 clock-frequency = <0>;
265 clockgen-d2@x9106000 {
266 compatible = "st,clkgen-c32";
267 reg = <0x9106000 0x1000>;
269 clk_s_d2_flexgen: clk-s-d2-flexgen {
271 compatible = "st,flexgen";
273 clocks = <&clk_s_d2_quadfs 0>,
274 <&clk_s_d2_quadfs 1>,
275 <&clk_s_d2_quadfs 2>,
276 <&clk_s_d2_quadfs 3>,
281 clock-output-names = "clk-pix-main-disp",
300 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
302 compatible = "st,stih407-quadfs660-D", "st,quadfs";
303 reg = <0x9107000 0x1000>;
305 clocks = <&clk_sysin>;
307 clock-output-names = "clk-s-d3-fs0-ch0",
313 clockgen-d3@9107000 {
314 compatible = "st,clkgen-c32";
315 reg = <0x9107000 0x1000>;
317 clk_s_d3_flexgen: clk-s-d3-flexgen {
319 compatible = "st,flexgen";
321 clocks = <&clk_s_d3_quadfs 0>,
322 <&clk_s_d3_quadfs 1>,
323 <&clk_s_d3_quadfs 2>,
324 <&clk_s_d3_quadfs 3>,
327 clock-output-names = "clk-stfe-frc1",