34df1719462c158b3e287b6562002eabbbdd43a4
[pandora-kernel.git] / arch / arm / plat-omap / include / plat / cpu.h
1 /*
2  * arch/arm/plat-omap/include/mach/cpu.h
3  *
4  * OMAP cpu type detection
5  *
6  * Copyright (C) 2004, 2008 Nokia Corporation
7  *
8  * Copyright (C) 2009-11 Texas Instruments.
9  *
10  * Written by Tony Lindgren <tony.lindgren@nokia.com>
11  *
12  * Added OMAP4 specific defines - Santosh Shilimkar<santosh.shilimkar@ti.com>
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 2 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to the Free Software
26  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27  *
28  */
29
30 #ifndef __ASM_ARCH_OMAP_CPU_H
31 #define __ASM_ARCH_OMAP_CPU_H
32
33 #include <linux/bitops.h>
34 #include <plat/multi.h>
35
36 /*
37  * Omap device type i.e. EMU/HS/TST/GP/BAD
38  */
39 #define OMAP2_DEVICE_TYPE_TEST          0
40 #define OMAP2_DEVICE_TYPE_EMU           1
41 #define OMAP2_DEVICE_TYPE_SEC           2
42 #define OMAP2_DEVICE_TYPE_GP            3
43 #define OMAP2_DEVICE_TYPE_BAD           4
44
45 int omap_type(void);
46
47 struct omap_chip_id {
48         u16 oc;
49         u8 type;
50 };
51
52 #define OMAP_CHIP_INIT(x)       { .oc = x }
53
54 /*
55  * omap_rev bits:
56  * CPU id bits  (0730, 1510, 1710, 2422...)     [31:16]
57  * CPU revision (See _REV_ defined in cpu.h)    [15:08]
58  * CPU class bits (15xx, 16xx, 24xx, 34xx...)   [07:00]
59  */
60 unsigned int omap_rev(void);
61
62 /*
63  * Define CPU revision bits
64  *
65  * Verbose meaning of the revision bits may be different for a silicon
66  * family. This difference can be handled separately.
67  */
68 #define OMAP_REVBITS_00         0x00
69 #define OMAP_REVBITS_01         0x01
70 #define OMAP_REVBITS_02         0x02
71 #define OMAP_REVBITS_03         0x03
72 #define OMAP_REVBITS_04         0x04
73 #define OMAP_REVBITS_05         0x05
74
75 /*
76  * Get the CPU revision for OMAP devices
77  */
78 #define GET_OMAP_REVISION()     ((omap_rev() >> 8) & 0xff)
79
80 /*
81  * Macros to group OMAP into cpu classes.
82  * These can be used in most places.
83  * cpu_is_omap7xx():    True for OMAP730, OMAP850
84  * cpu_is_omap15xx():   True for OMAP1510, OMAP5910 and OMAP310
85  * cpu_is_omap16xx():   True for OMAP1610, OMAP5912 and OMAP1710
86  * cpu_is_omap24xx():   True for OMAP2420, OMAP2422, OMAP2423, OMAP2430
87  * cpu_is_omap242x():   True for OMAP2420, OMAP2422, OMAP2423
88  * cpu_is_omap243x():   True for OMAP2430
89  * cpu_is_omap343x():   True for OMAP3430
90  * cpu_is_omap443x():   True for OMAP4430
91  * cpu_is_omap446x():   True for OMAP4460
92  */
93 #define GET_OMAP_CLASS  (omap_rev() & 0xff)
94
95 #define IS_OMAP_CLASS(class, id)                        \
96 static inline int is_omap ##class (void)                \
97 {                                                       \
98         return (GET_OMAP_CLASS == (id)) ? 1 : 0;        \
99 }
100
101 #define GET_OMAP_SUBCLASS       ((omap_rev() >> 20) & 0x0fff)
102
103 #define IS_OMAP_SUBCLASS(subclass, id)                  \
104 static inline int is_omap ##subclass (void)             \
105 {                                                       \
106         return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0;     \
107 }
108
109 #define IS_TI_SUBCLASS(subclass, id)                    \
110 static inline int is_ti ##subclass (void)               \
111 {                                                       \
112         return (GET_OMAP_SUBCLASS == (id)) ? 1 : 0;     \
113 }
114
115 IS_OMAP_CLASS(7xx, 0x07)
116 IS_OMAP_CLASS(15xx, 0x15)
117 IS_OMAP_CLASS(16xx, 0x16)
118 IS_OMAP_CLASS(24xx, 0x24)
119 IS_OMAP_CLASS(34xx, 0x34)
120 IS_OMAP_CLASS(44xx, 0x44)
121
122 IS_OMAP_SUBCLASS(242x, 0x242)
123 IS_OMAP_SUBCLASS(243x, 0x243)
124 IS_OMAP_SUBCLASS(343x, 0x343)
125 IS_OMAP_SUBCLASS(363x, 0x363)
126 IS_OMAP_SUBCLASS(443x, 0x443)
127 IS_OMAP_SUBCLASS(446x, 0x446)
128
129 IS_TI_SUBCLASS(816x, 0x816)
130
131 #define cpu_is_omap7xx()                0
132 #define cpu_is_omap15xx()               0
133 #define cpu_is_omap16xx()               0
134 #define cpu_is_omap24xx()               0
135 #define cpu_is_omap242x()               0
136 #define cpu_is_omap243x()               0
137 #define cpu_is_omap34xx()               0
138 #define cpu_is_omap343x()               0
139 #define cpu_is_ti816x()                 0
140 #define cpu_is_omap44xx()               0
141 #define cpu_is_omap443x()               0
142 #define cpu_is_omap446x()               0
143
144 #if defined(MULTI_OMAP1)
145 # if defined(CONFIG_ARCH_OMAP730)
146 #  undef  cpu_is_omap7xx
147 #  define cpu_is_omap7xx()              is_omap7xx()
148 # endif
149 # if defined(CONFIG_ARCH_OMAP850)
150 #  undef  cpu_is_omap7xx
151 #  define cpu_is_omap7xx()              is_omap7xx()
152 # endif
153 # if defined(CONFIG_ARCH_OMAP15XX)
154 #  undef  cpu_is_omap15xx
155 #  define cpu_is_omap15xx()             is_omap15xx()
156 # endif
157 # if defined(CONFIG_ARCH_OMAP16XX)
158 #  undef  cpu_is_omap16xx
159 #  define cpu_is_omap16xx()             is_omap16xx()
160 # endif
161 #else
162 # if defined(CONFIG_ARCH_OMAP730)
163 #  undef  cpu_is_omap7xx
164 #  define cpu_is_omap7xx()              1
165 # endif
166 # if defined(CONFIG_ARCH_OMAP850)
167 #  undef  cpu_is_omap7xx
168 #  define cpu_is_omap7xx()              1
169 # endif
170 # if defined(CONFIG_ARCH_OMAP15XX)
171 #  undef  cpu_is_omap15xx
172 #  define cpu_is_omap15xx()             1
173 # endif
174 # if defined(CONFIG_ARCH_OMAP16XX)
175 #  undef  cpu_is_omap16xx
176 #  define cpu_is_omap16xx()             1
177 # endif
178 #endif
179
180 #if defined(MULTI_OMAP2)
181 # if defined(CONFIG_ARCH_OMAP2)
182 #  undef  cpu_is_omap24xx
183 #  define cpu_is_omap24xx()             is_omap24xx()
184 # endif
185 # if defined (CONFIG_SOC_OMAP2420)
186 #  undef  cpu_is_omap242x
187 #  define cpu_is_omap242x()             is_omap242x()
188 # endif
189 # if defined (CONFIG_SOC_OMAP2430)
190 #  undef  cpu_is_omap243x
191 #  define cpu_is_omap243x()             is_omap243x()
192 # endif
193 # if defined(CONFIG_ARCH_OMAP3)
194 #  undef  cpu_is_omap34xx
195 #  undef  cpu_is_omap343x
196 #  define cpu_is_omap34xx()             is_omap34xx()
197 #  define cpu_is_omap343x()             is_omap343x()
198 # endif
199 #else
200 # if defined(CONFIG_ARCH_OMAP2)
201 #  undef  cpu_is_omap24xx
202 #  define cpu_is_omap24xx()             1
203 # endif
204 # if defined(CONFIG_SOC_OMAP2420)
205 #  undef  cpu_is_omap242x
206 #  define cpu_is_omap242x()             1
207 # endif
208 # if defined(CONFIG_SOC_OMAP2430)
209 #  undef  cpu_is_omap243x
210 #  define cpu_is_omap243x()             1
211 # endif
212 # if defined(CONFIG_ARCH_OMAP3)
213 #  undef  cpu_is_omap34xx
214 #  define cpu_is_omap34xx()             1
215 # endif
216 # if defined(CONFIG_SOC_OMAP3430)
217 #  undef  cpu_is_omap343x
218 #  define cpu_is_omap343x()             1
219 # endif
220 #endif
221
222 /*
223  * Macros to detect individual cpu types.
224  * These are only rarely needed.
225  * cpu_is_omap330():    True for OMAP330
226  * cpu_is_omap730():    True for OMAP730
227  * cpu_is_omap850():    True for OMAP850
228  * cpu_is_omap1510():   True for OMAP1510
229  * cpu_is_omap1610():   True for OMAP1610
230  * cpu_is_omap1611():   True for OMAP1611
231  * cpu_is_omap5912():   True for OMAP5912
232  * cpu_is_omap1621():   True for OMAP1621
233  * cpu_is_omap1710():   True for OMAP1710
234  * cpu_is_omap2420():   True for OMAP2420
235  * cpu_is_omap2422():   True for OMAP2422
236  * cpu_is_omap2423():   True for OMAP2423
237  * cpu_is_omap2430():   True for OMAP2430
238  * cpu_is_omap3430():   True for OMAP3430
239  * cpu_is_omap4430():   True for OMAP4430
240  * cpu_is_omap3505():   True for OMAP3505
241  * cpu_is_omap3517():   True for OMAP3517
242  */
243 #define GET_OMAP_TYPE   ((omap_rev() >> 16) & 0xffff)
244
245 #define IS_OMAP_TYPE(type, id)                          \
246 static inline int is_omap ##type (void)                 \
247 {                                                       \
248         return (GET_OMAP_TYPE == (id)) ? 1 : 0;         \
249 }
250
251 IS_OMAP_TYPE(310, 0x0310)
252 IS_OMAP_TYPE(730, 0x0730)
253 IS_OMAP_TYPE(850, 0x0850)
254 IS_OMAP_TYPE(1510, 0x1510)
255 IS_OMAP_TYPE(1610, 0x1610)
256 IS_OMAP_TYPE(1611, 0x1611)
257 IS_OMAP_TYPE(5912, 0x1611)
258 IS_OMAP_TYPE(1621, 0x1621)
259 IS_OMAP_TYPE(1710, 0x1710)
260 IS_OMAP_TYPE(2420, 0x2420)
261 IS_OMAP_TYPE(2422, 0x2422)
262 IS_OMAP_TYPE(2423, 0x2423)
263 IS_OMAP_TYPE(2430, 0x2430)
264 IS_OMAP_TYPE(3430, 0x3430)
265 IS_OMAP_TYPE(3505, 0x3517)
266 IS_OMAP_TYPE(3517, 0x3517)
267
268 #define cpu_is_omap310()                0
269 #define cpu_is_omap730()                0
270 #define cpu_is_omap850()                0
271 #define cpu_is_omap1510()               0
272 #define cpu_is_omap1610()               0
273 #define cpu_is_omap5912()               0
274 #define cpu_is_omap1611()               0
275 #define cpu_is_omap1621()               0
276 #define cpu_is_omap1710()               0
277 #define cpu_is_omap2420()               0
278 #define cpu_is_omap2422()               0
279 #define cpu_is_omap2423()               0
280 #define cpu_is_omap2430()               0
281 #define cpu_is_omap3503()               0
282 #define cpu_is_omap3515()               0
283 #define cpu_is_omap3525()               0
284 #define cpu_is_omap3530()               0
285 #define cpu_is_omap3505()               0
286 #define cpu_is_omap3517()               0
287 #define cpu_is_omap3430()               0
288 #define cpu_is_omap4430()               0
289 #define cpu_is_omap3630()               0
290
291 /*
292  * Whether we have MULTI_OMAP1 or not, we still need to distinguish
293  * between 730 vs 850, 330 vs. 1510 and 1611B/5912 vs. 1710.
294  */
295
296 #if defined(CONFIG_ARCH_OMAP730)
297 # undef  cpu_is_omap730
298 # define cpu_is_omap730()               is_omap730()
299 #endif
300
301 #if defined(CONFIG_ARCH_OMAP850)
302 # undef  cpu_is_omap850
303 # define cpu_is_omap850()               is_omap850()
304 #endif
305
306 #if defined(CONFIG_ARCH_OMAP15XX)
307 # undef  cpu_is_omap310
308 # undef  cpu_is_omap1510
309 # define cpu_is_omap310()               is_omap310()
310 # define cpu_is_omap1510()              is_omap1510()
311 #endif
312
313 #if defined(CONFIG_ARCH_OMAP16XX)
314 # undef  cpu_is_omap1610
315 # undef  cpu_is_omap1611
316 # undef  cpu_is_omap5912
317 # undef  cpu_is_omap1621
318 # undef  cpu_is_omap1710
319 # define cpu_is_omap1610()              is_omap1610()
320 # define cpu_is_omap1611()              is_omap1611()
321 # define cpu_is_omap5912()              is_omap5912()
322 # define cpu_is_omap1621()              is_omap1621()
323 # define cpu_is_omap1710()              is_omap1710()
324 #endif
325
326 #if defined(CONFIG_ARCH_OMAP2)
327 # undef  cpu_is_omap2420
328 # undef  cpu_is_omap2422
329 # undef  cpu_is_omap2423
330 # undef  cpu_is_omap2430
331 # define cpu_is_omap2420()              is_omap2420()
332 # define cpu_is_omap2422()              is_omap2422()
333 # define cpu_is_omap2423()              is_omap2423()
334 # define cpu_is_omap2430()              is_omap2430()
335 #endif
336
337 #if defined(CONFIG_ARCH_OMAP3)
338 # undef cpu_is_omap3430
339 # undef cpu_is_omap3503
340 # undef cpu_is_omap3515
341 # undef cpu_is_omap3525
342 # undef cpu_is_omap3530
343 # undef cpu_is_omap3505
344 # undef cpu_is_omap3517
345 # undef cpu_is_ti816x
346 # define cpu_is_omap3430()              is_omap3430()
347 # define cpu_is_omap3503()              (cpu_is_omap3430() &&           \
348                                                 (!omap3_has_iva()) &&   \
349                                                 (!omap3_has_sgx()))
350 # define cpu_is_omap3515()              (cpu_is_omap3430() &&           \
351                                                 (!omap3_has_iva()) &&   \
352                                                 (omap3_has_sgx()))
353 # define cpu_is_omap3525()              (cpu_is_omap3430() &&           \
354                                                 (!omap3_has_sgx()) &&   \
355                                                 (omap3_has_iva()))
356 # define cpu_is_omap3530()              (cpu_is_omap3430())
357 # define cpu_is_omap3517()              is_omap3517()
358 # define cpu_is_omap3505()              (cpu_is_omap3517() &&           \
359                                                 !omap3_has_sgx())
360 # undef cpu_is_omap3630
361 # define cpu_is_omap3630()              is_omap363x()
362 # define cpu_is_ti816x()                is_ti816x()
363 #endif
364
365 # if defined(CONFIG_ARCH_OMAP4)
366 # undef cpu_is_omap44xx
367 # undef cpu_is_omap443x
368 # undef cpu_is_omap446x
369 # define cpu_is_omap44xx()              is_omap44xx()
370 # define cpu_is_omap443x()              is_omap443x()
371 # define cpu_is_omap446x()              is_omap446x()
372 # endif
373
374 /* Macros to detect if we have OMAP1 or OMAP2 */
375 #define cpu_class_is_omap1()    (cpu_is_omap7xx() || cpu_is_omap15xx() || \
376                                 cpu_is_omap16xx())
377 #define cpu_class_is_omap2()    (cpu_is_omap24xx() || cpu_is_omap34xx() || \
378                                 cpu_is_omap44xx())
379
380 /* Various silicon revisions for omap2 */
381 #define OMAP242X_CLASS          0x24200024
382 #define OMAP2420_REV_ES1_0      OMAP242X_CLASS
383 #define OMAP2420_REV_ES2_0      (OMAP242X_CLASS | (OMAP_REVBITS_01 << 8))
384
385 #define OMAP243X_CLASS          0x24300024
386 #define OMAP2430_REV_ES1_0      OMAP243X_CLASS
387
388 #define OMAP343X_CLASS          0x34300034
389 #define OMAP3430_REV_ES1_0      OMAP343X_CLASS
390 #define OMAP3430_REV_ES2_0      (OMAP343X_CLASS | (OMAP_REVBITS_01 << 8))
391 #define OMAP3430_REV_ES2_1      (OMAP343X_CLASS | (OMAP_REVBITS_02 << 8))
392 #define OMAP3430_REV_ES3_0      (OMAP343X_CLASS | (OMAP_REVBITS_03 << 8))
393 #define OMAP3430_REV_ES3_1      (OMAP343X_CLASS | (OMAP_REVBITS_04 << 8))
394 #define OMAP3430_REV_ES3_1_2    (OMAP343X_CLASS | (OMAP_REVBITS_05 << 8))
395
396 #define OMAP363X_CLASS          0x36300034
397 #define OMAP3630_REV_ES1_0      OMAP363X_CLASS
398 #define OMAP3630_REV_ES1_1      (OMAP363X_CLASS | (OMAP_REVBITS_01 << 8))
399 #define OMAP3630_REV_ES1_2      (OMAP363X_CLASS | (OMAP_REVBITS_02 << 8))
400
401 #define OMAP3517_CLASS          0x35170034
402 #define OMAP3517_REV(v)         (OMAP3517_CLASS | (v << 8))
403
404 #define TI816X_CLASS            0x81600034
405 #define TI8168_REV_ES1_0        TI816X_CLASS
406 #define TI8168_REV_ES1_1        (TI816X_CLASS | (OMAP_REVBITS_01 << 8))
407
408 #define OMAP443X_CLASS          0x44300044
409 #define OMAP4430_REV_ES1_0      (OMAP443X_CLASS | (0x10 << 8))
410 #define OMAP4430_REV_ES2_0      (OMAP443X_CLASS | (0x20 << 8))
411 #define OMAP4430_REV_ES2_1      (OMAP443X_CLASS | (0x21 << 8))
412 #define OMAP4430_REV_ES2_2      (OMAP443X_CLASS | (0x22 << 8))
413
414 #define OMAP446X_CLASS          0x44600044
415 #define OMAP4460_REV_ES1_0      (OMAP446X_CLASS | (0x10 << 8))
416
417 /*
418  * omap_chip bits
419  *
420  * CHIP_IS_OMAP{2420,2430,3430} indicate that a particular structure is
421  * valid on all chips of that type.  CHIP_IS_OMAP3430ES{1,2} indicates
422  * something that is only valid on that particular ES revision.
423  *
424  * These bits may be ORed together to indicate structures that are
425  * available on multiple chip types.
426  *
427  * To test whether a particular structure matches the current OMAP chip type,
428  * use omap_chip_is().
429  *
430  */
431 #define CHIP_IS_OMAP2420                (1 << 0)
432 #define CHIP_IS_OMAP2430                (1 << 1)
433 #define CHIP_IS_OMAP3430                (1 << 2)
434 #define CHIP_IS_OMAP3430ES1             (1 << 3)
435 #define CHIP_IS_OMAP3430ES2             (1 << 4)
436 #define CHIP_IS_OMAP3430ES3_0           (1 << 5)
437 #define CHIP_IS_OMAP3430ES3_1           (1 << 6)
438 #define CHIP_IS_OMAP3630ES1             (1 << 7)
439 #define CHIP_IS_OMAP4430ES1             (1 << 8)
440 #define CHIP_IS_OMAP3630ES1_1           (1 << 9)
441 #define CHIP_IS_OMAP3630ES1_2           (1 << 10)
442 #define CHIP_IS_OMAP4430ES2             (1 << 11)
443 #define CHIP_IS_OMAP4430ES2_1           (1 << 12)
444 #define CHIP_IS_OMAP4430ES2_2           (1 << 13)
445 #define CHIP_IS_TI816X                  (1 << 14)
446 #define CHIP_IS_OMAP4460ES1_0           (1 << 15)
447
448 #define CHIP_IS_OMAP24XX                (CHIP_IS_OMAP2420 | CHIP_IS_OMAP2430)
449
450 #define CHIP_IS_OMAP4430                (CHIP_IS_OMAP4430ES1 |          \
451                                          CHIP_IS_OMAP4430ES2 |          \
452                                          CHIP_IS_OMAP4430ES2_1 |        \
453                                          CHIP_IS_OMAP4430ES2_2 |        \
454                                          CHIP_IS_OMAP4460ES1_0)
455
456 /*
457  * "GE" here represents "greater than or equal to" in terms of ES
458  * levels.  So CHIP_GE_OMAP3430ES2 is intended to match all OMAP3430
459  * chips at ES2 and beyond, but not, for example, any OMAP lines after
460  * OMAP3.
461  */
462 #define CHIP_GE_OMAP3430ES2             (CHIP_IS_OMAP3430ES2 | \
463                                          CHIP_IS_OMAP3430ES3_0 | \
464                                          CHIP_GE_OMAP3430ES3_1)
465 #define CHIP_GE_OMAP3430ES3_1           (CHIP_IS_OMAP3430ES3_1 | \
466                                          CHIP_IS_OMAP3630ES1 | \
467                                          CHIP_GE_OMAP3630ES1_1)
468 #define CHIP_GE_OMAP3630ES1_1           (CHIP_IS_OMAP3630ES1_1 | \
469                                          CHIP_IS_OMAP3630ES1_2)
470
471 int omap_chip_is(struct omap_chip_id oci);
472 void omap2_check_revision(void);
473
474 /*
475  * Runtime detection of OMAP3 features
476  */
477 extern u32 omap_features;
478
479 #define OMAP3_HAS_L2CACHE               BIT(0)
480 #define OMAP3_HAS_IVA                   BIT(1)
481 #define OMAP3_HAS_SGX                   BIT(2)
482 #define OMAP3_HAS_NEON                  BIT(3)
483 #define OMAP3_HAS_ISP                   BIT(4)
484 #define OMAP3_HAS_192MHZ_CLK            BIT(5)
485 #define OMAP3_HAS_IO_WAKEUP             BIT(6)
486 #define OMAP3_HAS_SDRC                  BIT(7)
487 #define OMAP4_HAS_MPU_1GHZ              BIT(8)
488 #define OMAP4_HAS_MPU_1_2GHZ            BIT(9)
489 #define OMAP4_HAS_MPU_1_5GHZ            BIT(10)
490
491
492 #define OMAP3_HAS_FEATURE(feat,flag)                    \
493 static inline unsigned int omap3_has_ ##feat(void)      \
494 {                                                       \
495         return omap_features & OMAP3_HAS_ ##flag;       \
496 }                                                       \
497
498 OMAP3_HAS_FEATURE(l2cache, L2CACHE)
499 OMAP3_HAS_FEATURE(sgx, SGX)
500 OMAP3_HAS_FEATURE(iva, IVA)
501 OMAP3_HAS_FEATURE(neon, NEON)
502 OMAP3_HAS_FEATURE(isp, ISP)
503 OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK)
504 OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP)
505 OMAP3_HAS_FEATURE(sdrc, SDRC)
506
507 /*
508  * Runtime detection of OMAP4 features
509  */
510 extern u32 omap_features;
511
512 #define OMAP4_HAS_FEATURE(feat, flag)                   \
513 static inline unsigned int omap4_has_ ##feat(void)      \
514 {                                                       \
515         return omap_features & OMAP4_HAS_ ##flag;       \
516 }                                                       \
517
518 OMAP4_HAS_FEATURE(mpu_1ghz, MPU_1GHZ)
519 OMAP4_HAS_FEATURE(mpu_1_2ghz, MPU_1_2GHZ)
520 OMAP4_HAS_FEATURE(mpu_1_5ghz, MPU_1_5GHZ)
521
522 #endif