2 * Copyright (C) 2015 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/stih418-clks.h>
15 compatible = "st,stih418-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,stih418-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";
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,quadfs-pll";
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,clkgen-pll0";
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,clkgen-pll1";
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",
213 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
215 compatible = "st,quadfs";
216 reg = <0x9104000 0x1000>;
218 clocks = <&clk_sysin>;
220 clock-output-names = "clk-s-d0-fs0-ch0",
226 clockgen-d0@09104000 {
227 compatible = "st,clkgen-c32";
228 reg = <0x9104000 0x1000>;
230 clk_s_d0_flexgen: clk-s-d0-flexgen {
232 compatible = "st,flexgen-audio", "st,flexgen";
234 clocks = <&clk_s_d0_quadfs 0>,
235 <&clk_s_d0_quadfs 1>,
236 <&clk_s_d0_quadfs 2>,
237 <&clk_s_d0_quadfs 3>,
240 clock-output-names = "clk-pcm-0",
249 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
251 compatible = "st,quadfs";
252 reg = <0x9106000 0x1000>;
254 clocks = <&clk_sysin>;
256 clock-output-names = "clk-s-d2-fs0-ch0",
262 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
264 compatible = "fixed-clock";
265 clock-frequency = <0>;
268 clockgen-d2@x9106000 {
269 compatible = "st,clkgen-c32";
270 reg = <0x9106000 0x1000>;
272 clk_s_d2_flexgen: clk-s-d2-flexgen {
274 compatible = "st,flexgen-video", "st,flexgen";
276 clocks = <&clk_s_d2_quadfs 0>,
277 <&clk_s_d2_quadfs 1>,
278 <&clk_s_d2_quadfs 2>,
279 <&clk_s_d2_quadfs 3>,
284 clock-output-names = "clk-pix-main-disp",
289 "clk-tmds-hdmi-div2",
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",