Go to the documentation of this file.
20 #ifndef __ARCH_ARM_MACH_OMAP2_CM_REGBITS_33XX_H
21 #define __ARCH_ARM_MACH_OMAP2_CM_REGBITS_33XX_H
27 #define AM33XX_AUTO_DPLL_MODE_SHIFT 0
28 #define AM33XX_AUTO_DPLL_MODE_WIDTH 3
29 #define AM33XX_AUTO_DPLL_MODE_MASK (0x7 << 0)
32 #define AM33XX_CLKACTIVITY_ADC_FCLK_SHIFT 14
33 #define AM33XX_CLKACTIVITY_ADC_FCLK_WIDTH 1
34 #define AM33XX_CLKACTIVITY_ADC_FCLK_MASK (1 << 16)
37 #define AM33XX_CLKACTIVITY_CAN_CLK_SHIFT 11
38 #define AM33XX_CLKACTIVITY_CAN_CLK_WIDTH 1
39 #define AM33XX_CLKACTIVITY_CAN_CLK_MASK (1 << 11)
42 #define AM33XX_CLKACTIVITY_CLK_24MHZ_GCLK_SHIFT 4
43 #define AM33XX_CLKACTIVITY_CLK_24MHZ_GCLK_WIDTH 1
44 #define AM33XX_CLKACTIVITY_CLK_24MHZ_GCLK_MASK (1 << 4)
47 #define AM33XX_CLKACTIVITY_CPSW_125MHZ_GCLK_SHIFT 4
48 #define AM33XX_CLKACTIVITY_CPSW_125MHZ_GCLK_WIDTH 1
49 #define AM33XX_CLKACTIVITY_CPSW_125MHZ_GCLK_MASK (1 << 4)
52 #define AM33XX_CLKACTIVITY_CPSW_250MHZ_GCLK_SHIFT 4
53 #define AM33XX_CLKACTIVITY_CPSW_250MHZ_GCLK_WIDTH 1
54 #define AM33XX_CLKACTIVITY_CPSW_250MHZ_GCLK_MASK (1 << 4)
57 #define AM33XX_CLKACTIVITY_CPSW_50MHZ_GCLK_SHIFT 5
58 #define AM33XX_CLKACTIVITY_CPSW_50MHZ_GCLK_WIDTH 1
59 #define AM33XX_CLKACTIVITY_CPSW_50MHZ_GCLK_MASK (1 << 5)
62 #define AM33XX_CLKACTIVITY_CPSW_5MHZ_GCLK_SHIFT 6
63 #define AM33XX_CLKACTIVITY_CPSW_5MHZ_GCLK_WIDTH 1
64 #define AM33XX_CLKACTIVITY_CPSW_5MHZ_GCLK_MASK (1 << 6)
67 #define AM33XX_CLKACTIVITY_CPTS_RFT_GCLK_SHIFT 6
68 #define AM33XX_CLKACTIVITY_CPTS_RFT_GCLK_WIDTH 1
69 #define AM33XX_CLKACTIVITY_CPTS_RFT_GCLK_MASK (1 << 6)
72 #define AM33XX_CLKACTIVITY_CUST_EFUSE_SYS_CLK_SHIFT 9
73 #define AM33XX_CLKACTIVITY_CUST_EFUSE_SYS_CLK_WIDTH 1
74 #define AM33XX_CLKACTIVITY_CUST_EFUSE_SYS_CLK_MASK (1 << 9)
77 #define AM33XX_CLKACTIVITY_DBGSYSCLK_SHIFT 2
78 #define AM33XX_CLKACTIVITY_DBGSYSCLK_WIDTH 1
79 #define AM33XX_CLKACTIVITY_DBGSYSCLK_MASK (1 << 2)
82 #define AM33XX_CLKACTIVITY_DEBUG_CLKA_SHIFT 4
83 #define AM33XX_CLKACTIVITY_DEBUG_CLKA_WIDTH 1
84 #define AM33XX_CLKACTIVITY_DEBUG_CLKA_MASK (1 << 4)
87 #define AM33XX_CLKACTIVITY_EMIF_GCLK_SHIFT 2
88 #define AM33XX_CLKACTIVITY_EMIF_GCLK_WIDTH 1
89 #define AM33XX_CLKACTIVITY_EMIF_GCLK_MASK (1 << 2)
92 #define AM33XX_CLKACTIVITY_GFX_FCLK_SHIFT 9
93 #define AM33XX_CLKACTIVITY_GFX_FCLK_WIDTH 1
94 #define AM33XX_CLKACTIVITY_GFX_FCLK_MASK (1 << 9)
97 #define AM33XX_CLKACTIVITY_GFX_L3_GCLK_SHIFT 8
98 #define AM33XX_CLKACTIVITY_GFX_L3_GCLK_WIDTH 1
99 #define AM33XX_CLKACTIVITY_GFX_L3_GCLK_MASK (1 << 8)
102 #define AM33XX_CLKACTIVITY_GPIO0_GDBCLK_SHIFT 8
103 #define AM33XX_CLKACTIVITY_GPIO0_GDBCLK_WIDTH 1
104 #define AM33XX_CLKACTIVITY_GPIO0_GDBCLK_MASK (1 << 8)
107 #define AM33XX_CLKACTIVITY_GPIO_1_GDBCLK_SHIFT 19
108 #define AM33XX_CLKACTIVITY_GPIO_1_GDBCLK_WIDTH 1
109 #define AM33XX_CLKACTIVITY_GPIO_1_GDBCLK_MASK (1 << 19)
112 #define AM33XX_CLKACTIVITY_GPIO_2_GDBCLK_SHIFT 20
113 #define AM33XX_CLKACTIVITY_GPIO_2_GDBCLK_WIDTH 1
114 #define AM33XX_CLKACTIVITY_GPIO_2_GDBCLK_MASK (1 << 20)
117 #define AM33XX_CLKACTIVITY_GPIO_3_GDBCLK_SHIFT 21
118 #define AM33XX_CLKACTIVITY_GPIO_3_GDBCLK_WIDTH 1
119 #define AM33XX_CLKACTIVITY_GPIO_3_GDBCLK_MASK (1 << 21)
122 #define AM33XX_CLKACTIVITY_GPIO_4_GDBCLK_SHIFT 22
123 #define AM33XX_CLKACTIVITY_GPIO_4_GDBCLK_WIDTH 1
124 #define AM33XX_CLKACTIVITY_GPIO_4_GDBCLK_MASK (1 << 22)
127 #define AM33XX_CLKACTIVITY_GPIO_5_GDBCLK_SHIFT 26
128 #define AM33XX_CLKACTIVITY_GPIO_5_GDBCLK_WIDTH 1
129 #define AM33XX_CLKACTIVITY_GPIO_5_GDBCLK_MASK (1 << 26)
132 #define AM33XX_CLKACTIVITY_GPIO_6_GDBCLK_SHIFT 18
133 #define AM33XX_CLKACTIVITY_GPIO_6_GDBCLK_WIDTH 1
134 #define AM33XX_CLKACTIVITY_GPIO_6_GDBCLK_MASK (1 << 18)
137 #define AM33XX_CLKACTIVITY_I2C0_GFCLK_SHIFT 11
138 #define AM33XX_CLKACTIVITY_I2C0_GFCLK_WIDTH 1
139 #define AM33XX_CLKACTIVITY_I2C0_GFCLK_MASK (1 << 11)
142 #define AM33XX_CLKACTIVITY_I2C_FCLK_SHIFT 24
143 #define AM33XX_CLKACTIVITY_I2C_FCLK_WIDTH 1
144 #define AM33XX_CLKACTIVITY_I2C_FCLK_MASK (1 << 24)
147 #define AM33XX_CLKACTIVITY_PRUSS_IEP_GCLK_SHIFT 5
148 #define AM33XX_CLKACTIVITY_PRUSS_IEP_GCLK_WIDTH 1
149 #define AM33XX_CLKACTIVITY_PRUSS_IEP_GCLK_MASK (1 << 5)
152 #define AM33XX_CLKACTIVITY_PRUSS_OCP_GCLK_SHIFT 4
153 #define AM33XX_CLKACTIVITY_PRUSS_OCP_GCLK_WIDTH 1
154 #define AM33XX_CLKACTIVITY_PRUSS_OCP_GCLK_MASK (1 << 4)
157 #define AM33XX_CLKACTIVITY_PRUSS_UART_GCLK_SHIFT 6
158 #define AM33XX_CLKACTIVITY_PRUSS_UART_GCLK_WIDTH 1
159 #define AM33XX_CLKACTIVITY_PRUSS_UART_GCLK_MASK (1 << 6)
162 #define AM33XX_CLKACTIVITY_L3S_GCLK_SHIFT 3
163 #define AM33XX_CLKACTIVITY_L3S_GCLK_WIDTH 1
164 #define AM33XX_CLKACTIVITY_L3S_GCLK_MASK (1 << 3)
167 #define AM33XX_CLKACTIVITY_L3_AON_GCLK_SHIFT 3
168 #define AM33XX_CLKACTIVITY_L3_AON_GCLK_WIDTH 1
169 #define AM33XX_CLKACTIVITY_L3_AON_GCLK_MASK (1 << 3)
172 #define AM33XX_CLKACTIVITY_L3_GCLK_SHIFT 4
173 #define AM33XX_CLKACTIVITY_L3_GCLK_WIDTH 1
174 #define AM33XX_CLKACTIVITY_L3_GCLK_MASK (1 << 4)
177 #define AM33XX_CLKACTIVITY_L4FW_GCLK_SHIFT 8
178 #define AM33XX_CLKACTIVITY_L4FW_GCLK_WIDTH 1
179 #define AM33XX_CLKACTIVITY_L4FW_GCLK_MASK (1 << 8)
182 #define AM33XX_CLKACTIVITY_L4HS_GCLK_SHIFT 3
183 #define AM33XX_CLKACTIVITY_L4HS_GCLK_WIDTH 1
184 #define AM33XX_CLKACTIVITY_L4HS_GCLK_MASK (1 << 3)
187 #define AM33XX_CLKACTIVITY_L4LS_GCLK_SHIFT 8
188 #define AM33XX_CLKACTIVITY_L4LS_GCLK_WIDTH 1
189 #define AM33XX_CLKACTIVITY_L4LS_GCLK_MASK (1 << 8)
192 #define AM33XX_CLKACTIVITY_L4LS_GFX_GCLK_SHIFT 8
193 #define AM33XX_CLKACTIVITY_L4LS_GFX_GCLK_WIDTH 1
194 #define AM33XX_CLKACTIVITY_L4LS_GFX_GCLK_MASK (1 << 8)
197 #define AM33XX_CLKACTIVITY_L4_CEFUSE_GICLK_SHIFT 8
198 #define AM33XX_CLKACTIVITY_L4_CEFUSE_GICLK_WIDTH 1
199 #define AM33XX_CLKACTIVITY_L4_CEFUSE_GICLK_MASK (1 << 8)
202 #define AM33XX_CLKACTIVITY_L4_RTC_GCLK_SHIFT 8
203 #define AM33XX_CLKACTIVITY_L4_RTC_GCLK_WIDTH 1
204 #define AM33XX_CLKACTIVITY_L4_RTC_GCLK_MASK (1 << 8)
207 #define AM33XX_CLKACTIVITY_L4_WKUP_AON_GCLK_SHIFT 2
208 #define AM33XX_CLKACTIVITY_L4_WKUP_AON_GCLK_WIDTH 1
209 #define AM33XX_CLKACTIVITY_L4_WKUP_AON_GCLK_MASK (1 << 2)
212 #define AM33XX_CLKACTIVITY_L4_WKUP_GCLK_SHIFT 2
213 #define AM33XX_CLKACTIVITY_L4_WKUP_GCLK_WIDTH 1
214 #define AM33XX_CLKACTIVITY_L4_WKUP_GCLK_MASK (1 << 2)
217 #define AM33XX_CLKACTIVITY_LCDC_GCLK_SHIFT 17
218 #define AM33XX_CLKACTIVITY_LCDC_GCLK_WIDTH 1
219 #define AM33XX_CLKACTIVITY_LCDC_GCLK_MASK (1 << 17)
222 #define AM33XX_CLKACTIVITY_LCDC_L3_OCP_GCLK_SHIFT 4
223 #define AM33XX_CLKACTIVITY_LCDC_L3_OCP_GCLK_WIDTH 1
224 #define AM33XX_CLKACTIVITY_LCDC_L3_OCP_GCLK_MASK (1 << 4)
227 #define AM33XX_CLKACTIVITY_LCDC_L4_OCP_GCLK_SHIFT 5
228 #define AM33XX_CLKACTIVITY_LCDC_L4_OCP_GCLK_WIDTH 1
229 #define AM33XX_CLKACTIVITY_LCDC_L4_OCP_GCLK_MASK (1 << 5)
232 #define AM33XX_CLKACTIVITY_MCASP_GCLK_SHIFT 7
233 #define AM33XX_CLKACTIVITY_MCASP_GCLK_WIDTH 1
234 #define AM33XX_CLKACTIVITY_MCASP_GCLK_MASK (1 << 7)
237 #define AM33XX_CLKACTIVITY_MMC_FCLK_SHIFT 3
238 #define AM33XX_CLKACTIVITY_MMC_FCLK_WIDTH 1
239 #define AM33XX_CLKACTIVITY_MMC_FCLK_MASK (1 << 3)
242 #define AM33XX_CLKACTIVITY_MPU_CLK_SHIFT 2
243 #define AM33XX_CLKACTIVITY_MPU_CLK_WIDTH 1
244 #define AM33XX_CLKACTIVITY_MPU_CLK_MASK (1 << 2)
247 #define AM33XX_CLKACTIVITY_OCPWP_L3_GCLK_SHIFT 4
248 #define AM33XX_CLKACTIVITY_OCPWP_L3_GCLK_WIDTH 1
249 #define AM33XX_CLKACTIVITY_OCPWP_L3_GCLK_MASK (1 << 4)
252 #define AM33XX_CLKACTIVITY_OCPWP_L4_GCLK_SHIFT 5
253 #define AM33XX_CLKACTIVITY_OCPWP_L4_GCLK_WIDTH 1
254 #define AM33XX_CLKACTIVITY_OCPWP_L4_GCLK_MASK (1 << 5)
257 #define AM33XX_CLKACTIVITY_RTC_32KCLK_SHIFT 9
258 #define AM33XX_CLKACTIVITY_RTC_32KCLK_WIDTH 1
259 #define AM33XX_CLKACTIVITY_RTC_32KCLK_MASK (1 << 9)
262 #define AM33XX_CLKACTIVITY_SPI_GCLK_SHIFT 25
263 #define AM33XX_CLKACTIVITY_SPI_GCLK_WIDTH 1
264 #define AM33XX_CLKACTIVITY_SPI_GCLK_MASK (1 << 25)
267 #define AM33XX_CLKACTIVITY_SR_SYSCLK_SHIFT 3
268 #define AM33XX_CLKACTIVITY_SR_SYSCLK_WIDTH 1
269 #define AM33XX_CLKACTIVITY_SR_SYSCLK_MASK (1 << 3)
272 #define AM33XX_CLKACTIVITY_TIMER0_GCLK_SHIFT 10
273 #define AM33XX_CLKACTIVITY_TIMER0_GCLK_WIDTH 1
274 #define AM33XX_CLKACTIVITY_TIMER0_GCLK_MASK (1 << 10)
277 #define AM33XX_CLKACTIVITY_TIMER1_GCLK_SHIFT 13
278 #define AM33XX_CLKACTIVITY_TIMER1_GCLK_WIDTH 1
279 #define AM33XX_CLKACTIVITY_TIMER1_GCLK_MASK (1 << 13)
282 #define AM33XX_CLKACTIVITY_TIMER2_GCLK_SHIFT 14
283 #define AM33XX_CLKACTIVITY_TIMER2_GCLK_WIDTH 1
284 #define AM33XX_CLKACTIVITY_TIMER2_GCLK_MASK (1 << 14)
287 #define AM33XX_CLKACTIVITY_TIMER3_GCLK_SHIFT 15
288 #define AM33XX_CLKACTIVITY_TIMER3_GCLK_WIDTH 1
289 #define AM33XX_CLKACTIVITY_TIMER3_GCLK_MASK (1 << 15)
292 #define AM33XX_CLKACTIVITY_TIMER4_GCLK_SHIFT 16
293 #define AM33XX_CLKACTIVITY_TIMER4_GCLK_WIDTH 1
294 #define AM33XX_CLKACTIVITY_TIMER4_GCLK_MASK (1 << 16)
297 #define AM33XX_CLKACTIVITY_TIMER5_GCLK_SHIFT 27
298 #define AM33XX_CLKACTIVITY_TIMER5_GCLK_WIDTH 1
299 #define AM33XX_CLKACTIVITY_TIMER5_GCLK_MASK (1 << 27)
302 #define AM33XX_CLKACTIVITY_TIMER6_GCLK_SHIFT 28
303 #define AM33XX_CLKACTIVITY_TIMER6_GCLK_WIDTH 1
304 #define AM33XX_CLKACTIVITY_TIMER6_GCLK_MASK (1 << 28)
307 #define AM33XX_CLKACTIVITY_TIMER7_GCLK_SHIFT 13
308 #define AM33XX_CLKACTIVITY_TIMER7_GCLK_WIDTH 1
309 #define AM33XX_CLKACTIVITY_TIMER7_GCLK_MASK (1 << 13)
312 #define AM33XX_CLKACTIVITY_UART0_GFCLK_SHIFT 12
313 #define AM33XX_CLKACTIVITY_UART0_GFCLK_WIDTH 1
314 #define AM33XX_CLKACTIVITY_UART0_GFCLK_MASK (1 << 12)
317 #define AM33XX_CLKACTIVITY_UART_GFCLK_SHIFT 10
318 #define AM33XX_CLKACTIVITY_UART_GFCLK_WIDTH 1
319 #define AM33XX_CLKACTIVITY_UART_GFCLK_MASK (1 << 10)
322 #define AM33XX_CLKACTIVITY_WDT0_GCLK_SHIFT 9
323 #define AM33XX_CLKACTIVITY_WDT0_GCLK_WIDTH 1
324 #define AM33XX_CLKACTIVITY_WDT0_GCLK_MASK (1 << 9)
327 #define AM33XX_CLKACTIVITY_WDT1_GCLK_SHIFT 4
328 #define AM33XX_CLKACTIVITY_WDT1_GCLK_WIDTH 1
329 #define AM33XX_CLKACTIVITY_WDT1_GCLK_MASK (1 << 4)
332 #define AM33XX_CLKDIV_SEL_GFX_FCLK_SHIFT 0
333 #define AM33XX_CLKDIV_SEL_GFX_FCLK_WIDTH 1
334 #define AM33XX_CLKDIV_SEL_GFX_FCLK_MASK (1 << 0)
337 #define AM33XX_CLKOUT2DIV_SHIFT 3
338 #define AM33XX_CLKOUT2DIV_WIDTH 3
339 #define AM33XX_CLKOUT2DIV_MASK (0x7 << 3)
342 #define AM33XX_CLKOUT2EN_SHIFT 7
343 #define AM33XX_CLKOUT2EN_WIDTH 1
344 #define AM33XX_CLKOUT2EN_MASK (1 << 7)
347 #define AM33XX_CLKOUT2SOURCE_SHIFT 0
348 #define AM33XX_CLKOUT2SOURCE_WIDTH 3
349 #define AM33XX_CLKOUT2SOURCE_MASK (0x7 << 0)
356 #define AM33XX_CLKSEL_SHIFT 0
357 #define AM33XX_CLKSEL_WIDTH 1
358 #define AM33XX_CLKSEL_MASK (0x01 << 0)
364 #define AM33XX_CLKSEL_0_0_SHIFT 0
365 #define AM33XX_CLKSEL_0_0_WIDTH 1
366 #define AM33XX_CLKSEL_0_0_MASK (1 << 0)
368 #define AM33XX_CLKSEL_0_1_SHIFT 0
369 #define AM33XX_CLKSEL_0_1_WIDTH 2
370 #define AM33XX_CLKSEL_0_1_MASK (3 << 0)
373 #define AM33XX_CLKSEL_0_2_SHIFT 0
374 #define AM33XX_CLKSEL_0_2_WIDTH 3
375 #define AM33XX_CLKSEL_0_2_MASK (7 << 0)
378 #define AM33XX_CLKSEL_GFX_FCLK_SHIFT 1
379 #define AM33XX_CLKSEL_GFX_FCLK_WIDTH 1
380 #define AM33XX_CLKSEL_GFX_FCLK_MASK (1 << 1)
390 #define AM33XX_CLKTRCTRL_SHIFT 0
391 #define AM33XX_CLKTRCTRL_WIDTH 2
392 #define AM33XX_CLKTRCTRL_MASK (0x3 << 0)
399 #define AM33XX_DELTAMSTEP_SHIFT 0
400 #define AM33XX_DELTAMSTEP_WIDTH 20
401 #define AM33XX_DELTAMSTEP_MASK (0xfffff << 0)
404 #define AM33XX_DPLL_BYP_CLKSEL_SHIFT 23
405 #define AM33XX_DPLL_BYP_CLKSEL_WIDTH 1
406 #define AM33XX_DPLL_BYP_CLKSEL_MASK (1 << 23)
409 #define AM33XX_DPLL_CLKDCOLDO_GATE_CTRL_SHIFT 8
410 #define AM33XX_DPLL_CLKDCOLDO_GATE_CTRL_WIDTH 1
411 #define AM33XX_DPLL_CLKDCOLDO_GATE_CTRL_MASK (1 << 8)
414 #define AM33XX_DPLL_CLKDCOLDO_PWDN_SHIFT 12
415 #define AM33XX_DPLL_CLKDCOLDO_PWDN_WIDTH 1
416 #define AM33XX_DPLL_CLKDCOLDO_PWDN_MASK (1 << 12)
419 #define AM33XX_DPLL_CLKOUT_DIV_SHIFT 0
420 #define AM33XX_DPLL_CLKOUT_DIV_WIDTH 5
421 #define AM33XX_DPLL_CLKOUT_DIV_MASK (0x1f << 0)
424 #define AM33XX_DPLL_CLKOUT_DIV_0_6_SHIFT 0
425 #define AM33XX_DPLL_CLKOUT_DIV_0_6_WIDTH 7
426 #define AM33XX_DPLL_CLKOUT_DIV_0_6_MASK (0x7f << 0)
429 #define AM33XX_DPLL_CLKOUT_DIVCHACK_SHIFT 5
430 #define AM33XX_DPLL_CLKOUT_DIVCHACK_WIDTH 1
431 #define AM33XX_DPLL_CLKOUT_DIVCHACK_MASK (1 << 5)
434 #define AM33XX_DPLL_CLKOUT_DIVCHACK_M2_PER_SHIFT 7
435 #define AM33XX_DPLL_CLKOUT_DIVCHACK_M2_PER_WIDTH 1
436 #define AM33XX_DPLL_CLKOUT_DIVCHACK_M2_PER_MASK (1 << 7)
442 #define AM33XX_DPLL_CLKOUT_GATE_CTRL_SHIFT 8
443 #define AM33XX_DPLL_CLKOUT_GATE_CTRL_WIDTH 1
444 #define AM33XX_DPLL_CLKOUT_GATE_CTRL_MASK (1 << 8)
450 #define AM33XX_DPLL_DIV_SHIFT 0
451 #define AM33XX_DPLL_DIV_WIDTH 7
452 #define AM33XX_DPLL_DIV_MASK (0x7f << 0)
454 #define AM33XX_DPLL_PER_DIV_MASK (0xff << 0)
457 #define AM33XX_DPLL_DIV_0_7_SHIFT 0
458 #define AM33XX_DPLL_DIV_0_7_WIDTH 8
459 #define AM33XX_DPLL_DIV_0_7_MASK (0xff << 0)
465 #define AM33XX_DPLL_DRIFTGUARD_EN_SHIFT 8
466 #define AM33XX_DPLL_DRIFTGUARD_EN_WIDTH 1
467 #define AM33XX_DPLL_DRIFTGUARD_EN_MASK (1 << 8)
473 #define AM33XX_DPLL_EN_SHIFT 0
474 #define AM33XX_DPLL_EN_WIDTH 3
475 #define AM33XX_DPLL_EN_MASK (0x7 << 0)
481 #define AM33XX_DPLL_LPMODE_EN_SHIFT 10
482 #define AM33XX_DPLL_LPMODE_EN_WIDTH 1
483 #define AM33XX_DPLL_LPMODE_EN_MASK (1 << 10)
489 #define AM33XX_DPLL_MULT_SHIFT 8
490 #define AM33XX_DPLL_MULT_WIDTH 11
491 #define AM33XX_DPLL_MULT_MASK (0x7ff << 8)
494 #define AM33XX_DPLL_MULT_PERIPH_SHIFT 8
495 #define AM33XX_DPLL_MULT_PERIPH_WIDTH 12
496 #define AM33XX_DPLL_MULT_PERIPH_MASK (0xfff << 8)
502 #define AM33XX_DPLL_REGM4XEN_SHIFT 11
503 #define AM33XX_DPLL_REGM4XEN_WIDTH 1
504 #define AM33XX_DPLL_REGM4XEN_MASK (1 << 11)
507 #define AM33XX_DPLL_SD_DIV_SHIFT 24
508 #define AM33XX_DPLL_SD_DIV_WIDTH 8
509 #define AM33XX_DPLL_SD_DIV_MASK (0xff << 24)
515 #define AM33XX_DPLL_SSC_ACK_SHIFT 13
516 #define AM33XX_DPLL_SSC_ACK_WIDTH 1
517 #define AM33XX_DPLL_SSC_ACK_MASK (1 << 13)
523 #define AM33XX_DPLL_SSC_DOWNSPREAD_SHIFT 14
524 #define AM33XX_DPLL_SSC_DOWNSPREAD_WIDTH 1
525 #define AM33XX_DPLL_SSC_DOWNSPREAD_MASK (1 << 14)
531 #define AM33XX_DPLL_SSC_EN_SHIFT 12
532 #define AM33XX_DPLL_SSC_EN_WIDTH 1
533 #define AM33XX_DPLL_SSC_EN_MASK (1 << 12)
536 #define AM33XX_HSDIVIDER_CLKOUT1_DIV_SHIFT 0
537 #define AM33XX_HSDIVIDER_CLKOUT1_DIV_WIDTH 5
538 #define AM33XX_HSDIVIDER_CLKOUT1_DIV_MASK (0x1f << 0)
541 #define AM33XX_HSDIVIDER_CLKOUT1_DIVCHACK_SHIFT 5
542 #define AM33XX_HSDIVIDER_CLKOUT1_DIVCHACK_WIDTH 1
543 #define AM33XX_HSDIVIDER_CLKOUT1_DIVCHACK_MASK (1 << 5)
546 #define AM33XX_HSDIVIDER_CLKOUT1_GATE_CTRL_SHIFT 8
547 #define AM33XX_HSDIVIDER_CLKOUT1_GATE_CTRL_WIDTH 1
548 #define AM33XX_HSDIVIDER_CLKOUT1_GATE_CTRL_MASK (1 << 8)
551 #define AM33XX_HSDIVIDER_CLKOUT1_PWDN_SHIFT 12
552 #define AM33XX_HSDIVIDER_CLKOUT1_PWDN_WIDTH 1
553 #define AM33XX_HSDIVIDER_CLKOUT1_PWDN_MASK (1 << 12)
556 #define AM33XX_HSDIVIDER_CLKOUT2_DIV_SHIFT 0
557 #define AM33XX_HSDIVIDER_CLKOUT2_DIV_WIDTH 5
558 #define AM33XX_HSDIVIDER_CLKOUT2_DIV_MASK (0x1f << 0)
561 #define AM33XX_HSDIVIDER_CLKOUT2_DIVCHACK_SHIFT 5
562 #define AM33XX_HSDIVIDER_CLKOUT2_DIVCHACK_WIDTH 1
563 #define AM33XX_HSDIVIDER_CLKOUT2_DIVCHACK_MASK (1 << 5)
566 #define AM33XX_HSDIVIDER_CLKOUT2_GATE_CTRL_SHIFT 8
567 #define AM33XX_HSDIVIDER_CLKOUT2_GATE_CTRL_WIDTH 1
568 #define AM33XX_HSDIVIDER_CLKOUT2_GATE_CTRL_MASK (1 << 8)
571 #define AM33XX_HSDIVIDER_CLKOUT2_PWDN_SHIFT 12
572 #define AM33XX_HSDIVIDER_CLKOUT2_PWDN_WIDTH 1
573 #define AM33XX_HSDIVIDER_CLKOUT2_PWDN_MASK (1 << 12)
576 #define AM33XX_HSDIVIDER_CLKOUT3_DIV_SHIFT 0
577 #define AM33XX_HSDIVIDER_CLKOUT3_DIV_WIDTH 5
578 #define AM33XX_HSDIVIDER_CLKOUT3_DIV_MASK (0x1f << 0)
581 #define AM33XX_HSDIVIDER_CLKOUT3_DIVCHACK_SHIFT 5
582 #define AM33XX_HSDIVIDER_CLKOUT3_DIVCHACK_WIDTH 1
583 #define AM33XX_HSDIVIDER_CLKOUT3_DIVCHACK_MASK (1 << 5)
586 #define AM33XX_HSDIVIDER_CLKOUT3_GATE_CTRL_SHIFT 8
587 #define AM33XX_HSDIVIDER_CLKOUT3_GATE_CTRL_WIDTH 1
588 #define AM33XX_HSDIVIDER_CLKOUT3_GATE_CTRL_MASK (1 << 8)
591 #define AM33XX_HSDIVIDER_CLKOUT3_PWDN_SHIFT 12
592 #define AM33XX_HSDIVIDER_CLKOUT3_PWDN_WIDTH 1
593 #define AM33XX_HSDIVIDER_CLKOUT3_PWDN_MASK (1 << 12)
628 #define AM33XX_IDLEST_SHIFT 16
629 #define AM33XX_IDLEST_WIDTH 2
630 #define AM33XX_IDLEST_MASK (0x3 << 16)
633 #define AM33XX_MII_CLK_SEL_SHIFT 2
634 #define AM33XX_MII_CLK_SEL_WIDTH 1
635 #define AM33XX_MII_CLK_SEL_MASK (1 << 2)
642 #define AM33XX_MODFREQDIV_EXPONENT_SHIFT 8
643 #define AM33XX_MODFREQDIV_EXPONENT_WIDTH 3
644 #define AM33XX_MODFREQDIV_EXPONENT_MASK (0x7 << 8)
651 #define AM33XX_MODFREQDIV_MANTISSA_SHIFT 0
652 #define AM33XX_MODFREQDIV_MANTISSA_WIDTH 7
653 #define AM33XX_MODFREQDIV_MANTISSA_MASK (0x7f << 0)
689 #define AM33XX_MODULEMODE_SHIFT 0
690 #define AM33XX_MODULEMODE_WIDTH 2
691 #define AM33XX_MODULEMODE_MASK (0x3 << 0)
694 #define AM33XX_OPTCLK_DEBUG_CLKA_SHIFT 30
695 #define AM33XX_OPTCLK_DEBUG_CLKA_WIDTH 1
696 #define AM33XX_OPTCLK_DEBUG_CLKA_MASK (1 << 30)
699 #define AM33XX_OPTFCLKEN_DBGSYSCLK_SHIFT 19
700 #define AM33XX_OPTFCLKEN_DBGSYSCLK_WIDTH 1
701 #define AM33XX_OPTFCLKEN_DBGSYSCLK_MASK (1 << 19)
704 #define AM33XX_OPTFCLKEN_GPIO0_GDBCLK_SHIFT 18
705 #define AM33XX_OPTFCLKEN_GPIO0_GDBCLK_WIDTH 1
706 #define AM33XX_OPTFCLKEN_GPIO0_GDBCLK_MASK (1 << 18)
709 #define AM33XX_OPTFCLKEN_GPIO_1_GDBCLK_SHIFT 18
710 #define AM33XX_OPTFCLKEN_GPIO_1_GDBCLK_WIDTH 1
711 #define AM33XX_OPTFCLKEN_GPIO_1_GDBCLK_MASK (1 << 18)
714 #define AM33XX_OPTFCLKEN_GPIO_2_GDBCLK_SHIFT 18
715 #define AM33XX_OPTFCLKEN_GPIO_2_GDBCLK_WIDTH 1
716 #define AM33XX_OPTFCLKEN_GPIO_2_GDBCLK_MASK (1 << 18)
719 #define AM33XX_OPTFCLKEN_GPIO_3_GDBCLK_SHIFT 18
720 #define AM33XX_OPTFCLKEN_GPIO_3_GDBCLK_WIDTH 1
721 #define AM33XX_OPTFCLKEN_GPIO_3_GDBCLK_MASK (1 << 18)
724 #define AM33XX_OPTFCLKEN_GPIO_4_GDBCLK_SHIFT 18
725 #define AM33XX_OPTFCLKEN_GPIO_4_GDBCLK_WIDTH 1
726 #define AM33XX_OPTFCLKEN_GPIO_4_GDBCLK_MASK (1 << 18)
729 #define AM33XX_OPTFCLKEN_GPIO_5_GDBCLK_SHIFT 18
730 #define AM33XX_OPTFCLKEN_GPIO_5_GDBCLK_WIDTH 1
731 #define AM33XX_OPTFCLKEN_GPIO_5_GDBCLK_MASK (1 << 18)
734 #define AM33XX_OPTFCLKEN_GPIO_6_GDBCLK_SHIFT 18
735 #define AM33XX_OPTFCLKEN_GPIO_6_GDBCLK_WIDTH 1
736 #define AM33XX_OPTFCLKEN_GPIO_6_GDBCLK_MASK (1 << 18)
746 #define AM33XX_STBYST_SHIFT 18
747 #define AM33XX_STBYST_WIDTH 1
748 #define AM33XX_STBYST_MASK (1 << 18)
751 #define AM33XX_STM_PMD_CLKDIVSEL_SHIFT 27
752 #define AM33XX_STM_PMD_CLKDIVSEL_WIDTH 3
753 #define AM33XX_STM_PMD_CLKDIVSEL_MASK (0x7 << 27)
756 #define AM33XX_STM_PMD_CLKSEL_SHIFT 22
757 #define AM33XX_STM_PMD_CLKSEL_WIDTH 2
758 #define AM33XX_STM_PMD_CLKSEL_MASK (0x3 << 22)
764 #define AM33XX_ST_DPLL_CLK_SHIFT 0
765 #define AM33XX_ST_DPLL_CLK_WIDTH 1
766 #define AM33XX_ST_DPLL_CLK_MASK (1 << 0)
769 #define AM33XX_ST_DPLL_CLKDCOLDO_SHIFT 8
770 #define AM33XX_ST_DPLL_CLKDCOLDO_WIDTH 1
771 #define AM33XX_ST_DPLL_CLKDCOLDO_MASK (1 << 8)
777 #define AM33XX_ST_DPLL_CLKOUT_SHIFT 9
778 #define AM33XX_ST_DPLL_CLKOUT_WIDTH 1
779 #define AM33XX_ST_DPLL_CLKOUT_MASK (1 << 9)
782 #define AM33XX_ST_HSDIVIDER_CLKOUT1_SHIFT 9
783 #define AM33XX_ST_HSDIVIDER_CLKOUT1_WIDTH 1
784 #define AM33XX_ST_HSDIVIDER_CLKOUT1_MASK (1 << 9)
787 #define AM33XX_ST_HSDIVIDER_CLKOUT2_SHIFT 9
788 #define AM33XX_ST_HSDIVIDER_CLKOUT2_WIDTH 1
789 #define AM33XX_ST_HSDIVIDER_CLKOUT2_MASK (1 << 9)
792 #define AM33XX_ST_HSDIVIDER_CLKOUT3_SHIFT 9
793 #define AM33XX_ST_HSDIVIDER_CLKOUT3_WIDTH 1
794 #define AM33XX_ST_HSDIVIDER_CLKOUT3_MASK (1 << 9)
800 #define AM33XX_ST_MN_BYPASS_SHIFT 8
801 #define AM33XX_ST_MN_BYPASS_WIDTH 1
802 #define AM33XX_ST_MN_BYPASS_MASK (1 << 8)
805 #define AM33XX_TRC_PMD_CLKDIVSEL_SHIFT 24
806 #define AM33XX_TRC_PMD_CLKDIVSEL_WIDTH 3
807 #define AM33XX_TRC_PMD_CLKDIVSEL_MASK (0x7 << 24)
810 #define AM33XX_TRC_PMD_CLKSEL_SHIFT 20
811 #define AM33XX_TRC_PMD_CLKSEL_WIDTH 2
812 #define AM33XX_TRC_PMD_CLKSEL_MASK (0x3 << 20)
815 #define AM33XX_TIMER0_CLKSEL_WIDTH 2
816 #define AM33XX_TIMER0_CLKSEL_MASK (0x3 << 4)