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