2014-01-26 17:06:40 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2014 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
2015-08-13 02:55:30 +00:00
|
|
|
#define MXC_CPU_MX23 0x23
|
|
|
|
#define MXC_CPU_MX25 0x25
|
|
|
|
#define MXC_CPU_MX27 0x27
|
|
|
|
#define MXC_CPU_MX28 0x28
|
|
|
|
#define MXC_CPU_MX31 0x31
|
|
|
|
#define MXC_CPU_MX35 0x35
|
2014-01-26 17:06:40 +00:00
|
|
|
#define MXC_CPU_MX51 0x51
|
|
|
|
#define MXC_CPU_MX53 0x53
|
|
|
|
#define MXC_CPU_MX6SL 0x60
|
|
|
|
#define MXC_CPU_MX6DL 0x61
|
2014-06-24 20:40:58 +00:00
|
|
|
#define MXC_CPU_MX6SX 0x62
|
2014-01-26 17:06:40 +00:00
|
|
|
#define MXC_CPU_MX6Q 0x63
|
2015-07-20 11:28:21 +00:00
|
|
|
#define MXC_CPU_MX6UL 0x64
|
2014-06-24 20:40:58 +00:00
|
|
|
#define MXC_CPU_MX6SOLO 0x65 /* dummy ID */
|
2015-07-20 11:28:21 +00:00
|
|
|
#define MXC_CPU_MX6D 0x67
|
2015-07-11 03:38:42 +00:00
|
|
|
#define MXC_CPU_MX6DP 0x68
|
|
|
|
#define MXC_CPU_MX6QP 0x69
|
2015-09-02 18:54:19 +00:00
|
|
|
#define MXC_CPU_MX7D 0x72
|
2015-09-01 09:15:03 +00:00
|
|
|
#define MXC_CPU_VF610 0xF6 /* dummy ID */
|
2014-11-14 13:27:21 +00:00
|
|
|
|
2015-09-02 18:54:12 +00:00
|
|
|
#define MXC_SOC_MX6 0x60
|
2015-09-02 18:54:19 +00:00
|
|
|
#define MXC_SOC_MX7 0x70
|
2015-09-02 18:54:12 +00:00
|
|
|
|
2014-11-14 13:27:21 +00:00
|
|
|
#define CS0_128 0
|
|
|
|
#define CS0_64M_CS1_64M 1
|
|
|
|
#define CS0_64M_CS1_32M_CS2_32M 2
|
|
|
|
#define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3
|
2015-02-15 21:37:21 +00:00
|
|
|
|
|
|
|
u32 get_imx_reset_cause(void);
|