18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci#ifndef __IMX_CPU_H__ 48c2ecf20Sopenharmony_ci#define __IMX_CPU_H__ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#define MXC_CPU_MX1 1 78c2ecf20Sopenharmony_ci#define MXC_CPU_MX21 21 88c2ecf20Sopenharmony_ci#define MXC_CPU_MX25 25 98c2ecf20Sopenharmony_ci#define MXC_CPU_MX27 27 108c2ecf20Sopenharmony_ci#define MXC_CPU_MX31 31 118c2ecf20Sopenharmony_ci#define MXC_CPU_MX35 35 128c2ecf20Sopenharmony_ci#define MXC_CPU_MX51 51 138c2ecf20Sopenharmony_ci#define MXC_CPU_MX53 53 148c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6SL 0x60 158c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6DL 0x61 168c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6SX 0x62 178c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6Q 0x63 188c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6UL 0x64 198c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6ULL 0x65 208c2ecf20Sopenharmony_ci/* virtual cpu id for i.mx6ulz */ 218c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6ULZ 0x6b 228c2ecf20Sopenharmony_ci#define MXC_CPU_IMX6SLL 0x67 238c2ecf20Sopenharmony_ci#define MXC_CPU_IMX7D 0x72 248c2ecf20Sopenharmony_ci#define MXC_CPU_IMX7ULP 0xff 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#define MXC_CPU_VFx10 0x010 278c2ecf20Sopenharmony_ci#define MXC_CPU_VF500 0x500 288c2ecf20Sopenharmony_ci#define MXC_CPU_VF510 (MXC_CPU_VF500 | MXC_CPU_VFx10) 298c2ecf20Sopenharmony_ci#define MXC_CPU_VF600 0x600 308c2ecf20Sopenharmony_ci#define MXC_CPU_VF610 (MXC_CPU_VF600 | MXC_CPU_VFx10) 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#ifndef __ASSEMBLY__ 338c2ecf20Sopenharmony_ciextern unsigned int __mxc_cpu_type; 348c2ecf20Sopenharmony_ci#endif 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci#endif 37