Go to the documentation of this file. 1 #ifndef __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_24XX_H
2 #define __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_24XX_H
22 #define OMAP24XX_VOLTTRANS_ST_MASK (1 << 2)
23 #define OMAP24XX_WKUP2_ST_MASK (1 << 1)
24 #define OMAP24XX_WKUP1_ST_MASK (1 << 0)
27 #define OMAP24XX_VOLTTRANS_EN_MASK (1 << 2)
28 #define OMAP24XX_WKUP2_EN_MASK (1 << 1)
29 #define OMAP24XX_WKUP1_EN_MASK (1 << 0)
32 #define OMAP24XX_EN_MPU_SHIFT 1
33 #define OMAP24XX_EN_MPU_MASK (1 << 1)
34 #define OMAP24XX_EN_CORE_SHIFT 0
35 #define OMAP24XX_EN_CORE_MASK (1 << 0)
41 #define OMAP24XX_MEMONSTATE_SHIFT 10
42 #define OMAP24XX_MEMONSTATE_MASK (0x3 << 10)
43 #define OMAP24XX_MEMRETSTATE_MASK (1 << 3)
46 #define OMAP24XX_FORCESTATE_MASK (1 << 18)
52 #define OMAP24XX_CLKACTIVITY_MASK (1 << 19)
55 #define OMAP24XX_LASTSTATEENTERED_SHIFT 4
56 #define OMAP24XX_LASTSTATEENTERED_MASK (0x3 << 4)
59 #define OMAP2430_MEMSTATEST_SHIFT 10
60 #define OMAP2430_MEMSTATEST_MASK (0x3 << 10)
63 #define OMAP24XX_POWERSTATEST_SHIFT 0
64 #define OMAP24XX_POWERSTATEST_MASK (0x3 << 0)
70 #define OMAP24XX_REV_SHIFT 0
71 #define OMAP24XX_REV_MASK (0xff << 0)
74 #define OMAP24XX_AUTOIDLE_MASK (1 << 0)
77 #define OMAP2430_DPLL_RECAL_ST_MASK (1 << 6)
78 #define OMAP24XX_TRANSITION_ST_MASK (1 << 5)
79 #define OMAP24XX_EVGENOFF_ST_MASK (1 << 4)
80 #define OMAP24XX_EVGENON_ST_MASK (1 << 3)
83 #define OMAP2430_DPLL_RECAL_EN_MASK (1 << 6)
84 #define OMAP24XX_TRANSITION_EN_MASK (1 << 5)
85 #define OMAP24XX_EVGENOFF_EN_MASK (1 << 4)
86 #define OMAP24XX_EVGENON_EN_MASK (1 << 3)
89 #define OMAP24XX_AUTO_EXTVOLT_MASK (1 << 15)
90 #define OMAP24XX_FORCE_EXTVOLT_MASK (1 << 14)
91 #define OMAP24XX_SETOFF_LEVEL_SHIFT 12
92 #define OMAP24XX_SETOFF_LEVEL_MASK (0x3 << 12)
93 #define OMAP24XX_MEMRETCTRL_MASK (1 << 8)
94 #define OMAP24XX_SETRET_LEVEL_SHIFT 6
95 #define OMAP24XX_SETRET_LEVEL_MASK (0x3 << 6)
96 #define OMAP24XX_VOLT_LEVEL_SHIFT 0
97 #define OMAP24XX_VOLT_LEVEL_MASK (0x3 << 0)
100 #define OMAP24XX_ST_VOLTLEVEL_SHIFT 0
101 #define OMAP24XX_ST_VOLTLEVEL_MASK (0x3 << 0)
106 #define OMAP2420_CLKOUT2_EN_SHIFT 15
107 #define OMAP2420_CLKOUT2_EN_MASK (1 << 15)
108 #define OMAP2420_CLKOUT2_DIV_SHIFT 11
109 #define OMAP2420_CLKOUT2_DIV_MASK (0x7 << 11)
110 #define OMAP2420_CLKOUT2_SOURCE_SHIFT 8
111 #define OMAP2420_CLKOUT2_SOURCE_MASK (0x3 << 8)
112 #define OMAP24XX_CLKOUT_EN_SHIFT 7
113 #define OMAP24XX_CLKOUT_EN_MASK (1 << 7)
114 #define OMAP24XX_CLKOUT_DIV_SHIFT 3
115 #define OMAP24XX_CLKOUT_DIV_MASK (0x7 << 3)
116 #define OMAP24XX_CLKOUT_SOURCE_SHIFT 0
117 #define OMAP24XX_CLKOUT_SOURCE_MASK (0x3 << 0)
120 #define OMAP24XX_EMULATION_EN_SHIFT 0
121 #define OMAP24XX_EMULATION_EN_MASK (1 << 0)
124 #define OMAP24XX_VALID_CONFIG_MASK (1 << 0)
127 #define OMAP24XX_CONFIG_STATUS_MASK (1 << 0)
134 #define OMAP2420_CLKOUT2_POL_MASK (1 << 10)
135 #define OMAP24XX_CLKOUT_POL_MASK (1 << 9)
136 #define OMAP24XX_CLKREQ_POL_MASK (1 << 8)
137 #define OMAP2430_USE_POWEROK_MASK (1 << 2)
138 #define OMAP2430_POWEROK_POL_MASK (1 << 1)
139 #define OMAP24XX_EXTVOL_POL_MASK (1 << 0)
145 #define OMAP2430_PM_WKDEP_MPU_EN_MDM_SHIFT 5
146 #define OMAP2430_PM_WKDEP_MPU_EN_MDM_MASK (1 << 5)
147 #define OMAP24XX_PM_WKDEP_MPU_EN_DSP_SHIFT 2
148 #define OMAP24XX_PM_WKDEP_MPU_EN_DSP_MASK (1 << 2)
157 #define OMAP2430_FORCESTATE_MASK (1 << 18)
171 #define OMAP2430_PM_WKDEP_CORE_EN_MDM_MASK (1 << 5)
172 #define OMAP24XX_PM_WKDEP_CORE_EN_GFX_MASK (1 << 3)
173 #define OMAP24XX_PM_WKDEP_CORE_EN_DSP_MASK (1 << 2)
176 #define OMAP24XX_MEMORYCHANGE_MASK (1 << 20)
177 #define OMAP24XX_MEM3ONSTATE_SHIFT 14
178 #define OMAP24XX_MEM3ONSTATE_MASK (0x3 << 14)
179 #define OMAP24XX_MEM2ONSTATE_SHIFT 12
180 #define OMAP24XX_MEM2ONSTATE_MASK (0x3 << 12)
181 #define OMAP24XX_MEM1ONSTATE_SHIFT 10
182 #define OMAP24XX_MEM1ONSTATE_MASK (0x3 << 10)
183 #define OMAP24XX_MEM3RETSTATE_MASK (1 << 5)
184 #define OMAP24XX_MEM2RETSTATE_MASK (1 << 4)
185 #define OMAP24XX_MEM1RETSTATE_MASK (1 << 3)
188 #define OMAP24XX_MEM3STATEST_SHIFT 14
189 #define OMAP24XX_MEM3STATEST_MASK (0x3 << 14)
190 #define OMAP24XX_MEM2STATEST_SHIFT 12
191 #define OMAP24XX_MEM2STATEST_MASK (0x3 << 12)
192 #define OMAP24XX_MEM1STATEST_SHIFT 10
193 #define OMAP24XX_MEM1STATEST_MASK (0x3 << 10)
196 #define OMAP24XX_GFX_RST_MASK (1 << 0)
199 #define OMAP24XX_GFX_SW_RST_MASK (1 << 4)
212 #define OMAP24XX_EXTWMPU_RST_MASK (1 << 6)
213 #define OMAP24XX_SECU_WD_RST_MASK (1 << 5)
214 #define OMAP24XX_MPU_WD_RST_MASK (1 << 4)
215 #define OMAP24XX_SECU_VIOL_RST_MASK (1 << 3)
222 #define OMAP2420_RST_IVA_MASK (1 << 8)
223 #define OMAP24XX_RST2_DSP_MASK (1 << 1)
224 #define OMAP24XX_RST1_DSP_MASK (1 << 0)
228 #define OMAP2420_IVA_SW_RST_MASK (1 << 8)
229 #define OMAP24XX_DSP_SW_RST2_MASK (1 << 5)
230 #define OMAP24XX_DSP_SW_RST1_MASK (1 << 4)
236 #define OMAP2420_MEMIONSTATE_SHIFT 12
237 #define OMAP2420_MEMIONSTATE_MASK (0x3 << 12)
238 #define OMAP2420_MEMIRETSTATE_MASK (1 << 4)
242 #define OMAP2420_MEMISTATEST_SHIFT 12
243 #define OMAP2420_MEMISTATEST_MASK (0x3 << 12)
251 #define OMAP2430_PWRON1_MDM_MASK (1 << 1)
252 #define OMAP2430_RST1_MDM_MASK (1 << 0)
256 #define OMAP2430_MDM_SECU_VIOL_MASK (1 << 6)
257 #define OMAP2430_MDM_SW_PWRON1_MASK (1 << 5)
258 #define OMAP2430_MDM_SW_RST1_MASK (1 << 4)
262 #define OMAP2430_PM_WKEN_MDM_EN_MDM_MASK (1 << 0)
272 #define OMAP2430_KILLDOMAINWKUP_MASK (1 << 19)