1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
2a462c346SPeng Fan /*
3a462c346SPeng Fan  * Copyright (C) 2015 Freescale Semiconductor, Inc.
4a462c346SPeng Fan  */
5a462c346SPeng Fan 
6a462c346SPeng Fan #ifndef __ASM_ARCH_MX6UL_DDR_H__
7a462c346SPeng Fan #define __ASM_ARCH_MX6UL_DDR_H__
8a462c346SPeng Fan 
9290e7cfdSFabio Estevam #if !(defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
10a462c346SPeng Fan #error "wrong CPU"
11a462c346SPeng Fan #endif
12a462c346SPeng Fan 
13a462c346SPeng Fan #define MX6_IOM_DRAM_DQM0	0x020e0244
14a462c346SPeng Fan #define MX6_IOM_DRAM_DQM1	0x020e0248
15a462c346SPeng Fan 
16a462c346SPeng Fan #define MX6_IOM_DRAM_RAS	0x020e024c
17a462c346SPeng Fan #define MX6_IOM_DRAM_CAS	0x020e0250
18a462c346SPeng Fan #define MX6_IOM_DRAM_CS0	0x020e0254
19a462c346SPeng Fan #define MX6_IOM_DRAM_CS1	0x020e0258
20a462c346SPeng Fan #define MX6_IOM_DRAM_SDWE_B	0x020e025c
21a462c346SPeng Fan #define MX6_IOM_DRAM_SDODT0	0x020e0260
22a462c346SPeng Fan #define MX6_IOM_DRAM_SDODT1	0x020e0264
23a462c346SPeng Fan #define MX6_IOM_DRAM_SDBA0	0x020e0268
24a462c346SPeng Fan #define MX6_IOM_DRAM_SDBA1	0x020e026c
25a462c346SPeng Fan #define MX6_IOM_DRAM_SDBA2	0x020e0270
26a462c346SPeng Fan #define MX6_IOM_DRAM_SDCKE0	0x020e0274
27a462c346SPeng Fan #define MX6_IOM_DRAM_SDCKE1	0x020e0278
28a462c346SPeng Fan #define MX6_IOM_DRAM_SDCLK_0	0x020e027c
29a462c346SPeng Fan #define MX6_IOM_DRAM_SDQS0	0x020e0280
30a462c346SPeng Fan #define MX6_IOM_DRAM_SDQS1	0x020e0284
31a462c346SPeng Fan #define MX6_IOM_DRAM_RESET	0x020e0288
32a462c346SPeng Fan 
33a462c346SPeng Fan #define MX6_IOM_GRP_ADDDS	0x020e0490
34a462c346SPeng Fan #define MX6_IOM_DDRMODE_CTL	0x020e0494
35a462c346SPeng Fan #define MX6_IOM_GRP_B0DS	0x020e0498
36a462c346SPeng Fan #define MX6_IOM_GRP_DDRPK	0x020e049c
37a462c346SPeng Fan #define MX6_IOM_GRP_CTLDS	0x020e04a0
38a462c346SPeng Fan #define MX6_IOM_GRP_B1DS	0x020e04a4
39a462c346SPeng Fan #define MX6_IOM_GRP_DDRHYS	0x020e04a8
40a462c346SPeng Fan #define MX6_IOM_GRP_DDRPKE	0x020e04ac
41a462c346SPeng Fan #define MX6_IOM_GRP_DDRMODE	0x020e04b0
42a462c346SPeng Fan #define MX6_IOM_GRP_DDR_TYPE	0x020e04b4
43a462c346SPeng Fan 
44a462c346SPeng Fan #endif	/*__ASM_ARCH_MX6SX_DDR_H__ */
45