Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / arch / arm / mach-omap2 / sdram-qimonda-hyb18m512160af-6.h
1 /*
2  * SDRC register values for the Qimonda HYB18M512160AF-6
3  *
4  * Copyright (C) 2008 Texas Instruments, Inc.
5  * Copyright (C) 2008 Nokia Corporation
6  *
7  * Paul Walmsley
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  */
13
14 #ifndef ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6
15 #define ARCH_ARM_MACH_OMAP2_SDRAM_QIMONDA_HYB18M512160AF6
16
17 #include <mach/sdrc.h>
18
19 /* Qimonda HYB18M512160AF-6 */
20 /* XXX Using ARE = 0x1 (no autorefresh burst) -- can this be changed? */
21 static struct omap_sdrc_params hyb18m512160af6_sdrc_params[] = {
22         [0] = {
23                 .rate        = 165941176,
24                 .actim_ctrla = 0x629db4c6,
25                 .actim_ctrlb = 0x00012214,
26                 .rfr_ctrl    = 0x0004dc01,
27                 .mr          = 0x00000032,
28         },
29         [1] = {
30                 .rate        = 133333333,
31                 .actim_ctrla = 0x5219b485,
32                 .actim_ctrlb = 0x00012210,
33                 .rfr_ctrl    = 0x0003de01,
34                 .mr          = 0x00000032,
35         },
36         [2] = {
37                 .rate        = 82970588,
38                 .actim_ctrla = 0x31512283,
39                 .actim_ctrlb = 0x0001220a,
40                 .rfr_ctrl    = 0x00025501,
41                 .mr          = 0x00000022,
42         },
43         [3] = {
44                 .rate        = 66666666,
45                 .actim_ctrla = 0x290d2243,
46                 .actim_ctrlb = 0x00012208,
47                 .rfr_ctrl    = 0x0001d601,
48                 .mr          = 0x00000022,
49         },
50         [4] = {
51                 .rate        = 0
52         },
53 };
54
55 #endif