blob: 99779588b55a9b9fb9ff6173b7603631c5857557 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Peng Fan98f11a12015-07-20 19:28:33 +08002/*
3 * Copyright (C) 2015 Freescale Semiconductor, Inc.
Peng Fan98f11a12015-07-20 19:28:33 +08004 */
5
6#ifndef __ASM_ARCH_MX6UL_DDR_H__
7#define __ASM_ARCH_MX6UL_DDR_H__
8
Fabio Estevam1b691df2018-01-03 12:33:05 -02009#if !(defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
Peng Fan98f11a12015-07-20 19:28:33 +080010#error "wrong CPU"
11#endif
12
13#define MX6_IOM_DRAM_DQM0 0x020e0244
14#define MX6_IOM_DRAM_DQM1 0x020e0248
15
16#define MX6_IOM_DRAM_RAS 0x020e024c
17#define MX6_IOM_DRAM_CAS 0x020e0250
18#define MX6_IOM_DRAM_CS0 0x020e0254
19#define MX6_IOM_DRAM_CS1 0x020e0258
20#define MX6_IOM_DRAM_SDWE_B 0x020e025c
21#define MX6_IOM_DRAM_SDODT0 0x020e0260
22#define MX6_IOM_DRAM_SDODT1 0x020e0264
23#define MX6_IOM_DRAM_SDBA0 0x020e0268
24#define MX6_IOM_DRAM_SDBA1 0x020e026c
25#define MX6_IOM_DRAM_SDBA2 0x020e0270
26#define MX6_IOM_DRAM_SDCKE0 0x020e0274
27#define MX6_IOM_DRAM_SDCKE1 0x020e0278
28#define MX6_IOM_DRAM_SDCLK_0 0x020e027c
29#define MX6_IOM_DRAM_SDQS0 0x020e0280
30#define MX6_IOM_DRAM_SDQS1 0x020e0284
31#define MX6_IOM_DRAM_RESET 0x020e0288
32
33#define MX6_IOM_GRP_ADDDS 0x020e0490
34#define MX6_IOM_DDRMODE_CTL 0x020e0494
35#define MX6_IOM_GRP_B0DS 0x020e0498
36#define MX6_IOM_GRP_DDRPK 0x020e049c
37#define MX6_IOM_GRP_CTLDS 0x020e04a0
38#define MX6_IOM_GRP_B1DS 0x020e04a4
39#define MX6_IOM_GRP_DDRHYS 0x020e04a8
40#define MX6_IOM_GRP_DDRPKE 0x020e04ac
41#define MX6_IOM_GRP_DDRMODE 0x020e04b0
42#define MX6_IOM_GRP_DDR_TYPE 0x020e04b4
43
44#endif /*__ASM_ARCH_MX6SX_DDR_H__ */