xref: /openbmc/linux/include/soc/imx/cpu.h (revision 0545810f)
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_MX50		50
13 #define MXC_CPU_MX51		51
14 #define MXC_CPU_MX53		53
15 #define MXC_CPU_IMX6SL		0x60
16 #define MXC_CPU_IMX6DL		0x61
17 #define MXC_CPU_IMX6SX		0x62
18 #define MXC_CPU_IMX6Q		0x63
19 #define MXC_CPU_IMX6UL		0x64
20 #define MXC_CPU_IMX6ULL		0x65
21 /* virtual cpu id for i.mx6ulz */
22 #define MXC_CPU_IMX6ULZ		0x6b
23 #define MXC_CPU_IMX6SLL		0x67
24 #define MXC_CPU_IMX7D		0x72
25 #define MXC_CPU_IMX7ULP		0xff
26 
27 #define MXC_CPU_VFx10		0x010
28 #define MXC_CPU_VF500		0x500
29 #define MXC_CPU_VF510		(MXC_CPU_VF500 | MXC_CPU_VFx10)
30 #define MXC_CPU_VF600		0x600
31 #define MXC_CPU_VF610		(MXC_CPU_VF600 | MXC_CPU_VFx10)
32 
33 #ifndef __ASSEMBLY__
34 extern unsigned int __mxc_cpu_type;
35 #endif
36 
37 #endif
38