Lines Matching refs:sysclks

39 	.sysclks   = {
48 .parent = &c6x_soc_pll1.sysclks[0],
53 .parent = &c6x_soc_pll1.sysclks[0],
58 .parent = &c6x_soc_pll1.sysclks[0],
63 .parent = &c6x_soc_pll1.sysclks[0],
68 .parent = &c6x_soc_pll1.sysclks[0],
73 .parent = &c6x_soc_pll1.sysclks[0],
78 .parent = &c6x_soc_pll1.sysclks[0],
83 .parent = &c6x_soc_pll1.sysclks[0],
88 .parent = &c6x_soc_pll1.sysclks[0],
93 .parent = &c6x_soc_pll1.sysclks[0],
98 .parent = &c6x_soc_pll1.sysclks[0],
103 .parent = &c6x_soc_pll1.sysclks[0],
108 .parent = &c6x_soc_pll1.sysclks[0],
113 .parent = &c6x_soc_pll1.sysclks[0],
118 .parent = &c6x_soc_pll1.sysclks[0],
123 .parent = &c6x_soc_pll1.sysclks[0],
158 CLK(NULL, "pll1", &c6x_soc_pll1.sysclks[0]),
159 CLK(NULL, "pll1_sysclk2", &c6x_soc_pll1.sysclks[2]),
160 CLK(NULL, "pll1_sysclk3", &c6x_soc_pll1.sysclks[3]),
161 CLK(NULL, "pll1_sysclk4", &c6x_soc_pll1.sysclks[4]),
162 CLK(NULL, "pll1_sysclk5", &c6x_soc_pll1.sysclks[5]),
174 struct clk *sysclks = pll->sysclks; in c6455_setup_clocks() local
178 sysclks[2].flags |= FIXED_DIV_PLL; in c6455_setup_clocks()
179 sysclks[2].div = 3; in c6455_setup_clocks()
180 sysclks[3].flags |= FIXED_DIV_PLL; in c6455_setup_clocks()
181 sysclks[3].div = 6; in c6455_setup_clocks()
182 sysclks[4].div = PLLDIV4; in c6455_setup_clocks()
183 sysclks[5].div = PLLDIV5; in c6455_setup_clocks()
185 c6x_core_clk.parent = &sysclks[0]; in c6455_setup_clocks()
186 c6x_i2c_clk.parent = &sysclks[3]; in c6455_setup_clocks()
187 c6x_watchdog_clk.parent = &sysclks[3]; in c6455_setup_clocks()
188 c6x_mdio_clk.parent = &sysclks[3]; in c6455_setup_clocks()
196 CLK(NULL, "pll1", &c6x_soc_pll1.sysclks[0]),
197 CLK(NULL, "pll1_sysclk1", &c6x_soc_pll1.sysclks[1]),
198 CLK(NULL, "pll1_sysclk2", &c6x_soc_pll1.sysclks[2]),
199 CLK(NULL, "pll1_sysclk3", &c6x_soc_pll1.sysclks[3]),
200 CLK(NULL, "pll1_sysclk4", &c6x_soc_pll1.sysclks[4]),
201 CLK(NULL, "pll1_sysclk5", &c6x_soc_pll1.sysclks[5]),
212 struct clk *sysclks = pll->sysclks; in c6457_setup_clocks() local
216 sysclks[1].flags |= FIXED_DIV_PLL; in c6457_setup_clocks()
217 sysclks[1].div = 1; in c6457_setup_clocks()
218 sysclks[2].flags |= FIXED_DIV_PLL; in c6457_setup_clocks()
219 sysclks[2].div = 3; in c6457_setup_clocks()
220 sysclks[3].flags |= FIXED_DIV_PLL; in c6457_setup_clocks()
221 sysclks[3].div = 6; in c6457_setup_clocks()
222 sysclks[4].div = PLLDIV4; in c6457_setup_clocks()
223 sysclks[5].div = PLLDIV5; in c6457_setup_clocks()
225 c6x_core_clk.parent = &sysclks[1]; in c6457_setup_clocks()
226 c6x_i2c_clk.parent = &sysclks[3]; in c6457_setup_clocks()
227 c6x_watchdog_clk.parent = &sysclks[5]; in c6457_setup_clocks()
228 c6x_mdio_clk.parent = &sysclks[5]; in c6457_setup_clocks()
236 CLK(NULL, "pll1", &c6x_soc_pll1.sysclks[0]),
237 CLK(NULL, "pll1_sysclk1", &c6x_soc_pll1.sysclks[1]),
238 CLK(NULL, "pll1_sysclk2", &c6x_soc_pll1.sysclks[2]),
239 CLK(NULL, "pll1_sysclk3", &c6x_soc_pll1.sysclks[3]),
240 CLK(NULL, "pll1_sysclk4", &c6x_soc_pll1.sysclks[4]),
241 CLK(NULL, "pll1_sysclk5", &c6x_soc_pll1.sysclks[5]),
242 CLK(NULL, "pll1_sysclk6", &c6x_soc_pll1.sysclks[6]),
243 CLK(NULL, "pll1_sysclk7", &c6x_soc_pll1.sysclks[7]),
244 CLK(NULL, "pll1_sysclk8", &c6x_soc_pll1.sysclks[8]),
245 CLK(NULL, "pll1_sysclk9", &c6x_soc_pll1.sysclks[9]),
246 CLK(NULL, "pll1_sysclk10", &c6x_soc_pll1.sysclks[10]),
262 struct clk *sysclks = pll->sysclks; in c6472_setup_clocks() local
268 sysclks[i].flags |= FIXED_DIV_PLL; in c6472_setup_clocks()
269 sysclks[i].div = 1; in c6472_setup_clocks()
272 sysclks[7].flags |= FIXED_DIV_PLL; in c6472_setup_clocks()
273 sysclks[7].div = 3; in c6472_setup_clocks()
274 sysclks[8].flags |= FIXED_DIV_PLL; in c6472_setup_clocks()
275 sysclks[8].div = 6; in c6472_setup_clocks()
276 sysclks[9].flags |= FIXED_DIV_PLL; in c6472_setup_clocks()
277 sysclks[9].div = 2; in c6472_setup_clocks()
278 sysclks[10].div = PLLDIV10; in c6472_setup_clocks()
280 c6x_core_clk.parent = &sysclks[get_coreid() + 1]; in c6472_setup_clocks()
281 c6x_i2c_clk.parent = &sysclks[8]; in c6472_setup_clocks()
282 c6x_watchdog_clk.parent = &sysclks[8]; in c6472_setup_clocks()
283 c6x_mdio_clk.parent = &sysclks[5]; in c6472_setup_clocks()
292 CLK(NULL, "pll1", &c6x_soc_pll1.sysclks[0]),
293 CLK(NULL, "pll1_sysclk7", &c6x_soc_pll1.sysclks[7]),
294 CLK(NULL, "pll1_sysclk9", &c6x_soc_pll1.sysclks[9]),
295 CLK(NULL, "pll1_sysclk10", &c6x_soc_pll1.sysclks[10]),
296 CLK(NULL, "pll1_sysclk11", &c6x_soc_pll1.sysclks[11]),
297 CLK(NULL, "pll1_sysclk12", &c6x_soc_pll1.sysclks[12]),
298 CLK(NULL, "pll1_sysclk13", &c6x_soc_pll1.sysclks[13]),
311 struct clk *sysclks = pll->sysclks; in c6474_setup_clocks() local
315 sysclks[7].flags |= FIXED_DIV_PLL; in c6474_setup_clocks()
316 sysclks[7].div = 1; in c6474_setup_clocks()
317 sysclks[9].flags |= FIXED_DIV_PLL; in c6474_setup_clocks()
318 sysclks[9].div = 3; in c6474_setup_clocks()
319 sysclks[10].flags |= FIXED_DIV_PLL; in c6474_setup_clocks()
320 sysclks[10].div = 6; in c6474_setup_clocks()
322 sysclks[11].div = PLLDIV11; in c6474_setup_clocks()
324 sysclks[12].flags |= FIXED_DIV_PLL; in c6474_setup_clocks()
325 sysclks[12].div = 2; in c6474_setup_clocks()
327 sysclks[13].div = PLLDIV13; in c6474_setup_clocks()
329 c6x_core_clk.parent = &sysclks[7]; in c6474_setup_clocks()
330 c6x_i2c_clk.parent = &sysclks[10]; in c6474_setup_clocks()
331 c6x_watchdog_clk.parent = &sysclks[10]; in c6474_setup_clocks()
332 c6x_mcbsp1_clk.parent = &sysclks[10]; in c6474_setup_clocks()
333 c6x_mcbsp2_clk.parent = &sysclks[10]; in c6474_setup_clocks()
341 CLK(NULL, "pll1", &c6x_soc_pll1.sysclks[0]),
342 CLK(NULL, "pll1_refclk", &c6x_soc_pll1.sysclks[1]),
343 CLK(NULL, "pll1_sysclk2", &c6x_soc_pll1.sysclks[2]),
344 CLK(NULL, "pll1_sysclk3", &c6x_soc_pll1.sysclks[3]),
345 CLK(NULL, "pll1_sysclk4", &c6x_soc_pll1.sysclks[4]),
346 CLK(NULL, "pll1_sysclk5", &c6x_soc_pll1.sysclks[5]),
347 CLK(NULL, "pll1_sysclk6", &c6x_soc_pll1.sysclks[6]),
348 CLK(NULL, "pll1_sysclk7", &c6x_soc_pll1.sysclks[7]),
349 CLK(NULL, "pll1_sysclk8", &c6x_soc_pll1.sysclks[8]),
350 CLK(NULL, "pll1_sysclk9", &c6x_soc_pll1.sysclks[9]),
351 CLK(NULL, "pll1_sysclk10", &c6x_soc_pll1.sysclks[10]),
352 CLK(NULL, "pll1_sysclk11", &c6x_soc_pll1.sysclks[11]),
360 struct clk *sysclks = pll->sysclks; in c6678_setup_clocks() local
364 sysclks[1].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
365 sysclks[1].div = 1; in c6678_setup_clocks()
367 sysclks[2].div = PLLDIV2; in c6678_setup_clocks()
369 sysclks[3].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
370 sysclks[3].div = 2; in c6678_setup_clocks()
372 sysclks[4].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
373 sysclks[4].div = 3; in c6678_setup_clocks()
375 sysclks[5].div = PLLDIV5; in c6678_setup_clocks()
377 sysclks[6].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
378 sysclks[6].div = 64; in c6678_setup_clocks()
380 sysclks[7].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
381 sysclks[7].div = 6; in c6678_setup_clocks()
383 sysclks[8].div = PLLDIV8; in c6678_setup_clocks()
385 sysclks[9].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
386 sysclks[9].div = 12; in c6678_setup_clocks()
388 sysclks[10].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
389 sysclks[10].div = 3; in c6678_setup_clocks()
391 sysclks[11].flags |= FIXED_DIV_PLL; in c6678_setup_clocks()
392 sysclks[11].div = 6; in c6678_setup_clocks()
394 c6x_core_clk.parent = &sysclks[0]; in c6678_setup_clocks()
395 c6x_i2c_clk.parent = &sysclks[7]; in c6678_setup_clocks()