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>
11 * Fixed 30MHz oscillator inputs to SoC
13 clk_sysin: clk-sysin {
15 compatible = "fixed-clock";
16 clock-frequency = <30000000>;
17 clock-output-names = "CLK_SYSIN";
20 clk_tmdsout_hdmi: clk-tmdsout-hdmi {
22 compatible = "fixed-clock";
23 clock-frequency = <0>;
31 compatible = "st,stih418-clk", "simple-bus";
37 compatible = "st,clkgen-c32";
38 reg = <0x92b0000 0xffff>;
40 clockgen_a9_pll: clockgen-a9-pll {
42 compatible = "st,stih418-clkgen-plla9";
44 clocks = <&clk_sysin>;
46 clock-output-names = "clockgen-a9-pll-odf";
51 * ARM CPU related clocks.
53 clk_m_a9: clk-m-a9@92b0000 {
55 compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux";
56 reg = <0x92b0000 0x10000>;
58 clocks = <&clockgen_a9_pll 0>,
60 <&clk_s_c0_flexgen 13>,
61 <&clk_m_a9_ext2f_div2>;
64 * ARM Peripheral clock for timers
66 arm_periph_clk: clk-m-a9-periphs {
68 compatible = "fixed-factor-clock";
76 compatible = "st,clkgen-c32";
77 reg = <0x90ff000 0x1000>;
79 clk_s_a0_pll: clk-s-a0-pll {
81 compatible = "st,clkgen-pll0";
83 clocks = <&clk_sysin>;
85 clock-output-names = "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",
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",
114 clk_s_c0: clockgen-c@9103000 {
115 compatible = "st,clkgen-c32";
116 reg = <0x9103000 0x1000>;
118 clk_s_c0_pll0: clk-s-c0-pll0 {
120 compatible = "st,clkgen-pll0";
122 clocks = <&clk_sysin>;
124 clock-output-names = "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",
192 * ARM Peripheral clock for timers
194 clk_m_a9_ext2f_div2: clk-m-a9-ext2f-div2s {
196 compatible = "fixed-factor-clock";
198 clocks = <&clk_s_c0_flexgen 13>;
200 clock-output-names = "clk-m-a9-ext2f-div2";
208 clk_s_d0_quadfs: clk-s-d0-quadfs@9104000 {
210 compatible = "st,quadfs";
211 reg = <0x9104000 0x1000>;
213 clocks = <&clk_sysin>;
215 clock-output-names = "clk-s-d0-fs0-ch0",
221 clockgen-d0@9104000 {
222 compatible = "st,clkgen-c32";
223 reg = <0x9104000 0x1000>;
225 clk_s_d0_flexgen: clk-s-d0-flexgen {
227 compatible = "st,flexgen-audio", "st,flexgen";
229 clocks = <&clk_s_d0_quadfs 0>,
230 <&clk_s_d0_quadfs 1>,
231 <&clk_s_d0_quadfs 2>,
232 <&clk_s_d0_quadfs 3>,
235 clock-output-names = "clk-pcm-0",
244 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
246 compatible = "st,quadfs";
247 reg = <0x9106000 0x1000>;
249 clocks = <&clk_sysin>;
251 clock-output-names = "clk-s-d2-fs0-ch0",
257 clockgen-d2@9106000 {
258 compatible = "st,clkgen-c32";
259 reg = <0x9106000 0x1000>;
261 clk_s_d2_flexgen: clk-s-d2-flexgen {
263 compatible = "st,flexgen-video", "st,flexgen";
265 clocks = <&clk_s_d2_quadfs 0>,
266 <&clk_s_d2_quadfs 1>,
267 <&clk_s_d2_quadfs 2>,
268 <&clk_s_d2_quadfs 3>,
273 clock-output-names = "clk-pix-main-disp",
278 "clk-tmds-hdmi-div2",
299 clk_s_d3_quadfs: clk-s-d3-quadfs@9107000 {
301 compatible = "st,quadfs";
302 reg = <0x9107000 0x1000>;
304 clocks = <&clk_sysin>;
306 clock-output-names = "clk-s-d3-fs0-ch0",
312 clockgen-d3@9107000 {
313 compatible = "st,clkgen-c32";
314 reg = <0x9107000 0x1000>;
316 clk_s_d3_flexgen: clk-s-d3-flexgen {
318 compatible = "st,flexgen";
320 clocks = <&clk_s_d3_quadfs 0>,
321 <&clk_s_d3_quadfs 1>,
322 <&clk_s_d3_quadfs 2>,
323 <&clk_s_d3_quadfs 3>,
326 clock-output-names = "clk-stfe-frc1",