Lines Matching +full:0 +full:x04000

19 #define SPEAR1340_SYS_CLK_CTRL			(misc_base + 0x200)
26 #define SPEAR1340_PLL_CFG (misc_base + 0x210)
38 #define SPEAR1340_PLL1_CTR (misc_base + 0x214)
39 #define SPEAR1340_PLL1_FRQ (misc_base + 0x218)
40 #define SPEAR1340_PLL2_CTR (misc_base + 0x220)
41 #define SPEAR1340_PLL2_FRQ (misc_base + 0x224)
42 #define SPEAR1340_PLL3_CTR (misc_base + 0x22C)
43 #define SPEAR1340_PLL3_FRQ (misc_base + 0x230)
44 #define SPEAR1340_PLL4_CTR (misc_base + 0x238)
45 #define SPEAR1340_PLL4_FRQ (misc_base + 0x23C)
46 #define SPEAR1340_PERIP_CLK_CFG (misc_base + 0x244)
64 #define SPEAR1340_GMAC_CLK_CFG (misc_base + 0x248)
68 #define SPEAR1340_GMAC_PHY_INPUT_CLK_SHIFT 0
70 #define SPEAR1340_I2S_CLK_CFG (misc_base + 0x24C)
72 #define SPEAR1340_I2S_SCLK_X_MASK 0x1F
74 #define SPEAR1340_I2S_SCLK_Y_MASK 0x1F
78 #define SPEAR1340_I2S_PRS1_CLK_X_MASK 0xFF
80 #define SPEAR1340_I2S_PRS1_CLK_Y_MASK 0xFF
86 #define SPEAR1340_I2S_SRC_CLK_SHIFT 0
88 #define SPEAR1340_C3_CLK_SYNT (misc_base + 0x250)
89 #define SPEAR1340_UART0_CLK_SYNT (misc_base + 0x254)
90 #define SPEAR1340_UART1_CLK_SYNT (misc_base + 0x258)
91 #define SPEAR1340_GMAC_CLK_SYNT (misc_base + 0x25C)
92 #define SPEAR1340_SDHCI_CLK_SYNT (misc_base + 0x260)
93 #define SPEAR1340_CFXD_CLK_SYNT (misc_base + 0x264)
94 #define SPEAR1340_ADC_CLK_SYNT (misc_base + 0x270)
95 #define SPEAR1340_AMBA_CLK_SYNT (misc_base + 0x274)
96 #define SPEAR1340_CLCD_CLK_SYNT (misc_base + 0x27C)
97 #define SPEAR1340_SYS_CLK_SYNT (misc_base + 0x284)
98 #define SPEAR1340_GEN_CLK_SYNT0 (misc_base + 0x28C)
99 #define SPEAR1340_GEN_CLK_SYNT1 (misc_base + 0x294)
100 #define SPEAR1340_GEN_CLK_SYNT2 (misc_base + 0x29C)
101 #define SPEAR1340_GEN_CLK_SYNT3 (misc_base + 0x304)
102 #define SPEAR1340_PERIP1_CLK_ENB (misc_base + 0x30C)
129 #define SPEAR1340_BUS_CLK_ENB 0
131 #define SPEAR1340_PERIP2_CLK_ENB (misc_base + 0x310)
140 #define SPEAR1340_DDR_CTRL_CLK_ENB 0
142 #define SPEAR1340_PERIP3_CLK_ENB (misc_base + 0x314)
165 {.mode = 0, .m = 0x83, .n = 0x04, .p = 0x5}, /* vco 1572, pll 49.125 MHz */
166 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x3}, /* vco 1000, pll 125 MHz */
167 {.mode = 0, .m = 0x64, .n = 0x06, .p = 0x1}, /* vco 800, pll 400 MHz */
168 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x1}, /* vco 1000, pll 500 MHz */
169 {.mode = 0, .m = 0xA6, .n = 0x06, .p = 0x1}, /* vco 1328, pll 664 MHz */
170 {.mode = 0, .m = 0xC8, .n = 0x06, .p = 0x1}, /* vco 1600, pll 800 MHz */
171 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x0}, /* vco 1, pll 1 GHz */
172 {.mode = 0, .m = 0x96, .n = 0x06, .p = 0x0}, /* vco 1200, pll 1200 MHz */
177 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x2}, /* vco 1000, pll 250 MHz */
178 {.mode = 0, .m = 0xA6, .n = 0x06, .p = 0x2}, /* vco 1328, pll 332 MHz */
179 {.mode = 0, .m = 0xC8, .n = 0x06, .p = 0x2}, /* vco 1600, pll 400 MHz */
180 {.mode = 0, .m = 0x7D, .n = 0x06, .p = 0x0}, /* vco 1, pll 1 GHz */
188 {.div = 0x073A8}, /* for vco1div2 = 600 MHz */
189 {.div = 0x06062}, /* for vco1div2 = 500 MHz */
190 {.div = 0x04D1B}, /* for vco1div2 = 400 MHz */
191 {.div = 0x04000}, /* for vco1div2 = 332 MHz */
192 {.div = 0x03031}, /* for vco1div2 = 250 MHz */
193 {.div = 0x0268D}, /* for vco1div2 = 200 MHz */
208 * 400 200 100 0x04000
209 * 400 250 125 0x03333
210 * 400 332 166 0x0268D
211 * 400 400 200 0x02000
213 * 500 200 100 0x05000
214 * 500 250 125 0x04000
215 * 500 332 166 0x03031
216 * 500 400 200 0x02800
217 * 500 500 250 0x02000
219 * 600 200 100 0x06000
220 * 600 250 125 0x04CCE
221 * 600 332 166 0x039D5
222 * 600 400 200 0x03000
223 * 600 500 250 0x02666
225 * 664 200 100 0x06a38
226 * 664 250 125 0x054FD
227 * 664 332 166 0x04000
228 * 664 400 200 0x0351E
229 * 664 500 250 0x02A7E
231 * 800 200 100 0x08000
232 * 800 250 125 0x06666
233 * 800 332 166 0x04D18
234 * 800 400 200 0x04000
235 * 800 500 250 0x03333
240 {.div = 0x08000},
241 {.div = 0x06a38},
242 {.div = 0x06666},
243 {.div = 0x06000},
244 {.div = 0x054FD},
245 {.div = 0x05000},
246 {.div = 0x04D18},
247 {.div = 0x04CCE},
248 {.div = 0x04000},
249 {.div = 0x039D5},
250 {.div = 0x0351E},
251 {.div = 0x03333},
252 {.div = 0x03031},
253 {.div = 0x03000},
254 {.div = 0x02A7E},
255 {.div = 0x02800},
256 {.div = 0x0268D},
257 {.div = 0x02666},
258 {.div = 0x02000},
264 {.xscale = 5, .yscale = 122, .eq = 0},
266 {.xscale = 10, .yscale = 204, .eq = 0},
268 {.xscale = 4, .yscale = 25, .eq = 0},
270 {.xscale = 4, .yscale = 21, .eq = 0},
272 {.xscale = 5, .yscale = 18, .eq = 0},
274 {.xscale = 2, .yscale = 6, .eq = 0},
276 {.xscale = 5, .yscale = 12, .eq = 0},
278 {.xscale = 2, .yscale = 4, .eq = 0},
292 {.xscale = 2, .yscale = 6, .eq = 0}, /* divided by 6 */
293 {.xscale = 2, .yscale = 4, .eq = 0}, /* divided by 4 */
300 {.div = 0x18000}, /* 25 Mhz , for vc01div4 = 300 MHz*/
301 {.div = 0x1638E}, /* 27 Mhz , for vc01div4 = 300 MHz*/
302 {.div = 0x14000}, /* 25 Mhz , for vc01div4 = 250 MHz*/
303 {.div = 0x1284B}, /* 27 Mhz , for vc01div4 = 250 MHz*/
304 {.div = 0x0D8D3}, /* 58 Mhz , for vco1div4 = 393 MHz */
305 {.div = 0x0B72C}, /* 58 Mhz , for vco1div4 = 332 MHz */
306 {.div = 0x0A584}, /* 58 Mhz , for vco1div4 = 300 MHz */
307 {.div = 0x093B1}, /* 65 Mhz , for vc01div4 = 300 MHz*/
308 {.div = 0x089EE}, /* 58 Mhz , for vc01div4 = 250 MHz*/
309 {.div = 0x081BA}, /* 74 Mhz , for vc01div4 = 300 MHz*/
310 {.div = 0x07BA0}, /* 65 Mhz , for vc01div4 = 250 MHz*/
311 {.div = 0x06f1C}, /* 72 Mhz , for vc01div4 = 250 MHz*/
312 {.div = 0x06E58}, /* 58 Mhz , for vco1div4 = 200 MHz */
313 {.div = 0x06c1B}, /* 74 Mhz , for vc01div4 = 250 MHz*/
314 {.div = 0x058E3}, /* 108 Mhz , for vc01div4 = 300 MHz*/
315 {.div = 0x04A12}, /* 108 Mhz , for vc01div4 = 250 MHz*/
316 {.div = 0x040A5}, /* 148.5 Mhz , for vc01div4 = 300 MHz*/
317 {.div = 0x0378E}, /* 144 Mhz , for vc01div4 = 250 MHz*/
318 {.div = 0x0360D}, /* 148 Mhz , for vc01div4 = 250 MHz*/
319 {.div = 0x035E0}, /* 148.5 MHz, for vc01div4 = 250 MHz*/
350 {.xscale = 1, .yscale = 12, .eq = 0}, /* 2.048 MHz, smp freq = 8Khz */
351 {.xscale = 11, .yscale = 96, .eq = 0}, /* 2.816 MHz, smp freq = 11Khz */
352 {.xscale = 1, .yscale = 6, .eq = 0}, /* 4.096 MHz, smp freq = 16Khz */
353 {.xscale = 11, .yscale = 48, .eq = 0}, /* 5.632 MHz, smp freq = 22Khz */
359 {.xscale = 1, .yscale = 3, .eq = 0},
362 {.xscale = 17, .yscale = 37, .eq = 0}, /* 11.289 MHz, smp freq = 44Khz*/
363 {.xscale = 1, .yscale = 2, .eq = 0}, /* 12.288 MHz, smp freq = 48Khz*/
369 {.xscale = 1, .yscale = 4, .eq = 0},
370 {.xscale = 1, .yscale = 2, .eq = 0},
377 {.xscale = 1, .yscale = 31, .eq = 0}, /* 2.68 MHz */
378 {.xscale = 2, .yscale = 21, .eq = 0}, /* 7.94 MHz */
379 {.xscale = 4, .yscale = 21, .eq = 0}, /* 15.87 MHz */
380 {.xscale = 10, .yscale = 42, .eq = 0}, /* 19.84 MHz */
385 {.div = 0x1A92B}, /* 22.5792 MHz for vco1div4=300 MHz*/
386 {.div = 0x186A0}, /* 24.576 MHz for vco1div4=300 MHz*/
387 {.div = 0x18000}, /* 25 MHz for vco1div4=300 MHz*/
388 {.div = 0x1624E}, /* 22.5792 MHz for vco1div4=250 MHz*/
389 {.div = 0x14585}, /* 24.576 MHz for vco1div4=250 MHz*/
390 {.div = 0x14000}, /* 25 MHz for vco1div4=250 MHz*/
391 {.div = 0x0D495}, /* 45.1584 MHz for vco1div4=300 MHz*/
392 {.div = 0x0C000}, /* 50 MHz for vco1div4=300 MHz*/
393 {.div = 0x0B127}, /* 45.1584 MHz for vco1div4=250 MHz*/
394 {.div = 0x0A000}, /* 50 MHz for vco1div4=250 MHz*/
395 {.div = 0x07530}, /* 81.92 MHz for vco1div4=300 MHz*/
396 {.div = 0x061A8}, /* 81.92 MHz for vco1div4=250 MHz*/
397 {.div = 0x06000}, /* 100 MHz for vco1div4=300 MHz*/
398 {.div = 0x05000}, /* 100 MHz for vco1div4=250 MHz*/
399 {.div = 0x03000}, /* 200 MHz for vco1div4=300 MHz*/
400 {.div = 0x02DB6}, /* 210 MHz for vco1div4=300 MHz*/
401 {.div = 0x02BA2}, /* 220 MHz for vco1div4=300 MHz*/
402 {.div = 0x029BD}, /* 230 MHz for vco1div4=300 MHz*/
403 {.div = 0x02800}, /* 200 MHz for vco1div4=250 MHz*/
404 {.div = 0x02666}, /* 250 MHz for vco1div4=300 MHz*/
405 {.div = 0x02620}, /* 210 MHz for vco1div4=250 MHz*/
406 {.div = 0x02460}, /* 220 MHz for vco1div4=250 MHz*/
407 {.div = 0x022C0}, /* 230 MHz for vco1div4=250 MHz*/
408 {.div = 0x02160}, /* 240 MHz for vco1div4=250 MHz*/
409 {.div = 0x02000}, /* 250 MHz for vco1div4=250 MHz*/
443 clk = clk_register_fixed_rate(NULL, "osc_32k_clk", NULL, 0, 32000); in spear1340_clk_init()
446 clk = clk_register_fixed_rate(NULL, "osc_24m_clk", NULL, 0, 24000000); in spear1340_clk_init()
449 clk = clk_register_fixed_rate(NULL, "osc_25m_clk", NULL, 0, 25000000); in spear1340_clk_init()
452 clk = clk_register_fixed_rate(NULL, "gmii_pad_clk", NULL, 0, 125000000); in spear1340_clk_init()
455 clk = clk_register_fixed_rate(NULL, "i2s_src_pad_clk", NULL, 0, in spear1340_clk_init()
460 clk = clk_register_gate(NULL, "rtc-spear", "osc_32k_clk", 0, in spear1340_clk_init()
461 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_RTC_CLK_ENB, 0, in spear1340_clk_init()
470 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
472 clk = clk_register_vco_pll("vco1_clk", "pll1_clk", NULL, "vco1_mclk", 0, in spear1340_clk_init()
481 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
483 clk = clk_register_vco_pll("vco2_clk", "pll2_clk", NULL, "vco2_mclk", 0, in spear1340_clk_init()
492 SPEAR1340_PLL_CLK_MASK, 0, &_lock); in spear1340_clk_init()
494 clk = clk_register_vco_pll("vco3_clk", "pll3_clk", NULL, "vco3_mclk", 0, in spear1340_clk_init()
501 0, SPEAR1340_PLL4_CTR, SPEAR1340_PLL4_FRQ, pll4_rtbl, in spear1340_clk_init()
506 clk = clk_register_fixed_rate(NULL, "pll5_clk", "osc_24m_clk", 0, in spear1340_clk_init()
510 clk = clk_register_fixed_rate(NULL, "pll6_clk", "osc_25m_clk", 0, in spear1340_clk_init()
515 clk = clk_register_fixed_factor(NULL, "vco1div2_clk", "vco1_clk", 0, 1, in spear1340_clk_init()
519 clk = clk_register_fixed_factor(NULL, "vco1div4_clk", "vco1_clk", 0, 1, in spear1340_clk_init()
523 clk = clk_register_fixed_factor(NULL, "vco2div2_clk", "vco2_clk", 0, 1, in spear1340_clk_init()
527 clk = clk_register_fixed_factor(NULL, "vco3div2_clk", "vco3_clk", 0, 1, in spear1340_clk_init()
532 clk_register_fixed_factor(NULL, "thermal_clk", "osc_24m_clk", 0, 1, in spear1340_clk_init()
534 clk = clk_register_gate(NULL, "thermal_gclk", "thermal_clk", 0, in spear1340_clk_init()
535 SPEAR1340_PERIP2_CLK_ENB, SPEAR1340_THSENS_CLK_ENB, 0, in spear1340_clk_init()
540 clk = clk_register_fixed_factor(NULL, "ddr_clk", "pll4_clk", 0, 1, in spear1340_clk_init()
545 clk = clk_register_frac("sys_syn_clk", "vco1div2_clk", 0, in spear1340_clk_init()
550 clk = clk_register_frac("amba_syn_clk", "vco1div2_clk", 0, in spear1340_clk_init()
558 SPEAR1340_SCLK_SRC_SEL_MASK, 0, &_lock); in spear1340_clk_init()
561 clk = clk_register_fixed_factor(NULL, "cpu_clk", "sys_mclk", 0, 1, in spear1340_clk_init()
565 clk = clk_register_fixed_factor(NULL, "cpu_div3_clk", "cpu_clk", 0, 1, in spear1340_clk_init()
569 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, in spear1340_clk_init()
573 clk = clk_register_fixed_factor(NULL, "smp_twd_clk", "cpu_clk", 0, 1, in spear1340_clk_init()
580 SPEAR1340_HCLK_SRC_SEL_MASK, 0, &_lock); in spear1340_clk_init()
583 clk = clk_register_fixed_factor(NULL, "apb_clk", "ahb_clk", 0, 1, in spear1340_clk_init()
591 SPEAR1340_GPT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
593 clk = clk_register_gate(NULL, "gpt0_clk", "gpt0_mclk", 0, in spear1340_clk_init()
594 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_GPT0_CLK_ENB, 0, in spear1340_clk_init()
601 SPEAR1340_GPT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
603 clk = clk_register_gate(NULL, "gpt1_clk", "gpt1_mclk", 0, in spear1340_clk_init()
604 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_GPT1_CLK_ENB, 0, in spear1340_clk_init()
611 SPEAR1340_GPT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
613 clk = clk_register_gate(NULL, "gpt2_clk", "gpt2_mclk", 0, in spear1340_clk_init()
614 SPEAR1340_PERIP2_CLK_ENB, SPEAR1340_GPT2_CLK_ENB, 0, in spear1340_clk_init()
621 SPEAR1340_GPT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
623 clk = clk_register_gate(NULL, "gpt3_clk", "gpt3_mclk", 0, in spear1340_clk_init()
624 SPEAR1340_PERIP2_CLK_ENB, SPEAR1340_GPT3_CLK_ENB, 0, in spear1340_clk_init()
630 "vco1div2_clk", 0, SPEAR1340_UART0_CLK_SYNT, NULL, in spear1340_clk_init()
639 SPEAR1340_UART_CLK_MASK, 0, &_lock); in spear1340_clk_init()
644 SPEAR1340_UART0_CLK_ENB, 0, &_lock); in spear1340_clk_init()
648 "vco1div2_clk", 0, SPEAR1340_UART1_CLK_SYNT, NULL, in spear1340_clk_init()
656 SPEAR1340_UART_CLK_MASK, 0, &_lock); in spear1340_clk_init()
659 clk = clk_register_gate(NULL, "uart1_clk", "uart1_mclk", 0, in spear1340_clk_init()
660 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_UART1_CLK_ENB, 0, in spear1340_clk_init()
665 "vco1div2_clk", 0, SPEAR1340_SDHCI_CLK_SYNT, NULL, in spear1340_clk_init()
672 SPEAR1340_SDHCI_CLK_ENB, 0, &_lock); in spear1340_clk_init()
676 0, SPEAR1340_CFXD_CLK_SYNT, NULL, aux_rtbl, in spear1340_clk_init()
683 SPEAR1340_CFXD_CLK_ENB, 0, &_lock); in spear1340_clk_init()
687 clk = clk_register_aux("c3_syn_clk", "c3_syn_gclk", "vco1div2_clk", 0, in spear1340_clk_init()
697 SPEAR1340_C3_CLK_MASK, 0, &_lock); in spear1340_clk_init()
701 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_C3_CLK_ENB, 0, in spear1340_clk_init()
710 SPEAR1340_GMAC_PHY_INPUT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
714 0, SPEAR1340_GMAC_CLK_SYNT, NULL, gmac_rtbl, in spear1340_clk_init()
722 SPEAR1340_GMAC_PHY_CLK_MASK, 0, &_lock); in spear1340_clk_init()
723 clk_register_clkdev(clk, "stmmacphy.0", NULL); in spear1340_clk_init()
730 SPEAR1340_CLCD_SYNT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
733 clk = clk_register_frac("clcd_syn_clk", "clcd_syn_mclk", 0, in spear1340_clk_init()
742 SPEAR1340_CLCD_CLK_MASK, 0, &_lock); in spear1340_clk_init()
745 clk = clk_register_gate(NULL, "clcd_clk", "clcd_pixel_mclk", 0, in spear1340_clk_init()
746 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_CLCD_CLK_ENB, 0, in spear1340_clk_init()
754 SPEAR1340_I2S_SRC_CLK_MASK, 0, &_lock); in spear1340_clk_init()
767 SPEAR1340_I2S_REF_SEL_MASK, 0, &_lock); in spear1340_clk_init()
770 clk = clk_register_gate(NULL, "i2s_ref_pad_clk", "i2s_ref_mclk", 0, in spear1340_clk_init()
772 0, &_lock); in spear1340_clk_init()
776 0, SPEAR1340_I2S_CLK_CFG, &i2s_sclk_masks, in spear1340_clk_init()
783 clk = clk_register_gate(NULL, "i2c0_clk", "ahb_clk", 0, in spear1340_clk_init()
784 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_I2C0_CLK_ENB, 0, in spear1340_clk_init()
788 clk = clk_register_gate(NULL, "i2c1_clk", "ahb_clk", 0, in spear1340_clk_init()
789 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_I2C1_CLK_ENB, 0, in spear1340_clk_init()
793 clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, in spear1340_clk_init()
794 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_DMA_CLK_ENB, 0, in spear1340_clk_init()
799 clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, in spear1340_clk_init()
800 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_GMAC_CLK_ENB, 0, in spear1340_clk_init()
804 clk = clk_register_gate(NULL, "fsmc_clk", "ahb_clk", 0, in spear1340_clk_init()
805 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_FSMC_CLK_ENB, 0, in spear1340_clk_init()
809 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, in spear1340_clk_init()
810 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_SMI_CLK_ENB, 0, in spear1340_clk_init()
814 clk = clk_register_gate(NULL, "usbh0_clk", "ahb_clk", 0, in spear1340_clk_init()
815 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_UHC0_CLK_ENB, 0, in spear1340_clk_init()
820 clk = clk_register_gate(NULL, "usbh1_clk", "ahb_clk", 0, in spear1340_clk_init()
821 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_UHC1_CLK_ENB, 0, in spear1340_clk_init()
826 clk = clk_register_gate(NULL, "uoc_clk", "ahb_clk", 0, in spear1340_clk_init()
827 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_UOC_CLK_ENB, 0, in spear1340_clk_init()
831 clk = clk_register_gate(NULL, "pcie_sata_clk", "ahb_clk", 0, in spear1340_clk_init()
833 0, &_lock); in spear1340_clk_init()
837 clk = clk_register_gate(NULL, "sysram0_clk", "ahb_clk", 0, in spear1340_clk_init()
838 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_SYSRAM0_CLK_ENB, 0, in spear1340_clk_init()
842 clk = clk_register_gate(NULL, "sysram1_clk", "ahb_clk", 0, in spear1340_clk_init()
843 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_SYSRAM1_CLK_ENB, 0, in spear1340_clk_init()
848 0, SPEAR1340_ADC_CLK_SYNT, NULL, adc_rtbl, in spear1340_clk_init()
855 SPEAR1340_ADC_CLK_ENB, 0, &_lock); in spear1340_clk_init()
859 clk = clk_register_gate(NULL, "ssp_clk", "apb_clk", 0, in spear1340_clk_init()
860 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_SSP_CLK_ENB, 0, in spear1340_clk_init()
864 clk = clk_register_gate(NULL, "gpio0_clk", "apb_clk", 0, in spear1340_clk_init()
865 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_GPIO0_CLK_ENB, 0, in spear1340_clk_init()
869 clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, in spear1340_clk_init()
870 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_GPIO1_CLK_ENB, 0, in spear1340_clk_init()
874 clk = clk_register_gate(NULL, "i2s_play_clk", "apb_clk", 0, in spear1340_clk_init()
875 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_I2S_PLAY_CLK_ENB, 0, in spear1340_clk_init()
879 clk = clk_register_gate(NULL, "i2s_rec_clk", "apb_clk", 0, in spear1340_clk_init()
880 SPEAR1340_PERIP1_CLK_ENB, SPEAR1340_I2S_REC_CLK_ENB, 0, in spear1340_clk_init()
884 clk = clk_register_gate(NULL, "kbd_clk", "apb_clk", 0, in spear1340_clk_init()
885 SPEAR1340_PERIP2_CLK_ENB, SPEAR1340_KBD_CLK_ENB, 0, in spear1340_clk_init()
894 SPEAR1340_GEN_SYNT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
901 SPEAR1340_GEN_SYNT_CLK_MASK, 0, &_lock); in spear1340_clk_init()
904 clk = clk_register_frac("gen_syn0_clk", "gen_syn0_1_mclk", 0, in spear1340_clk_init()
909 clk = clk_register_frac("gen_syn1_clk", "gen_syn0_1_mclk", 0, in spear1340_clk_init()
914 clk = clk_register_frac("gen_syn2_clk", "gen_syn2_3_mclk", 0, in spear1340_clk_init()
919 clk = clk_register_frac("gen_syn3_clk", "gen_syn2_3_mclk", 0, in spear1340_clk_init()
926 SPEAR1340_MALI_CLK_ENB, 0, &_lock); in spear1340_clk_init()
929 clk = clk_register_gate(NULL, "cec0_clk", "ahb_clk", 0, in spear1340_clk_init()
930 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CEC0_CLK_ENB, 0, in spear1340_clk_init()
932 clk_register_clkdev(clk, NULL, "spear_cec.0"); in spear1340_clk_init()
934 clk = clk_register_gate(NULL, "cec1_clk", "ahb_clk", 0, in spear1340_clk_init()
935 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CEC1_CLK_ENB, 0, in spear1340_clk_init()
943 SPEAR1340_SPDIF_CLK_MASK, 0, &_lock); in spear1340_clk_init()
948 SPEAR1340_SPDIF_OUT_CLK_ENB, 0, &_lock); in spear1340_clk_init()
955 SPEAR1340_SPDIF_CLK_MASK, 0, &_lock); in spear1340_clk_init()
960 SPEAR1340_SPDIF_IN_CLK_ENB, 0, &_lock); in spear1340_clk_init()
963 clk = clk_register_gate(NULL, "acp_clk", "ahb_clk", 0, in spear1340_clk_init()
964 SPEAR1340_PERIP2_CLK_ENB, SPEAR1340_ACP_CLK_ENB, 0, in spear1340_clk_init()
968 clk = clk_register_gate(NULL, "plgpio_clk", "ahb_clk", 0, in spear1340_clk_init()
969 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_PLGPIO_CLK_ENB, 0, in spear1340_clk_init()
973 clk = clk_register_gate(NULL, "video_dec_clk", "ahb_clk", 0, in spear1340_clk_init()
975 0, &_lock); in spear1340_clk_init()
978 clk = clk_register_gate(NULL, "video_enc_clk", "ahb_clk", 0, in spear1340_clk_init()
980 0, &_lock); in spear1340_clk_init()
983 clk = clk_register_gate(NULL, "video_in_clk", "ahb_clk", 0, in spear1340_clk_init()
984 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_VIDEO_IN_CLK_ENB, 0, in spear1340_clk_init()
988 clk = clk_register_gate(NULL, "cam0_clk", "ahb_clk", 0, in spear1340_clk_init()
989 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CAM0_CLK_ENB, 0, in spear1340_clk_init()
993 clk = clk_register_gate(NULL, "cam1_clk", "ahb_clk", 0, in spear1340_clk_init()
994 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CAM1_CLK_ENB, 0, in spear1340_clk_init()
998 clk = clk_register_gate(NULL, "cam2_clk", "ahb_clk", 0, in spear1340_clk_init()
999 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CAM2_CLK_ENB, 0, in spear1340_clk_init()
1003 clk = clk_register_gate(NULL, "cam3_clk", "ahb_clk", 0, in spear1340_clk_init()
1004 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_CAM3_CLK_ENB, 0, in spear1340_clk_init()
1008 clk = clk_register_gate(NULL, "pwm_clk", "ahb_clk", 0, in spear1340_clk_init()
1009 SPEAR1340_PERIP3_CLK_ENB, SPEAR1340_PWM_CLK_ENB, 0, in spear1340_clk_init()