summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/mx6sx-ddr.h
blob: 2cc94aa4c7808b005b0b7c5537de2860b08bd574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (C) 2014 Freescale Semiconductor, Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __ASM_ARCH_MX6SX_DDR_H__
#define __ASM_ARCH_MX6SX_DDR_H__

#ifndef CONFIG_MX6SX
#error "wrong CPU"
#endif

#define MX6_IOM_DRAM_DQM0	0x020e02ec
#define MX6_IOM_DRAM_DQM1	0x020e02f0
#define MX6_IOM_DRAM_DQM2	0x020e02f4
#define MX6_IOM_DRAM_DQM3	0x020e02f8

#define MX6_IOM_DRAM_RAS	0x020e02fc
#define MX6_IOM_DRAM_CAS	0x020e0300
#define MX6_IOM_DRAM_SDODT0	0x020e0310
#define MX6_IOM_DRAM_SDODT1	0x020e0314
#define MX6_IOM_DRAM_SDBA2	0x020e0320
#define MX6_IOM_DRAM_SDCKE0	0x020e0324
#define MX6_IOM_DRAM_SDCKE1	0x020e0328
#define MX6_IOM_DRAM_SDCLK_0	0x020e032c
#define MX6_IOM_DRAM_RESET	0x020e0340

#define MX6_IOM_DRAM_SDQS0	0x020e0330
#define MX6_IOM_DRAM_SDQS1	0x020e0334
#define MX6_IOM_DRAM_SDQS2	0x020e0338
#define MX6_IOM_DRAM_SDQS3	0x020e033c

#define MX6_IOM_GRP_ADDDS	0x020e05f4
#define MX6_IOM_DDRMODE_CTL	0x020e05f8
#define MX6_IOM_GRP_DDRPKE	0x020e05fc
#define MX6_IOM_GRP_DDRMODE	0x020e0608
#define MX6_IOM_GRP_B0DS	0x020e060c
#define MX6_IOM_GRP_B1DS	0x020e0610
#define MX6_IOM_GRP_CTLDS	0x020e0614
#define MX6_IOM_GRP_DDR_TYPE	0x020e0618
#define MX6_IOM_GRP_B2DS	0x020e061c
#define MX6_IOM_GRP_B3DS	0x020e0620

#endif	/*__ASM_ARCH_MX6SX_DDR_H__ */