1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 STMicroelectronics R&D Limited
5 #include <dt-bindings/clock/stih418-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,stih418-clk", "simple-bus";
34 compatible = "st,clkgen-c32";
35 reg = <0x92b0000 0xffff>;
37 clockgen_a9_pll: clockgen-a9-pll {
39 compatible = "st,stih418-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>;
61 * ARM Peripheral clock for timers
63 arm_periph_clk: clk-m-a9-periphs {
65 compatible = "fixed-factor-clock";
73 compatible = "st,clkgen-c32";
74 reg = <0x90ff000 0x1000>;
76 clk_s_a0_pll: clk-s-a0-pll {
78 compatible = "st,clkgen-pll0";
80 clocks = <&clk_sysin>;
82 clock-output-names = "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",
98 clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
100 compatible = "st,quadfs-pll";
101 reg = <0x9103000 0x1000>;
103 clocks = <&clk_sysin>;
105 clock-output-names = "clk-s-c0-fs0-ch0",
111 clk_s_c0: clockgen-c@9103000 {
112 compatible = "st,clkgen-c32";
113 reg = <0x9103000 0x1000>;
115 clk_s_c0_pll0: clk-s-c0-pll0 {
117 compatible = "st,clkgen-pll0";
119 clocks = <&clk_sysin>;
121 clock-output-names = "clk-s-c0-pll0-odf-0";
124 clk_s_c0_pll1: clk-s-c0-pll1 {
126 compatible = "st,clkgen-pll1";
128 clocks = <&clk_sysin>;
130 clock-output-names = "clk-s-c0-pll1-odf-0";
133 clk_s_c0_flexgen: clk-s-c0-flexgen {
135 compatible = "st,flexgen";
137 clocks = <&clk_s_c0_pll0 0>,
139 <&clk_s_c0_quadfs 0>,
140 <&clk_s_c0_quadfs 1>,
141 <&clk_s_c0_quadfs 2>,
142 <&clk_s_c0_quadfs 3>,
145 clock-output-names = "clk-icn-gpu",
172 "clk-eth-ref-phyclk",
189 * ARM Peripheral clock for timers
191 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
193 compatible = "fixed-factor-clock";
195 clocks = <&clk_s_c0_flexgen 13>;
197 clock-output-names = "clk-m-a9-ext2f-div2";
205 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
207 compatible = "st,quadfs";
208 reg = <0x9104000 0x1000>;
210 clocks = <&clk_sysin>;
212 clock-output-names = "clk-s-d0-fs0-ch0",
218 clockgen-d0@9104000 {
219 compatible = "st,clkgen-c32";
220 reg = <0x9104000 0x1000>;
222 clk_s_d0_flexgen: clk-s-d0-flexgen {
224 compatible = "st,flexgen-audio", "st,flexgen";
226 clocks = <&clk_s_d0_quadfs 0>,
227 <&clk_s_d0_quadfs 1>,
228 <&clk_s_d0_quadfs 2>,
229 <&clk_s_d0_quadfs 3>,
232 clock-output-names = "clk-pcm-0",
241 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
243 compatible = "st,quadfs";
244 reg = <0x9106000 0x1000>;
246 clocks = <&clk_sysin>;
248 clock-output-names = "clk-s-d2-fs0-ch0",
254 clockgen-d2@9106000 {
255 compatible = "st,clkgen-c32";
256 reg = <0x9106000 0x1000>;
258 clk_s_d2_flexgen: clk-s-d2-flexgen {
260 compatible = "st,flexgen-video", "st,flexgen";
262 clocks = <&clk_s_d2_quadfs 0>,
263 <&clk_s_d2_quadfs 1>,
264 <&clk_s_d2_quadfs 2>,
265 <&clk_s_d2_quadfs 3>,
270 clock-output-names = "clk-pix-main-disp",
275 "clk-tmds-hdmi-div2",
296 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
298 compatible = "st,quadfs";
299 reg = <0x9107000 0x1000>;
301 clocks = <&clk_sysin>;
303 clock-output-names = "clk-s-d3-fs0-ch0",
309 clockgen-d3@9107000 {
310 compatible = "st,clkgen-c32";
311 reg = <0x9107000 0x1000>;
313 clk_s_d3_flexgen: clk-s-d3-flexgen {
315 compatible = "st,flexgen";
317 clocks = <&clk_s_d3_quadfs 0>,
318 <&clk_s_d3_quadfs 1>,
319 <&clk_s_d3_quadfs 2>,
320 <&clk_s_d3_quadfs 3>,
323 clock-output-names = "clk-stfe-frc1",