xref: /linux/include/soc/imx/cpu.h (revision c79c3c34f75d72a066e292b10aa50fc758c97c89)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef __IMX_CPU_H__
4 #define __IMX_CPU_H__
5 
6 #define MXC_CPU_MX1		1
7 #define MXC_CPU_MX21		21
8 #define MXC_CPU_MX25		25
9 #define MXC_CPU_MX27		27
10 #define MXC_CPU_MX31		31
11 #define MXC_CPU_MX35		35
12 #define MXC_CPU_MX51		51
13 #define MXC_CPU_MX53		53
14 #define MXC_CPU_IMX6SL		0x60
15 #define MXC_CPU_IMX6DL		0x61
16 #define MXC_CPU_IMX6SX		0x62
17 #define MXC_CPU_IMX6Q		0x63
18 #define MXC_CPU_IMX6UL		0x64
19 #define MXC_CPU_IMX6ULL		0x65
20 /* virtual cpu id for i.mx6ulz */
21 #define MXC_CPU_IMX6ULZ		0x6b
22 #define MXC_CPU_IMX6SLL		0x67
23 #define MXC_CPU_IMX7D		0x72
24 #define MXC_CPU_IMX7ULP		0xff
25 
26 #define MXC_CPU_VFx10		0x010
27 #define MXC_CPU_VF500		0x500
28 #define MXC_CPU_VF510		(MXC_CPU_VF500 | MXC_CPU_VFx10)
29 #define MXC_CPU_VF600		0x600
30 #define MXC_CPU_VF610		(MXC_CPU_VF600 | MXC_CPU_VFx10)
31 
32 #ifndef __ASSEMBLY__
33 extern unsigned int __mxc_cpu_type;
34 #endif
35 
36 #endif
37