Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1 | /* |
| 2 | * OMAP44xx Clock Management register bits |
| 3 | * |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 4 | * Copyright (C) 2009-2010 Texas Instruments, Inc. |
| 5 | * Copyright (C) 2009-2010 Nokia Corporation |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 6 | * |
| 7 | * Paul Walmsley (paul@pwsan.com) |
| 8 | * Rajendra Nayak (rnayak@ti.com) |
| 9 | * Benoit Cousson (b-cousson@ti.com) |
| 10 | * |
| 11 | * This file is automatically generated from the OMAP hardware databases. |
| 12 | * We respectfully ask that any modifications to this file be coordinated |
| 13 | * with the public linux-omap@vger.kernel.org mailing list and the |
| 14 | * authors above to ensure that the autogeneration scripts are kept |
| 15 | * up-to-date with the file contents. |
| 16 | * |
| 17 | * This program is free software; you can redistribute it and/or modify |
| 18 | * it under the terms of the GNU General Public License version 2 as |
| 19 | * published by the Free Software Foundation. |
| 20 | */ |
| 21 | |
| 22 | #ifndef __ARCH_ARM_MACH_OMAP2_CM_REGBITS_44XX_H |
| 23 | #define __ARCH_ARM_MACH_OMAP2_CM_REGBITS_44XX_H |
| 24 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 25 | /* |
| 26 | * Used by CM_L3_1_DYNAMICDEP, CM_L3_1_DYNAMICDEP_RESTORE, CM_MPU_DYNAMICDEP, |
| 27 | * CM_TESLA_DYNAMICDEP |
| 28 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 29 | #define OMAP4430_ABE_DYNDEP_SHIFT 3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 30 | #define OMAP4430_ABE_DYNDEP_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 31 | |
| 32 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 33 | * Used by CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, CM_DUCATI_STATICDEP, |
| 34 | * CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
| 35 | * CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 36 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 37 | #define OMAP4430_ABE_STATDEP_SHIFT 3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 38 | #define OMAP4430_ABE_STATDEP_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 39 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 40 | /* Used by CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 41 | #define OMAP4430_ALWONCORE_DYNDEP_SHIFT 16 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 42 | #define OMAP4430_ALWONCORE_DYNDEP_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 43 | |
| 44 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_TESLA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 45 | #define OMAP4430_ALWONCORE_STATDEP_SHIFT 16 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 46 | #define OMAP4430_ALWONCORE_STATDEP_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 47 | |
| 48 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 49 | * Used by CM_AUTOIDLE_DPLL_ABE, CM_AUTOIDLE_DPLL_CORE, |
| 50 | * CM_AUTOIDLE_DPLL_CORE_RESTORE, CM_AUTOIDLE_DPLL_DDRPHY, |
| 51 | * CM_AUTOIDLE_DPLL_IVA, CM_AUTOIDLE_DPLL_MPU, CM_AUTOIDLE_DPLL_PER, |
| 52 | * CM_AUTOIDLE_DPLL_UNIPRO, CM_AUTOIDLE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 53 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 54 | #define OMAP4430_AUTO_DPLL_MODE_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 55 | #define OMAP4430_AUTO_DPLL_MODE_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 56 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 57 | /* Used by CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 58 | #define OMAP4430_CEFUSE_DYNDEP_SHIFT 17 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 59 | #define OMAP4430_CEFUSE_DYNDEP_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 60 | |
| 61 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_TESLA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 62 | #define OMAP4430_CEFUSE_STATDEP_SHIFT 17 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 63 | #define OMAP4430_CEFUSE_STATDEP_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 64 | |
| 65 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 66 | #define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 67 | #define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 68 | |
| 69 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 70 | #define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 71 | #define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 72 | |
| 73 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 74 | #define OMAP4430_CLKACTIVITY_ABE_LP_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 75 | #define OMAP4430_CLKACTIVITY_ABE_LP_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 76 | |
| 77 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 78 | #define OMAP4430_CLKACTIVITY_ABE_SYSCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 79 | #define OMAP4430_CLKACTIVITY_ABE_SYSCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 80 | |
| 81 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 82 | #define OMAP4430_CLKACTIVITY_ABE_X2_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 83 | #define OMAP4430_CLKACTIVITY_ABE_X2_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 84 | |
| 85 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 86 | #define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 87 | #define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 88 | |
| 89 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 90 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 91 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 92 | |
| 93 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 94 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 95 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 96 | |
| 97 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 98 | #define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 99 | #define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_MASK (1 << 9) |
| 100 | |
| 101 | /* Used by CM_ALWON_CLKSTCTRL */ |
| 102 | #define OMAP4430_CLKACTIVITY_CORE_ALWON_32K_GFCLK_SHIFT 12 |
| 103 | #define OMAP4430_CLKACTIVITY_CORE_ALWON_32K_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 104 | |
| 105 | /* Used by CM_EMU_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 106 | #define OMAP4430_CLKACTIVITY_CORE_DPLL_EMU_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 107 | #define OMAP4430_CLKACTIVITY_CORE_DPLL_EMU_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 108 | |
| 109 | /* Used by CM_CEFUSE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 110 | #define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 111 | #define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 112 | |
| 113 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 114 | #define OMAP4430_CLKACTIVITY_DLL_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 115 | #define OMAP4430_CLKACTIVITY_DLL_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 116 | |
| 117 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 118 | #define OMAP4430_CLKACTIVITY_DMT10_GFCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 119 | #define OMAP4430_CLKACTIVITY_DMT10_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 120 | |
| 121 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 122 | #define OMAP4430_CLKACTIVITY_DMT11_GFCLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 123 | #define OMAP4430_CLKACTIVITY_DMT11_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 124 | |
| 125 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 126 | #define OMAP4430_CLKACTIVITY_DMT2_GFCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 127 | #define OMAP4430_CLKACTIVITY_DMT2_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 128 | |
| 129 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 130 | #define OMAP4430_CLKACTIVITY_DMT3_GFCLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 131 | #define OMAP4430_CLKACTIVITY_DMT3_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 132 | |
| 133 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 134 | #define OMAP4430_CLKACTIVITY_DMT4_GFCLK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 135 | #define OMAP4430_CLKACTIVITY_DMT4_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 136 | |
| 137 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 138 | #define OMAP4430_CLKACTIVITY_DMT9_GFCLK_SHIFT 14 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 139 | #define OMAP4430_CLKACTIVITY_DMT9_GFCLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 140 | |
| 141 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 142 | #define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 143 | #define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 144 | |
| 145 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 146 | #define OMAP4430_CLKACTIVITY_DSS_FCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 147 | #define OMAP4430_CLKACTIVITY_DSS_FCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 148 | |
| 149 | /* Used by CM_DUCATI_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 150 | #define OMAP4430_CLKACTIVITY_DUCATI_GCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 151 | #define OMAP4430_CLKACTIVITY_DUCATI_GCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 152 | |
| 153 | /* Used by CM_EMU_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 154 | #define OMAP4430_CLKACTIVITY_EMU_SYS_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 155 | #define OMAP4430_CLKACTIVITY_EMU_SYS_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 156 | |
| 157 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 158 | #define OMAP4430_CLKACTIVITY_FDIF_GFCLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 159 | #define OMAP4430_CLKACTIVITY_FDIF_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 160 | |
| 161 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 162 | #define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_SHIFT 15 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 163 | #define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 164 | |
| 165 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 166 | #define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 167 | #define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 168 | |
| 169 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 170 | #define OMAP4430_CLKACTIVITY_HDMI_PHY_48MHZ_GFCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 171 | #define OMAP4430_CLKACTIVITY_HDMI_PHY_48MHZ_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 172 | |
| 173 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 174 | #define OMAP4430_CLKACTIVITY_HSIC_P1_480M_GFCLK_SHIFT 20 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 175 | #define OMAP4430_CLKACTIVITY_HSIC_P1_480M_GFCLK_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 176 | |
| 177 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 178 | #define OMAP4430_CLKACTIVITY_HSIC_P1_GFCLK_SHIFT 26 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 179 | #define OMAP4430_CLKACTIVITY_HSIC_P1_GFCLK_MASK (1 << 26) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 180 | |
| 181 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 182 | #define OMAP4430_CLKACTIVITY_HSIC_P2_480M_GFCLK_SHIFT 21 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 183 | #define OMAP4430_CLKACTIVITY_HSIC_P2_480M_GFCLK_MASK (1 << 21) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 184 | |
| 185 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 186 | #define OMAP4430_CLKACTIVITY_HSIC_P2_GFCLK_SHIFT 27 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 187 | #define OMAP4430_CLKACTIVITY_HSIC_P2_GFCLK_MASK (1 << 27) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 188 | |
| 189 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 190 | #define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 191 | #define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 192 | |
| 193 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 194 | #define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 195 | #define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 196 | |
| 197 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 198 | #define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_SHIFT 28 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 199 | #define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_MASK (1 << 28) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 200 | |
| 201 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 202 | #define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_SHIFT 29 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 203 | #define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_MASK (1 << 29) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 204 | |
| 205 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 206 | #define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 207 | #define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 208 | |
| 209 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 210 | #define OMAP4430_CLKACTIVITY_INIT_HSI_GFCLK_SHIFT 16 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 211 | #define OMAP4430_CLKACTIVITY_INIT_HSI_GFCLK_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 212 | |
| 213 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 214 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_SHIFT 17 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 215 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 216 | |
| 217 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 218 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_SHIFT 18 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 219 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 220 | |
| 221 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 222 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_SHIFT 19 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 223 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 224 | |
| 225 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 226 | #define OMAP4430_CLKACTIVITY_ISS_GCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 227 | #define OMAP4430_CLKACTIVITY_ISS_GCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 228 | |
| 229 | /* Used by CM_IVAHD_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 230 | #define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 231 | #define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 232 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 233 | /* Used by CM_D2D_CLKSTCTRL */ |
| 234 | #define OMAP4430_CLKACTIVITY_L3X2_D2D_GICLK_SHIFT 10 |
| 235 | #define OMAP4430_CLKACTIVITY_L3X2_D2D_GICLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 236 | |
| 237 | /* Used by CM_L3_1_CLKSTCTRL, CM_L3_1_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 238 | #define OMAP4430_CLKACTIVITY_L3_1_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 239 | #define OMAP4430_CLKACTIVITY_L3_1_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 240 | |
| 241 | /* Used by CM_L3_2_CLKSTCTRL, CM_L3_2_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 242 | #define OMAP4430_CLKACTIVITY_L3_2_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 243 | #define OMAP4430_CLKACTIVITY_L3_2_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 244 | |
| 245 | /* Used by CM_D2D_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 246 | #define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 247 | #define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 248 | |
| 249 | /* Used by CM_SDMA_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 250 | #define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 251 | #define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 252 | |
| 253 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 254 | #define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 255 | #define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 256 | |
| 257 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 258 | #define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 259 | #define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 260 | |
| 261 | /* Used by CM_GFX_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 262 | #define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 263 | #define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 264 | |
| 265 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 266 | #define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 267 | #define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 268 | |
| 269 | /* Used by CM_L3INSTR_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 270 | #define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 271 | #define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 272 | |
| 273 | /* Used by CM_L4SEC_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 274 | #define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 275 | #define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 276 | |
| 277 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 278 | #define OMAP4430_CLKACTIVITY_L4_AO_ICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 279 | #define OMAP4430_CLKACTIVITY_L4_AO_ICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 280 | |
| 281 | /* Used by CM_CEFUSE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 282 | #define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 283 | #define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 284 | |
| 285 | /* Used by CM_L4CFG_CLKSTCTRL, CM_L4CFG_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 286 | #define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 287 | #define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 288 | |
| 289 | /* Used by CM_D2D_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 290 | #define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 291 | #define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 292 | |
| 293 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 294 | #define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 295 | #define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 296 | |
| 297 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 298 | #define OMAP4430_CLKACTIVITY_L4_PER_GICLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 299 | #define OMAP4430_CLKACTIVITY_L4_PER_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 300 | |
| 301 | /* Used by CM_L4SEC_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 302 | #define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 303 | #define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 304 | |
| 305 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 306 | #define OMAP4430_CLKACTIVITY_L4_WKUP_GICLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 307 | #define OMAP4430_CLKACTIVITY_L4_WKUP_GICLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 308 | |
| 309 | /* Used by CM_MPU_CLKSTCTRL, CM_MPU_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 310 | #define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 311 | #define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 312 | |
| 313 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 314 | #define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 315 | #define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 316 | |
| 317 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 318 | #define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_SHIFT 16 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 319 | #define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 320 | |
| 321 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 322 | #define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_SHIFT 17 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 323 | #define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 324 | |
| 325 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 326 | #define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_SHIFT 18 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 327 | #define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 328 | |
| 329 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 330 | #define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_SHIFT 19 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 331 | #define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 332 | |
| 333 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 334 | #define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_SHIFT 25 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 335 | #define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 336 | |
| 337 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 338 | #define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_SHIFT 20 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 339 | #define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 340 | |
| 341 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 342 | #define OMAP4430_CLKACTIVITY_PER_MCASP3_GFCLK_SHIFT 21 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 343 | #define OMAP4430_CLKACTIVITY_PER_MCASP3_GFCLK_MASK (1 << 21) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 344 | |
| 345 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 346 | #define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_SHIFT 22 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 347 | #define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_MASK (1 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 348 | |
| 349 | /* Used by CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 350 | #define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 351 | #define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 352 | |
| 353 | /* Used by CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 354 | #define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 355 | #define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 356 | |
| 357 | /* Used by CM_GFX_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 358 | #define OMAP4430_CLKACTIVITY_SGX_GFCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 359 | #define OMAP4430_CLKACTIVITY_SGX_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 360 | |
| 361 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 362 | #define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 363 | #define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 364 | |
| 365 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 366 | #define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 367 | #define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 368 | |
| 369 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 370 | #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 371 | #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 372 | |
| 373 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 374 | #define OMAP4430_CLKACTIVITY_SYS_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 375 | #define OMAP4430_CLKACTIVITY_SYS_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 376 | |
| 377 | /* Used by CM_TESLA_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 378 | #define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 379 | #define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 380 | |
| 381 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 382 | #define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_SHIFT 22 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 383 | #define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_MASK (1 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 384 | |
| 385 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 386 | #define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_SHIFT 23 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 387 | #define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_MASK (1 << 23) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 388 | |
| 389 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 390 | #define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 391 | #define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_MASK (1 << 24) |
| 392 | |
| 393 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
| 394 | #define OMAP4430_CLKACTIVITY_UNIPRO_DPLL_CLK_SHIFT 10 |
| 395 | #define OMAP4430_CLKACTIVITY_UNIPRO_DPLL_CLK_MASK (1 << 10) |
| 396 | |
| 397 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
| 398 | #define OMAP4430_CLKACTIVITY_USB_DPLL_CLK_SHIFT 14 |
| 399 | #define OMAP4430_CLKACTIVITY_USB_DPLL_CLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 400 | |
| 401 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 402 | #define OMAP4430_CLKACTIVITY_USB_DPLL_HS_CLK_SHIFT 15 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 403 | #define OMAP4430_CLKACTIVITY_USB_DPLL_HS_CLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 404 | |
| 405 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 406 | #define OMAP4430_CLKACTIVITY_USIM_GFCLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 407 | #define OMAP4430_CLKACTIVITY_USIM_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 408 | |
| 409 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 410 | #define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_SHIFT 30 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 411 | #define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_MASK (1 << 30) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 412 | |
| 413 | /* Used by CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 414 | #define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_SHIFT 25 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 415 | #define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 416 | |
| 417 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 418 | #define OMAP4430_CLKACTIVITY_WKUP_32K_GFCLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 419 | #define OMAP4430_CLKACTIVITY_WKUP_32K_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 420 | |
| 421 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 422 | * Used by CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, |
| 423 | * CM1_ABE_TIMER7_CLKCTRL, CM1_ABE_TIMER8_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, |
| 424 | * CM_L3INIT_MMC2_CLKCTRL, CM_L3INIT_MMC6_CLKCTRL, CM_L4PER_DMTIMER10_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 425 | * CM_L4PER_DMTIMER11_CLKCTRL, CM_L4PER_DMTIMER2_CLKCTRL, |
| 426 | * CM_L4PER_DMTIMER3_CLKCTRL, CM_L4PER_DMTIMER4_CLKCTRL, |
| 427 | * CM_L4PER_DMTIMER9_CLKCTRL, CM_L4PER_MCASP2_CLKCTRL, CM_L4PER_MCASP3_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 428 | * CM_WKUP_TIMER1_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 429 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 430 | #define OMAP4430_CLKSEL_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 431 | #define OMAP4430_CLKSEL_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 432 | |
| 433 | /* |
| 434 | * Renamed from CLKSEL Used by CM_ABE_DSS_SYS_CLKSEL, CM_ABE_PLL_REF_CLKSEL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 435 | * CM_L4_WKUP_CLKSEL, CM_CLKSEL_DUCATI_ISS_ROOT, CM_CLKSEL_USB_60MHZ |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 436 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 437 | #define OMAP4430_CLKSEL_0_0_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 438 | #define OMAP4430_CLKSEL_0_0_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 439 | |
| 440 | /* Renamed from CLKSEL Used by CM_BYPCLK_DPLL_IVA, CM_BYPCLK_DPLL_MPU */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 441 | #define OMAP4430_CLKSEL_0_1_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 442 | #define OMAP4430_CLKSEL_0_1_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 443 | |
| 444 | /* Renamed from CLKSEL Used by CM_L3INIT_HSI_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 445 | #define OMAP4430_CLKSEL_24_25_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 446 | #define OMAP4430_CLKSEL_24_25_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 447 | |
| 448 | /* Used by CM_L3INIT_USB_OTG_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 449 | #define OMAP4430_CLKSEL_60M_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 450 | #define OMAP4430_CLKSEL_60M_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 451 | |
| 452 | /* Used by CM1_ABE_AESS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 453 | #define OMAP4430_CLKSEL_AESS_FCLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 454 | #define OMAP4430_CLKSEL_AESS_FCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 455 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 456 | /* Used by CM_CLKSEL_CORE, CM_CLKSEL_CORE_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 457 | #define OMAP4430_CLKSEL_CORE_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 458 | #define OMAP4430_CLKSEL_CORE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 459 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 460 | /* |
| 461 | * Renamed from CLKSEL_CORE Used by CM_SHADOW_FREQ_CONFIG2_RESTORE, |
| 462 | * CM_SHADOW_FREQ_CONFIG2 |
| 463 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 464 | #define OMAP4430_CLKSEL_CORE_1_1_SHIFT 1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 465 | #define OMAP4430_CLKSEL_CORE_1_1_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 466 | |
| 467 | /* Used by CM_WKUP_USIM_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 468 | #define OMAP4430_CLKSEL_DIV_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 469 | #define OMAP4430_CLKSEL_DIV_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 470 | |
| 471 | /* Used by CM_CAM_FDIF_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 472 | #define OMAP4430_CLKSEL_FCLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 473 | #define OMAP4430_CLKSEL_FCLK_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 474 | |
| 475 | /* Used by CM_L4PER_MCBSP4_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 476 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_SHIFT 25 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 477 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 478 | |
| 479 | /* |
| 480 | * Renamed from CLKSEL_INTERNAL_SOURCE Used by CM1_ABE_DMIC_CLKCTRL, |
| 481 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 482 | * CM1_ABE_MCBSP3_CLKCTRL |
| 483 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 484 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_CM1_ABE_DMIC_SHIFT 26 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 485 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_CM1_ABE_DMIC_MASK (0x3 << 26) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 486 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 487 | /* Used by CM_CLKSEL_CORE, CM_CLKSEL_CORE_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 488 | #define OMAP4430_CLKSEL_L3_SHIFT 4 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 489 | #define OMAP4430_CLKSEL_L3_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 490 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 491 | /* |
| 492 | * Renamed from CLKSEL_L3 Used by CM_SHADOW_FREQ_CONFIG2_RESTORE, |
| 493 | * CM_SHADOW_FREQ_CONFIG2 |
| 494 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 495 | #define OMAP4430_CLKSEL_L3_SHADOW_SHIFT 2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 496 | #define OMAP4430_CLKSEL_L3_SHADOW_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 497 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 498 | /* Used by CM_CLKSEL_CORE, CM_CLKSEL_CORE_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 499 | #define OMAP4430_CLKSEL_L4_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 500 | #define OMAP4430_CLKSEL_L4_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 501 | |
| 502 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 503 | #define OMAP4430_CLKSEL_OPP_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 504 | #define OMAP4430_CLKSEL_OPP_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 505 | |
| 506 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 507 | #define OMAP4430_CLKSEL_PMD_STM_CLK_SHIFT 27 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 508 | #define OMAP4430_CLKSEL_PMD_STM_CLK_MASK (0x7 << 27) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 509 | |
| 510 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 511 | #define OMAP4430_CLKSEL_PMD_TRACE_CLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 512 | #define OMAP4430_CLKSEL_PMD_TRACE_CLK_MASK (0x7 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 513 | |
| 514 | /* Used by CM_GFX_GFX_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 515 | #define OMAP4430_CLKSEL_SGX_FCLK_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 516 | #define OMAP4430_CLKSEL_SGX_FCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 517 | |
| 518 | /* |
| 519 | * Used by CM1_ABE_DMIC_CLKCTRL, CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, |
| 520 | * CM1_ABE_MCBSP2_CLKCTRL, CM1_ABE_MCBSP3_CLKCTRL |
| 521 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 522 | #define OMAP4430_CLKSEL_SOURCE_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 523 | #define OMAP4430_CLKSEL_SOURCE_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 524 | |
| 525 | /* Renamed from CLKSEL_SOURCE Used by CM_L4PER_MCBSP4_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 526 | #define OMAP4430_CLKSEL_SOURCE_24_24_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 527 | #define OMAP4430_CLKSEL_SOURCE_24_24_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 528 | |
| 529 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 530 | #define OMAP4430_CLKSEL_UTMI_P1_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 531 | #define OMAP4430_CLKSEL_UTMI_P1_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 532 | |
| 533 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 534 | #define OMAP4430_CLKSEL_UTMI_P2_SHIFT 25 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 535 | #define OMAP4430_CLKSEL_UTMI_P2_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 536 | |
| 537 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 538 | * Used by CM1_ABE_CLKSTCTRL, CM_ALWON_CLKSTCTRL, CM_CAM_CLKSTCTRL, |
| 539 | * CM_CEFUSE_CLKSTCTRL, CM_D2D_CLKSTCTRL, CM_DSS_CLKSTCTRL, |
| 540 | * CM_DUCATI_CLKSTCTRL, CM_EMU_CLKSTCTRL, CM_GFX_CLKSTCTRL, CM_IVAHD_CLKSTCTRL, |
| 541 | * CM_L3INIT_CLKSTCTRL, CM_L3INIT_CLKSTCTRL_RESTORE, CM_L3INSTR_CLKSTCTRL, |
| 542 | * CM_L3_1_CLKSTCTRL, CM_L3_1_CLKSTCTRL_RESTORE, CM_L3_2_CLKSTCTRL, |
| 543 | * CM_L3_2_CLKSTCTRL_RESTORE, CM_L4CFG_CLKSTCTRL, CM_L4CFG_CLKSTCTRL_RESTORE, |
| 544 | * CM_L4PER_CLKSTCTRL, CM_L4PER_CLKSTCTRL_RESTORE, CM_L4SEC_CLKSTCTRL, |
| 545 | * CM_MEMIF_CLKSTCTRL, CM_MEMIF_CLKSTCTRL_RESTORE, CM_MPU_CLKSTCTRL, |
| 546 | * CM_MPU_CLKSTCTRL_RESTORE, CM_SDMA_CLKSTCTRL, CM_TESLA_CLKSTCTRL, |
| 547 | * CM_WKUP_CLKSTCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 548 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 549 | #define OMAP4430_CLKTRCTRL_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 550 | #define OMAP4430_CLKTRCTRL_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 551 | |
| 552 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 553 | #define OMAP4430_CORE_DPLL_EMU_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 554 | #define OMAP4430_CORE_DPLL_EMU_DIV_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 555 | |
| 556 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 557 | #define OMAP4430_CORE_DPLL_EMU_MULT_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 558 | #define OMAP4430_CORE_DPLL_EMU_MULT_MASK (0x7ff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 559 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 560 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 561 | #define OMAP4430_CUSTOM_SHIFT 6 |
| 562 | #define OMAP4430_CUSTOM_MASK (0x3 << 6) |
| 563 | |
| 564 | /* |
| 565 | * Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 566 | * CM_L4CFG_DYNAMICDEP_RESTORE |
| 567 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 568 | #define OMAP4430_D2D_DYNDEP_SHIFT 18 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 569 | #define OMAP4430_D2D_DYNDEP_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 570 | |
| 571 | /* Used by CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 572 | #define OMAP4430_D2D_STATDEP_SHIFT 18 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 573 | #define OMAP4430_D2D_STATDEP_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 574 | |
| 575 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 576 | * Used by CM_SSC_DELTAMSTEP_DPLL_ABE, CM_SSC_DELTAMSTEP_DPLL_CORE, |
| 577 | * CM_SSC_DELTAMSTEP_DPLL_CORE_RESTORE, CM_SSC_DELTAMSTEP_DPLL_DDRPHY, |
| 578 | * CM_SSC_DELTAMSTEP_DPLL_IVA, CM_SSC_DELTAMSTEP_DPLL_MPU, |
| 579 | * CM_SSC_DELTAMSTEP_DPLL_PER, CM_SSC_DELTAMSTEP_DPLL_UNIPRO, |
| 580 | * CM_SSC_DELTAMSTEP_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 581 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 582 | #define OMAP4430_DELTAMSTEP_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 583 | #define OMAP4430_DELTAMSTEP_MASK (0xfffff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 584 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 585 | /* Used by CM_SHADOW_FREQ_CONFIG1, CM_SHADOW_FREQ_CONFIG1_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 586 | #define OMAP4430_DLL_OVERRIDE_SHIFT 2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 587 | #define OMAP4430_DLL_OVERRIDE_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 588 | |
| 589 | /* Renamed from DLL_OVERRIDE Used by CM_DLL_CTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 590 | #define OMAP4430_DLL_OVERRIDE_0_0_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 591 | #define OMAP4430_DLL_OVERRIDE_0_0_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 592 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 593 | /* Used by CM_SHADOW_FREQ_CONFIG1, CM_SHADOW_FREQ_CONFIG1_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 594 | #define OMAP4430_DLL_RESET_SHIFT 3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 595 | #define OMAP4430_DLL_RESET_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 596 | |
| 597 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 598 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, |
| 599 | * CM_CLKSEL_DPLL_CORE_RESTORE, CM_CLKSEL_DPLL_DDRPHY, CM_CLKSEL_DPLL_IVA, |
| 600 | * CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, CM_CLKSEL_DPLL_UNIPRO, |
| 601 | * CM_CLKSEL_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 602 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 603 | #define OMAP4430_DPLL_BYP_CLKSEL_SHIFT 23 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 604 | #define OMAP4430_DPLL_BYP_CLKSEL_MASK (1 << 23) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 605 | |
| 606 | /* Used by CM_CLKDCOLDO_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 607 | #define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 608 | #define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 609 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 610 | /* Used by CM_CLKSEL_DPLL_CORE, CM_CLKSEL_DPLL_CORE_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 611 | #define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_SHIFT 20 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 612 | #define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 613 | |
| 614 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 615 | * Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, |
| 616 | * CM_DIV_M3_DPLL_CORE_RESTORE, CM_DIV_M3_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 617 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 618 | #define OMAP4430_DPLL_CLKOUTHIF_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 619 | #define OMAP4430_DPLL_CLKOUTHIF_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 620 | |
| 621 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 622 | * Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, |
| 623 | * CM_DIV_M3_DPLL_CORE_RESTORE, CM_DIV_M3_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 624 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 625 | #define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 626 | #define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 627 | |
| 628 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 629 | * Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, |
| 630 | * CM_DIV_M3_DPLL_CORE_RESTORE, CM_DIV_M3_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 631 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 632 | #define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 633 | #define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 634 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 635 | /* Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 636 | #define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 637 | #define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 638 | |
| 639 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 640 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, |
| 641 | * CM_DIV_M2_DPLL_CORE_RESTORE, CM_DIV_M2_DPLL_DDRPHY, CM_DIV_M2_DPLL_MPU, |
| 642 | * CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 643 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 644 | #define OMAP4430_DPLL_CLKOUT_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 645 | #define OMAP4430_DPLL_CLKOUT_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 646 | |
| 647 | /* Renamed from DPLL_CLKOUT_DIV Used by CM_DIV_M2_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 648 | #define OMAP4430_DPLL_CLKOUT_DIV_0_6_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 649 | #define OMAP4430_DPLL_CLKOUT_DIV_0_6_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 650 | |
| 651 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 652 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, |
| 653 | * CM_DIV_M2_DPLL_CORE_RESTORE, CM_DIV_M2_DPLL_DDRPHY, CM_DIV_M2_DPLL_MPU, |
| 654 | * CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 655 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 656 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 657 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 658 | |
| 659 | /* Renamed from DPLL_CLKOUT_DIVCHACK Used by CM_DIV_M2_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 660 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_M2_USB_SHIFT 7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 661 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_M2_USB_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 662 | |
| 663 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 664 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, |
| 665 | * CM_DIV_M2_DPLL_CORE_RESTORE, CM_DIV_M2_DPLL_DDRPHY, CM_DIV_M2_DPLL_MPU, |
| 666 | * CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 667 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 668 | #define OMAP4430_DPLL_CLKOUT_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 669 | #define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 670 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 671 | /* Used by CM_SHADOW_FREQ_CONFIG1, CM_SHADOW_FREQ_CONFIG1_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 672 | #define OMAP4430_DPLL_CORE_DPLL_EN_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 673 | #define OMAP4430_DPLL_CORE_DPLL_EN_MASK (0x7 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 674 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 675 | /* Used by CM_SHADOW_FREQ_CONFIG1, CM_SHADOW_FREQ_CONFIG1_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 676 | #define OMAP4430_DPLL_CORE_M2_DIV_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 677 | #define OMAP4430_DPLL_CORE_M2_DIV_MASK (0x1f << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 678 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 679 | /* Used by CM_SHADOW_FREQ_CONFIG2, CM_SHADOW_FREQ_CONFIG2_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 680 | #define OMAP4430_DPLL_CORE_M5_DIV_SHIFT 3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 681 | #define OMAP4430_DPLL_CORE_M5_DIV_MASK (0x1f << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 682 | |
| 683 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 684 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, |
| 685 | * CM_CLKSEL_DPLL_CORE_RESTORE, CM_CLKSEL_DPLL_DDRPHY, CM_CLKSEL_DPLL_IVA, |
| 686 | * CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, CM_CLKSEL_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 687 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 688 | #define OMAP4430_DPLL_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 689 | #define OMAP4430_DPLL_DIV_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 690 | |
| 691 | /* Renamed from DPLL_DIV Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 692 | #define OMAP4430_DPLL_DIV_0_7_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 693 | #define OMAP4430_DPLL_DIV_0_7_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 694 | |
| 695 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 696 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 697 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 698 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 699 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 700 | #define OMAP4430_DPLL_DRIFTGUARD_EN_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 701 | #define OMAP4430_DPLL_DRIFTGUARD_EN_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 702 | |
| 703 | /* Renamed from DPLL_DRIFTGUARD_EN Used by CM_CLKMODE_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 704 | #define OMAP4430_DPLL_DRIFTGUARD_EN_3_3_SHIFT 3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 705 | #define OMAP4430_DPLL_DRIFTGUARD_EN_3_3_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 706 | |
| 707 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 708 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 709 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 710 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO, |
| 711 | * CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 712 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 713 | #define OMAP4430_DPLL_EN_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 714 | #define OMAP4430_DPLL_EN_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 715 | |
| 716 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 717 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 718 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 719 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 720 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 721 | #define OMAP4430_DPLL_LPMODE_EN_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 722 | #define OMAP4430_DPLL_LPMODE_EN_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 723 | |
| 724 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 725 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, |
| 726 | * CM_CLKSEL_DPLL_CORE_RESTORE, CM_CLKSEL_DPLL_DDRPHY, CM_CLKSEL_DPLL_IVA, |
| 727 | * CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, CM_CLKSEL_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 728 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 729 | #define OMAP4430_DPLL_MULT_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 730 | #define OMAP4430_DPLL_MULT_MASK (0x7ff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 731 | |
| 732 | /* Renamed from DPLL_MULT Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 733 | #define OMAP4430_DPLL_MULT_USB_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 734 | #define OMAP4430_DPLL_MULT_USB_MASK (0xfff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 735 | |
| 736 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 737 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 738 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 739 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 740 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 741 | #define OMAP4430_DPLL_REGM4XEN_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 742 | #define OMAP4430_DPLL_REGM4XEN_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 743 | |
| 744 | /* Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 745 | #define OMAP4430_DPLL_SD_DIV_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 746 | #define OMAP4430_DPLL_SD_DIV_MASK (0xff << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 747 | |
| 748 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 749 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 750 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 751 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO, |
| 752 | * CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 753 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 754 | #define OMAP4430_DPLL_SSC_ACK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 755 | #define OMAP4430_DPLL_SSC_ACK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 756 | |
| 757 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 758 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 759 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 760 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO, |
| 761 | * CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 762 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 763 | #define OMAP4430_DPLL_SSC_DOWNSPREAD_SHIFT 14 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 764 | #define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 765 | |
| 766 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 767 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, |
| 768 | * CM_CLKMODE_DPLL_CORE_RESTORE, CM_CLKMODE_DPLL_DDRPHY, CM_CLKMODE_DPLL_IVA, |
| 769 | * CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, CM_CLKMODE_DPLL_UNIPRO, |
| 770 | * CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 771 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 772 | #define OMAP4430_DPLL_SSC_EN_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 773 | #define OMAP4430_DPLL_SSC_EN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 774 | |
| 775 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 776 | * Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 777 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_L4PER_DYNAMICDEP, CM_L4PER_DYNAMICDEP_RESTORE |
| 778 | */ |
| 779 | #define OMAP4430_DSS_DYNDEP_SHIFT 8 |
| 780 | #define OMAP4430_DSS_DYNDEP_MASK (1 << 8) |
| 781 | |
| 782 | /* |
| 783 | * Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
| 784 | * CM_SDMA_STATICDEP_RESTORE |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 785 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 786 | #define OMAP4430_DSS_STATDEP_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 787 | #define OMAP4430_DSS_STATDEP_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 788 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 789 | /* Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 790 | #define OMAP4430_DUCATI_DYNDEP_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 791 | #define OMAP4430_DUCATI_DYNDEP_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 792 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 793 | /* Used by CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 794 | #define OMAP4430_DUCATI_STATDEP_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 795 | #define OMAP4430_DUCATI_STATDEP_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 796 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 797 | /* Used by CM_SHADOW_FREQ_CONFIG1, CM_SHADOW_FREQ_CONFIG1_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 798 | #define OMAP4430_FREQ_UPDATE_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 799 | #define OMAP4430_FREQ_UPDATE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 800 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 801 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 802 | #define OMAP4430_FUNC_SHIFT 16 |
| 803 | #define OMAP4430_FUNC_MASK (0xfff << 16) |
| 804 | |
| 805 | /* Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 806 | #define OMAP4430_GFX_DYNDEP_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 807 | #define OMAP4430_GFX_DYNDEP_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 808 | |
| 809 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 810 | #define OMAP4430_GFX_STATDEP_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 811 | #define OMAP4430_GFX_STATDEP_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 812 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 813 | /* Used by CM_SHADOW_FREQ_CONFIG2, CM_SHADOW_FREQ_CONFIG2_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 814 | #define OMAP4430_GPMC_FREQ_UPDATE_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 815 | #define OMAP4430_GPMC_FREQ_UPDATE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 816 | |
| 817 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 818 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_CORE_RESTORE, |
| 819 | * CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 820 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 821 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 822 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 823 | |
| 824 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 825 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_CORE_RESTORE, |
| 826 | * CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 827 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 828 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 829 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 830 | |
| 831 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 832 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_CORE_RESTORE, |
| 833 | * CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 834 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 835 | #define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 836 | #define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 837 | |
| 838 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 839 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_CORE_RESTORE, |
| 840 | * CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 841 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 842 | #define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 843 | #define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 844 | |
| 845 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 846 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_CORE_RESTORE, |
| 847 | * CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 848 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 849 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 850 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 851 | |
| 852 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 853 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_CORE_RESTORE, |
| 854 | * CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 855 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 856 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 857 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 858 | |
| 859 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 860 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_CORE_RESTORE, |
| 861 | * CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 862 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 863 | #define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 864 | #define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 865 | |
| 866 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 867 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_CORE_RESTORE, |
| 868 | * CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 869 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 870 | #define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 871 | #define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 872 | |
| 873 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 874 | * Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_CORE_RESTORE, |
| 875 | * CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 876 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 877 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 878 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 879 | |
| 880 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 881 | * Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_CORE_RESTORE, |
| 882 | * CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 883 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 884 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 885 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 886 | |
| 887 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 888 | * Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_CORE_RESTORE, |
| 889 | * CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 890 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 891 | #define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 892 | #define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 893 | |
| 894 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 895 | * Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_CORE_RESTORE, |
| 896 | * CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 897 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 898 | #define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 899 | #define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 900 | |
| 901 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 902 | * Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_CORE_RESTORE, |
| 903 | * CM_DIV_M7_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 904 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 905 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIV_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 906 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 907 | |
| 908 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 909 | * Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_CORE_RESTORE, |
| 910 | * CM_DIV_M7_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 911 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 912 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_SHIFT 5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 913 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 914 | |
| 915 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 916 | * Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_CORE_RESTORE, |
| 917 | * CM_DIV_M7_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 918 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 919 | #define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 920 | #define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 921 | |
| 922 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 923 | * Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_CORE_RESTORE, |
| 924 | * CM_DIV_M7_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 925 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 926 | #define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 927 | #define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 928 | |
| 929 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 930 | * Used by CM1_ABE_AESS_CLKCTRL, CM1_ABE_DMIC_CLKCTRL, CM1_ABE_L4ABE_CLKCTRL, |
| 931 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 932 | * CM1_ABE_MCBSP3_CLKCTRL, CM1_ABE_PDM_CLKCTRL, CM1_ABE_SLIMBUS_CLKCTRL, |
| 933 | * CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, CM1_ABE_TIMER7_CLKCTRL, |
| 934 | * CM1_ABE_TIMER8_CLKCTRL, CM1_ABE_WDT3_CLKCTRL, CM_ALWON_MDMINTC_CLKCTRL, |
| 935 | * CM_ALWON_SR_CORE_CLKCTRL, CM_ALWON_SR_IVA_CLKCTRL, CM_ALWON_SR_MPU_CLKCTRL, |
| 936 | * CM_CAM_FDIF_CLKCTRL, CM_CAM_ISS_CLKCTRL, CM_CEFUSE_CEFUSE_CLKCTRL, |
| 937 | * CM_CM1_PROFILING_CLKCTRL, CM_CM1_PROFILING_CLKCTRL_RESTORE, |
| 938 | * CM_CM2_PROFILING_CLKCTRL, CM_CM2_PROFILING_CLKCTRL_RESTORE, |
| 939 | * CM_D2D_MODEM_ICR_CLKCTRL, CM_D2D_SAD2D_CLKCTRL, CM_D2D_SAD2D_FW_CLKCTRL, |
| 940 | * CM_DSS_DEISS_CLKCTRL, CM_DSS_DSS_CLKCTRL, CM_DUCATI_DUCATI_CLKCTRL, |
| 941 | * CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, CM_IVAHD_IVAHD_CLKCTRL, |
| 942 | * CM_IVAHD_SL2_CLKCTRL, CM_L3INIT_CCPTX_CLKCTRL, CM_L3INIT_EMAC_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 943 | * CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, CM_L3INIT_MMC2_CLKCTRL, |
| 944 | * CM_L3INIT_MMC6_CLKCTRL, CM_L3INIT_P1500_CLKCTRL, CM_L3INIT_PCIESS_CLKCTRL, |
| 945 | * CM_L3INIT_SATA_CLKCTRL, CM_L3INIT_TPPSS_CLKCTRL, CM_L3INIT_UNIPRO1_CLKCTRL, |
| 946 | * CM_L3INIT_USBPHYOCP2SCP_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 947 | * CM_L3INIT_USB_HOST_CLKCTRL_RESTORE, CM_L3INIT_USB_HOST_FS_CLKCTRL, |
| 948 | * CM_L3INIT_USB_OTG_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL, |
| 949 | * CM_L3INIT_USB_TLL_CLKCTRL_RESTORE, CM_L3INIT_XHPI_CLKCTRL, |
| 950 | * CM_L3INSTR_L3_3_CLKCTRL, CM_L3INSTR_L3_3_CLKCTRL_RESTORE, |
| 951 | * CM_L3INSTR_L3_INSTR_CLKCTRL, CM_L3INSTR_L3_INSTR_CLKCTRL_RESTORE, |
| 952 | * CM_L3INSTR_OCP_WP1_CLKCTRL, CM_L3INSTR_OCP_WP1_CLKCTRL_RESTORE, |
| 953 | * CM_L3_1_L3_1_CLKCTRL, CM_L3_2_GPMC_CLKCTRL, CM_L3_2_L3_2_CLKCTRL, |
| 954 | * CM_L3_2_OCMC_RAM_CLKCTRL, CM_L4CFG_HW_SEM_CLKCTRL, CM_L4CFG_L4_CFG_CLKCTRL, |
| 955 | * CM_L4CFG_MAILBOX_CLKCTRL, CM_L4CFG_SAR_ROM_CLKCTRL, CM_L4PER_ADC_CLKCTRL, |
| 956 | * CM_L4PER_DMTIMER10_CLKCTRL, CM_L4PER_DMTIMER11_CLKCTRL, |
| 957 | * CM_L4PER_DMTIMER2_CLKCTRL, CM_L4PER_DMTIMER3_CLKCTRL, |
| 958 | * CM_L4PER_DMTIMER4_CLKCTRL, CM_L4PER_DMTIMER9_CLKCTRL, CM_L4PER_ELM_CLKCTRL, |
| 959 | * CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO2_CLKCTRL_RESTORE, |
| 960 | * CM_L4PER_GPIO3_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL_RESTORE, |
| 961 | * CM_L4PER_GPIO4_CLKCTRL, CM_L4PER_GPIO4_CLKCTRL_RESTORE, |
| 962 | * CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO5_CLKCTRL_RESTORE, |
| 963 | * CM_L4PER_GPIO6_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL_RESTORE, |
| 964 | * CM_L4PER_HDQ1W_CLKCTRL, CM_L4PER_HECC1_CLKCTRL, CM_L4PER_HECC2_CLKCTRL, |
| 965 | * CM_L4PER_I2C1_CLKCTRL, CM_L4PER_I2C2_CLKCTRL, CM_L4PER_I2C3_CLKCTRL, |
| 966 | * CM_L4PER_I2C4_CLKCTRL, CM_L4PER_I2C5_CLKCTRL, CM_L4PER_L4PER_CLKCTRL, |
| 967 | * CM_L4PER_MCASP2_CLKCTRL, CM_L4PER_MCASP3_CLKCTRL, CM_L4PER_MCBSP4_CLKCTRL, |
| 968 | * CM_L4PER_MCSPI1_CLKCTRL, CM_L4PER_MCSPI2_CLKCTRL, CM_L4PER_MCSPI3_CLKCTRL, |
| 969 | * CM_L4PER_MCSPI4_CLKCTRL, CM_L4PER_MGATE_CLKCTRL, CM_L4PER_MMCSD3_CLKCTRL, |
| 970 | * CM_L4PER_MMCSD4_CLKCTRL, CM_L4PER_MMCSD5_CLKCTRL, CM_L4PER_MSPROHG_CLKCTRL, |
| 971 | * CM_L4PER_SLIMBUS2_CLKCTRL, CM_L4PER_UART1_CLKCTRL, CM_L4PER_UART2_CLKCTRL, |
| 972 | * CM_L4PER_UART3_CLKCTRL, CM_L4PER_UART4_CLKCTRL, CM_L4SEC_AES1_CLKCTRL, |
| 973 | * CM_L4SEC_AES2_CLKCTRL, CM_L4SEC_CRYPTODMA_CLKCTRL, CM_L4SEC_DES3DES_CLKCTRL, |
| 974 | * CM_L4SEC_PKAEIP29_CLKCTRL, CM_L4SEC_RNG_CLKCTRL, CM_L4SEC_SHA2MD51_CLKCTRL, |
| 975 | * CM_MEMIF_DMM_CLKCTRL, CM_MEMIF_EMIF_1_CLKCTRL, CM_MEMIF_EMIF_2_CLKCTRL, |
| 976 | * CM_MEMIF_EMIF_FW_CLKCTRL, CM_MEMIF_EMIF_H1_CLKCTRL, |
| 977 | * CM_MEMIF_EMIF_H2_CLKCTRL, CM_MPU_MPU_CLKCTRL, CM_SDMA_SDMA_CLKCTRL, |
| 978 | * CM_TESLA_TESLA_CLKCTRL, CM_WKUP_GPIO1_CLKCTRL, CM_WKUP_KEYBOARD_CLKCTRL, |
| 979 | * CM_WKUP_L4WKUP_CLKCTRL, CM_WKUP_RTC_CLKCTRL, CM_WKUP_SARRAM_CLKCTRL, |
| 980 | * CM_WKUP_SYNCTIMER_CLKCTRL, CM_WKUP_TIMER12_CLKCTRL, CM_WKUP_TIMER1_CLKCTRL, |
| 981 | * CM_WKUP_USIM_CLKCTRL, CM_WKUP_WDT1_CLKCTRL, CM_WKUP_WDT2_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 982 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 983 | #define OMAP4430_IDLEST_SHIFT 16 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 984 | #define OMAP4430_IDLEST_MASK (0x3 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 985 | |
| 986 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 987 | * Used by CM_DUCATI_DYNAMICDEP, CM_L3_2_DYNAMICDEP, |
| 988 | * CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE |
| 989 | */ |
| 990 | #define OMAP4430_ISS_DYNDEP_SHIFT 9 |
| 991 | #define OMAP4430_ISS_DYNDEP_MASK (1 << 9) |
| 992 | |
| 993 | /* |
| 994 | * Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
| 995 | * CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 996 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 997 | #define OMAP4430_ISS_STATDEP_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 998 | #define OMAP4430_ISS_STATDEP_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 999 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1000 | /* Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_TESLA_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1001 | #define OMAP4430_IVAHD_DYNDEP_SHIFT 2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1002 | #define OMAP4430_IVAHD_DYNDEP_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1003 | |
| 1004 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1005 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, |
| 1006 | * CM_DSS_STATICDEP, CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, |
| 1007 | * CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
| 1008 | * CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1009 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1010 | #define OMAP4430_IVAHD_STATDEP_SHIFT 2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1011 | #define OMAP4430_IVAHD_STATDEP_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1012 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1013 | /* |
| 1014 | * Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 1015 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_L4PER_DYNAMICDEP, CM_L4PER_DYNAMICDEP_RESTORE |
| 1016 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1017 | #define OMAP4430_L3INIT_DYNDEP_SHIFT 7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1018 | #define OMAP4430_L3INIT_DYNDEP_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1019 | |
| 1020 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1021 | * Used by CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, CM_DUCATI_STATICDEP, |
| 1022 | * CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1023 | * CM_TESLA_STATICDEP |
| 1024 | */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1025 | #define OMAP4430_L3INIT_STATDEP_SHIFT 7 |
| 1026 | #define OMAP4430_L3INIT_STATDEP_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1027 | |
| 1028 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1029 | * Used by CM_DSS_DYNAMICDEP, CM_L3INIT_DYNAMICDEP, CM_L3_2_DYNAMICDEP, |
| 1030 | * CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 1031 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_MPU_DYNAMICDEP, CM_TESLA_DYNAMICDEP |
| 1032 | */ |
| 1033 | #define OMAP4430_L3_1_DYNDEP_SHIFT 5 |
| 1034 | #define OMAP4430_L3_1_DYNDEP_MASK (1 << 5) |
| 1035 | |
| 1036 | /* |
| 1037 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, |
| 1038 | * CM_DSS_STATICDEP, CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
| 1039 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
| 1040 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
| 1041 | */ |
| 1042 | #define OMAP4430_L3_1_STATDEP_SHIFT 5 |
| 1043 | #define OMAP4430_L3_1_STATDEP_MASK (1 << 5) |
| 1044 | |
| 1045 | /* |
| 1046 | * Used by CM_CAM_DYNAMICDEP, CM_D2D_DYNAMICDEP, CM_D2D_DYNAMICDEP_RESTORE, |
| 1047 | * CM_DUCATI_DYNAMICDEP, CM_EMU_DYNAMICDEP, CM_GFX_DYNAMICDEP, |
| 1048 | * CM_IVAHD_DYNAMICDEP, CM_L3INIT_DYNAMICDEP, CM_L3_1_DYNAMICDEP, |
| 1049 | * CM_L3_1_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 1050 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_L4SEC_DYNAMICDEP, CM_SDMA_DYNAMICDEP |
| 1051 | */ |
| 1052 | #define OMAP4430_L3_2_DYNDEP_SHIFT 6 |
| 1053 | #define OMAP4430_L3_2_DYNDEP_MASK (1 << 6) |
| 1054 | |
| 1055 | /* |
| 1056 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, |
| 1057 | * CM_DSS_STATICDEP, CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
| 1058 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
| 1059 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
| 1060 | */ |
| 1061 | #define OMAP4430_L3_2_STATDEP_SHIFT 6 |
| 1062 | #define OMAP4430_L3_2_STATDEP_MASK (1 << 6) |
| 1063 | |
| 1064 | /* Used by CM_L3_1_DYNAMICDEP, CM_L3_1_DYNAMICDEP_RESTORE */ |
| 1065 | #define OMAP4430_L4CFG_DYNDEP_SHIFT 12 |
| 1066 | #define OMAP4430_L4CFG_DYNDEP_MASK (1 << 12) |
| 1067 | |
| 1068 | /* |
| 1069 | * Used by CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, CM_DUCATI_STATICDEP, |
| 1070 | * CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
| 1071 | * CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
| 1072 | */ |
| 1073 | #define OMAP4430_L4CFG_STATDEP_SHIFT 12 |
| 1074 | #define OMAP4430_L4CFG_STATDEP_MASK (1 << 12) |
| 1075 | |
| 1076 | /* Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE */ |
| 1077 | #define OMAP4430_L4PER_DYNDEP_SHIFT 13 |
| 1078 | #define OMAP4430_L4PER_DYNDEP_MASK (1 << 13) |
| 1079 | |
| 1080 | /* |
| 1081 | * Used by CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, CM_DUCATI_STATICDEP, |
| 1082 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
| 1083 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1084 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1085 | #define OMAP4430_L4PER_STATDEP_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1086 | #define OMAP4430_L4PER_STATDEP_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1087 | |
| 1088 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1089 | * Used by CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_L4PER_DYNAMICDEP, |
| 1090 | * CM_L4PER_DYNAMICDEP_RESTORE |
| 1091 | */ |
| 1092 | #define OMAP4430_L4SEC_DYNDEP_SHIFT 14 |
| 1093 | #define OMAP4430_L4SEC_DYNDEP_MASK (1 << 14) |
| 1094 | |
| 1095 | /* |
| 1096 | * Used by CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, |
| 1097 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1098 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1099 | #define OMAP4430_L4SEC_STATDEP_SHIFT 14 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1100 | #define OMAP4430_L4SEC_STATDEP_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1101 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1102 | /* Used by CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1103 | #define OMAP4430_L4WKUP_DYNDEP_SHIFT 15 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1104 | #define OMAP4430_L4WKUP_DYNDEP_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1105 | |
| 1106 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1107 | * Used by CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, |
| 1108 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1109 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1110 | #define OMAP4430_L4WKUP_STATDEP_SHIFT 15 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1111 | #define OMAP4430_L4WKUP_STATDEP_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1112 | |
| 1113 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1114 | * Used by CM_D2D_DYNAMICDEP, CM_D2D_DYNAMICDEP_RESTORE, CM_L3_1_DYNAMICDEP, |
| 1115 | * CM_L3_1_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 1116 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_MPU_DYNAMICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1117 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1118 | #define OMAP4430_MEMIF_DYNDEP_SHIFT 4 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1119 | #define OMAP4430_MEMIF_DYNDEP_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1120 | |
| 1121 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1122 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_D2D_STATICDEP_RESTORE, |
| 1123 | * CM_DSS_STATICDEP, CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
| 1124 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
| 1125 | * CM_SDMA_STATICDEP, CM_SDMA_STATICDEP_RESTORE, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1126 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1127 | #define OMAP4430_MEMIF_STATDEP_SHIFT 4 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1128 | #define OMAP4430_MEMIF_STATDEP_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1129 | |
| 1130 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1131 | * Used by CM_SSC_MODFREQDIV_DPLL_ABE, CM_SSC_MODFREQDIV_DPLL_CORE, |
| 1132 | * CM_SSC_MODFREQDIV_DPLL_CORE_RESTORE, CM_SSC_MODFREQDIV_DPLL_DDRPHY, |
| 1133 | * CM_SSC_MODFREQDIV_DPLL_IVA, CM_SSC_MODFREQDIV_DPLL_MPU, |
| 1134 | * CM_SSC_MODFREQDIV_DPLL_PER, CM_SSC_MODFREQDIV_DPLL_UNIPRO, |
| 1135 | * CM_SSC_MODFREQDIV_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1136 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1137 | #define OMAP4430_MODFREQDIV_EXPONENT_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1138 | #define OMAP4430_MODFREQDIV_EXPONENT_MASK (0x7 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1139 | |
| 1140 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1141 | * Used by CM_SSC_MODFREQDIV_DPLL_ABE, CM_SSC_MODFREQDIV_DPLL_CORE, |
| 1142 | * CM_SSC_MODFREQDIV_DPLL_CORE_RESTORE, CM_SSC_MODFREQDIV_DPLL_DDRPHY, |
| 1143 | * CM_SSC_MODFREQDIV_DPLL_IVA, CM_SSC_MODFREQDIV_DPLL_MPU, |
| 1144 | * CM_SSC_MODFREQDIV_DPLL_PER, CM_SSC_MODFREQDIV_DPLL_UNIPRO, |
| 1145 | * CM_SSC_MODFREQDIV_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1146 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1147 | #define OMAP4430_MODFREQDIV_MANTISSA_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1148 | #define OMAP4430_MODFREQDIV_MANTISSA_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1149 | |
| 1150 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1151 | * Used by CM1_ABE_AESS_CLKCTRL, CM1_ABE_DMIC_CLKCTRL, CM1_ABE_L4ABE_CLKCTRL, |
| 1152 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 1153 | * CM1_ABE_MCBSP3_CLKCTRL, CM1_ABE_PDM_CLKCTRL, CM1_ABE_SLIMBUS_CLKCTRL, |
| 1154 | * CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, CM1_ABE_TIMER7_CLKCTRL, |
| 1155 | * CM1_ABE_TIMER8_CLKCTRL, CM1_ABE_WDT3_CLKCTRL, CM_ALWON_MDMINTC_CLKCTRL, |
| 1156 | * CM_ALWON_SR_CORE_CLKCTRL, CM_ALWON_SR_IVA_CLKCTRL, CM_ALWON_SR_MPU_CLKCTRL, |
| 1157 | * CM_CAM_FDIF_CLKCTRL, CM_CAM_ISS_CLKCTRL, CM_CEFUSE_CEFUSE_CLKCTRL, |
| 1158 | * CM_CM1_PROFILING_CLKCTRL, CM_CM1_PROFILING_CLKCTRL_RESTORE, |
| 1159 | * CM_CM2_PROFILING_CLKCTRL, CM_CM2_PROFILING_CLKCTRL_RESTORE, |
| 1160 | * CM_D2D_MODEM_ICR_CLKCTRL, CM_D2D_SAD2D_CLKCTRL, CM_D2D_SAD2D_FW_CLKCTRL, |
| 1161 | * CM_DSS_DEISS_CLKCTRL, CM_DSS_DSS_CLKCTRL, CM_DUCATI_DUCATI_CLKCTRL, |
| 1162 | * CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, CM_IVAHD_IVAHD_CLKCTRL, |
| 1163 | * CM_IVAHD_SL2_CLKCTRL, CM_L3INIT_CCPTX_CLKCTRL, CM_L3INIT_EMAC_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1164 | * CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, CM_L3INIT_MMC2_CLKCTRL, |
| 1165 | * CM_L3INIT_MMC6_CLKCTRL, CM_L3INIT_P1500_CLKCTRL, CM_L3INIT_PCIESS_CLKCTRL, |
| 1166 | * CM_L3INIT_SATA_CLKCTRL, CM_L3INIT_TPPSS_CLKCTRL, CM_L3INIT_UNIPRO1_CLKCTRL, |
| 1167 | * CM_L3INIT_USBPHYOCP2SCP_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1168 | * CM_L3INIT_USB_HOST_CLKCTRL_RESTORE, CM_L3INIT_USB_HOST_FS_CLKCTRL, |
| 1169 | * CM_L3INIT_USB_OTG_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL, |
| 1170 | * CM_L3INIT_USB_TLL_CLKCTRL_RESTORE, CM_L3INIT_XHPI_CLKCTRL, |
| 1171 | * CM_L3INSTR_L3_3_CLKCTRL, CM_L3INSTR_L3_3_CLKCTRL_RESTORE, |
| 1172 | * CM_L3INSTR_L3_INSTR_CLKCTRL, CM_L3INSTR_L3_INSTR_CLKCTRL_RESTORE, |
| 1173 | * CM_L3INSTR_OCP_WP1_CLKCTRL, CM_L3INSTR_OCP_WP1_CLKCTRL_RESTORE, |
| 1174 | * CM_L3_1_L3_1_CLKCTRL, CM_L3_2_GPMC_CLKCTRL, CM_L3_2_L3_2_CLKCTRL, |
| 1175 | * CM_L3_2_OCMC_RAM_CLKCTRL, CM_L4CFG_HW_SEM_CLKCTRL, CM_L4CFG_L4_CFG_CLKCTRL, |
| 1176 | * CM_L4CFG_MAILBOX_CLKCTRL, CM_L4CFG_SAR_ROM_CLKCTRL, CM_L4PER_ADC_CLKCTRL, |
| 1177 | * CM_L4PER_DMTIMER10_CLKCTRL, CM_L4PER_DMTIMER11_CLKCTRL, |
| 1178 | * CM_L4PER_DMTIMER2_CLKCTRL, CM_L4PER_DMTIMER3_CLKCTRL, |
| 1179 | * CM_L4PER_DMTIMER4_CLKCTRL, CM_L4PER_DMTIMER9_CLKCTRL, CM_L4PER_ELM_CLKCTRL, |
| 1180 | * CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO2_CLKCTRL_RESTORE, |
| 1181 | * CM_L4PER_GPIO3_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL_RESTORE, |
| 1182 | * CM_L4PER_GPIO4_CLKCTRL, CM_L4PER_GPIO4_CLKCTRL_RESTORE, |
| 1183 | * CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO5_CLKCTRL_RESTORE, |
| 1184 | * CM_L4PER_GPIO6_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL_RESTORE, |
| 1185 | * CM_L4PER_HDQ1W_CLKCTRL, CM_L4PER_HECC1_CLKCTRL, CM_L4PER_HECC2_CLKCTRL, |
| 1186 | * CM_L4PER_I2C1_CLKCTRL, CM_L4PER_I2C2_CLKCTRL, CM_L4PER_I2C3_CLKCTRL, |
| 1187 | * CM_L4PER_I2C4_CLKCTRL, CM_L4PER_I2C5_CLKCTRL, CM_L4PER_L4PER_CLKCTRL, |
| 1188 | * CM_L4PER_MCASP2_CLKCTRL, CM_L4PER_MCASP3_CLKCTRL, CM_L4PER_MCBSP4_CLKCTRL, |
| 1189 | * CM_L4PER_MCSPI1_CLKCTRL, CM_L4PER_MCSPI2_CLKCTRL, CM_L4PER_MCSPI3_CLKCTRL, |
| 1190 | * CM_L4PER_MCSPI4_CLKCTRL, CM_L4PER_MGATE_CLKCTRL, CM_L4PER_MMCSD3_CLKCTRL, |
| 1191 | * CM_L4PER_MMCSD4_CLKCTRL, CM_L4PER_MMCSD5_CLKCTRL, CM_L4PER_MSPROHG_CLKCTRL, |
| 1192 | * CM_L4PER_SLIMBUS2_CLKCTRL, CM_L4PER_UART1_CLKCTRL, CM_L4PER_UART2_CLKCTRL, |
| 1193 | * CM_L4PER_UART3_CLKCTRL, CM_L4PER_UART4_CLKCTRL, CM_L4SEC_AES1_CLKCTRL, |
| 1194 | * CM_L4SEC_AES2_CLKCTRL, CM_L4SEC_CRYPTODMA_CLKCTRL, CM_L4SEC_DES3DES_CLKCTRL, |
| 1195 | * CM_L4SEC_PKAEIP29_CLKCTRL, CM_L4SEC_RNG_CLKCTRL, CM_L4SEC_SHA2MD51_CLKCTRL, |
| 1196 | * CM_MEMIF_DMM_CLKCTRL, CM_MEMIF_EMIF_1_CLKCTRL, CM_MEMIF_EMIF_2_CLKCTRL, |
| 1197 | * CM_MEMIF_EMIF_FW_CLKCTRL, CM_MEMIF_EMIF_H1_CLKCTRL, |
| 1198 | * CM_MEMIF_EMIF_H2_CLKCTRL, CM_MPU_MPU_CLKCTRL, CM_SDMA_SDMA_CLKCTRL, |
| 1199 | * CM_TESLA_TESLA_CLKCTRL, CM_WKUP_GPIO1_CLKCTRL, CM_WKUP_KEYBOARD_CLKCTRL, |
| 1200 | * CM_WKUP_L4WKUP_CLKCTRL, CM_WKUP_RTC_CLKCTRL, CM_WKUP_SARRAM_CLKCTRL, |
| 1201 | * CM_WKUP_SYNCTIMER_CLKCTRL, CM_WKUP_TIMER12_CLKCTRL, CM_WKUP_TIMER1_CLKCTRL, |
| 1202 | * CM_WKUP_USIM_CLKCTRL, CM_WKUP_WDT1_CLKCTRL, CM_WKUP_WDT2_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1203 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1204 | #define OMAP4430_MODULEMODE_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1205 | #define OMAP4430_MODULEMODE_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1206 | |
| 1207 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1208 | #define OMAP4430_OPTFCLKEN_48MHZ_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1209 | #define OMAP4430_OPTFCLKEN_48MHZ_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1210 | |
| 1211 | /* Used by CM_WKUP_BANDGAP_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1212 | #define OMAP4430_OPTFCLKEN_BGAP_32K_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1213 | #define OMAP4430_OPTFCLKEN_BGAP_32K_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1214 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1215 | /* Used by CM_ALWON_USBPHY_CLKCTRL */ |
| 1216 | #define OMAP4430_OPTFCLKEN_CLK32K_SHIFT 8 |
| 1217 | #define OMAP4430_OPTFCLKEN_CLK32K_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1218 | |
| 1219 | /* Used by CM_CAM_ISS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1220 | #define OMAP4430_OPTFCLKEN_CTRLCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1221 | #define OMAP4430_OPTFCLKEN_CTRLCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1222 | |
| 1223 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1224 | * Used by CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO2_CLKCTRL_RESTORE, |
| 1225 | * CM_L4PER_GPIO3_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL_RESTORE, |
| 1226 | * CM_L4PER_GPIO4_CLKCTRL, CM_L4PER_GPIO4_CLKCTRL_RESTORE, |
| 1227 | * CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO5_CLKCTRL_RESTORE, |
| 1228 | * CM_L4PER_GPIO6_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL_RESTORE, CM_WKUP_GPIO1_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1229 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1230 | #define OMAP4430_OPTFCLKEN_DBCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1231 | #define OMAP4430_OPTFCLKEN_DBCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1232 | |
| 1233 | /* Used by CM_MEMIF_DLL_CLKCTRL, CM_MEMIF_DLL_H_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1234 | #define OMAP4430_OPTFCLKEN_DLL_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1235 | #define OMAP4430_OPTFCLKEN_DLL_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1236 | |
| 1237 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1238 | #define OMAP4430_OPTFCLKEN_DSSCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1239 | #define OMAP4430_OPTFCLKEN_DSSCLK_MASK (1 << 8) |
| 1240 | |
| 1241 | /* Used by CM_WKUP_USIM_CLKCTRL */ |
| 1242 | #define OMAP4430_OPTFCLKEN_FCLK_SHIFT 8 |
| 1243 | #define OMAP4430_OPTFCLKEN_FCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1244 | |
| 1245 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1246 | #define OMAP4430_OPTFCLKEN_FCLK0_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1247 | #define OMAP4430_OPTFCLKEN_FCLK0_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1248 | |
| 1249 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1250 | #define OMAP4430_OPTFCLKEN_FCLK1_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1251 | #define OMAP4430_OPTFCLKEN_FCLK1_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1252 | |
| 1253 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1254 | #define OMAP4430_OPTFCLKEN_FCLK2_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1255 | #define OMAP4430_OPTFCLKEN_FCLK2_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1256 | |
| 1257 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1258 | #define OMAP4430_OPTFCLKEN_FUNC48MCLK_SHIFT 15 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1259 | #define OMAP4430_OPTFCLKEN_FUNC48MCLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1260 | |
| 1261 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1262 | #define OMAP4430_OPTFCLKEN_HSIC480M_P1_CLK_SHIFT 13 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1263 | #define OMAP4430_OPTFCLKEN_HSIC480M_P1_CLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1264 | |
| 1265 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1266 | #define OMAP4430_OPTFCLKEN_HSIC480M_P2_CLK_SHIFT 14 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1267 | #define OMAP4430_OPTFCLKEN_HSIC480M_P2_CLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1268 | |
| 1269 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1270 | #define OMAP4430_OPTFCLKEN_HSIC60M_P1_CLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1271 | #define OMAP4430_OPTFCLKEN_HSIC60M_P1_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1272 | |
| 1273 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1274 | #define OMAP4430_OPTFCLKEN_HSIC60M_P2_CLK_SHIFT 12 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1275 | #define OMAP4430_OPTFCLKEN_HSIC60M_P2_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1276 | |
| 1277 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1278 | #define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1279 | #define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1280 | |
| 1281 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1282 | #define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1283 | #define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1284 | |
| 1285 | /* Used by CM_L3INIT_USBPHYOCP2SCP_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1286 | #define OMAP4430_OPTFCLKEN_PHY_48M_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1287 | #define OMAP4430_OPTFCLKEN_PHY_48M_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1288 | |
| 1289 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1290 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1291 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1292 | |
| 1293 | /* Renamed from OPTFCLKEN_SLIMBUS_CLK Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1294 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_11_11_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1295 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_11_11_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1296 | |
| 1297 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1298 | #define OMAP4430_OPTFCLKEN_SYS_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1299 | #define OMAP4430_OPTFCLKEN_SYS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1300 | |
| 1301 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1302 | #define OMAP4430_OPTFCLKEN_TV_CLK_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1303 | #define OMAP4430_OPTFCLKEN_TV_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1304 | |
| 1305 | /* Used by CM_L3INIT_UNIPRO1_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1306 | #define OMAP4430_OPTFCLKEN_TXPHYCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1307 | #define OMAP4430_OPTFCLKEN_TXPHYCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1308 | |
| 1309 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1310 | #define OMAP4430_OPTFCLKEN_USB_CH0_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1311 | #define OMAP4430_OPTFCLKEN_USB_CH0_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1312 | |
| 1313 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1314 | #define OMAP4430_OPTFCLKEN_USB_CH1_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1315 | #define OMAP4430_OPTFCLKEN_USB_CH1_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1316 | |
| 1317 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1318 | #define OMAP4430_OPTFCLKEN_USB_CH2_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1319 | #define OMAP4430_OPTFCLKEN_USB_CH2_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1320 | |
| 1321 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1322 | #define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1323 | #define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1324 | |
| 1325 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1326 | #define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1327 | #define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1328 | |
| 1329 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1330 | #define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1331 | #define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1332 | |
| 1333 | /* Used by CM_L3INIT_USB_OTG_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1334 | #define OMAP4430_OPTFCLKEN_XCLK_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1335 | #define OMAP4430_OPTFCLKEN_XCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1336 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1337 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1338 | #define OMAP4430_OVERRIDE_ENABLE_SHIFT 19 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1339 | #define OMAP4430_OVERRIDE_ENABLE_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1340 | |
| 1341 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1342 | #define OMAP4430_PAD_CLKS_GATE_SHIFT 8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1343 | #define OMAP4430_PAD_CLKS_GATE_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1344 | |
| 1345 | /* Used by CM_CORE_DVFS_CURRENT, CM_IVA_DVFS_CURRENT */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1346 | #define OMAP4430_PERF_CURRENT_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1347 | #define OMAP4430_PERF_CURRENT_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1348 | |
| 1349 | /* |
| 1350 | * Used by CM_CORE_DVFS_PERF1, CM_CORE_DVFS_PERF2, CM_CORE_DVFS_PERF3, |
| 1351 | * CM_CORE_DVFS_PERF4, CM_IVA_DVFS_PERF_ABE, CM_IVA_DVFS_PERF_IVAHD, |
| 1352 | * CM_IVA_DVFS_PERF_TESLA |
| 1353 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1354 | #define OMAP4430_PERF_REQ_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1355 | #define OMAP4430_PERF_REQ_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1356 | |
| 1357 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1358 | #define OMAP4430_PHASE1_COMPLETED_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1359 | #define OMAP4430_PHASE1_COMPLETED_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1360 | |
| 1361 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1362 | #define OMAP4430_PHASE2A_COMPLETED_SHIFT 1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1363 | #define OMAP4430_PHASE2A_COMPLETED_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1364 | |
| 1365 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1366 | #define OMAP4430_PHASE2B_COMPLETED_SHIFT 2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1367 | #define OMAP4430_PHASE2B_COMPLETED_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1368 | |
| 1369 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1370 | #define OMAP4430_PMD_STM_MUX_CTRL_SHIFT 20 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1371 | #define OMAP4430_PMD_STM_MUX_CTRL_MASK (0x3 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1372 | |
| 1373 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1374 | #define OMAP4430_PMD_TRACE_MUX_CTRL_SHIFT 22 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1375 | #define OMAP4430_PMD_TRACE_MUX_CTRL_MASK (0x3 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1376 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1377 | /* Used by CM_DYN_DEP_PRESCAL, CM_DYN_DEP_PRESCAL_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1378 | #define OMAP4430_PRESCAL_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1379 | #define OMAP4430_PRESCAL_MASK (0x3f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1380 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1381 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1382 | #define OMAP4430_R_RTL_SHIFT 11 |
| 1383 | #define OMAP4430_R_RTL_MASK (0x1f << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1384 | |
| 1385 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1386 | * Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE, |
| 1387 | * CM_L3INIT_USB_TLL_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL_RESTORE |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1388 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1389 | #define OMAP4430_SAR_MODE_SHIFT 4 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1390 | #define OMAP4430_SAR_MODE_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1391 | |
| 1392 | /* Used by CM_SCALE_FCLK */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1393 | #define OMAP4430_SCALE_FCLK_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1394 | #define OMAP4430_SCALE_FCLK_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1395 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1396 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1397 | #define OMAP4430_SCHEME_SHIFT 30 |
| 1398 | #define OMAP4430_SCHEME_MASK (0x3 << 30) |
| 1399 | |
| 1400 | /* Used by CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1401 | #define OMAP4430_SDMA_DYNDEP_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1402 | #define OMAP4430_SDMA_DYNDEP_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1403 | |
| 1404 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1405 | #define OMAP4430_SDMA_STATDEP_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1406 | #define OMAP4430_SDMA_STATDEP_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1407 | |
| 1408 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1409 | #define OMAP4430_SLIMBUS_CLK_GATE_SHIFT 10 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1410 | #define OMAP4430_SLIMBUS_CLK_GATE_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1411 | |
| 1412 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1413 | * Used by CM1_ABE_AESS_CLKCTRL, CM_CAM_FDIF_CLKCTRL, CM_CAM_ISS_CLKCTRL, |
| 1414 | * CM_D2D_SAD2D_CLKCTRL, CM_DSS_DEISS_CLKCTRL, CM_DSS_DSS_CLKCTRL, |
| 1415 | * CM_DUCATI_DUCATI_CLKCTRL, CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, |
| 1416 | * CM_IVAHD_IVAHD_CLKCTRL, CM_L3INIT_CCPTX_CLKCTRL, CM_L3INIT_EMAC_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1417 | * CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, CM_L3INIT_MMC2_CLKCTRL, |
| 1418 | * CM_L3INIT_MMC6_CLKCTRL, CM_L3INIT_P1500_CLKCTRL, CM_L3INIT_PCIESS_CLKCTRL, |
| 1419 | * CM_L3INIT_SATA_CLKCTRL, CM_L3INIT_TPPSS_CLKCTRL, CM_L3INIT_UNIPRO1_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1420 | * CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_CLKCTRL_RESTORE, |
| 1421 | * CM_L3INIT_USB_HOST_FS_CLKCTRL, CM_L3INIT_USB_OTG_CLKCTRL, |
| 1422 | * CM_L3INIT_XHPI_CLKCTRL, CM_L4SEC_CRYPTODMA_CLKCTRL, CM_MPU_MPU_CLKCTRL, |
| 1423 | * CM_SDMA_SDMA_CLKCTRL, CM_TESLA_TESLA_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1424 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1425 | #define OMAP4430_STBYST_SHIFT 18 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1426 | #define OMAP4430_STBYST_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1427 | |
| 1428 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1429 | * Used by CM_IDLEST_DPLL_ABE, CM_IDLEST_DPLL_CORE, CM_IDLEST_DPLL_DDRPHY, |
| 1430 | * CM_IDLEST_DPLL_IVA, CM_IDLEST_DPLL_MPU, CM_IDLEST_DPLL_PER, |
| 1431 | * CM_IDLEST_DPLL_UNIPRO, CM_IDLEST_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1432 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1433 | #define OMAP4430_ST_DPLL_CLK_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1434 | #define OMAP4430_ST_DPLL_CLK_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1435 | |
| 1436 | /* Used by CM_CLKDCOLDO_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1437 | #define OMAP4430_ST_DPLL_CLKDCOLDO_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1438 | #define OMAP4430_ST_DPLL_CLKDCOLDO_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1439 | |
| 1440 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1441 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, |
| 1442 | * CM_DIV_M2_DPLL_CORE_RESTORE, CM_DIV_M2_DPLL_DDRPHY, CM_DIV_M2_DPLL_MPU, |
| 1443 | * CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1444 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1445 | #define OMAP4430_ST_DPLL_CLKOUT_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1446 | #define OMAP4430_ST_DPLL_CLKOUT_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1447 | |
| 1448 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1449 | * Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, |
| 1450 | * CM_DIV_M3_DPLL_CORE_RESTORE, CM_DIV_M3_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1451 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1452 | #define OMAP4430_ST_DPLL_CLKOUTHIF_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1453 | #define OMAP4430_ST_DPLL_CLKOUTHIF_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1454 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1455 | /* Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1456 | #define OMAP4430_ST_DPLL_CLKOUTX2_SHIFT 11 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1457 | #define OMAP4430_ST_DPLL_CLKOUTX2_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1458 | |
| 1459 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1460 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_CORE_RESTORE, |
| 1461 | * CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1462 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1463 | #define OMAP4430_ST_HSDIVIDER_CLKOUT1_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1464 | #define OMAP4430_ST_HSDIVIDER_CLKOUT1_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1465 | |
| 1466 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1467 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_CORE_RESTORE, |
| 1468 | * CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1469 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1470 | #define OMAP4430_ST_HSDIVIDER_CLKOUT2_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1471 | #define OMAP4430_ST_HSDIVIDER_CLKOUT2_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1472 | |
| 1473 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1474 | * Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_CORE_RESTORE, |
| 1475 | * CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1476 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1477 | #define OMAP4430_ST_HSDIVIDER_CLKOUT3_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1478 | #define OMAP4430_ST_HSDIVIDER_CLKOUT3_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1479 | |
| 1480 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1481 | * Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_CORE_RESTORE, |
| 1482 | * CM_DIV_M7_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1483 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1484 | #define OMAP4430_ST_HSDIVIDER_CLKOUT4_SHIFT 9 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1485 | #define OMAP4430_ST_HSDIVIDER_CLKOUT4_MASK (1 << 9) |
| 1486 | |
| 1487 | /* |
| 1488 | * Used by CM_IDLEST_DPLL_ABE, CM_IDLEST_DPLL_CORE, CM_IDLEST_DPLL_DDRPHY, |
| 1489 | * CM_IDLEST_DPLL_IVA, CM_IDLEST_DPLL_MPU, CM_IDLEST_DPLL_PER, |
| 1490 | * CM_IDLEST_DPLL_UNIPRO, CM_IDLEST_DPLL_USB |
| 1491 | */ |
| 1492 | #define OMAP4430_ST_MN_BYPASS_SHIFT 8 |
| 1493 | #define OMAP4430_ST_MN_BYPASS_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1494 | |
| 1495 | /* Used by CM_SYS_CLKSEL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1496 | #define OMAP4430_SYS_CLKSEL_SHIFT 0 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1497 | #define OMAP4430_SYS_CLKSEL_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1498 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1499 | /* Used by CM_L4CFG_DYNAMICDEP, CM_L4CFG_DYNAMICDEP_RESTORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1500 | #define OMAP4430_TESLA_DYNDEP_SHIFT 1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1501 | #define OMAP4430_TESLA_DYNDEP_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1502 | |
| 1503 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1504 | #define OMAP4430_TESLA_STATDEP_SHIFT 1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1505 | #define OMAP4430_TESLA_STATDEP_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1506 | |
| 1507 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1508 | * Used by CM_D2D_DYNAMICDEP, CM_D2D_DYNAMICDEP_RESTORE, CM_DUCATI_DYNAMICDEP, |
| 1509 | * CM_EMU_DYNAMICDEP, CM_L3_1_DYNAMICDEP, CM_L3_1_DYNAMICDEP_RESTORE, |
| 1510 | * CM_L3_2_DYNAMICDEP, CM_L3_2_DYNAMICDEP_RESTORE, CM_L4CFG_DYNAMICDEP, |
| 1511 | * CM_L4CFG_DYNAMICDEP_RESTORE, CM_L4PER_DYNAMICDEP, |
| 1512 | * CM_L4PER_DYNAMICDEP_RESTORE, CM_MPU_DYNAMICDEP, CM_TESLA_DYNAMICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1513 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1514 | #define OMAP4430_WINDOWSIZE_SHIFT 24 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1515 | #define OMAP4430_WINDOWSIZE_MASK (0xf << 24) |
| 1516 | |
| 1517 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1518 | #define OMAP4430_X_MAJOR_SHIFT 8 |
| 1519 | #define OMAP4430_X_MAJOR_MASK (0x7 << 8) |
| 1520 | |
| 1521 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1522 | #define OMAP4430_Y_MINOR_SHIFT 0 |
| 1523 | #define OMAP4430_Y_MINOR_MASK (0x3f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1524 | #endif |