2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License version 2 as
4 * published by the Free Software Foundation.
9 * See TRM "2.6.10 Connected outputso DPLLS" and
10 * "2.6.11 Connected Outputs of DPLLJ". Only clkout is
11 * connected except for hdmi and usb.
13 adpll_mpu_ck: adpll@40 {
15 compatible = "ti,dm814-adpll-s-clock";
17 clocks = <&devosc_ck &devosc_ck &devosc_ck>;
18 clock-names = "clkinp", "clkinpulow", "clkinphif";
19 clock-output-names = "481c5040.adpll.dcoclkldo",
20 "481c5040.adpll.clkout",
21 "481c5040.adpll.clkoutx2",
22 "481c5040.adpll.clkouthif";
25 adpll_dsp_ck: adpll@80 {
27 compatible = "ti,dm814-adpll-lj-clock";
29 clocks = <&devosc_ck &devosc_ck>;
30 clock-names = "clkinp", "clkinpulow";
31 clock-output-names = "481c5080.adpll.dcoclkldo",
32 "481c5080.adpll.clkout",
33 "481c5080.adpll.clkoutldo";
36 adpll_sgx_ck: adpll@b0 {
38 compatible = "ti,dm814-adpll-lj-clock";
40 clocks = <&devosc_ck &devosc_ck>;
41 clock-names = "clkinp", "clkinpulow";
42 clock-output-names = "481c50b0.adpll.dcoclkldo",
43 "481c50b0.adpll.clkout",
44 "481c50b0.adpll.clkoutldo";
47 adpll_hdvic_ck: adpll@e0 {
49 compatible = "ti,dm814-adpll-lj-clock";
51 clocks = <&devosc_ck &devosc_ck>;
52 clock-names = "clkinp", "clkinpulow";
53 clock-output-names = "481c50e0.adpll.dcoclkldo",
54 "481c50e0.adpll.clkout",
55 "481c50e0.adpll.clkoutldo";
58 adpll_l3_ck: adpll@110 {
60 compatible = "ti,dm814-adpll-lj-clock";
62 clocks = <&devosc_ck &devosc_ck>;
63 clock-names = "clkinp", "clkinpulow";
64 clock-output-names = "481c5110.adpll.dcoclkldo",
65 "481c5110.adpll.clkout",
66 "481c5110.adpll.clkoutldo";
69 adpll_isp_ck: adpll@140 {
71 compatible = "ti,dm814-adpll-lj-clock";
73 clocks = <&devosc_ck &devosc_ck>;
74 clock-names = "clkinp", "clkinpulow";
75 clock-output-names = "481c5140.adpll.dcoclkldo",
76 "481c5140.adpll.clkout",
77 "481c5140.adpll.clkoutldo";
80 adpll_dss_ck: adpll@170 {
82 compatible = "ti,dm814-adpll-lj-clock";
84 clocks = <&devosc_ck &devosc_ck>;
85 clock-names = "clkinp", "clkinpulow";
86 clock-output-names = "481c5170.adpll.dcoclkldo",
87 "481c5170.adpll.clkout",
88 "481c5170.adpll.clkoutldo";
91 adpll_video0_ck: adpll@1a0 {
93 compatible = "ti,dm814-adpll-lj-clock";
95 clocks = <&devosc_ck &devosc_ck>;
96 clock-names = "clkinp", "clkinpulow";
97 clock-output-names = "481c51a0.adpll.dcoclkldo",
98 "481c51a0.adpll.clkout",
99 "481c51a0.adpll.clkoutldo";
102 adpll_video1_ck: adpll@1d0 {
104 compatible = "ti,dm814-adpll-lj-clock";
106 clocks = <&devosc_ck &devosc_ck>;
107 clock-names = "clkinp", "clkinpulow";
108 clock-output-names = "481c51d0.adpll.dcoclkldo",
109 "481c51d0.adpll.clkout",
110 "481c51d0.adpll.clkoutldo";
113 adpll_hdmi_ck: adpll@200 {
115 compatible = "ti,dm814-adpll-lj-clock";
117 clocks = <&devosc_ck &devosc_ck>;
118 clock-names = "clkinp", "clkinpulow";
119 clock-output-names = "481c5200.adpll.dcoclkldo",
120 "481c5200.adpll.clkout",
121 "481c5200.adpll.clkoutldo";
124 adpll_audio_ck: adpll@230 {
126 compatible = "ti,dm814-adpll-lj-clock";
128 clocks = <&devosc_ck &devosc_ck>;
129 clock-names = "clkinp", "clkinpulow";
130 clock-output-names = "481c5230.adpll.dcoclkldo",
131 "481c5230.adpll.clkout",
132 "481c5230.adpll.clkoutldo";
135 adpll_usb_ck: adpll@260 {
137 compatible = "ti,dm814-adpll-lj-clock";
139 clocks = <&devosc_ck &devosc_ck>;
140 clock-names = "clkinp", "clkinpulow";
141 clock-output-names = "481c5260.adpll.dcoclkldo",
142 "481c5260.adpll.clkout",
143 "481c5260.adpll.clkoutldo";
146 adpll_ddr_ck: adpll@290 {
148 compatible = "ti,dm814-adpll-lj-clock";
150 clocks = <&devosc_ck &devosc_ck>;
151 clock-names = "clkinp", "clkinpulow";
152 clock-output-names = "481c5290.adpll.dcoclkldo",
153 "481c5290.adpll.clkout",
154 "481c5290.adpll.clkoutldo";
159 timer1_fck: timer1_fck@2e0 {
161 compatible = "ti,mux-clock";
162 clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
163 &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;
168 timer2_fck: timer2_fck@2e0 {
170 compatible = "ti,mux-clock";
171 clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
172 &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;
177 /* CPTS_RFT_CLK in RMII_REFCLK_SRC, usually sourced from auiod */
178 cpsw_cpts_rft_clk: cpsw_cpts_rft_clk {
180 compatible = "ti,mux-clock";
181 clocks = <&adpll_video0_ck 1
188 /* REVISIT: Set up with a proper mux using RMII_REFCLK_SRC */
189 cpsw_125mhz_gclk: cpsw_125mhz_gclk {
191 compatible = "fixed-clock";
192 clock-frequency = <125000000>;
195 sysclk18_ck: sysclk18_ck@2f0 {
197 compatible = "ti,mux-clock";
198 clocks = <&rtcosc_ck>, <&rtcdivider_ck>;
205 devosc_ck: devosc_ck@40 {
207 compatible = "ti,mux-clock";
208 clocks = <&virt_20000000_ck>, <&virt_19200000_ck>;
213 /* Optional auxosc, 20 - 30 MHz range, assume 22.5729 MHz by default */
214 auxosc_ck: auxosc_ck {
216 compatible = "fixed-clock";
217 clock-frequency = <22572900>;
220 /* Optional 32768Hz crystal or clock on RTCOSC pins */
221 rtcosc_ck: rtcosc_ck {
223 compatible = "fixed-clock";
224 clock-frequency = <32768>;
227 /* Optional external clock on TCLKIN pin, set rate in baord dts file */
228 tclkin_ck: tclkin_ck {
230 compatible = "fixed-clock";
231 clock-frequency = <0>;
234 virt_20000000_ck: virt_20000000_ck {
236 compatible = "fixed-clock";
237 clock-frequency = <20000000>;
240 virt_19200000_ck: virt_19200000_ck {
242 compatible = "fixed-clock";
243 clock-frequency = <19200000>;
248 compatible = "fixed-clock";
249 clock-frequency = <1000000000>;
254 osc_src_ck: osc_src_ck {
256 compatible = "fixed-factor-clock";
257 clocks = <&devosc_ck>;
262 mpu_clksrc_ck: mpu_clksrc_ck@40 {
264 compatible = "ti,mux-clock";
265 clocks = <&devosc_ck>, <&rtcdivider_ck>;
270 /* Fixed divider clock 0.0016384 * devosc */
271 rtcdivider_ck: rtcdivider_ck {
273 compatible = "fixed-factor-clock";
274 clocks = <&devosc_ck>;
280 sysclk4_ck: sysclk4_ck {
282 compatible = "ti,fixed-factor-clock";
283 clocks = <&adpll_l3_ck 1>;
289 sysclk5_ck: sysclk5_ck {
291 compatible = "ti,fixed-factor-clock";
292 clocks = <&adpll_l3_ck 1>;
298 sysclk6_ck: sysclk6_ck {
300 compatible = "ti,fixed-factor-clock";
301 clocks = <&adpll_l3_ck 1>;
306 sysclk8_ck: sysclk8_ck {
308 compatible = "ti,fixed-factor-clock";
309 clocks = <&adpll_usb_ck 1>;
314 sysclk10_ck: sysclk10_ck {
315 compatible = "ti,divider-clock";
319 clocks = <&adpll_usb_ck 1>;
322 aud_clkin0_ck: aud_clkin0_ck {
324 compatible = "fixed-clock";
325 clock-frequency = <20000000>;
328 aud_clkin1_ck: aud_clkin1_ck {
330 compatible = "fixed-clock";
331 clock-frequency = <20000000>;
334 aud_clkin2_ck: aud_clkin2_ck {
336 compatible = "fixed-clock";
337 clock-frequency = <20000000>;