1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 STMicroelectronics R&D Limited
5 #include <dt-bindings/clock/stih410-clks.h>
8 * Fixed 30MHz oscillator inputs to SoC
10 clk_sysin: clk-sysin {
12 compatible = "fixed-clock";
13 clock-frequency = <30000000>;
14 clock-output-names = "CLK_SYSIN";
17 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
19 compatible = "fixed-clock";
20 clock-frequency = <0>;
28 compatible = "st,stih410-clk", "simple-bus";
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", "st,clkgen-mux";
53 reg = <0x92b0000 0x10000>;
55 clocks = <&clockgen_a9_pll 0>,
57 <&clk_s_c0_flexgen 13>,
58 <&clk_m_a9_ext2f_div2>;
60 * ARM Peripheral clock for timers
62 arm_periph_clk: clk-m-a9-periphs {
64 compatible = "fixed-factor-clock";
72 compatible = "st,clkgen-c32";
73 reg = <0x90ff000 0x1000>;
75 clk_s_a0_pll: clk-s-a0-pll {
77 compatible = "st,clkgen-pll0";
79 clocks = <&clk_sysin>;
81 clock-output-names = "clk-s-a0-pll-ofd-0";
82 clock-critical = <0>; /* clk-s-a0-pll-ofd-0 */
85 clk_s_a0_flexgen: clk-s-a0-flexgen {
86 compatible = "st,flexgen";
90 clocks = <&clk_s_a0_pll 0>,
93 clock-output-names = "clk-ic-lmi0",
95 clock-critical = <CLK_IC_LMI0>;
99 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
101 compatible = "st,quadfs-pll";
102 reg = <0x9103000 0x1000>;
104 clocks = <&clk_sysin>;
106 clock-output-names = "clk-s-c0-fs0-ch0",
110 clock-critical = <0>; /* clk-s-c0-fs0-ch0 */
113 clk_s_c0: clockgen-c@9103000 {
114 compatible = "st,clkgen-c32";
115 reg = <0x9103000 0x1000>;
117 clk_s_c0_pll0: clk-s-c0-pll0 {
119 compatible = "st,clkgen-pll0";
121 clocks = <&clk_sysin>;
123 clock-output-names = "clk-s-c0-pll0-odf-0";
124 clock-critical = <0>; /* clk-s-c0-pll0-odf-0 */
127 clk_s_c0_pll1: clk-s-c0-pll1 {
129 compatible = "st,clkgen-pll1";
131 clocks = <&clk_sysin>;
133 clock-output-names = "clk-s-c0-pll1-odf-0";
136 clk_s_c0_flexgen: clk-s-c0-flexgen {
138 compatible = "st,flexgen";
140 clocks = <&clk_s_c0_pll0 0>,
142 <&clk_s_c0_quadfs 0>,
143 <&clk_s_c0_quadfs 1>,
144 <&clk_s_c0_quadfs 2>,
145 <&clk_s_c0_quadfs 3>,
148 clock-output-names = "clk-icn-gpu",
175 "clk-eth-ref-phyclk",
187 clock-critical = <CLK_PROC_STFE>,
195 * ARM Peripheral clock for timers
197 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
199 compatible = "fixed-factor-clock";
201 clocks = <&clk_s_c0_flexgen 13>;
203 clock-output-names = "clk-m-a9-ext2f-div2";
211 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
213 compatible = "st,quadfs";
214 reg = <0x9104000 0x1000>;
216 clocks = <&clk_sysin>;
218 clock-output-names = "clk-s-d0-fs0-ch0",
224 clockgen-d0@9104000 {
225 compatible = "st,clkgen-c32";
226 reg = <0x9104000 0x1000>;
228 clk_s_d0_flexgen: clk-s-d0-flexgen {
230 compatible = "st,flexgen-audio", "st,flexgen";
232 clocks = <&clk_s_d0_quadfs 0>,
233 <&clk_s_d0_quadfs 1>,
234 <&clk_s_d0_quadfs 2>,
235 <&clk_s_d0_quadfs 3>,
238 clock-output-names = "clk-pcm-0",
247 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
249 compatible = "st,quadfs";
250 reg = <0x9106000 0x1000>;
252 clocks = <&clk_sysin>;
254 clock-output-names = "clk-s-d2-fs0-ch0",
260 clockgen-d2@9106000 {
261 compatible = "st,clkgen-c32";
262 reg = <0x9106000 0x1000>;
264 clk_s_d2_flexgen: clk-s-d2-flexgen {
266 compatible = "st,flexgen-video", "st,flexgen";
268 clocks = <&clk_s_d2_quadfs 0>,
269 <&clk_s_d2_quadfs 1>,
270 <&clk_s_d2_quadfs 2>,
271 <&clk_s_d2_quadfs 3>,
276 clock-output-names = "clk-pix-main-disp",
295 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
297 compatible = "st,quadfs";
298 reg = <0x9107000 0x1000>;
300 clocks = <&clk_sysin>;
302 clock-output-names = "clk-s-d3-fs0-ch0",
308 clockgen-d3@9107000 {
309 compatible = "st,clkgen-c32";
310 reg = <0x9107000 0x1000>;
312 clk_s_d3_flexgen: clk-s-d3-flexgen {
314 compatible = "st,flexgen";
316 clocks = <&clk_s_d3_quadfs 0>,
317 <&clk_s_d3_quadfs 1>,
318 <&clk_s_d3_quadfs 2>,
319 <&clk_s_d3_quadfs 3>,
322 clock-output-names = "clk-stfe-frc1",