1c20b03e45582aad4b243cc4b66b04693f188dc8
[linux-3.10.git] / arch / arm / mach-tegra / board-loki-memory.c
1 /*
2  * Copyright (c) 2013-2014, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms and conditions of the GNU General Public License,
6  * version 2, as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #include <linux/kernel.h>
17 #include <linux/init.h>
18 #include <linux/platform_data/tegra_emc.h>
19
20 #include "board.h"
21 #include "board-loki.h"
22 #include "tegra-board-id.h"
23 #include "tegra12_emc.h"
24 #include "devices.h"
25
26 static struct tegra12_emc_table loki_b00_sku0_emc_table[] = {
27         {
28                 0x18,       /* V5.0.6 */
29                 "06_12750_01_V5.0.6_V0.8", /* DVFS table version */
30                 12750,      /* SDRAM frequency */
31                 800,        /* min voltage */
32                 800,        /* gpu min voltage */
33                 "pllp_out0", /* clock source id */
34                 0x4000003e, /* CLK_SOURCE_EMC */
35                 164,        /* number of burst_regs */
36                 31,         /* number of up_down_regs */
37                 {
38                         0x00000000, /* EMC_RC */
39                         0x00000003, /* EMC_RFC */
40                         0x00000000, /* EMC_RFC_SLR */
41                         0x00000000, /* EMC_RAS */
42                         0x00000000, /* EMC_RP */
43                         0x00000003, /* EMC_R2W */
44                         0x0000000a, /* EMC_W2R */
45                         0x00000003, /* EMC_R2P */
46                         0x0000000b, /* EMC_W2P */
47                         0x00000000, /* EMC_RD_RCD */
48                         0x00000000, /* EMC_WR_RCD */
49                         0x00000003, /* EMC_RRD */
50                         0x00000003, /* EMC_REXT */
51                         0x00000000, /* EMC_WEXT */
52                         0x00000005, /* EMC_WDV */
53                         0x00000005, /* EMC_WDV_MASK */
54                         0x00000005, /* EMC_QUSE */
55                         0x00000000, /* EMC_QUSE_WIDTH */
56                         0x00000000, /* EMC_IBDLY */
57                         0x00000004, /* EMC_EINPUT */
58                         0x00000004, /* EMC_EINPUT_DURATION */
59                         0x00010000, /* EMC_PUTERM_EXTRA */
60                         0x00000001, /* EMC_PUTERM_WIDTH */
61                         0x00000000, /* EMC_PUTERM_ADJ */
62                         0x00000000, /* EMC_CDB_CNTL_1 */
63                         0x00000000, /* EMC_CDB_CNTL_2 */
64                         0x00000000, /* EMC_CDB_CNTL_3 */
65                         0x00000003, /* EMC_QRST */
66                         0x0000000c, /* EMC_QSAFE */
67                         0x0000000c, /* EMC_RDV */
68                         0x0000000e, /* EMC_RDV_MASK */
69                         0x00000060, /* EMC_REFRESH */
70                         0x00000000, /* EMC_BURST_REFRESH_NUM */
71                         0x00000018, /* EMC_PRE_REFRESH_REQ_CNT */
72                         0x00000002, /* EMC_PDEX2WR */
73                         0x00000002, /* EMC_PDEX2RD */
74                         0x00000001, /* EMC_PCHG2PDEN */
75                         0x00000000, /* EMC_ACT2PDEN */
76                         0x00000007, /* EMC_AR2PDEN */
77                         0x0000000f, /* EMC_RW2PDEN */
78                         0x00000005, /* EMC_TXSR */
79                         0x00000005, /* EMC_TXSRDLL */
80                         0x00000004, /* EMC_TCKE */
81                         0x00000005, /* EMC_TCKESR */
82                         0x00000004, /* EMC_TPD */
83                         0x00000000, /* EMC_TFAW */
84                         0x00000000, /* EMC_TRPAB */
85                         0x00000005, /* EMC_TCLKSTABLE */
86                         0x00000005, /* EMC_TCLKSTOP */
87                         0x00000064, /* EMC_TREFBW */
88                         0x00000000, /* EMC_FBIO_CFG6 */
89                         0x00000000, /* EMC_ODT_WRITE */
90                         0x00000000, /* EMC_ODT_READ */
91                         0x10604098, /* EMC_FBIO_CFG5 */
92                         0x002c00a0, /* EMC_CFG_DIG_DLL */
93                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
94                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
95                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
96                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
97                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
98                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
99                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
100                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
101                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
102                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
103                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
104                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
105                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
106                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
107                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
108                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
109                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
110                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
111                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
112                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
113                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
114                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
115                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
116                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
117                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
118                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
119                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
120                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
121                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
122                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
123                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
124                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
125                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
126                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
127                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
128                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
129                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
130                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
131                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
132                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
133                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
134                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
135                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
136                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
137                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
138                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
139                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
140                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
141                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
142                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
143                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
144                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
145                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
146                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
147                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
148                         0x000fc000, /* EMC_DLL_XFORM_DQ0 */
149                         0x000fc000, /* EMC_DLL_XFORM_DQ1 */
150                         0x000fc000, /* EMC_DLL_XFORM_DQ2 */
151                         0x000fc000, /* EMC_DLL_XFORM_DQ3 */
152                         0x0000fc00, /* EMC_DLL_XFORM_DQ4 */
153                         0x0000fc00, /* EMC_DLL_XFORM_DQ5 */
154                         0x0000fc00, /* EMC_DLL_XFORM_DQ6 */
155                         0x0000fc00, /* EMC_DLL_XFORM_DQ7 */
156                         0x10000280, /* EMC_XM2CMDPADCTRL */
157                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
158                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
159                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
160                         0x00000000, /* EMC_XM2DQPADCTRL2 */
161                         0x00000000, /* EMC_XM2DQPADCTRL3 */
162                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
163                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
164                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
165                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
166                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
167                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
168                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
169                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
170                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
171                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
172                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
173                         0x00000007, /* EMC_TXDSRVTTGEN */
174                         0x00000000, /* EMC_FBIO_SPARE */
175                         0x00000000, /* EMC_ZCAL_INTERVAL */
176                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
177                         0x00100010, /* EMC_MRS_WAIT_CNT */
178                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
179                         0x00000000, /* EMC_CTT */
180                         0x00000001, /* EMC_CTT_DURATION */
181                         0x0000f3f3, /* EMC_CFG_PIPE */
182                         0x800001c5, /* EMC_DYN_SELF_REF_CONTROL */
183                         0x00000009, /* EMC_QPOP */
184                         0x40040001, /* MC_EMEM_ARB_CFG */
185                         0x8000000a, /* MC_EMEM_ARB_OUTSTANDING_REQ */
186                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
187                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
188                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
189                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
190                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
191                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
192                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
193                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
194                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
195                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
196                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
197                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
198                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
199                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
200                         0x77e30303, /* MC_EMEM_ARB_MISC0 */
201                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
202                 },
203                 {
204                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
205                         0x00000007, /* MC_PTSA_GRANT_DECREMENT */
206                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
207                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
208                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
209                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
210                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
211                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
212                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
213                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
214                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
215                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
216                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
217                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
218                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
219                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
220                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
221                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
222                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
223                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
224                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
225                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
226                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
227                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
228                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
229                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
230                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
231                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
232                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
233                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
234                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
235                 },
236                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
237                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
238                 0x00000802, /* EMC_CTT_TERM_CTRL */
239                 0x73240000, /* EMC_CFG */
240                 0x000008c5, /* EMC_CFG_2 */
241                 0x00040128, /* EMC_SEL_DPD_CTRL */
242                 0x002c0068, /* EMC_CFG_DIG_DLL */
243                 0x00000008, /* EMC_BGBIAS_CTL0 */
244                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
245                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
246                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
247                 0x80001221, /* Mode Register 0 */
248                 0x80100003, /* Mode Register 1 */
249                 0x80200008, /* Mode Register 2 */
250                 0x00000000, /* Mode Register 4 */
251         },
252         {
253                 0x18,       /* V5.0.6 */
254                 "06_20400_01_V5.0.6_V0.8", /* DVFS table version */
255                 20400,      /* SDRAM frequency */
256                 800,        /* min voltage */
257                 800,        /* gpu min voltage */
258                 "pllp_out0", /* clock source id */
259                 0x40000026, /* CLK_SOURCE_EMC */
260                 164,        /* number of burst_regs */
261                 31,         /* number of up_down_regs */
262                 {
263                         0x00000000, /* EMC_RC */
264                         0x00000005, /* EMC_RFC */
265                         0x00000000, /* EMC_RFC_SLR */
266                         0x00000000, /* EMC_RAS */
267                         0x00000000, /* EMC_RP */
268                         0x00000003, /* EMC_R2W */
269                         0x0000000a, /* EMC_W2R */
270                         0x00000003, /* EMC_R2P */
271                         0x0000000b, /* EMC_W2P */
272                         0x00000000, /* EMC_RD_RCD */
273                         0x00000000, /* EMC_WR_RCD */
274                         0x00000003, /* EMC_RRD */
275                         0x00000003, /* EMC_REXT */
276                         0x00000000, /* EMC_WEXT */
277                         0x00000005, /* EMC_WDV */
278                         0x00000005, /* EMC_WDV_MASK */
279                         0x00000005, /* EMC_QUSE */
280                         0x00000000, /* EMC_QUSE_WIDTH */
281                         0x00000000, /* EMC_IBDLY */
282                         0x00000004, /* EMC_EINPUT */
283                         0x00000004, /* EMC_EINPUT_DURATION */
284                         0x00010000, /* EMC_PUTERM_EXTRA */
285                         0x00000001, /* EMC_PUTERM_WIDTH */
286                         0x00000000, /* EMC_PUTERM_ADJ */
287                         0x00000000, /* EMC_CDB_CNTL_1 */
288                         0x00000000, /* EMC_CDB_CNTL_2 */
289                         0x00000000, /* EMC_CDB_CNTL_3 */
290                         0x00000003, /* EMC_QRST */
291                         0x0000000c, /* EMC_QSAFE */
292                         0x0000000c, /* EMC_RDV */
293                         0x0000000e, /* EMC_RDV_MASK */
294                         0x0000009a, /* EMC_REFRESH */
295                         0x00000000, /* EMC_BURST_REFRESH_NUM */
296                         0x00000026, /* EMC_PRE_REFRESH_REQ_CNT */
297                         0x00000002, /* EMC_PDEX2WR */
298                         0x00000002, /* EMC_PDEX2RD */
299                         0x00000001, /* EMC_PCHG2PDEN */
300                         0x00000000, /* EMC_ACT2PDEN */
301                         0x00000007, /* EMC_AR2PDEN */
302                         0x0000000f, /* EMC_RW2PDEN */
303                         0x00000006, /* EMC_TXSR */
304                         0x00000006, /* EMC_TXSRDLL */
305                         0x00000004, /* EMC_TCKE */
306                         0x00000005, /* EMC_TCKESR */
307                         0x00000004, /* EMC_TPD */
308                         0x00000000, /* EMC_TFAW */
309                         0x00000000, /* EMC_TRPAB */
310                         0x00000005, /* EMC_TCLKSTABLE */
311                         0x00000005, /* EMC_TCLKSTOP */
312                         0x000000a0, /* EMC_TREFBW */
313                         0x00000000, /* EMC_FBIO_CFG6 */
314                         0x00000000, /* EMC_ODT_WRITE */
315                         0x00000000, /* EMC_ODT_READ */
316                         0x10604098, /* EMC_FBIO_CFG5 */
317                         0x002c00a0, /* EMC_CFG_DIG_DLL */
318                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
319                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
320                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
321                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
322                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
323                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
324                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
325                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
326                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
327                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
328                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
329                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
330                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
331                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
332                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
333                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
334                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
335                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
336                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
337                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
338                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
339                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
340                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
341                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
342                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
343                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
344                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
345                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
346                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
347                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
348                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
349                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
350                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
351                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
352                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
353                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
354                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
355                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
356                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
357                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
358                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
359                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
360                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
361                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
362                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
363                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
364                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
365                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
366                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
367                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
368                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
369                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
370                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
371                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
372                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
373                         0x000fc000, /* EMC_DLL_XFORM_DQ0 */
374                         0x000fc000, /* EMC_DLL_XFORM_DQ1 */
375                         0x000fc000, /* EMC_DLL_XFORM_DQ2 */
376                         0x000fc000, /* EMC_DLL_XFORM_DQ3 */
377                         0x0000fc00, /* EMC_DLL_XFORM_DQ4 */
378                         0x0000fc00, /* EMC_DLL_XFORM_DQ5 */
379                         0x0000fc00, /* EMC_DLL_XFORM_DQ6 */
380                         0x0000fc00, /* EMC_DLL_XFORM_DQ7 */
381                         0x10000280, /* EMC_XM2CMDPADCTRL */
382                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
383                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
384                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
385                         0x00000000, /* EMC_XM2DQPADCTRL2 */
386                         0x00000000, /* EMC_XM2DQPADCTRL3 */
387                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
388                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
389                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
390                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
391                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
392                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
393                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
394                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
395                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
396                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
397                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
398                         0x0000000b, /* EMC_TXDSRVTTGEN */
399                         0x00000000, /* EMC_FBIO_SPARE */
400                         0x00000000, /* EMC_ZCAL_INTERVAL */
401                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
402                         0x00100010, /* EMC_MRS_WAIT_CNT */
403                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
404                         0x00000000, /* EMC_CTT */
405                         0x00000001, /* EMC_CTT_DURATION */
406                         0x0000f3f3, /* EMC_CFG_PIPE */
407                         0x8000023a, /* EMC_DYN_SELF_REF_CONTROL */
408                         0x00000009, /* EMC_QPOP */
409                         0x40020001, /* MC_EMEM_ARB_CFG */
410                         0x80000012, /* MC_EMEM_ARB_OUTSTANDING_REQ */
411                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
412                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
413                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
414                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
415                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
416                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
417                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
418                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
419                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
420                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
421                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
422                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
423                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
424                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
425                         0x76230303, /* MC_EMEM_ARB_MISC0 */
426                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
427                 },
428                 {
429                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
430                         0x0000000a, /* MC_PTSA_GRANT_DECREMENT */
431                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
432                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
433                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
434                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
435                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
436                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
437                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
438                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
439                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
440                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
441                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
442                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
443                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
444                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
445                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
446                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
447                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
448                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
449                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
450                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
451                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
452                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
453                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
454                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
455                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
456                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
457                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
458                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
459                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
460                 },
461                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
462                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
463                 0x00000802, /* EMC_CTT_TERM_CTRL */
464                 0x73240000, /* EMC_CFG */
465                 0x000008c5, /* EMC_CFG_2 */
466                 0x00040128, /* EMC_SEL_DPD_CTRL */
467                 0x002c0068, /* EMC_CFG_DIG_DLL */
468                 0x00000008, /* EMC_BGBIAS_CTL0 */
469                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
470                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
471                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
472                 0x80001221, /* Mode Register 0 */
473                 0x80100003, /* Mode Register 1 */
474                 0x80200008, /* Mode Register 2 */
475                 0x00000000, /* Mode Register 4 */
476         },
477         {
478                 0x18,       /* V5.0.6 */
479                 "06_40800_01_V5.0.6_V0.8", /* DVFS table version */
480                 40800,      /* SDRAM frequency */
481                 800,        /* min voltage */
482                 800,        /* gpu min voltage */
483                 "pllp_out0", /* clock source id */
484                 0x40000012, /* CLK_SOURCE_EMC */
485                 164,        /* number of burst_regs */
486                 31,         /* number of up_down_regs */
487                 {
488                         0x00000001, /* EMC_RC */
489                         0x0000000a, /* EMC_RFC */
490                         0x00000000, /* EMC_RFC_SLR */
491                         0x00000001, /* EMC_RAS */
492                         0x00000000, /* EMC_RP */
493                         0x00000003, /* EMC_R2W */
494                         0x0000000a, /* EMC_W2R */
495                         0x00000003, /* EMC_R2P */
496                         0x0000000b, /* EMC_W2P */
497                         0x00000000, /* EMC_RD_RCD */
498                         0x00000000, /* EMC_WR_RCD */
499                         0x00000003, /* EMC_RRD */
500                         0x00000003, /* EMC_REXT */
501                         0x00000000, /* EMC_WEXT */
502                         0x00000005, /* EMC_WDV */
503                         0x00000005, /* EMC_WDV_MASK */
504                         0x00000005, /* EMC_QUSE */
505                         0x00000000, /* EMC_QUSE_WIDTH */
506                         0x00000000, /* EMC_IBDLY */
507                         0x00000004, /* EMC_EINPUT */
508                         0x00000004, /* EMC_EINPUT_DURATION */
509                         0x00010000, /* EMC_PUTERM_EXTRA */
510                         0x00000001, /* EMC_PUTERM_WIDTH */
511                         0x00000000, /* EMC_PUTERM_ADJ */
512                         0x00000000, /* EMC_CDB_CNTL_1 */
513                         0x00000000, /* EMC_CDB_CNTL_2 */
514                         0x00000000, /* EMC_CDB_CNTL_3 */
515                         0x00000003, /* EMC_QRST */
516                         0x0000000c, /* EMC_QSAFE */
517                         0x0000000c, /* EMC_RDV */
518                         0x0000000e, /* EMC_RDV_MASK */
519                         0x00000134, /* EMC_REFRESH */
520                         0x00000000, /* EMC_BURST_REFRESH_NUM */
521                         0x0000004d, /* EMC_PRE_REFRESH_REQ_CNT */
522                         0x00000002, /* EMC_PDEX2WR */
523                         0x00000002, /* EMC_PDEX2RD */
524                         0x00000001, /* EMC_PCHG2PDEN */
525                         0x00000000, /* EMC_ACT2PDEN */
526                         0x00000008, /* EMC_AR2PDEN */
527                         0x0000000f, /* EMC_RW2PDEN */
528                         0x0000000c, /* EMC_TXSR */
529                         0x0000000c, /* EMC_TXSRDLL */
530                         0x00000004, /* EMC_TCKE */
531                         0x00000005, /* EMC_TCKESR */
532                         0x00000004, /* EMC_TPD */
533                         0x00000000, /* EMC_TFAW */
534                         0x00000000, /* EMC_TRPAB */
535                         0x00000005, /* EMC_TCLKSTABLE */
536                         0x00000005, /* EMC_TCLKSTOP */
537                         0x0000013f, /* EMC_TREFBW */
538                         0x00000000, /* EMC_FBIO_CFG6 */
539                         0x00000000, /* EMC_ODT_WRITE */
540                         0x00000000, /* EMC_ODT_READ */
541                         0x10604098, /* EMC_FBIO_CFG5 */
542                         0x002c00a0, /* EMC_CFG_DIG_DLL */
543                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
544                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
545                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
546                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
547                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
548                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
549                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
550                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
551                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
552                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
553                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
554                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
555                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
556                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
557                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
558                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
559                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
560                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
561                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
562                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
563                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
564                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
565                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
566                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
567                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
568                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
569                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
570                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
571                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
572                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
573                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
574                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
575                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
576                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
577                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
578                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
579                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
580                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
581                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
582                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
583                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
584                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
585                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
586                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
587                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
588                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
589                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
590                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
591                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
592                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
593                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
594                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
595                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
596                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
597                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
598                         0x000fc000, /* EMC_DLL_XFORM_DQ0 */
599                         0x000fc000, /* EMC_DLL_XFORM_DQ1 */
600                         0x000fc000, /* EMC_DLL_XFORM_DQ2 */
601                         0x000fc000, /* EMC_DLL_XFORM_DQ3 */
602                         0x0000fc00, /* EMC_DLL_XFORM_DQ4 */
603                         0x0000fc00, /* EMC_DLL_XFORM_DQ5 */
604                         0x0000fc00, /* EMC_DLL_XFORM_DQ6 */
605                         0x0000fc00, /* EMC_DLL_XFORM_DQ7 */
606                         0x10000280, /* EMC_XM2CMDPADCTRL */
607                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
608                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
609                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
610                         0x00000000, /* EMC_XM2DQPADCTRL2 */
611                         0x00000000, /* EMC_XM2DQPADCTRL3 */
612                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
613                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
614                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
615                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
616                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
617                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
618                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
619                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
620                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
621                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
622                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
623                         0x00000015, /* EMC_TXDSRVTTGEN */
624                         0x00000000, /* EMC_FBIO_SPARE */
625                         0x00000000, /* EMC_ZCAL_INTERVAL */
626                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
627                         0x00100010, /* EMC_MRS_WAIT_CNT */
628                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
629                         0x00000000, /* EMC_CTT */
630                         0x00000001, /* EMC_CTT_DURATION */
631                         0x0000f3f3, /* EMC_CFG_PIPE */
632                         0x80000370, /* EMC_DYN_SELF_REF_CONTROL */
633                         0x00000009, /* EMC_QPOP */
634                         0xa0000001, /* MC_EMEM_ARB_CFG */
635                         0x80000017, /* MC_EMEM_ARB_OUTSTANDING_REQ */
636                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
637                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
638                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
639                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
640                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
641                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
642                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
643                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
644                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
645                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
646                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
647                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
648                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
649                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
650                         0x74a30303, /* MC_EMEM_ARB_MISC0 */
651                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
652                 },
653                 {
654                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
655                         0x00000014, /* MC_PTSA_GRANT_DECREMENT */
656                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
657                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
658                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
659                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
660                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
661                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
662                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
663                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
664                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
665                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
666                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
667                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
668                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
669                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
670                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
671                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
672                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
673                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
674                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
675                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
676                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
677                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
678                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
679                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
680                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
681                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
682                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
683                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
684                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
685                 },
686                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
687                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
688                 0x00000802, /* EMC_CTT_TERM_CTRL */
689                 0x73240000, /* EMC_CFG */
690                 0x000008c5, /* EMC_CFG_2 */
691                 0x00040128, /* EMC_SEL_DPD_CTRL */
692                 0x002c0068, /* EMC_CFG_DIG_DLL */
693                 0x00000008, /* EMC_BGBIAS_CTL0 */
694                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
695                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
696                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
697                 0x80001221, /* Mode Register 0 */
698                 0x80100003, /* Mode Register 1 */
699                 0x80200008, /* Mode Register 2 */
700                 0x00000000, /* Mode Register 4 */
701         },
702         {
703                 0x18,       /* V5.0.6 */
704                 "06_68000_01_V5.0.6_V0.8", /* DVFS table version */
705                 68000,      /* SDRAM frequency */
706                 800,        /* min voltage */
707                 800,        /* gpu min voltage */
708                 "pllp_out0", /* clock source id */
709                 0x4000000a, /* CLK_SOURCE_EMC */
710                 164,        /* number of burst_regs */
711                 31,         /* number of up_down_regs */
712                 {
713                         0x00000003, /* EMC_RC */
714                         0x00000011, /* EMC_RFC */
715                         0x00000000, /* EMC_RFC_SLR */
716                         0x00000002, /* EMC_RAS */
717                         0x00000000, /* EMC_RP */
718                         0x00000003, /* EMC_R2W */
719                         0x0000000a, /* EMC_W2R */
720                         0x00000003, /* EMC_R2P */
721                         0x0000000b, /* EMC_W2P */
722                         0x00000000, /* EMC_RD_RCD */
723                         0x00000000, /* EMC_WR_RCD */
724                         0x00000003, /* EMC_RRD */
725                         0x00000003, /* EMC_REXT */
726                         0x00000000, /* EMC_WEXT */
727                         0x00000005, /* EMC_WDV */
728                         0x00000005, /* EMC_WDV_MASK */
729                         0x00000005, /* EMC_QUSE */
730                         0x00000000, /* EMC_QUSE_WIDTH */
731                         0x00000000, /* EMC_IBDLY */
732                         0x00000004, /* EMC_EINPUT */
733                         0x00000004, /* EMC_EINPUT_DURATION */
734                         0x00010000, /* EMC_PUTERM_EXTRA */
735                         0x00000001, /* EMC_PUTERM_WIDTH */
736                         0x00000000, /* EMC_PUTERM_ADJ */
737                         0x00000000, /* EMC_CDB_CNTL_1 */
738                         0x00000000, /* EMC_CDB_CNTL_2 */
739                         0x00000000, /* EMC_CDB_CNTL_3 */
740                         0x00000003, /* EMC_QRST */
741                         0x0000000c, /* EMC_QSAFE */
742                         0x0000000c, /* EMC_RDV */
743                         0x0000000e, /* EMC_RDV_MASK */
744                         0x00000202, /* EMC_REFRESH */
745                         0x00000000, /* EMC_BURST_REFRESH_NUM */
746                         0x00000080, /* EMC_PRE_REFRESH_REQ_CNT */
747                         0x00000002, /* EMC_PDEX2WR */
748                         0x00000002, /* EMC_PDEX2RD */
749                         0x00000001, /* EMC_PCHG2PDEN */
750                         0x00000000, /* EMC_ACT2PDEN */
751                         0x0000000f, /* EMC_AR2PDEN */
752                         0x0000000f, /* EMC_RW2PDEN */
753                         0x00000013, /* EMC_TXSR */
754                         0x00000013, /* EMC_TXSRDLL */
755                         0x00000004, /* EMC_TCKE */
756                         0x00000005, /* EMC_TCKESR */
757                         0x00000004, /* EMC_TPD */
758                         0x00000000, /* EMC_TFAW */
759                         0x00000000, /* EMC_TRPAB */
760                         0x00000005, /* EMC_TCLKSTABLE */
761                         0x00000005, /* EMC_TCLKSTOP */
762                         0x00000213, /* EMC_TREFBW */
763                         0x00000002, /* EMC_FBIO_CFG6 */
764                         0x00000000, /* EMC_ODT_WRITE */
765                         0x00000000, /* EMC_ODT_READ */
766                         0x10604098, /* EMC_FBIO_CFG5 */
767                         0x002c00a0, /* EMC_CFG_DIG_DLL */
768                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
769                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
770                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
771                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
772                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
773                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
774                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
775                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
776                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
777                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
778                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
779                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
780                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
781                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
782                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
783                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
784                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
785                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
786                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
787                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
788                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
789                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
790                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
791                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
792                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
793                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
794                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
795                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
796                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
797                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
798                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
799                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
800                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
801                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
802                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
803                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
804                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
805                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
806                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
807                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
808                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
809                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
810                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
811                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
812                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
813                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
814                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
815                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
816                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
817                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
818                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
819                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
820                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
821                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
822                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
823                         0x000fc000, /* EMC_DLL_XFORM_DQ0 */
824                         0x000fc000, /* EMC_DLL_XFORM_DQ1 */
825                         0x000fc000, /* EMC_DLL_XFORM_DQ2 */
826                         0x000fc000, /* EMC_DLL_XFORM_DQ3 */
827                         0x0000fc00, /* EMC_DLL_XFORM_DQ4 */
828                         0x0000fc00, /* EMC_DLL_XFORM_DQ5 */
829                         0x0000fc00, /* EMC_DLL_XFORM_DQ6 */
830                         0x0000fc00, /* EMC_DLL_XFORM_DQ7 */
831                         0x10000280, /* EMC_XM2CMDPADCTRL */
832                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
833                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
834                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
835                         0x00000000, /* EMC_XM2DQPADCTRL2 */
836                         0x00000000, /* EMC_XM2DQPADCTRL3 */
837                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
838                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
839                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
840                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
841                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
842                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
843                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
844                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
845                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
846                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
847                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
848                         0x00000022, /* EMC_TXDSRVTTGEN */
849                         0x00000000, /* EMC_FBIO_SPARE */
850                         0x00000000, /* EMC_ZCAL_INTERVAL */
851                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
852                         0x00100010, /* EMC_MRS_WAIT_CNT */
853                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
854                         0x00000000, /* EMC_CTT */
855                         0x00000001, /* EMC_CTT_DURATION */
856                         0x0000f3f3, /* EMC_CFG_PIPE */
857                         0x8000050e, /* EMC_DYN_SELF_REF_CONTROL */
858                         0x00000009, /* EMC_QPOP */
859                         0x00000001, /* MC_EMEM_ARB_CFG */
860                         0x8000001e, /* MC_EMEM_ARB_OUTSTANDING_REQ */
861                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
862                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
863                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
864                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
865                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
866                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
867                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
868                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
869                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
870                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
871                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
872                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
873                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
874                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
875                         0x74230403, /* MC_EMEM_ARB_MISC0 */
876                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
877                 },
878                 {
879                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
880                         0x00000021, /* MC_PTSA_GRANT_DECREMENT */
881                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
882                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
883                         0x00ff00b0, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
884                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
885                         0x00ff00ec, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
886                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
887                         0x00ff00ec, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
888                         0x00e90049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
889                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
890                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
891                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
892                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
893                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
894                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
895                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
896                         0x00ff00a3, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
897                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
898                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
899                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
900                         0x000000ef, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
901                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
902                         0x000000ef, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
903                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
904                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
905                         0x00ee00ef, /* MC_LATENCY_ALLOWANCE_VDE_1 */
906                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
907                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
908                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
909                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
910                 },
911                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
912                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
913                 0x00000802, /* EMC_CTT_TERM_CTRL */
914                 0x73240000, /* EMC_CFG */
915                 0x000008c5, /* EMC_CFG_2 */
916                 0x00040128, /* EMC_SEL_DPD_CTRL */
917                 0x002c0068, /* EMC_CFG_DIG_DLL */
918                 0x00000008, /* EMC_BGBIAS_CTL0 */
919                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
920                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
921                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
922                 0x80001221, /* Mode Register 0 */
923                 0x80100003, /* Mode Register 1 */
924                 0x80200008, /* Mode Register 2 */
925                 0x00000000, /* Mode Register 4 */
926         },
927         {
928                 0x18,       /* V5.0.6 */
929                 "06_102000_01_V5.0.6_V0.8", /* DVFS table version */
930                 102000,     /* SDRAM frequency */
931                 800,        /* min voltage */
932                 800,        /* gpu min voltage */
933                 "pllp_out0", /* clock source id */
934                 0x40000006, /* CLK_SOURCE_EMC */
935                 164,        /* number of burst_regs */
936                 31,         /* number of up_down_regs */
937                 {
938                         0x00000004, /* EMC_RC */
939                         0x0000001a, /* EMC_RFC */
940                         0x00000000, /* EMC_RFC_SLR */
941                         0x00000003, /* EMC_RAS */
942                         0x00000001, /* EMC_RP */
943                         0x00000003, /* EMC_R2W */
944                         0x0000000a, /* EMC_W2R */
945                         0x00000003, /* EMC_R2P */
946                         0x0000000b, /* EMC_W2P */
947                         0x00000001, /* EMC_RD_RCD */
948                         0x00000001, /* EMC_WR_RCD */
949                         0x00000003, /* EMC_RRD */
950                         0x00000003, /* EMC_REXT */
951                         0x00000000, /* EMC_WEXT */
952                         0x00000005, /* EMC_WDV */
953                         0x00000005, /* EMC_WDV_MASK */
954                         0x00000005, /* EMC_QUSE */
955                         0x00000000, /* EMC_QUSE_WIDTH */
956                         0x00000000, /* EMC_IBDLY */
957                         0x00000004, /* EMC_EINPUT */
958                         0x00000004, /* EMC_EINPUT_DURATION */
959                         0x00010000, /* EMC_PUTERM_EXTRA */
960                         0x00000001, /* EMC_PUTERM_WIDTH */
961                         0x00000000, /* EMC_PUTERM_ADJ */
962                         0x00000000, /* EMC_CDB_CNTL_1 */
963                         0x00000000, /* EMC_CDB_CNTL_2 */
964                         0x00000000, /* EMC_CDB_CNTL_3 */
965                         0x00000003, /* EMC_QRST */
966                         0x0000000c, /* EMC_QSAFE */
967                         0x0000000c, /* EMC_RDV */
968                         0x0000000e, /* EMC_RDV_MASK */
969                         0x00000304, /* EMC_REFRESH */
970                         0x00000000, /* EMC_BURST_REFRESH_NUM */
971                         0x000000c1, /* EMC_PRE_REFRESH_REQ_CNT */
972                         0x00000002, /* EMC_PDEX2WR */
973                         0x00000002, /* EMC_PDEX2RD */
974                         0x00000001, /* EMC_PCHG2PDEN */
975                         0x00000000, /* EMC_ACT2PDEN */
976                         0x00000018, /* EMC_AR2PDEN */
977                         0x0000000f, /* EMC_RW2PDEN */
978                         0x0000001c, /* EMC_TXSR */
979                         0x0000001c, /* EMC_TXSRDLL */
980                         0x00000004, /* EMC_TCKE */
981                         0x00000005, /* EMC_TCKESR */
982                         0x00000004, /* EMC_TPD */
983                         0x00000001, /* EMC_TFAW */
984                         0x00000000, /* EMC_TRPAB */
985                         0x00000005, /* EMC_TCLKSTABLE */
986                         0x00000005, /* EMC_TCLKSTOP */
987                         0x0000031c, /* EMC_TREFBW */
988                         0x00000002, /* EMC_FBIO_CFG6 */
989                         0x00000000, /* EMC_ODT_WRITE */
990                         0x00000000, /* EMC_ODT_READ */
991                         0x10604098, /* EMC_FBIO_CFG5 */
992                         0x002c00a0, /* EMC_CFG_DIG_DLL */
993                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
994                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
995                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
996                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
997                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
998                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
999                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
1000                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
1001                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
1002                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
1003                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
1004                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
1005                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
1006                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
1007                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
1008                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
1009                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
1010                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
1011                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
1012                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
1013                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
1014                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
1015                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
1016                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
1017                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
1018                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
1019                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
1020                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
1021                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
1022                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
1023                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
1024                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
1025                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
1026                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
1027                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
1028                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
1029                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
1030                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
1031                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
1032                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
1033                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
1034                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
1035                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
1036                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
1037                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
1038                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
1039                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
1040                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
1041                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
1042                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
1043                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
1044                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
1045                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
1046                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
1047                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
1048                         0x000fc000, /* EMC_DLL_XFORM_DQ0 */
1049                         0x000fc000, /* EMC_DLL_XFORM_DQ1 */
1050                         0x000fc000, /* EMC_DLL_XFORM_DQ2 */
1051                         0x000fc000, /* EMC_DLL_XFORM_DQ3 */
1052                         0x0000fc00, /* EMC_DLL_XFORM_DQ4 */
1053                         0x0000fc00, /* EMC_DLL_XFORM_DQ5 */
1054                         0x0000fc00, /* EMC_DLL_XFORM_DQ6 */
1055                         0x0000fc00, /* EMC_DLL_XFORM_DQ7 */
1056                         0x10000280, /* EMC_XM2CMDPADCTRL */
1057                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
1058                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
1059                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
1060                         0x00000000, /* EMC_XM2DQPADCTRL2 */
1061                         0x00000000, /* EMC_XM2DQPADCTRL3 */
1062                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
1063                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
1064                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
1065                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
1066                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
1067                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
1068                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
1069                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
1070                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
1071                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
1072                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
1073                         0x00000033, /* EMC_TXDSRVTTGEN */
1074                         0x00000000, /* EMC_FBIO_SPARE */
1075                         0x00000000, /* EMC_ZCAL_INTERVAL */
1076                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
1077                         0x00100010, /* EMC_MRS_WAIT_CNT */
1078                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
1079                         0x00000000, /* EMC_CTT */
1080                         0x00000001, /* EMC_CTT_DURATION */
1081                         0x0000f3f3, /* EMC_CFG_PIPE */
1082                         0x80000713, /* EMC_DYN_SELF_REF_CONTROL */
1083                         0x00000009, /* EMC_QPOP */
1084                         0x08000001, /* MC_EMEM_ARB_CFG */
1085                         0x80000026, /* MC_EMEM_ARB_OUTSTANDING_REQ */
1086                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
1087                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
1088                         0x00000003, /* MC_EMEM_ARB_TIMING_RC */
1089                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
1090                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
1091                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
1092                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
1093                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
1094                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
1095                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
1096                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
1097                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
1098                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
1099                         0x000a0403, /* MC_EMEM_ARB_DA_COVERS */
1100                         0x73c30504, /* MC_EMEM_ARB_MISC0 */
1101                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
1102                 },
1103                 {
1104                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
1105                         0x00000031, /* MC_PTSA_GRANT_DECREMENT */
1106                         0x00ff00da, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
1107                         0x00ff00da, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
1108                         0x00ff0075, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
1109                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
1110                         0x00ff009d, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
1111                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
1112                         0x00ff009d, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
1113                         0x009b0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
1114                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
1115                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
1116                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
1117                         0x000800ad, /* MC_LATENCY_ALLOWANCE_HC_0 */
1118                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
1119                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
1120                         0x00ff00c6, /* MC_LATENCY_ALLOWANCE_GPU_0 */
1121                         0x00ff006d, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
1122                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
1123                         0x00ff00d6, /* MC_LATENCY_ALLOWANCE_VIC_0 */
1124                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
1125                         0x0000009f, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
1126                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
1127                         0x0000009f, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
1128                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
1129                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
1130                         0x009f00a0, /* MC_LATENCY_ALLOWANCE_VDE_1 */
1131                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
1132                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
1133                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
1134                         0x00ff00da, /* MC_LATENCY_ALLOWANCE_AFI_0 */
1135                 },
1136                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
1137                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
1138                 0x00000802, /* EMC_CTT_TERM_CTRL */
1139                 0x73240000, /* EMC_CFG */
1140                 0x000008c5, /* EMC_CFG_2 */
1141                 0x00040128, /* EMC_SEL_DPD_CTRL */
1142                 0x002c0068, /* EMC_CFG_DIG_DLL */
1143                 0x00000008, /* EMC_BGBIAS_CTL0 */
1144                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
1145                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
1146                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
1147                 0x80001221, /* Mode Register 0 */
1148                 0x80100003, /* Mode Register 1 */
1149                 0x80200008, /* Mode Register 2 */
1150                 0x00000000, /* Mode Register 4 */
1151         },
1152         {
1153                 0x18,       /* V5.0.6 */
1154                 "06_204000_01_V5.0.6_V0.8", /* DVFS table version */
1155                 204000,     /* SDRAM frequency */
1156                 800,        /* min voltage */
1157                 800,        /* gpu min voltage */
1158                 "pllp_out0", /* clock source id */
1159                 0x40000002, /* CLK_SOURCE_EMC */
1160                 164,        /* number of burst_regs */
1161                 31,         /* number of up_down_regs */
1162                 {
1163                         0x00000009, /* EMC_RC */
1164                         0x00000035, /* EMC_RFC */
1165                         0x00000000, /* EMC_RFC_SLR */
1166                         0x00000006, /* EMC_RAS */
1167                         0x00000002, /* EMC_RP */
1168                         0x00000004, /* EMC_R2W */
1169                         0x0000000a, /* EMC_W2R */
1170                         0x00000003, /* EMC_R2P */
1171                         0x0000000b, /* EMC_W2P */
1172                         0x00000002, /* EMC_RD_RCD */
1173                         0x00000002, /* EMC_WR_RCD */
1174                         0x00000003, /* EMC_RRD */
1175                         0x00000003, /* EMC_REXT */
1176                         0x00000000, /* EMC_WEXT */
1177                         0x00000004, /* EMC_WDV */
1178                         0x00000004, /* EMC_WDV_MASK */
1179                         0x00000005, /* EMC_QUSE */
1180                         0x00000000, /* EMC_QUSE_WIDTH */
1181                         0x00000000, /* EMC_IBDLY */
1182                         0x00000003, /* EMC_EINPUT */
1183                         0x00000005, /* EMC_EINPUT_DURATION */
1184                         0x00010000, /* EMC_PUTERM_EXTRA */
1185                         0x00000001, /* EMC_PUTERM_WIDTH */
1186                         0x00000000, /* EMC_PUTERM_ADJ */
1187                         0x00000000, /* EMC_CDB_CNTL_1 */
1188                         0x00000000, /* EMC_CDB_CNTL_2 */
1189                         0x00000000, /* EMC_CDB_CNTL_3 */
1190                         0x00000002, /* EMC_QRST */
1191                         0x0000000d, /* EMC_QSAFE */
1192                         0x0000000e, /* EMC_RDV */
1193                         0x00000010, /* EMC_RDV_MASK */
1194                         0x00000607, /* EMC_REFRESH */
1195                         0x00000000, /* EMC_BURST_REFRESH_NUM */
1196                         0x00000181, /* EMC_PRE_REFRESH_REQ_CNT */
1197                         0x00000002, /* EMC_PDEX2WR */
1198                         0x00000002, /* EMC_PDEX2RD */
1199                         0x00000001, /* EMC_PCHG2PDEN */
1200                         0x00000000, /* EMC_ACT2PDEN */
1201                         0x00000032, /* EMC_AR2PDEN */
1202                         0x0000000f, /* EMC_RW2PDEN */
1203                         0x00000038, /* EMC_TXSR */
1204                         0x00000038, /* EMC_TXSRDLL */
1205                         0x00000004, /* EMC_TCKE */
1206                         0x00000005, /* EMC_TCKESR */
1207                         0x00000004, /* EMC_TPD */
1208                         0x00000004, /* EMC_TFAW */
1209                         0x00000000, /* EMC_TRPAB */
1210                         0x00000005, /* EMC_TCLKSTABLE */
1211                         0x00000005, /* EMC_TCLKSTOP */
1212                         0x00000638, /* EMC_TREFBW */
1213                         0x00000002, /* EMC_FBIO_CFG6 */
1214                         0x00000000, /* EMC_ODT_WRITE */
1215                         0x00000000, /* EMC_ODT_READ */
1216                         0x10604098, /* EMC_FBIO_CFG5 */
1217                         0x002c00a0, /* EMC_CFG_DIG_DLL */
1218                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
1219                         0x00064000, /* EMC_DLL_XFORM_DQS0 */
1220                         0x00064000, /* EMC_DLL_XFORM_DQS1 */
1221                         0x00064000, /* EMC_DLL_XFORM_DQS2 */
1222                         0x00064000, /* EMC_DLL_XFORM_DQS3 */
1223                         0x00064000, /* EMC_DLL_XFORM_DQS4 */
1224                         0x00064000, /* EMC_DLL_XFORM_DQS5 */
1225                         0x00064000, /* EMC_DLL_XFORM_DQS6 */
1226                         0x00064000, /* EMC_DLL_XFORM_DQS7 */
1227                         0x00064000, /* EMC_DLL_XFORM_DQS8 */
1228                         0x00064000, /* EMC_DLL_XFORM_DQS9 */
1229                         0x00064000, /* EMC_DLL_XFORM_DQS10 */
1230                         0x00064000, /* EMC_DLL_XFORM_DQS11 */
1231                         0x00064000, /* EMC_DLL_XFORM_DQS12 */
1232                         0x00064000, /* EMC_DLL_XFORM_DQS13 */
1233                         0x00064000, /* EMC_DLL_XFORM_DQS14 */
1234                         0x00064000, /* EMC_DLL_XFORM_DQS15 */
1235                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
1236                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
1237                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
1238                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
1239                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
1240                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
1241                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
1242                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
1243                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
1244                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
1245                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
1246                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
1247                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
1248                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
1249                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
1250                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
1251                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
1252                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
1253                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
1254                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
1255                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
1256                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
1257                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
1258                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
1259                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
1260                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
1261                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
1262                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
1263                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
1264                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
1265                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
1266                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
1267                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
1268                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
1269                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
1270                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
1271                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
1272                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
1273                         0x00090000, /* EMC_DLL_XFORM_DQ0 */
1274                         0x00090000, /* EMC_DLL_XFORM_DQ1 */
1275                         0x00090000, /* EMC_DLL_XFORM_DQ2 */
1276                         0x00090000, /* EMC_DLL_XFORM_DQ3 */
1277                         0x00009000, /* EMC_DLL_XFORM_DQ4 */
1278                         0x00009000, /* EMC_DLL_XFORM_DQ5 */
1279                         0x00009000, /* EMC_DLL_XFORM_DQ6 */
1280                         0x00009000, /* EMC_DLL_XFORM_DQ7 */
1281                         0x10000280, /* EMC_XM2CMDPADCTRL */
1282                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
1283                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
1284                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
1285                         0x00000000, /* EMC_XM2DQPADCTRL2 */
1286                         0x00000000, /* EMC_XM2DQPADCTRL3 */
1287                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
1288                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
1289                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
1290                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
1291                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
1292                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
1293                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
1294                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
1295                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
1296                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
1297                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
1298                         0x00000066, /* EMC_TXDSRVTTGEN */
1299                         0x00000000, /* EMC_FBIO_SPARE */
1300                         0x00020000, /* EMC_ZCAL_INTERVAL */
1301                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
1302                         0x00100010, /* EMC_MRS_WAIT_CNT */
1303                         0x00100010, /* EMC_MRS_WAIT_CNT2 */
1304                         0x00000000, /* EMC_CTT */
1305                         0x00000001, /* EMC_CTT_DURATION */
1306                         0x0000d3b3, /* EMC_CFG_PIPE */
1307                         0x80000d22, /* EMC_DYN_SELF_REF_CONTROL */
1308                         0x00000009, /* EMC_QPOP */
1309                         0x01000003, /* MC_EMEM_ARB_CFG */
1310                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
1311                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
1312                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
1313                         0x00000004, /* MC_EMEM_ARB_TIMING_RC */
1314                         0x00000002, /* MC_EMEM_ARB_TIMING_RAS */
1315                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
1316                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
1317                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
1318                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
1319                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
1320                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
1321                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
1322                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
1323                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
1324                         0x000a0404, /* MC_EMEM_ARB_DA_COVERS */
1325                         0x73840a05, /* MC_EMEM_ARB_MISC0 */
1326                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
1327                 },
1328                 {
1329                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
1330                         0x00000062, /* MC_PTSA_GRANT_DECREMENT */
1331                         0x00ff006d, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
1332                         0x00ff006d, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
1333                         0x00ff003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
1334                         0x00ff00af, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
1335                         0x00ff004f, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
1336                         0x00ff00af, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
1337                         0x00ff004f, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
1338                         0x004e0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
1339                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
1340                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
1341                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
1342                         0x00080057, /* MC_LATENCY_ALLOWANCE_HC_0 */
1343                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
1344                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
1345                         0x00ff0063, /* MC_LATENCY_ALLOWANCE_GPU_0 */
1346                         0x00ff0036, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
1347                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
1348                         0x00ff006b, /* MC_LATENCY_ALLOWANCE_VIC_0 */
1349                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
1350                         0x00000050, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
1351                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
1352                         0x00000050, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
1353                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
1354                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
1355                         0x00510050, /* MC_LATENCY_ALLOWANCE_VDE_1 */
1356                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
1357                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
1358                         0x00ff00c6, /* MC_LATENCY_ALLOWANCE_SATA_0 */
1359                         0x00ff006d, /* MC_LATENCY_ALLOWANCE_AFI_0 */
1360                 },
1361                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
1362                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
1363                 0x00000802, /* EMC_CTT_TERM_CTRL */
1364                 0x73240000, /* EMC_CFG */
1365                 0x000008cd, /* EMC_CFG_2 */
1366                 0x00040128, /* EMC_SEL_DPD_CTRL */
1367                 0x002c0068, /* EMC_CFG_DIG_DLL */
1368                 0x00000008, /* EMC_BGBIAS_CTL0 */
1369                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
1370                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
1371                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
1372                 0x80001221, /* Mode Register 0 */
1373                 0x80100003, /* Mode Register 1 */
1374                 0x80200008, /* Mode Register 2 */
1375                 0x00000000, /* Mode Register 4 */
1376         },
1377         {
1378                 0x18,       /* V5.0.6 */
1379                 "06_300000_01_V5.0.6_V0.8", /* DVFS table version */
1380                 300000,     /* SDRAM frequency */
1381                 810,        /* min voltage */
1382                 800,        /* gpu min voltage */
1383                 "pllc_out0", /* clock source id */
1384                 0x20000002, /* CLK_SOURCE_EMC */
1385                 164,        /* number of burst_regs */
1386                 31,         /* number of up_down_regs */
1387                 {
1388                         0x0000000c, /* EMC_RC */
1389                         0x0000004c, /* EMC_RFC */
1390                         0x00000000, /* EMC_RFC_SLR */
1391                         0x00000008, /* EMC_RAS */
1392                         0x00000002, /* EMC_RP */
1393                         0x00000004, /* EMC_R2W */
1394                         0x00000008, /* EMC_W2R */
1395                         0x00000002, /* EMC_R2P */
1396                         0x00000009, /* EMC_W2P */
1397                         0x00000002, /* EMC_RD_RCD */
1398                         0x00000002, /* EMC_WR_RCD */
1399                         0x00000002, /* EMC_RRD */
1400                         0x00000002, /* EMC_REXT */
1401                         0x00000000, /* EMC_WEXT */
1402                         0x00000003, /* EMC_WDV */
1403                         0x00000003, /* EMC_WDV_MASK */
1404                         0x00000005, /* EMC_QUSE */
1405                         0x00000002, /* EMC_QUSE_WIDTH */
1406                         0x00000000, /* EMC_IBDLY */
1407                         0x00000003, /* EMC_EINPUT */
1408                         0x00000006, /* EMC_EINPUT_DURATION */
1409                         0x00030000, /* EMC_PUTERM_EXTRA */
1410                         0x00000003, /* EMC_PUTERM_WIDTH */
1411                         0x00000000, /* EMC_PUTERM_ADJ */
1412                         0x00000000, /* EMC_CDB_CNTL_1 */
1413                         0x00000000, /* EMC_CDB_CNTL_2 */
1414                         0x00000000, /* EMC_CDB_CNTL_3 */
1415                         0x00000002, /* EMC_QRST */
1416                         0x0000000d, /* EMC_QSAFE */
1417                         0x0000000e, /* EMC_RDV */
1418                         0x00000010, /* EMC_RDV_MASK */
1419                         0x000008e4, /* EMC_REFRESH */
1420                         0x00000000, /* EMC_BURST_REFRESH_NUM */
1421                         0x00000239, /* EMC_PRE_REFRESH_REQ_CNT */
1422                         0x00000001, /* EMC_PDEX2WR */
1423                         0x00000008, /* EMC_PDEX2RD */
1424                         0x00000001, /* EMC_PCHG2PDEN */
1425                         0x00000000, /* EMC_ACT2PDEN */
1426                         0x0000004a, /* EMC_AR2PDEN */
1427                         0x0000000e, /* EMC_RW2PDEN */
1428                         0x00000051, /* EMC_TXSR */
1429                         0x00000200, /* EMC_TXSRDLL */
1430                         0x00000004, /* EMC_TCKE */
1431                         0x00000005, /* EMC_TCKESR */
1432                         0x00000004, /* EMC_TPD */
1433                         0x00000005, /* EMC_TFAW */
1434                         0x00000000, /* EMC_TRPAB */
1435                         0x00000005, /* EMC_TCLKSTABLE */
1436                         0x00000005, /* EMC_TCLKSTOP */
1437                         0x00000924, /* EMC_TREFBW */
1438                         0x00000000, /* EMC_FBIO_CFG6 */
1439                         0x00000000, /* EMC_ODT_WRITE */
1440                         0x00000000, /* EMC_ODT_READ */
1441                         0x1040b098, /* EMC_FBIO_CFG5 */
1442                         0x002c00a0, /* EMC_CFG_DIG_DLL */
1443                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
1444                         0x00030000, /* EMC_DLL_XFORM_DQS0 */
1445                         0x00030000, /* EMC_DLL_XFORM_DQS1 */
1446                         0x00030000, /* EMC_DLL_XFORM_DQS2 */
1447                         0x00030000, /* EMC_DLL_XFORM_DQS3 */
1448                         0x00030000, /* EMC_DLL_XFORM_DQS4 */
1449                         0x00030000, /* EMC_DLL_XFORM_DQS5 */
1450                         0x00030000, /* EMC_DLL_XFORM_DQS6 */
1451                         0x00030000, /* EMC_DLL_XFORM_DQS7 */
1452                         0x00030000, /* EMC_DLL_XFORM_DQS8 */
1453                         0x00030000, /* EMC_DLL_XFORM_DQS9 */
1454                         0x00030000, /* EMC_DLL_XFORM_DQS10 */
1455                         0x00030000, /* EMC_DLL_XFORM_DQS11 */
1456                         0x00030000, /* EMC_DLL_XFORM_DQS12 */
1457                         0x00030000, /* EMC_DLL_XFORM_DQS13 */
1458                         0x00030000, /* EMC_DLL_XFORM_DQS14 */
1459                         0x00030000, /* EMC_DLL_XFORM_DQS15 */
1460                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
1461                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
1462                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
1463                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
1464                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
1465                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
1466                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
1467                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
1468                         0x0009c000, /* EMC_DLL_XFORM_ADDR0 */
1469                         0x0009c000, /* EMC_DLL_XFORM_ADDR1 */
1470                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
1471                         0x0009c000, /* EMC_DLL_XFORM_ADDR3 */
1472                         0x0009c000, /* EMC_DLL_XFORM_ADDR4 */
1473                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
1474                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
1475                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
1476                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
1477                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
1478                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
1479                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
1480                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
1481                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
1482                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
1483                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
1484                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
1485                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
1486                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
1487                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
1488                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
1489                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
1490                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
1491                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
1492                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
1493                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
1494                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
1495                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
1496                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
1497                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
1498                         0x00060000, /* EMC_DLL_XFORM_DQ0 */
1499                         0x00060000, /* EMC_DLL_XFORM_DQ1 */
1500                         0x00060000, /* EMC_DLL_XFORM_DQ2 */
1501                         0x00060000, /* EMC_DLL_XFORM_DQ3 */
1502                         0x00006000, /* EMC_DLL_XFORM_DQ4 */
1503                         0x00006000, /* EMC_DLL_XFORM_DQ5 */
1504                         0x00006000, /* EMC_DLL_XFORM_DQ6 */
1505                         0x00006000, /* EMC_DLL_XFORM_DQ7 */
1506                         0x10000280, /* EMC_XM2CMDPADCTRL */
1507                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
1508                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
1509                         0x01231339, /* EMC_XM2DQSPADCTRL2 */
1510                         0x00000000, /* EMC_XM2DQPADCTRL2 */
1511                         0x00000000, /* EMC_XM2DQPADCTRL3 */
1512                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
1513                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
1514                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
1515                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
1516                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
1517                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
1518                         0x51451420, /* EMC_XM2DQSPADCTRL3 */
1519                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
1520                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
1521                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
1522                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
1523                         0x00000096, /* EMC_TXDSRVTTGEN */
1524                         0x00000000, /* EMC_FBIO_SPARE */
1525                         0x00020000, /* EMC_ZCAL_INTERVAL */
1526                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
1527                         0x01740010, /* EMC_MRS_WAIT_CNT */
1528                         0x01740010, /* EMC_MRS_WAIT_CNT2 */
1529                         0x00000000, /* EMC_CTT */
1530                         0x00000003, /* EMC_CTT_DURATION */
1531                         0x0000d3b3, /* EMC_CFG_PIPE */
1532                         0x800012d7, /* EMC_DYN_SELF_REF_CONTROL */
1533                         0x00000009, /* EMC_QPOP */
1534                         0x08000004, /* MC_EMEM_ARB_CFG */
1535                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
1536                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
1537                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
1538                         0x00000006, /* MC_EMEM_ARB_TIMING_RC */
1539                         0x00000003, /* MC_EMEM_ARB_TIMING_RAS */
1540                         0x00000003, /* MC_EMEM_ARB_TIMING_FAW */
1541                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
1542                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
1543                         0x00000007, /* MC_EMEM_ARB_TIMING_WAP2PRE */
1544                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
1545                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
1546                         0x00000004, /* MC_EMEM_ARB_TIMING_R2W */
1547                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
1548                         0x06040202, /* MC_EMEM_ARB_DA_TURNS */
1549                         0x000a0506, /* MC_EMEM_ARB_DA_COVERS */
1550                         0x77450e07, /* MC_EMEM_ARB_MISC0 */
1551                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
1552                 },
1553                 {
1554                         0x00000004, /* MC_MLL_MPCORER_PTSA_RATE */
1555                         0x00000090, /* MC_PTSA_GRANT_DECREMENT */
1556                         0x00ff004a, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
1557                         0x00ff004a, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
1558                         0x00ff003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
1559                         0x00ff0090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
1560                         0x00ff0041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
1561                         0x00ff0090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
1562                         0x00ff0041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
1563                         0x00350049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
1564                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
1565                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
1566                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
1567                         0x0008003b, /* MC_LATENCY_ALLOWANCE_HC_0 */
1568                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
1569                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
1570                         0x00ff0043, /* MC_LATENCY_ALLOWANCE_GPU_0 */
1571                         0x00ff002d, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
1572                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
1573                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_VIC_0 */
1574                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
1575                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
1576                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
1577                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
1578                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
1579                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
1580                         0x00510036, /* MC_LATENCY_ALLOWANCE_VDE_1 */
1581                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
1582                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
1583                         0x00ff0087, /* MC_LATENCY_ALLOWANCE_SATA_0 */
1584                         0x00ff004a, /* MC_LATENCY_ALLOWANCE_AFI_0 */
1585                 },
1586                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
1587                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
1588                 0x00000802, /* EMC_CTT_TERM_CTRL */
1589                 0x73340000, /* EMC_CFG */
1590                 0x000008cd, /* EMC_CFG_2 */
1591                 0x00040128, /* EMC_SEL_DPD_CTRL */
1592                 0x002c0068, /* EMC_CFG_DIG_DLL */
1593                 0x00000000, /* EMC_BGBIAS_CTL0 */
1594                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
1595                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
1596                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
1597                 0x80000321, /* Mode Register 0 */
1598                 0x80100002, /* Mode Register 1 */
1599                 0x80200000, /* Mode Register 2 */
1600                 0x00000000, /* Mode Register 4 */
1601         },
1602         {
1603                 0x18,       /* V5.0.6 */
1604                 "06_396000_01_V5.0.6_V0.8", /* DVFS table version */
1605                 396000,     /* SDRAM frequency */
1606                 860,        /* min voltage */
1607                 900,        /* gpu min voltage */
1608                 "pllm_out0", /* clock source id */
1609                 0x00000002, /* CLK_SOURCE_EMC */
1610                 164,        /* number of burst_regs */
1611                 31,         /* number of up_down_regs */
1612                 {
1613                         0x00000011, /* EMC_RC */
1614                         0x00000065, /* EMC_RFC */
1615                         0x00000000, /* EMC_RFC_SLR */
1616                         0x0000000c, /* EMC_RAS */
1617                         0x00000004, /* EMC_RP */
1618                         0x00000005, /* EMC_R2W */
1619                         0x00000008, /* EMC_W2R */
1620                         0x00000002, /* EMC_R2P */
1621                         0x0000000a, /* EMC_W2P */
1622                         0x00000004, /* EMC_RD_RCD */
1623                         0x00000004, /* EMC_WR_RCD */
1624                         0x00000002, /* EMC_RRD */
1625                         0x00000002, /* EMC_REXT */
1626                         0x00000000, /* EMC_WEXT */
1627                         0x00000003, /* EMC_WDV */
1628                         0x00000003, /* EMC_WDV_MASK */
1629                         0x00000005, /* EMC_QUSE */
1630                         0x00000002, /* EMC_QUSE_WIDTH */
1631                         0x00000000, /* EMC_IBDLY */
1632                         0x00000003, /* EMC_EINPUT */
1633                         0x00000006, /* EMC_EINPUT_DURATION */
1634                         0x00030000, /* EMC_PUTERM_EXTRA */
1635                         0x00000003, /* EMC_PUTERM_WIDTH */
1636                         0x00000000, /* EMC_PUTERM_ADJ */
1637                         0x00000000, /* EMC_CDB_CNTL_1 */
1638                         0x00000000, /* EMC_CDB_CNTL_2 */
1639                         0x00000000, /* EMC_CDB_CNTL_3 */
1640                         0x00000002, /* EMC_QRST */
1641                         0x0000000d, /* EMC_QSAFE */
1642                         0x0000000e, /* EMC_RDV */
1643                         0x00000010, /* EMC_RDV_MASK */
1644                         0x00000bd1, /* EMC_REFRESH */
1645                         0x00000000, /* EMC_BURST_REFRESH_NUM */
1646                         0x000002f4, /* EMC_PRE_REFRESH_REQ_CNT */
1647                         0x00000001, /* EMC_PDEX2WR */
1648                         0x00000008, /* EMC_PDEX2RD */
1649                         0x00000001, /* EMC_PCHG2PDEN */
1650                         0x00000000, /* EMC_ACT2PDEN */
1651                         0x00000063, /* EMC_AR2PDEN */
1652                         0x0000000f, /* EMC_RW2PDEN */
1653                         0x0000006b, /* EMC_TXSR */
1654                         0x00000200, /* EMC_TXSRDLL */
1655                         0x00000004, /* EMC_TCKE */
1656                         0x00000005, /* EMC_TCKESR */
1657                         0x00000004, /* EMC_TPD */
1658                         0x00000007, /* EMC_TFAW */
1659                         0x00000000, /* EMC_TRPAB */
1660                         0x00000005, /* EMC_TCLKSTABLE */
1661                         0x00000005, /* EMC_TCLKSTOP */
1662                         0x00000c11, /* EMC_TREFBW */
1663                         0x00000000, /* EMC_FBIO_CFG6 */
1664                         0x00000000, /* EMC_ODT_WRITE */
1665                         0x00000000, /* EMC_ODT_READ */
1666                         0x1040b098, /* EMC_FBIO_CFG5 */
1667                         0x002c00a0, /* EMC_CFG_DIG_DLL */
1668                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
1669                         0x00030000, /* EMC_DLL_XFORM_DQS0 */
1670                         0x00030000, /* EMC_DLL_XFORM_DQS1 */
1671                         0x00030000, /* EMC_DLL_XFORM_DQS2 */
1672                         0x00030000, /* EMC_DLL_XFORM_DQS3 */
1673                         0x00030000, /* EMC_DLL_XFORM_DQS4 */
1674                         0x00030000, /* EMC_DLL_XFORM_DQS5 */
1675                         0x00030000, /* EMC_DLL_XFORM_DQS6 */
1676                         0x00030000, /* EMC_DLL_XFORM_DQS7 */
1677                         0x00030000, /* EMC_DLL_XFORM_DQS8 */
1678                         0x00030000, /* EMC_DLL_XFORM_DQS9 */
1679                         0x00030000, /* EMC_DLL_XFORM_DQS10 */
1680                         0x00030000, /* EMC_DLL_XFORM_DQS11 */
1681                         0x00030000, /* EMC_DLL_XFORM_DQS12 */
1682                         0x00030000, /* EMC_DLL_XFORM_DQS13 */
1683                         0x00030000, /* EMC_DLL_XFORM_DQS14 */
1684                         0x00030000, /* EMC_DLL_XFORM_DQS15 */
1685                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
1686                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
1687                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
1688                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
1689                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
1690                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
1691                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
1692                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
1693                         0x00074000, /* EMC_DLL_XFORM_ADDR0 */
1694                         0x00074000, /* EMC_DLL_XFORM_ADDR1 */
1695                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
1696                         0x00074000, /* EMC_DLL_XFORM_ADDR3 */
1697                         0x00074000, /* EMC_DLL_XFORM_ADDR4 */
1698                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
1699                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
1700                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
1701                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
1702                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
1703                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
1704                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
1705                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
1706                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
1707                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
1708                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
1709                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
1710                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
1711                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
1712                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
1713                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
1714                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
1715                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
1716                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
1717                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
1718                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
1719                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
1720                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
1721                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
1722                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
1723                         0x00044000, /* EMC_DLL_XFORM_DQ0 */
1724                         0x00044000, /* EMC_DLL_XFORM_DQ1 */
1725                         0x00044000, /* EMC_DLL_XFORM_DQ2 */
1726                         0x00044000, /* EMC_DLL_XFORM_DQ3 */
1727                         0x00004400, /* EMC_DLL_XFORM_DQ4 */
1728                         0x00004400, /* EMC_DLL_XFORM_DQ5 */
1729                         0x00004400, /* EMC_DLL_XFORM_DQ6 */
1730                         0x00004400, /* EMC_DLL_XFORM_DQ7 */
1731                         0x10000280, /* EMC_XM2CMDPADCTRL */
1732                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
1733                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
1734                         0x01231339, /* EMC_XM2DQSPADCTRL2 */
1735                         0x00000000, /* EMC_XM2DQPADCTRL2 */
1736                         0x00000000, /* EMC_XM2DQPADCTRL3 */
1737                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
1738                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
1739                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
1740                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
1741                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
1742                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
1743                         0x51451420, /* EMC_XM2DQSPADCTRL3 */
1744                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
1745                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
1746                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
1747                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
1748                         0x000000c6, /* EMC_TXDSRVTTGEN */
1749                         0x00000000, /* EMC_FBIO_SPARE */
1750                         0x00020000, /* EMC_ZCAL_INTERVAL */
1751                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
1752                         0x015b0010, /* EMC_MRS_WAIT_CNT */
1753                         0x015b0010, /* EMC_MRS_WAIT_CNT2 */
1754                         0x00000000, /* EMC_CTT */
1755                         0x00000003, /* EMC_CTT_DURATION */
1756                         0x0000d3b3, /* EMC_CFG_PIPE */
1757                         0x8000188b, /* EMC_DYN_SELF_REF_CONTROL */
1758                         0x00000009, /* EMC_QPOP */
1759                         0x0f000005, /* MC_EMEM_ARB_CFG */
1760                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
1761                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
1762                         0x00000002, /* MC_EMEM_ARB_TIMING_RP */
1763                         0x00000009, /* MC_EMEM_ARB_TIMING_RC */
1764                         0x00000005, /* MC_EMEM_ARB_TIMING_RAS */
1765                         0x00000004, /* MC_EMEM_ARB_TIMING_FAW */
1766                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
1767                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
1768                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
1769                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
1770                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
1771                         0x00000004, /* MC_EMEM_ARB_TIMING_R2W */
1772                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
1773                         0x06040202, /* MC_EMEM_ARB_DA_TURNS */
1774                         0x000d0709, /* MC_EMEM_ARB_DA_COVERS */
1775                         0x7586120a, /* MC_EMEM_ARB_MISC0 */
1776                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
1777                 },
1778                 {
1779                         0x0000000a, /* MC_MLL_MPCORER_PTSA_RATE */
1780                         0x000000be, /* MC_PTSA_GRANT_DECREMENT */
1781                         0x00ff0038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
1782                         0x00ff0038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
1783                         0x00ff003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
1784                         0x00ff0090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
1785                         0x00ff0041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
1786                         0x00ff0090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
1787                         0x00ff0041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
1788                         0x00280049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
1789                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
1790                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
1791                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
1792                         0x0008002d, /* MC_LATENCY_ALLOWANCE_HC_0 */
1793                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
1794                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
1795                         0x00ff0033, /* MC_LATENCY_ALLOWANCE_GPU_0 */
1796                         0x00ff0022, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
1797                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
1798                         0x00ff0037, /* MC_LATENCY_ALLOWANCE_VIC_0 */
1799                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
1800                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
1801                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
1802                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
1803                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
1804                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
1805                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
1806                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
1807                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
1808                         0x00ff0066, /* MC_LATENCY_ALLOWANCE_SATA_0 */
1809                         0x00ff0038, /* MC_LATENCY_ALLOWANCE_AFI_0 */
1810                 },
1811                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
1812                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
1813                 0x00000802, /* EMC_CTT_TERM_CTRL */
1814                 0x73340000, /* EMC_CFG */
1815                 0x0000088d, /* EMC_CFG_2 */
1816                 0x00040008, /* EMC_SEL_DPD_CTRL */
1817                 0x002c0068, /* EMC_CFG_DIG_DLL */
1818                 0x00000000, /* EMC_BGBIAS_CTL0 */
1819                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
1820                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
1821                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
1822                 0x80000521, /* Mode Register 0 */
1823                 0x80100002, /* Mode Register 1 */
1824                 0x80200000, /* Mode Register 2 */
1825                 0x00000000, /* Mode Register 4 */
1826         },
1827         {
1828                 0x18,       /* V5.0.6 */
1829                 "06_528000_01_V5.0.6_V0.8", /* DVFS table version */
1830                 528000,     /* SDRAM frequency */
1831                 920,        /* min voltage */
1832                 900,        /* gpu min voltage */
1833                 "pllm_ud",  /* clock source id */
1834                 0x80000000, /* CLK_SOURCE_EMC */
1835                 164,        /* number of burst_regs */
1836                 31,         /* number of up_down_regs */
1837                 {
1838                         0x00000017, /* EMC_RC */
1839                         0x00000088, /* EMC_RFC */
1840                         0x00000000, /* EMC_RFC_SLR */
1841                         0x00000010, /* EMC_RAS */
1842                         0x00000005, /* EMC_RP */
1843                         0x00000006, /* EMC_R2W */
1844                         0x00000009, /* EMC_W2R */
1845                         0x00000002, /* EMC_R2P */
1846                         0x0000000d, /* EMC_W2P */
1847                         0x00000005, /* EMC_RD_RCD */
1848                         0x00000005, /* EMC_WR_RCD */
1849                         0x00000002, /* EMC_RRD */
1850                         0x00000002, /* EMC_REXT */
1851                         0x00000000, /* EMC_WEXT */
1852                         0x00000004, /* EMC_WDV */
1853                         0x00000004, /* EMC_WDV_MASK */
1854                         0x00000008, /* EMC_QUSE */
1855                         0x00000002, /* EMC_QUSE_WIDTH */
1856                         0x00000000, /* EMC_IBDLY */
1857                         0x00000005, /* EMC_EINPUT */
1858                         0x00000007, /* EMC_EINPUT_DURATION */
1859                         0x00060000, /* EMC_PUTERM_EXTRA */
1860                         0x00000003, /* EMC_PUTERM_WIDTH */
1861                         0x00000000, /* EMC_PUTERM_ADJ */
1862                         0x00000000, /* EMC_CDB_CNTL_1 */
1863                         0x00000000, /* EMC_CDB_CNTL_2 */
1864                         0x00000000, /* EMC_CDB_CNTL_3 */
1865                         0x00000004, /* EMC_QRST */
1866                         0x0000000e, /* EMC_QSAFE */
1867                         0x00000013, /* EMC_RDV */
1868                         0x00000015, /* EMC_RDV_MASK */
1869                         0x00000fd6, /* EMC_REFRESH */
1870                         0x00000000, /* EMC_BURST_REFRESH_NUM */
1871                         0x000003f5, /* EMC_PRE_REFRESH_REQ_CNT */
1872                         0x00000002, /* EMC_PDEX2WR */
1873                         0x0000000b, /* EMC_PDEX2RD */
1874                         0x00000001, /* EMC_PCHG2PDEN */
1875                         0x00000000, /* EMC_ACT2PDEN */
1876                         0x00000084, /* EMC_AR2PDEN */
1877                         0x00000012, /* EMC_RW2PDEN */
1878                         0x0000008f, /* EMC_TXSR */
1879                         0x00000200, /* EMC_TXSRDLL */
1880                         0x00000004, /* EMC_TCKE */
1881                         0x00000005, /* EMC_TCKESR */
1882                         0x00000004, /* EMC_TPD */
1883                         0x0000000b, /* EMC_TFAW */
1884                         0x00000000, /* EMC_TRPAB */
1885                         0x00000006, /* EMC_TCLKSTABLE */
1886                         0x00000006, /* EMC_TCLKSTOP */
1887                         0x00001017, /* EMC_TREFBW */
1888                         0x00000000, /* EMC_FBIO_CFG6 */
1889                         0x00000000, /* EMC_ODT_WRITE */
1890                         0x00000000, /* EMC_ODT_READ */
1891                         0x1040b098, /* EMC_FBIO_CFG5 */
1892                         0xe01200b1, /* EMC_CFG_DIG_DLL */
1893                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
1894                         0x0000000a, /* EMC_DLL_XFORM_DQS0 */
1895                         0x0000000a, /* EMC_DLL_XFORM_DQS1 */
1896                         0x0000000a, /* EMC_DLL_XFORM_DQS2 */
1897                         0x0000000a, /* EMC_DLL_XFORM_DQS3 */
1898                         0x0000000a, /* EMC_DLL_XFORM_DQS4 */
1899                         0x0000000a, /* EMC_DLL_XFORM_DQS5 */
1900                         0x0000000a, /* EMC_DLL_XFORM_DQS6 */
1901                         0x0000000a, /* EMC_DLL_XFORM_DQS7 */
1902                         0x0000000a, /* EMC_DLL_XFORM_DQS8 */
1903                         0x0000000a, /* EMC_DLL_XFORM_DQS9 */
1904                         0x0000000a, /* EMC_DLL_XFORM_DQS10 */
1905                         0x0000000a, /* EMC_DLL_XFORM_DQS11 */
1906                         0x0000000a, /* EMC_DLL_XFORM_DQS12 */
1907                         0x0000000a, /* EMC_DLL_XFORM_DQS13 */
1908                         0x0000000a, /* EMC_DLL_XFORM_DQS14 */
1909                         0x0000000a, /* EMC_DLL_XFORM_DQS15 */
1910                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
1911                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
1912                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
1913                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
1914                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
1915                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
1916                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
1917                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
1918                         0x00058000, /* EMC_DLL_XFORM_ADDR0 */
1919                         0x00058000, /* EMC_DLL_XFORM_ADDR1 */
1920                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
1921                         0x00058000, /* EMC_DLL_XFORM_ADDR3 */
1922                         0x00058000, /* EMC_DLL_XFORM_ADDR4 */
1923                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
1924                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
1925                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
1926                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
1927                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
1928                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
1929                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
1930                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
1931                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
1932                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
1933                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
1934                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
1935                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
1936                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
1937                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
1938                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
1939                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
1940                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
1941                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
1942                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
1943                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
1944                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
1945                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
1946                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
1947                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
1948                         0x0000000e, /* EMC_DLL_XFORM_DQ0 */
1949                         0x0000000e, /* EMC_DLL_XFORM_DQ1 */
1950                         0x0000000e, /* EMC_DLL_XFORM_DQ2 */
1951                         0x0000000e, /* EMC_DLL_XFORM_DQ3 */
1952                         0x0000000e, /* EMC_DLL_XFORM_DQ4 */
1953                         0x0000000e, /* EMC_DLL_XFORM_DQ5 */
1954                         0x0000000e, /* EMC_DLL_XFORM_DQ6 */
1955                         0x0000000e, /* EMC_DLL_XFORM_DQ7 */
1956                         0x100002a0, /* EMC_XM2CMDPADCTRL */
1957                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
1958                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
1959                         0x0123133d, /* EMC_XM2DQSPADCTRL2 */
1960                         0x00000000, /* EMC_XM2DQPADCTRL2 */
1961                         0x00000000, /* EMC_XM2DQPADCTRL3 */
1962                         0x77ffc085, /* EMC_XM2CLKPADCTRL */
1963                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
1964                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
1965                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
1966                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
1967                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
1968                         0x51451420, /* EMC_XM2DQSPADCTRL3 */
1969                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
1970                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
1971                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
1972                         0x0606003f, /* EMC_DSR_VTTGEN_DRV */
1973                         0x00000000, /* EMC_TXDSRVTTGEN */
1974                         0x00000000, /* EMC_FBIO_SPARE */
1975                         0x00020000, /* EMC_ZCAL_INTERVAL */
1976                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
1977                         0x013a0010, /* EMC_MRS_WAIT_CNT */
1978                         0x013a0010, /* EMC_MRS_WAIT_CNT2 */
1979                         0x00000000, /* EMC_CTT */
1980                         0x00000003, /* EMC_CTT_DURATION */
1981                         0x000052a0, /* EMC_CFG_PIPE */
1982                         0x80002062, /* EMC_DYN_SELF_REF_CONTROL */
1983                         0x0000000c, /* EMC_QPOP */
1984                         0x0f000007, /* MC_EMEM_ARB_CFG */
1985                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
1986                         0x00000002, /* MC_EMEM_ARB_TIMING_RCD */
1987                         0x00000003, /* MC_EMEM_ARB_TIMING_RP */
1988                         0x0000000c, /* MC_EMEM_ARB_TIMING_RC */
1989                         0x00000007, /* MC_EMEM_ARB_TIMING_RAS */
1990                         0x00000006, /* MC_EMEM_ARB_TIMING_FAW */
1991                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
1992                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
1993                         0x00000009, /* MC_EMEM_ARB_TIMING_WAP2PRE */
1994                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
1995                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
1996                         0x00000005, /* MC_EMEM_ARB_TIMING_R2W */
1997                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
1998                         0x06050202, /* MC_EMEM_ARB_DA_TURNS */
1999                         0x000f080c, /* MC_EMEM_ARB_DA_COVERS */
2000                         0x7428180d, /* MC_EMEM_ARB_MISC0 */
2001                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
2002                 },
2003                 {
2004                         0x0000000d, /* MC_MLL_MPCORER_PTSA_RATE */
2005                         0x000000fd, /* MC_PTSA_GRANT_DECREMENT */
2006                         0x00c10038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
2007                         0x00c10038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
2008                         0x00c1003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
2009                         0x00c10090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
2010                         0x00c10041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
2011                         0x00c10090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
2012                         0x00c10041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
2013                         0x00270049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
2014                         0x00c10080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
2015                         0x00c10004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
2016                         0x00c10004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
2017                         0x00080021, /* MC_LATENCY_ALLOWANCE_HC_0 */
2018                         0x000000c1, /* MC_LATENCY_ALLOWANCE_HC_1 */
2019                         0x00c10004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
2020                         0x00c10026, /* MC_LATENCY_ALLOWANCE_GPU_0 */
2021                         0x00c1001a, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
2022                         0x00c10024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
2023                         0x00c10029, /* MC_LATENCY_ALLOWANCE_VIC_0 */
2024                         0x000000c1, /* MC_LATENCY_ALLOWANCE_VI2_0 */
2025                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
2026                         0x00c100c1, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
2027                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
2028                         0x00c100c1, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
2029                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
2030                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
2031                         0x00c100c1, /* MC_LATENCY_ALLOWANCE_VDE_2 */
2032                         0x00c100c1, /* MC_LATENCY_ALLOWANCE_VDE_3 */
2033                         0x00c10065, /* MC_LATENCY_ALLOWANCE_SATA_0 */
2034                         0x00c1002a, /* MC_LATENCY_ALLOWANCE_AFI_0 */
2035                 },
2036                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
2037                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
2038                 0x00000802, /* EMC_CTT_TERM_CTRL */
2039                 0x73300000, /* EMC_CFG */
2040                 0x00000895, /* EMC_CFG_2 */
2041                 0x00040008, /* EMC_SEL_DPD_CTRL */
2042                 0xe0120069, /* EMC_CFG_DIG_DLL */
2043                 0x00000000, /* EMC_BGBIAS_CTL0 */
2044                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
2045                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
2046                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
2047                 0x80000941, /* Mode Register 0 */
2048                 0x80100002, /* Mode Register 1 */
2049                 0x80200008, /* Mode Register 2 */
2050                 0x00000000, /* Mode Register 4 */
2051         },
2052         {
2053                 0x18,       /* V5.0.6 */
2054                 "06_600000_01_V5.0.6_V0.8", /* DVFS table version */
2055                 600000,     /* SDRAM frequency */
2056                 920,        /* min voltage */
2057                 900,        /* gpu min voltage */
2058                 "pllc_ud",  /* clock source id */
2059                 0xe0000000, /* CLK_SOURCE_EMC */
2060                 164,        /* number of burst_regs */
2061                 31,         /* number of up_down_regs */
2062                 {
2063                         0x0000001a, /* EMC_RC */
2064                         0x0000009a, /* EMC_RFC */
2065                         0x00000000, /* EMC_RFC_SLR */
2066                         0x00000012, /* EMC_RAS */
2067                         0x00000006, /* EMC_RP */
2068                         0x00000007, /* EMC_R2W */
2069                         0x0000000b, /* EMC_W2R */
2070                         0x00000003, /* EMC_R2P */
2071                         0x00000010, /* EMC_W2P */
2072                         0x00000006, /* EMC_RD_RCD */
2073                         0x00000006, /* EMC_WR_RCD */
2074                         0x00000002, /* EMC_RRD */
2075                         0x00000002, /* EMC_REXT */
2076                         0x00000000, /* EMC_WEXT */
2077                         0x00000005, /* EMC_WDV */
2078                         0x00000005, /* EMC_WDV_MASK */
2079                         0x0000000a, /* EMC_QUSE */
2080                         0x00000002, /* EMC_QUSE_WIDTH */
2081                         0x00000000, /* EMC_IBDLY */
2082                         0x00000003, /* EMC_EINPUT */
2083                         0x0000000b, /* EMC_EINPUT_DURATION */
2084                         0x00070000, /* EMC_PUTERM_EXTRA */
2085                         0x00000003, /* EMC_PUTERM_WIDTH */
2086                         0x00000000, /* EMC_PUTERM_ADJ */
2087                         0x00000000, /* EMC_CDB_CNTL_1 */
2088                         0x00000000, /* EMC_CDB_CNTL_2 */
2089                         0x00000000, /* EMC_CDB_CNTL_3 */
2090                         0x00000002, /* EMC_QRST */
2091                         0x00000012, /* EMC_QSAFE */
2092                         0x00000016, /* EMC_RDV */
2093                         0x00000018, /* EMC_RDV_MASK */
2094                         0x00001208, /* EMC_REFRESH */
2095                         0x00000000, /* EMC_BURST_REFRESH_NUM */
2096                         0x00000482, /* EMC_PRE_REFRESH_REQ_CNT */
2097                         0x00000002, /* EMC_PDEX2WR */
2098                         0x0000000d, /* EMC_PDEX2RD */
2099                         0x00000001, /* EMC_PCHG2PDEN */
2100                         0x00000000, /* EMC_ACT2PDEN */
2101                         0x00000096, /* EMC_AR2PDEN */
2102                         0x00000015, /* EMC_RW2PDEN */
2103                         0x000000a2, /* EMC_TXSR */
2104                         0x00000200, /* EMC_TXSRDLL */
2105                         0x00000004, /* EMC_TCKE */
2106                         0x00000005, /* EMC_TCKESR */
2107                         0x00000004, /* EMC_TPD */
2108                         0x0000000c, /* EMC_TFAW */
2109                         0x00000000, /* EMC_TRPAB */
2110                         0x00000006, /* EMC_TCLKSTABLE */
2111                         0x00000006, /* EMC_TCLKSTOP */
2112                         0x00001248, /* EMC_TREFBW */
2113                         0x00000000, /* EMC_FBIO_CFG6 */
2114                         0x00000000, /* EMC_ODT_WRITE */
2115                         0x00000000, /* EMC_ODT_READ */
2116                         0x1040b098, /* EMC_FBIO_CFG5 */
2117                         0xe00e00b1, /* EMC_CFG_DIG_DLL */
2118                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
2119                         0x0000000a, /* EMC_DLL_XFORM_DQS0 */
2120                         0x0000000a, /* EMC_DLL_XFORM_DQS1 */
2121                         0x0000000a, /* EMC_DLL_XFORM_DQS2 */
2122                         0x0000000a, /* EMC_DLL_XFORM_DQS3 */
2123                         0x0000000a, /* EMC_DLL_XFORM_DQS4 */
2124                         0x0000000a, /* EMC_DLL_XFORM_DQS5 */
2125                         0x0000000a, /* EMC_DLL_XFORM_DQS6 */
2126                         0x0000000a, /* EMC_DLL_XFORM_DQS7 */
2127                         0x0000000a, /* EMC_DLL_XFORM_DQS8 */
2128                         0x0000000a, /* EMC_DLL_XFORM_DQS9 */
2129                         0x0000000a, /* EMC_DLL_XFORM_DQS10 */
2130                         0x0000000a, /* EMC_DLL_XFORM_DQS11 */
2131                         0x0000000a, /* EMC_DLL_XFORM_DQS12 */
2132                         0x0000000a, /* EMC_DLL_XFORM_DQS13 */
2133                         0x0000000a, /* EMC_DLL_XFORM_DQS14 */
2134                         0x0000000a, /* EMC_DLL_XFORM_DQS15 */
2135                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
2136                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
2137                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
2138                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
2139                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
2140                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
2141                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
2142                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
2143                         0x0004c000, /* EMC_DLL_XFORM_ADDR0 */
2144                         0x0004c000, /* EMC_DLL_XFORM_ADDR1 */
2145                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
2146                         0x0004c000, /* EMC_DLL_XFORM_ADDR3 */
2147                         0x0004c000, /* EMC_DLL_XFORM_ADDR4 */
2148                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
2149                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
2150                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
2151                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
2152                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
2153                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
2154                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
2155                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
2156                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
2157                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
2158                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
2159                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
2160                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
2161                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
2162                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
2163                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
2164                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
2165                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
2166                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
2167                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
2168                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
2169                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
2170                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
2171                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
2172                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
2173                         0x0000000d, /* EMC_DLL_XFORM_DQ0 */
2174                         0x0000000d, /* EMC_DLL_XFORM_DQ1 */
2175                         0x0000000d, /* EMC_DLL_XFORM_DQ2 */
2176                         0x0000000d, /* EMC_DLL_XFORM_DQ3 */
2177                         0x0000000d, /* EMC_DLL_XFORM_DQ4 */
2178                         0x0000000d, /* EMC_DLL_XFORM_DQ5 */
2179                         0x0000000d, /* EMC_DLL_XFORM_DQ6 */
2180                         0x0000000d, /* EMC_DLL_XFORM_DQ7 */
2181                         0x100002a0, /* EMC_XM2CMDPADCTRL */
2182                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
2183                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
2184                         0x0121113d, /* EMC_XM2DQSPADCTRL2 */
2185                         0x00000000, /* EMC_XM2DQPADCTRL2 */
2186                         0x00000000, /* EMC_XM2DQPADCTRL3 */
2187                         0x77ffc085, /* EMC_XM2CLKPADCTRL */
2188                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
2189                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
2190                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
2191                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
2192                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
2193                         0x51451420, /* EMC_XM2DQSPADCTRL3 */
2194                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
2195                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
2196                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
2197                         0x0606003f, /* EMC_DSR_VTTGEN_DRV */
2198                         0x00000000, /* EMC_TXDSRVTTGEN */
2199                         0x00000000, /* EMC_FBIO_SPARE */
2200                         0x00020000, /* EMC_ZCAL_INTERVAL */
2201                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
2202                         0x01280010, /* EMC_MRS_WAIT_CNT */
2203                         0x01280010, /* EMC_MRS_WAIT_CNT2 */
2204                         0x00000000, /* EMC_CTT */
2205                         0x00000003, /* EMC_CTT_DURATION */
2206                         0x000040a0, /* EMC_CFG_PIPE */
2207                         0x800024aa, /* EMC_DYN_SELF_REF_CONTROL */
2208                         0x0000000e, /* EMC_QPOP */
2209                         0x00000009, /* MC_EMEM_ARB_CFG */
2210                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
2211                         0x00000002, /* MC_EMEM_ARB_TIMING_RCD */
2212                         0x00000003, /* MC_EMEM_ARB_TIMING_RP */
2213                         0x0000000d, /* MC_EMEM_ARB_TIMING_RC */
2214                         0x00000008, /* MC_EMEM_ARB_TIMING_RAS */
2215                         0x00000006, /* MC_EMEM_ARB_TIMING_FAW */
2216                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
2217                         0x00000003, /* MC_EMEM_ARB_TIMING_RAP2PRE */
2218                         0x0000000b, /* MC_EMEM_ARB_TIMING_WAP2PRE */
2219                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
2220                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
2221                         0x00000005, /* MC_EMEM_ARB_TIMING_R2W */
2222                         0x00000007, /* MC_EMEM_ARB_TIMING_W2R */
2223                         0x07050202, /* MC_EMEM_ARB_DA_TURNS */
2224                         0x00120a0d, /* MC_EMEM_ARB_DA_COVERS */
2225                         0x73a91b0e, /* MC_EMEM_ARB_MISC0 */
2226                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
2227                 },
2228                 {
2229                         0x0000000f, /* MC_MLL_MPCORER_PTSA_RATE */
2230                         0x00000120, /* MC_PTSA_GRANT_DECREMENT */
2231                         0x00aa0038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
2232                         0x00aa0038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
2233                         0x00aa003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
2234                         0x00aa0090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
2235                         0x00aa0041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
2236                         0x00aa0090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
2237                         0x00aa0041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
2238                         0x00270049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
2239                         0x00aa0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
2240                         0x00aa0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
2241                         0x00aa0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
2242                         0x0008001d, /* MC_LATENCY_ALLOWANCE_HC_0 */
2243                         0x000000aa, /* MC_LATENCY_ALLOWANCE_HC_1 */
2244                         0x00aa0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
2245                         0x00aa0022, /* MC_LATENCY_ALLOWANCE_GPU_0 */
2246                         0x00aa0018, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
2247                         0x00aa0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
2248                         0x00aa0024, /* MC_LATENCY_ALLOWANCE_VIC_0 */
2249                         0x000000aa, /* MC_LATENCY_ALLOWANCE_VI2_0 */
2250                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
2251                         0x00aa00aa, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
2252                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
2253                         0x00aa00aa, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
2254                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
2255                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
2256                         0x00aa00aa, /* MC_LATENCY_ALLOWANCE_VDE_2 */
2257                         0x00aa00aa, /* MC_LATENCY_ALLOWANCE_VDE_3 */
2258                         0x00aa0065, /* MC_LATENCY_ALLOWANCE_SATA_0 */
2259                         0x00aa0025, /* MC_LATENCY_ALLOWANCE_AFI_0 */
2260                 },
2261                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
2262                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
2263                 0x00000802, /* EMC_CTT_TERM_CTRL */
2264                 0x73300000, /* EMC_CFG */
2265                 0x0000089d, /* EMC_CFG_2 */
2266                 0x00040008, /* EMC_SEL_DPD_CTRL */
2267                 0xe00e0069, /* EMC_CFG_DIG_DLL */
2268                 0x00000000, /* EMC_BGBIAS_CTL0 */
2269                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
2270                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
2271                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
2272                 0x80000b61, /* Mode Register 0 */
2273                 0x80100002, /* Mode Register 1 */
2274                 0x80200010, /* Mode Register 2 */
2275                 0x00000000, /* Mode Register 4 */
2276         },
2277         {
2278                 0x18,       /* V5.0.6 */
2279                 "06_792000_01_V5.0.6_V0.8", /* DVFS table version */
2280                 792000,     /* SDRAM frequency */
2281                 1000,       /* min voltage */
2282                 1100,       /* gpu min voltage */
2283                 "pllm_ud",  /* clock source id */
2284                 0x80000000, /* CLK_SOURCE_EMC */
2285                 164,        /* number of burst_regs */
2286                 31,         /* number of up_down_regs */
2287                 {
2288                         0x00000023, /* EMC_RC */
2289                         0x000000cc, /* EMC_RFC */
2290                         0x00000000, /* EMC_RFC_SLR */
2291                         0x00000019, /* EMC_RAS */
2292                         0x00000009, /* EMC_RP */
2293                         0x00000008, /* EMC_R2W */
2294                         0x0000000d, /* EMC_W2R */
2295                         0x00000004, /* EMC_R2P */
2296                         0x00000013, /* EMC_W2P */
2297                         0x00000009, /* EMC_RD_RCD */
2298                         0x00000009, /* EMC_WR_RCD */
2299                         0x00000002, /* EMC_RRD */
2300                         0x00000002, /* EMC_REXT */
2301                         0x00000000, /* EMC_WEXT */
2302                         0x00000006, /* EMC_WDV */
2303                         0x00000006, /* EMC_WDV_MASK */
2304                         0x0000000b, /* EMC_QUSE */
2305                         0x00000002, /* EMC_QUSE_WIDTH */
2306                         0x00000000, /* EMC_IBDLY */
2307                         0x00000002, /* EMC_EINPUT */
2308                         0x0000000d, /* EMC_EINPUT_DURATION */
2309                         0x00080000, /* EMC_PUTERM_EXTRA */
2310                         0x00000004, /* EMC_PUTERM_WIDTH */
2311                         0x00000000, /* EMC_PUTERM_ADJ */
2312                         0x00000000, /* EMC_CDB_CNTL_1 */
2313                         0x00000000, /* EMC_CDB_CNTL_2 */
2314                         0x00000000, /* EMC_CDB_CNTL_3 */
2315                         0x00000001, /* EMC_QRST */
2316                         0x00000014, /* EMC_QSAFE */
2317                         0x00000017, /* EMC_RDV */
2318                         0x00000019, /* EMC_RDV_MASK */
2319                         0x000017e2, /* EMC_REFRESH */
2320                         0x00000000, /* EMC_BURST_REFRESH_NUM */
2321                         0x000005f8, /* EMC_PRE_REFRESH_REQ_CNT */
2322                         0x00000003, /* EMC_PDEX2WR */
2323                         0x00000011, /* EMC_PDEX2RD */
2324                         0x00000001, /* EMC_PCHG2PDEN */
2325                         0x00000000, /* EMC_ACT2PDEN */
2326                         0x000000c6, /* EMC_AR2PDEN */
2327                         0x00000018, /* EMC_RW2PDEN */
2328                         0x000000d6, /* EMC_TXSR */
2329                         0x00000200, /* EMC_TXSRDLL */
2330                         0x00000005, /* EMC_TCKE */
2331                         0x00000006, /* EMC_TCKESR */
2332                         0x00000005, /* EMC_TPD */
2333                         0x00000011, /* EMC_TFAW */
2334                         0x00000000, /* EMC_TRPAB */
2335                         0x00000008, /* EMC_TCLKSTABLE */
2336                         0x00000008, /* EMC_TCLKSTOP */
2337                         0x00001822, /* EMC_TREFBW */
2338                         0x00000000, /* EMC_FBIO_CFG6 */
2339                         0x00000000, /* EMC_ODT_WRITE */
2340                         0x00000000, /* EMC_ODT_READ */
2341                         0x1040b098, /* EMC_FBIO_CFG5 */
2342                         0xe00700b1, /* EMC_CFG_DIG_DLL */
2343                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
2344                         0x00000008, /* EMC_DLL_XFORM_DQS0 */
2345                         0x00000008, /* EMC_DLL_XFORM_DQS1 */
2346                         0x00000008, /* EMC_DLL_XFORM_DQS2 */
2347                         0x00000008, /* EMC_DLL_XFORM_DQS3 */
2348                         0x00000008, /* EMC_DLL_XFORM_DQS4 */
2349                         0x00000008, /* EMC_DLL_XFORM_DQS5 */
2350                         0x00000008, /* EMC_DLL_XFORM_DQS6 */
2351                         0x00000008, /* EMC_DLL_XFORM_DQS7 */
2352                         0x00000008, /* EMC_DLL_XFORM_DQS8 */
2353                         0x00000008, /* EMC_DLL_XFORM_DQS9 */
2354                         0x00000008, /* EMC_DLL_XFORM_DQS10 */
2355                         0x00000008, /* EMC_DLL_XFORM_DQS11 */
2356                         0x00000008, /* EMC_DLL_XFORM_DQS12 */
2357                         0x00000008, /* EMC_DLL_XFORM_DQS13 */
2358                         0x00000008, /* EMC_DLL_XFORM_DQS14 */
2359                         0x00000008, /* EMC_DLL_XFORM_DQS15 */
2360                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
2361                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
2362                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
2363                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
2364                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
2365                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
2366                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
2367                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
2368                         0x00038000, /* EMC_DLL_XFORM_ADDR0 */
2369                         0x00038000, /* EMC_DLL_XFORM_ADDR1 */
2370                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
2371                         0x00038000, /* EMC_DLL_XFORM_ADDR3 */
2372                         0x00038000, /* EMC_DLL_XFORM_ADDR4 */
2373                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
2374                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
2375                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
2376                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
2377                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
2378                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
2379                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
2380                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
2381                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
2382                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
2383                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
2384                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
2385                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
2386                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
2387                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
2388                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
2389                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
2390                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
2391                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
2392                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
2393                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
2394                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
2395                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
2396                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
2397                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
2398                         0x0000000d, /* EMC_DLL_XFORM_DQ0 */
2399                         0x0000000d, /* EMC_DLL_XFORM_DQ1 */
2400                         0x0000000d, /* EMC_DLL_XFORM_DQ2 */
2401                         0x0000000d, /* EMC_DLL_XFORM_DQ3 */
2402                         0x0000000d, /* EMC_DLL_XFORM_DQ4 */
2403                         0x0000000d, /* EMC_DLL_XFORM_DQ5 */
2404                         0x0000000d, /* EMC_DLL_XFORM_DQ6 */
2405                         0x0000000d, /* EMC_DLL_XFORM_DQ7 */
2406                         0x100002a0, /* EMC_XM2CMDPADCTRL */
2407                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
2408                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
2409                         0x0120113d, /* EMC_XM2DQSPADCTRL2 */
2410                         0x00000000, /* EMC_XM2DQPADCTRL2 */
2411                         0x00000000, /* EMC_XM2DQPADCTRL3 */
2412                         0x77ffc085, /* EMC_XM2CLKPADCTRL */
2413                         0x00000606, /* EMC_XM2CLKPADCTRL2 */
2414                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
2415                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
2416                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
2417                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
2418                         0x61861820, /* EMC_XM2DQSPADCTRL3 */
2419                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
2420                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
2421                         0x61861800, /* EMC_XM2DQSPADCTRL6 */
2422                         0x0606003f, /* EMC_DSR_VTTGEN_DRV */
2423                         0x00000000, /* EMC_TXDSRVTTGEN */
2424                         0x00000000, /* EMC_FBIO_SPARE */
2425                         0x00020000, /* EMC_ZCAL_INTERVAL */
2426                         0x00000100, /* EMC_ZCAL_WAIT_CNT */
2427                         0x00f80010, /* EMC_MRS_WAIT_CNT */
2428                         0x00f80010, /* EMC_MRS_WAIT_CNT2 */
2429                         0x00000000, /* EMC_CTT */
2430                         0x00000004, /* EMC_CTT_DURATION */
2431                         0x000040a0, /* EMC_CFG_PIPE */
2432                         0x80003012, /* EMC_DYN_SELF_REF_CONTROL */
2433                         0x0000000f, /* EMC_QPOP */
2434                         0x0e00000b, /* MC_EMEM_ARB_CFG */
2435                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
2436                         0x00000004, /* MC_EMEM_ARB_TIMING_RCD */
2437                         0x00000005, /* MC_EMEM_ARB_TIMING_RP */
2438                         0x00000012, /* MC_EMEM_ARB_TIMING_RC */
2439                         0x0000000c, /* MC_EMEM_ARB_TIMING_RAS */
2440                         0x00000009, /* MC_EMEM_ARB_TIMING_FAW */
2441                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
2442                         0x00000003, /* MC_EMEM_ARB_TIMING_RAP2PRE */
2443                         0x0000000c, /* MC_EMEM_ARB_TIMING_WAP2PRE */
2444                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
2445                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
2446                         0x00000006, /* MC_EMEM_ARB_TIMING_R2W */
2447                         0x00000008, /* MC_EMEM_ARB_TIMING_W2R */
2448                         0x08060202, /* MC_EMEM_ARB_DA_TURNS */
2449                         0x00160d12, /* MC_EMEM_ARB_DA_COVERS */
2450                         0x734c2413, /* MC_EMEM_ARB_MISC0 */
2451                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
2452                 },
2453                 {
2454                         0x00000013, /* MC_MLL_MPCORER_PTSA_RATE */
2455                         0x0000017c, /* MC_PTSA_GRANT_DECREMENT */
2456                         0x00810038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
2457                         0x00810038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
2458                         0x0081003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
2459                         0x00810090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
2460                         0x00810041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
2461                         0x00810090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
2462                         0x00810041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
2463                         0x00270049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
2464                         0x00810080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
2465                         0x00810004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
2466                         0x00810004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
2467                         0x00080016, /* MC_LATENCY_ALLOWANCE_HC_0 */
2468                         0x00000081, /* MC_LATENCY_ALLOWANCE_HC_1 */
2469                         0x00810004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
2470                         0x00810019, /* MC_LATENCY_ALLOWANCE_GPU_0 */
2471                         0x00810018, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
2472                         0x00810024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
2473                         0x0081001c, /* MC_LATENCY_ALLOWANCE_VIC_0 */
2474                         0x00000081, /* MC_LATENCY_ALLOWANCE_VI2_0 */
2475                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
2476                         0x00810081, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
2477                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
2478                         0x00810081, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
2479                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
2480                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
2481                         0x00810081, /* MC_LATENCY_ALLOWANCE_VDE_2 */
2482                         0x00810081, /* MC_LATENCY_ALLOWANCE_VDE_3 */
2483                         0x00810065, /* MC_LATENCY_ALLOWANCE_SATA_0 */
2484                         0x0081001c, /* MC_LATENCY_ALLOWANCE_AFI_0 */
2485                 },
2486                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
2487                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
2488                 0x00000802, /* EMC_CTT_TERM_CTRL */
2489                 0x73300000, /* EMC_CFG */
2490                 0x0000089d, /* EMC_CFG_2 */
2491                 0x00040000, /* EMC_SEL_DPD_CTRL */
2492                 0xe0070069, /* EMC_CFG_DIG_DLL */
2493                 0x00000000, /* EMC_BGBIAS_CTL0 */
2494                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
2495                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
2496                 0xa1430606, /* EMC_AUTO_CAL_CONFIG */
2497                 0x80000d71, /* Mode Register 0 */
2498                 0x80100002, /* Mode Register 1 */
2499                 0x80200018, /* Mode Register 2 */
2500                 0x00000000, /* Mode Register 4 */
2501         },
2502         {
2503                 0x18,       /* V5.0.6 */
2504                 "06_924000_01_V5.0.6_V0.8", /* DVFS table version */
2505                 924000,     /* SDRAM frequency */
2506                 1010,       /* min voltage */
2507                 1100,       /* gpu min voltage */
2508                 "pllm_ud",  /* clock source id */
2509                 0x80000000, /* CLK_SOURCE_EMC */
2510                 164,        /* number of burst_regs */
2511                 31,         /* number of up_down_regs */
2512                 {
2513                         0x00000029, /* EMC_RC */
2514                         0x000000ef, /* EMC_RFC */
2515                         0x00000000, /* EMC_RFC_SLR */
2516                         0x0000001d, /* EMC_RAS */
2517                         0x0000000b, /* EMC_RP */
2518                         0x0000000a, /* EMC_R2W */
2519                         0x0000000f, /* EMC_W2R */
2520                         0x00000005, /* EMC_R2P */
2521                         0x00000016, /* EMC_W2P */
2522                         0x0000000b, /* EMC_RD_RCD */
2523                         0x0000000b, /* EMC_WR_RCD */
2524                         0x00000003, /* EMC_RRD */
2525                         0x00000002, /* EMC_REXT */
2526                         0x00000000, /* EMC_WEXT */
2527                         0x00000007, /* EMC_WDV */
2528                         0x00000007, /* EMC_WDV_MASK */
2529                         0x0000000d, /* EMC_QUSE */
2530                         0x00000002, /* EMC_QUSE_WIDTH */
2531                         0x00000000, /* EMC_IBDLY */
2532                         0x00000002, /* EMC_EINPUT */
2533                         0x0000000f, /* EMC_EINPUT_DURATION */
2534                         0x000a0000, /* EMC_PUTERM_EXTRA */
2535                         0x00000004, /* EMC_PUTERM_WIDTH */
2536                         0x00000000, /* EMC_PUTERM_ADJ */
2537                         0x00000000, /* EMC_CDB_CNTL_1 */
2538                         0x00000000, /* EMC_CDB_CNTL_2 */
2539                         0x00000000, /* EMC_CDB_CNTL_3 */
2540                         0x00000001, /* EMC_QRST */
2541                         0x00000016, /* EMC_QSAFE */
2542                         0x0000001a, /* EMC_RDV */
2543                         0x0000001c, /* EMC_RDV_MASK */
2544                         0x00001be7, /* EMC_REFRESH */
2545                         0x00000000, /* EMC_BURST_REFRESH_NUM */
2546                         0x000006f9, /* EMC_PRE_REFRESH_REQ_CNT */
2547                         0x00000004, /* EMC_PDEX2WR */
2548                         0x00000015, /* EMC_PDEX2RD */
2549                         0x00000001, /* EMC_PCHG2PDEN */
2550                         0x00000000, /* EMC_ACT2PDEN */
2551                         0x000000e6, /* EMC_AR2PDEN */
2552                         0x0000001b, /* EMC_RW2PDEN */
2553                         0x000000fa, /* EMC_TXSR */
2554                         0x00000200, /* EMC_TXSRDLL */
2555                         0x00000006, /* EMC_TCKE */
2556                         0x00000007, /* EMC_TCKESR */
2557                         0x00000006, /* EMC_TPD */
2558                         0x00000015, /* EMC_TFAW */
2559                         0x00000000, /* EMC_TRPAB */
2560                         0x0000000a, /* EMC_TCLKSTABLE */
2561                         0x0000000a, /* EMC_TCLKSTOP */
2562                         0x00001c28, /* EMC_TREFBW */
2563                         0x00000000, /* EMC_FBIO_CFG6 */
2564                         0x00000000, /* EMC_ODT_WRITE */
2565                         0x00000000, /* EMC_ODT_READ */
2566                         0x1040b898, /* EMC_FBIO_CFG5 */
2567                         0xe00400b1, /* EMC_CFG_DIG_DLL */
2568                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
2569                         0x007f400a, /* EMC_DLL_XFORM_DQS0 */
2570                         0x007f400a, /* EMC_DLL_XFORM_DQS1 */
2571                         0x007f400a, /* EMC_DLL_XFORM_DQS2 */
2572                         0x007f400a, /* EMC_DLL_XFORM_DQS3 */
2573                         0x007f400a, /* EMC_DLL_XFORM_DQS4 */
2574                         0x007f400a, /* EMC_DLL_XFORM_DQS5 */
2575                         0x007f400a, /* EMC_DLL_XFORM_DQS6 */
2576                         0x007f400a, /* EMC_DLL_XFORM_DQS7 */
2577                         0x007f400a, /* EMC_DLL_XFORM_DQS8 */
2578                         0x007f400a, /* EMC_DLL_XFORM_DQS9 */
2579                         0x007f400a, /* EMC_DLL_XFORM_DQS10 */
2580                         0x007f400a, /* EMC_DLL_XFORM_DQS11 */
2581                         0x007f400a, /* EMC_DLL_XFORM_DQS12 */
2582                         0x007f400a, /* EMC_DLL_XFORM_DQS13 */
2583                         0x007f400a, /* EMC_DLL_XFORM_DQS14 */
2584                         0x007f400a, /* EMC_DLL_XFORM_DQS15 */
2585                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
2586                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
2587                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
2588                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
2589                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
2590                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
2591                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
2592                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
2593                         0x00028000, /* EMC_DLL_XFORM_ADDR0 */
2594                         0x00028000, /* EMC_DLL_XFORM_ADDR1 */
2595                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
2596                         0x00028000, /* EMC_DLL_XFORM_ADDR3 */
2597                         0x00028000, /* EMC_DLL_XFORM_ADDR4 */
2598                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
2599                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
2600                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
2601                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
2602                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
2603                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
2604                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
2605                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
2606                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
2607                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
2608                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
2609                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
2610                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
2611                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
2612                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
2613                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
2614                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
2615                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
2616                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
2617                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
2618                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
2619                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
2620                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
2621                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
2622                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
2623                         0x007f800d, /* EMC_DLL_XFORM_DQ0 */
2624                         0x007f800d, /* EMC_DLL_XFORM_DQ1 */
2625                         0x007f800d, /* EMC_DLL_XFORM_DQ2 */
2626                         0x007f800d, /* EMC_DLL_XFORM_DQ3 */
2627                         0x0007f80d, /* EMC_DLL_XFORM_DQ4 */
2628                         0x0007f80d, /* EMC_DLL_XFORM_DQ5 */
2629                         0x0007f80d, /* EMC_DLL_XFORM_DQ6 */
2630                         0x0007f80d, /* EMC_DLL_XFORM_DQ7 */
2631                         0x100002a0, /* EMC_XM2CMDPADCTRL */
2632                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
2633                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
2634                         0x0120113d, /* EMC_XM2DQSPADCTRL2 */
2635                         0x00000000, /* EMC_XM2DQPADCTRL2 */
2636                         0x00000000, /* EMC_XM2DQPADCTRL3 */
2637                         0x77ffc085, /* EMC_XM2CLKPADCTRL */
2638                         0x00000808, /* EMC_XM2CLKPADCTRL2 */
2639                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
2640                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
2641                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
2642                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
2643                         0x55555520, /* EMC_XM2DQSPADCTRL3 */
2644                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
2645                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
2646                         0x55555500, /* EMC_XM2DQSPADCTRL6 */
2647                         0x0606003f, /* EMC_DSR_VTTGEN_DRV */
2648                         0x00000000, /* EMC_TXDSRVTTGEN */
2649                         0x00000000, /* EMC_FBIO_SPARE */
2650                         0x00020000, /* EMC_ZCAL_INTERVAL */
2651                         0x00000128, /* EMC_ZCAL_WAIT_CNT */
2652                         0x00ce0010, /* EMC_MRS_WAIT_CNT */
2653                         0x00ce0010, /* EMC_MRS_WAIT_CNT2 */
2654                         0x00000000, /* EMC_CTT */
2655                         0x00000004, /* EMC_CTT_DURATION */
2656                         0x00004080, /* EMC_CFG_PIPE */
2657                         0x800037ea, /* EMC_DYN_SELF_REF_CONTROL */
2658                         0x00000011, /* EMC_QPOP */
2659                         0x0e00000d, /* MC_EMEM_ARB_CFG */
2660                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
2661                         0x00000005, /* MC_EMEM_ARB_TIMING_RCD */
2662                         0x00000006, /* MC_EMEM_ARB_TIMING_RP */
2663                         0x00000015, /* MC_EMEM_ARB_TIMING_RC */
2664                         0x0000000e, /* MC_EMEM_ARB_TIMING_RAS */
2665                         0x0000000b, /* MC_EMEM_ARB_TIMING_FAW */
2666                         0x00000002, /* MC_EMEM_ARB_TIMING_RRD */
2667                         0x00000004, /* MC_EMEM_ARB_TIMING_RAP2PRE */
2668                         0x0000000e, /* MC_EMEM_ARB_TIMING_WAP2PRE */
2669                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
2670                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
2671                         0x00000007, /* MC_EMEM_ARB_TIMING_R2W */
2672                         0x00000009, /* MC_EMEM_ARB_TIMING_W2R */
2673                         0x09070202, /* MC_EMEM_ARB_DA_TURNS */
2674                         0x001a1015, /* MC_EMEM_ARB_DA_COVERS */
2675                         0x734e2a16, /* MC_EMEM_ARB_MISC0 */
2676                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
2677                 },
2678                 {
2679                         0x00000017, /* MC_MLL_MPCORER_PTSA_RATE */
2680                         0x000001bb, /* MC_PTSA_GRANT_DECREMENT */
2681                         0x006e0038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
2682                         0x006e0038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
2683                         0x006e003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
2684                         0x006e0090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
2685                         0x006e0041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
2686                         0x006e0090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
2687                         0x006e0041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
2688                         0x00270049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
2689                         0x006e0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
2690                         0x006e0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
2691                         0x006e0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
2692                         0x00080016, /* MC_LATENCY_ALLOWANCE_HC_0 */
2693                         0x0000006e, /* MC_LATENCY_ALLOWANCE_HC_1 */
2694                         0x006e0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
2695                         0x006e0019, /* MC_LATENCY_ALLOWANCE_GPU_0 */
2696                         0x006e0018, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
2697                         0x006e0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
2698                         0x006e001b, /* MC_LATENCY_ALLOWANCE_VIC_0 */
2699                         0x0000006e, /* MC_LATENCY_ALLOWANCE_VI2_0 */
2700                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
2701                         0x006e006e, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
2702                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
2703                         0x006e006e, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
2704                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
2705                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
2706                         0x006e006e, /* MC_LATENCY_ALLOWANCE_VDE_2 */
2707                         0x006e006e, /* MC_LATENCY_ALLOWANCE_VDE_3 */
2708                         0x006e0065, /* MC_LATENCY_ALLOWANCE_SATA_0 */
2709                         0x006e001c, /* MC_LATENCY_ALLOWANCE_AFI_0 */
2710                 },
2711                 0x0000004c, /* EMC_ZCAL_WAIT_CNT after clock change */
2712                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
2713                 0x00000802, /* EMC_CTT_TERM_CTRL */
2714                 0x73300000, /* EMC_CFG */
2715                 0x0000089d, /* EMC_CFG_2 */
2716                 0x00040000, /* EMC_SEL_DPD_CTRL */
2717                 0xe0040069, /* EMC_CFG_DIG_DLL */
2718                 0x00000000, /* EMC_BGBIAS_CTL0 */
2719                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
2720                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
2721                 0xa1430606, /* EMC_AUTO_CAL_CONFIG */
2722                 0x80000f15, /* Mode Register 0 */
2723                 0x80100002, /* Mode Register 1 */
2724                 0x80200020, /* Mode Register 2 */
2725                 0x00000000, /* Mode Register 4 */
2726         },
2727         {
2728                 0x18,       /* V5.0.6 */
2729                 "06_1056000_01_V5.0.6_V0.8", /* DVFS table version */
2730                 1056000,    /* SDRAM frequency */
2731                 1100,       /* min voltage */
2732                 1100,       /* gpu min voltage */
2733                 "pllm_ud",  /* clock source id */
2734                 0x80000000, /* CLK_SOURCE_EMC */
2735                 164,        /* number of burst_regs */
2736                 31,         /* number of up_down_regs */
2737                 {
2738                         0x0000002f, /* EMC_RC */
2739                         0x00000111, /* EMC_RFC */
2740                         0x00000000, /* EMC_RFC_SLR */
2741                         0x00000021, /* EMC_RAS */
2742                         0x0000000c, /* EMC_RP */
2743                         0x0000000a, /* EMC_R2W */
2744                         0x00000011, /* EMC_W2R */
2745                         0x00000006, /* EMC_R2P */
2746                         0x00000019, /* EMC_W2P */
2747                         0x0000000c, /* EMC_RD_RCD */
2748                         0x0000000c, /* EMC_WR_RCD */
2749                         0x00000004, /* EMC_RRD */
2750                         0x00000002, /* EMC_REXT */
2751                         0x00000000, /* EMC_WEXT */
2752                         0x00000007, /* EMC_WDV */
2753                         0x00000007, /* EMC_WDV_MASK */
2754                         0x0000000e, /* EMC_QUSE */
2755                         0x00000002, /* EMC_QUSE_WIDTH */
2756                         0x00000000, /* EMC_IBDLY */
2757                         0x00000002, /* EMC_EINPUT */
2758                         0x00000010, /* EMC_EINPUT_DURATION */
2759                         0x000b0000, /* EMC_PUTERM_EXTRA */
2760                         0x00000004, /* EMC_PUTERM_WIDTH */
2761                         0x00000000, /* EMC_PUTERM_ADJ */
2762                         0x00000000, /* EMC_CDB_CNTL_1 */
2763                         0x00000000, /* EMC_CDB_CNTL_2 */
2764                         0x00000000, /* EMC_CDB_CNTL_3 */
2765                         0x00000001, /* EMC_QRST */
2766                         0x00000017, /* EMC_QSAFE */
2767                         0x0000001d, /* EMC_RDV */
2768                         0x0000001f, /* EMC_RDV_MASK */
2769                         0x00001fed, /* EMC_REFRESH */
2770                         0x00000000, /* EMC_BURST_REFRESH_NUM */
2771                         0x000007fb, /* EMC_PRE_REFRESH_REQ_CNT */
2772                         0x00000005, /* EMC_PDEX2WR */
2773                         0x00000018, /* EMC_PDEX2RD */
2774                         0x00000002, /* EMC_PCHG2PDEN */
2775                         0x00000000, /* EMC_ACT2PDEN */
2776                         0x00000106, /* EMC_AR2PDEN */
2777                         0x0000001e, /* EMC_RW2PDEN */
2778                         0x0000011e, /* EMC_TXSR */
2779                         0x00000200, /* EMC_TXSRDLL */
2780                         0x00000007, /* EMC_TCKE */
2781                         0x00000008, /* EMC_TCKESR */
2782                         0x00000007, /* EMC_TPD */
2783                         0x00000018, /* EMC_TFAW */
2784                         0x00000000, /* EMC_TRPAB */
2785                         0x0000000b, /* EMC_TCLKSTABLE */
2786                         0x0000000b, /* EMC_TCLKSTOP */
2787                         0x0000202d, /* EMC_TREFBW */
2788                         0x00000000, /* EMC_FBIO_CFG6 */
2789                         0x00000000, /* EMC_ODT_WRITE */
2790                         0x00000000, /* EMC_ODT_READ */
2791                         0x1040b898, /* EMC_FBIO_CFG5 */
2792                         0xe00400b1, /* EMC_CFG_DIG_DLL */
2793                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
2794                         0x00000002, /* EMC_DLL_XFORM_DQS0 */
2795                         0x00000002, /* EMC_DLL_XFORM_DQS1 */
2796                         0x00000002, /* EMC_DLL_XFORM_DQS2 */
2797                         0x00000002, /* EMC_DLL_XFORM_DQS3 */
2798                         0x00000002, /* EMC_DLL_XFORM_DQS4 */
2799                         0x00000002, /* EMC_DLL_XFORM_DQS5 */
2800                         0x00000002, /* EMC_DLL_XFORM_DQS6 */
2801                         0x00000002, /* EMC_DLL_XFORM_DQS7 */
2802                         0x00000002, /* EMC_DLL_XFORM_DQS8 */
2803                         0x00000002, /* EMC_DLL_XFORM_DQS9 */
2804                         0x00000002, /* EMC_DLL_XFORM_DQS10 */
2805                         0x00000002, /* EMC_DLL_XFORM_DQS11 */
2806                         0x00000002, /* EMC_DLL_XFORM_DQS12 */
2807                         0x00000002, /* EMC_DLL_XFORM_DQS13 */
2808                         0x00000002, /* EMC_DLL_XFORM_DQS14 */
2809                         0x00000002, /* EMC_DLL_XFORM_DQS15 */
2810                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
2811                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
2812                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
2813                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
2814                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
2815                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
2816                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
2817                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
2818                         0x0000000a, /* EMC_DLL_XFORM_ADDR0 */
2819                         0x0000000a, /* EMC_DLL_XFORM_ADDR1 */
2820                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
2821                         0x0000000a, /* EMC_DLL_XFORM_ADDR3 */
2822                         0x0000000a, /* EMC_DLL_XFORM_ADDR4 */
2823                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
2824                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
2825                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
2826                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
2827                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
2828                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
2829                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
2830                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
2831                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
2832                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
2833                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
2834                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
2835                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
2836                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
2837                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
2838                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
2839                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
2840                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
2841                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
2842                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
2843                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
2844                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
2845                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
2846                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
2847                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
2848                         0x0000000a, /* EMC_DLL_XFORM_DQ0 */
2849                         0x0000000a, /* EMC_DLL_XFORM_DQ1 */
2850                         0x0000000a, /* EMC_DLL_XFORM_DQ2 */
2851                         0x0000000a, /* EMC_DLL_XFORM_DQ3 */
2852                         0x0000000a, /* EMC_DLL_XFORM_DQ4 */
2853                         0x0000000a, /* EMC_DLL_XFORM_DQ5 */
2854                         0x0000000a, /* EMC_DLL_XFORM_DQ6 */
2855                         0x0000000a, /* EMC_DLL_XFORM_DQ7 */
2856                         0x100002a0, /* EMC_XM2CMDPADCTRL */
2857                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
2858                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
2859                         0x0120113d, /* EMC_XM2DQSPADCTRL2 */
2860                         0x00000000, /* EMC_XM2DQPADCTRL2 */
2861                         0x00000000, /* EMC_XM2DQPADCTRL3 */
2862                         0x77ffc085, /* EMC_XM2CLKPADCTRL */
2863                         0x00000808, /* EMC_XM2CLKPADCTRL2 */
2864                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
2865                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
2866                         0x00000000, /* EMC_XM2VTTGENPADCTRL2 */
2867                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
2868                         0x55555520, /* EMC_XM2DQSPADCTRL3 */
2869                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
2870                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
2871                         0x55555500, /* EMC_XM2DQSPADCTRL6 */
2872                         0x0606003f, /* EMC_DSR_VTTGEN_DRV */
2873                         0x00000000, /* EMC_TXDSRVTTGEN */
2874                         0x00000000, /* EMC_FBIO_SPARE */
2875                         0x00020000, /* EMC_ZCAL_INTERVAL */
2876                         0x00000152, /* EMC_ZCAL_WAIT_CNT */
2877                         0x00a30010, /* EMC_MRS_WAIT_CNT */
2878                         0x00a30010, /* EMC_MRS_WAIT_CNT2 */
2879                         0x0000000a, /* EMC_CTT */
2880                         0x00000004, /* EMC_CTT_DURATION */
2881                         0x00000000, /* EMC_CFG_PIPE */
2882                         0x80003fc1, /* EMC_DYN_SELF_REF_CONTROL */
2883                         0x00000012, /* EMC_QPOP */
2884                         0x0d00000f, /* MC_EMEM_ARB_CFG */
2885                         0x80000040, /* MC_EMEM_ARB_OUTSTANDING_REQ */
2886                         0x00000005, /* MC_EMEM_ARB_TIMING_RCD */
2887                         0x00000006, /* MC_EMEM_ARB_TIMING_RP */
2888                         0x00000018, /* MC_EMEM_ARB_TIMING_RC */
2889                         0x00000010, /* MC_EMEM_ARB_TIMING_RAS */
2890                         0x0000000c, /* MC_EMEM_ARB_TIMING_FAW */
2891                         0x00000002, /* MC_EMEM_ARB_TIMING_RRD */
2892                         0x00000004, /* MC_EMEM_ARB_TIMING_RAP2PRE */
2893                         0x0000000f, /* MC_EMEM_ARB_TIMING_WAP2PRE */
2894                         0x00000002, /* MC_EMEM_ARB_TIMING_R2R */
2895                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
2896                         0x00000007, /* MC_EMEM_ARB_TIMING_R2W */
2897                         0x0000000a, /* MC_EMEM_ARB_TIMING_W2R */
2898                         0x0a070202, /* MC_EMEM_ARB_DA_TURNS */
2899                         0x001c1118, /* MC_EMEM_ARB_DA_COVERS */
2900                         0x73503019, /* MC_EMEM_ARB_MISC0 */
2901                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
2902                 },
2903                 {
2904                         0x0000001a, /* MC_MLL_MPCORER_PTSA_RATE */
2905                         0x000001fa, /* MC_PTSA_GRANT_DECREMENT */
2906                         0x00600038, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
2907                         0x00600038, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
2908                         0x0060003c, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
2909                         0x00600090, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
2910                         0x00600041, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
2911                         0x00600090, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
2912                         0x00600041, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
2913                         0x00270049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
2914                         0x00600080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
2915                         0x00600004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
2916                         0x00600004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
2917                         0x00080016, /* MC_LATENCY_ALLOWANCE_HC_0 */
2918                         0x00000060, /* MC_LATENCY_ALLOWANCE_HC_1 */
2919                         0x00600004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
2920                         0x00600019, /* MC_LATENCY_ALLOWANCE_GPU_0 */
2921                         0x00600018, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
2922                         0x00600024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
2923                         0x0060001b, /* MC_LATENCY_ALLOWANCE_VIC_0 */
2924                         0x00000060, /* MC_LATENCY_ALLOWANCE_VI2_0 */
2925                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
2926                         0x00600060, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
2927                         0x00000036, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
2928                         0x00600060, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
2929                         0x00d400ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
2930                         0x00510029, /* MC_LATENCY_ALLOWANCE_VDE_1 */
2931                         0x00600060, /* MC_LATENCY_ALLOWANCE_VDE_2 */
2932                         0x00600060, /* MC_LATENCY_ALLOWANCE_VDE_3 */
2933                         0x00600065, /* MC_LATENCY_ALLOWANCE_SATA_0 */
2934                         0x0060001c, /* MC_LATENCY_ALLOWANCE_AFI_0 */
2935                 },
2936                 0x00000057, /* EMC_ZCAL_WAIT_CNT after clock change */
2937                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
2938                 0x00000802, /* EMC_CTT_TERM_CTRL */
2939                 0x73300000, /* EMC_CFG */
2940                 0x000008a5, /* EMC_CFG_2 */
2941                 0x00040000, /* EMC_SEL_DPD_CTRL */
2942                 0xe0040069, /* EMC_CFG_DIG_DLL */
2943                 0x00000000, /* EMC_BGBIAS_CTL0 */
2944                 0x06060606, /* EMC_AUTO_CAL_CONFIG2 */
2945                 0x00000606, /* EMC_AUTO_CAL_CONFIG3 */
2946                 0xa1430606, /* EMC_AUTO_CAL_CONFIG */
2947                 0x80000125, /* Mode Register 0 */
2948                 0x80100002, /* Mode Register 1 */
2949                 0x80200028, /* Mode Register 2 */
2950                 0x00000000, /* Mode Register 4 */
2951         },
2952 };
2953
2954 static struct tegra12_emc_table loki_b00_sku100_emc_table[] = {
2955         {
2956                 0x18,       /* V5.0.6 */
2957                 "01_12750_01_V5.0.6_V0.8", /* DVFS table version */
2958                 12750,      /* SDRAM frequency */
2959                 800,        /* min voltage */
2960                 800,        /* gpu min voltage */
2961                 "pllp_out0", /* clock source id */
2962                 0x4000003e, /* CLK_SOURCE_EMC */
2963                 164,        /* number of burst_regs */
2964                 31,         /* number of up_down_regs */
2965                 {
2966                         0x00000000, /* EMC_RC */
2967                         0x00000003, /* EMC_RFC */
2968                         0x00000000, /* EMC_RFC_SLR */
2969                         0x00000000, /* EMC_RAS */
2970                         0x00000000, /* EMC_RP */
2971                         0x00000003, /* EMC_R2W */
2972                         0x0000000a, /* EMC_W2R */
2973                         0x00000003, /* EMC_R2P */
2974                         0x0000000b, /* EMC_W2P */
2975                         0x00000000, /* EMC_RD_RCD */
2976                         0x00000000, /* EMC_WR_RCD */
2977                         0x00000003, /* EMC_RRD */
2978                         0x00000003, /* EMC_REXT */
2979                         0x00000000, /* EMC_WEXT */
2980                         0x00000005, /* EMC_WDV */
2981                         0x00000005, /* EMC_WDV_MASK */
2982                         0x00000005, /* EMC_QUSE */
2983                         0x00000000, /* EMC_QUSE_WIDTH */
2984                         0x00000000, /* EMC_IBDLY */
2985                         0x00000004, /* EMC_EINPUT */
2986                         0x00000004, /* EMC_EINPUT_DURATION */
2987                         0x00010000, /* EMC_PUTERM_EXTRA */
2988                         0x00000001, /* EMC_PUTERM_WIDTH */
2989                         0x00000000, /* EMC_PUTERM_ADJ */
2990                         0x00000000, /* EMC_CDB_CNTL_1 */
2991                         0x00000000, /* EMC_CDB_CNTL_2 */
2992                         0x00000000, /* EMC_CDB_CNTL_3 */
2993                         0x00000003, /* EMC_QRST */
2994                         0x0000000c, /* EMC_QSAFE */
2995                         0x0000000c, /* EMC_RDV */
2996                         0x0000000e, /* EMC_RDV_MASK */
2997                         0x00000060, /* EMC_REFRESH */
2998                         0x00000000, /* EMC_BURST_REFRESH_NUM */
2999                         0x00000018, /* EMC_PRE_REFRESH_REQ_CNT */
3000                         0x00000002, /* EMC_PDEX2WR */
3001                         0x00000002, /* EMC_PDEX2RD */
3002                         0x00000001, /* EMC_PCHG2PDEN */
3003                         0x00000000, /* EMC_ACT2PDEN */
3004                         0x00000007, /* EMC_AR2PDEN */
3005                         0x0000000f, /* EMC_RW2PDEN */
3006                         0x00000005, /* EMC_TXSR */
3007                         0x00000005, /* EMC_TXSRDLL */
3008                         0x00000004, /* EMC_TCKE */
3009                         0x00000005, /* EMC_TCKESR */
3010                         0x00000004, /* EMC_TPD */
3011                         0x00000000, /* EMC_TFAW */
3012                         0x00000000, /* EMC_TRPAB */
3013                         0x00000005, /* EMC_TCLKSTABLE */
3014                         0x00000005, /* EMC_TCLKSTOP */
3015                         0x00000064, /* EMC_TREFBW */
3016                         0x00000000, /* EMC_FBIO_CFG6 */
3017                         0x00000000, /* EMC_ODT_WRITE */
3018                         0x00000000, /* EMC_ODT_READ */
3019                         0x10604098, /* EMC_FBIO_CFG5 */
3020                         0x002c00a0, /* EMC_CFG_DIG_DLL */
3021                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
3022                         0x00078000, /* EMC_DLL_XFORM_DQS0 */
3023                         0x00078000, /* EMC_DLL_XFORM_DQS1 */
3024                         0x00078000, /* EMC_DLL_XFORM_DQS2 */
3025                         0x00078000, /* EMC_DLL_XFORM_DQS3 */
3026                         0x00078000, /* EMC_DLL_XFORM_DQS4 */
3027                         0x00078000, /* EMC_DLL_XFORM_DQS5 */
3028                         0x00078000, /* EMC_DLL_XFORM_DQS6 */
3029                         0x00078000, /* EMC_DLL_XFORM_DQS7 */
3030                         0x00078000, /* EMC_DLL_XFORM_DQS8 */
3031                         0x00078000, /* EMC_DLL_XFORM_DQS9 */
3032                         0x00078000, /* EMC_DLL_XFORM_DQS10 */
3033                         0x00078000, /* EMC_DLL_XFORM_DQS11 */
3034                         0x00078000, /* EMC_DLL_XFORM_DQS12 */
3035                         0x00078000, /* EMC_DLL_XFORM_DQS13 */
3036                         0x00078000, /* EMC_DLL_XFORM_DQS14 */
3037                         0x00078000, /* EMC_DLL_XFORM_DQS15 */
3038                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
3039                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
3040                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
3041                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
3042                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
3043                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
3044                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
3045                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
3046                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
3047                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
3048                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
3049                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
3050                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
3051                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
3052                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
3053                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
3054                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
3055                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
3056                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
3057                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
3058                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
3059                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
3060                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
3061                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
3062                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
3063                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
3064                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
3065                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
3066                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
3067                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
3068                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
3069                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
3070                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
3071                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
3072                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
3073                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
3074                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
3075                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
3076                         0x00080000, /* EMC_DLL_XFORM_DQ0 */
3077                         0x00080000, /* EMC_DLL_XFORM_DQ1 */
3078                         0x00080000, /* EMC_DLL_XFORM_DQ2 */
3079                         0x00080000, /* EMC_DLL_XFORM_DQ3 */
3080                         0x00008000, /* EMC_DLL_XFORM_DQ4 */
3081                         0x00008000, /* EMC_DLL_XFORM_DQ5 */
3082                         0x00008000, /* EMC_DLL_XFORM_DQ6 */
3083                         0x00008000, /* EMC_DLL_XFORM_DQ7 */
3084                         0x10000280, /* EMC_XM2CMDPADCTRL */
3085                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
3086                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
3087                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
3088                         0x00000000, /* EMC_XM2DQPADCTRL2 */
3089                         0x00000000, /* EMC_XM2DQPADCTRL3 */
3090                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
3091                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
3092                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
3093                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
3094                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
3095                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
3096                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
3097                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
3098                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
3099                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
3100                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
3101                         0x00000007, /* EMC_TXDSRVTTGEN */
3102                         0x00000000, /* EMC_FBIO_SPARE */
3103                         0x00000000, /* EMC_ZCAL_INTERVAL */
3104                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
3105                         0x000f000f, /* EMC_MRS_WAIT_CNT */
3106                         0x000f000f, /* EMC_MRS_WAIT_CNT2 */
3107                         0x00000000, /* EMC_CTT */
3108                         0x00000001, /* EMC_CTT_DURATION */
3109                         0x0000f3f3, /* EMC_CFG_PIPE */
3110                         0x800001c5, /* EMC_DYN_SELF_REF_CONTROL */
3111                         0x00000009, /* EMC_QPOP */
3112                         0x40040001, /* MC_EMEM_ARB_CFG */
3113                         0x8000000a, /* MC_EMEM_ARB_OUTSTANDING_REQ */
3114                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
3115                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
3116                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
3117                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
3118                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
3119                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
3120                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
3121                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
3122                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
3123                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
3124                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
3125                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
3126                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
3127                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
3128                         0x77e30303, /* MC_EMEM_ARB_MISC0 */
3129                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
3130                 },
3131                 {
3132                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
3133                         0x00000007, /* MC_PTSA_GRANT_DECREMENT */
3134                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
3135                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
3136                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
3137                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
3138                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
3139                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
3140                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
3141                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
3142                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
3143                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
3144                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
3145                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
3146                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
3147                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
3148                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
3149                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
3150                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
3151                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
3152                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
3153                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
3154                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
3155                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
3156                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
3157                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
3158                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
3159                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
3160                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
3161                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
3162                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
3163                 },
3164                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
3165                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
3166                 0x00000802, /* EMC_CTT_TERM_CTRL */
3167                 0x73240000, /* EMC_CFG */
3168                 0x000008c5, /* EMC_CFG_2 */
3169                 0x00040128, /* EMC_SEL_DPD_CTRL */
3170                 0x002c0068, /* EMC_CFG_DIG_DLL */
3171                 0x00000008, /* EMC_BGBIAS_CTL0 */
3172                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
3173                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
3174                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
3175                 0x80001221, /* Mode Register 0 */
3176                 0x80100003, /* Mode Register 1 */
3177                 0x80200008, /* Mode Register 2 */
3178                 0x00000000, /* Mode Register 4 */
3179         },
3180         {
3181                 0x18,       /* V5.0.6 */
3182                 "01_20400_01_V5.0.6_V0.8", /* DVFS table version */
3183                 20400,      /* SDRAM frequency */
3184                 800,        /* min voltage */
3185                 800,        /* gpu min voltage */
3186                 "pllp_out0", /* clock source id */
3187                 0x40000026, /* CLK_SOURCE_EMC */
3188                 164,        /* number of burst_regs */
3189                 31,         /* number of up_down_regs */
3190                 {
3191                         0x00000000, /* EMC_RC */
3192                         0x00000005, /* EMC_RFC */
3193                         0x00000000, /* EMC_RFC_SLR */
3194                         0x00000000, /* EMC_RAS */
3195                         0x00000000, /* EMC_RP */
3196                         0x00000003, /* EMC_R2W */
3197                         0x0000000a, /* EMC_W2R */
3198                         0x00000003, /* EMC_R2P */
3199                         0x0000000b, /* EMC_W2P */
3200                         0x00000000, /* EMC_RD_RCD */
3201                         0x00000000, /* EMC_WR_RCD */
3202                         0x00000003, /* EMC_RRD */
3203                         0x00000003, /* EMC_REXT */
3204                         0x00000000, /* EMC_WEXT */
3205                         0x00000005, /* EMC_WDV */
3206                         0x00000005, /* EMC_WDV_MASK */
3207                         0x00000005, /* EMC_QUSE */
3208                         0x00000000, /* EMC_QUSE_WIDTH */
3209                         0x00000000, /* EMC_IBDLY */
3210                         0x00000004, /* EMC_EINPUT */
3211                         0x00000004, /* EMC_EINPUT_DURATION */
3212                         0x00010000, /* EMC_PUTERM_EXTRA */
3213                         0x00000001, /* EMC_PUTERM_WIDTH */
3214                         0x00000000, /* EMC_PUTERM_ADJ */
3215                         0x00000000, /* EMC_CDB_CNTL_1 */
3216                         0x00000000, /* EMC_CDB_CNTL_2 */
3217                         0x00000000, /* EMC_CDB_CNTL_3 */
3218                         0x00000003, /* EMC_QRST */
3219                         0x0000000c, /* EMC_QSAFE */
3220                         0x0000000c, /* EMC_RDV */
3221                         0x0000000e, /* EMC_RDV_MASK */
3222                         0x0000009a, /* EMC_REFRESH */
3223                         0x00000000, /* EMC_BURST_REFRESH_NUM */
3224                         0x00000026, /* EMC_PRE_REFRESH_REQ_CNT */
3225                         0x00000002, /* EMC_PDEX2WR */
3226                         0x00000002, /* EMC_PDEX2RD */
3227                         0x00000001, /* EMC_PCHG2PDEN */
3228                         0x00000000, /* EMC_ACT2PDEN */
3229                         0x00000007, /* EMC_AR2PDEN */
3230                         0x0000000f, /* EMC_RW2PDEN */
3231                         0x00000006, /* EMC_TXSR */
3232                         0x00000006, /* EMC_TXSRDLL */
3233                         0x00000004, /* EMC_TCKE */
3234                         0x00000005, /* EMC_TCKESR */
3235                         0x00000004, /* EMC_TPD */
3236                         0x00000000, /* EMC_TFAW */
3237                         0x00000000, /* EMC_TRPAB */
3238                         0x00000005, /* EMC_TCLKSTABLE */
3239                         0x00000005, /* EMC_TCLKSTOP */
3240                         0x000000a0, /* EMC_TREFBW */
3241                         0x00000000, /* EMC_FBIO_CFG6 */
3242                         0x00000000, /* EMC_ODT_WRITE */
3243                         0x00000000, /* EMC_ODT_READ */
3244                         0x10604098, /* EMC_FBIO_CFG5 */
3245                         0x002c00a0, /* EMC_CFG_DIG_DLL */
3246                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
3247                         0x00078000, /* EMC_DLL_XFORM_DQS0 */
3248                         0x00078000, /* EMC_DLL_XFORM_DQS1 */
3249                         0x00078000, /* EMC_DLL_XFORM_DQS2 */
3250                         0x00078000, /* EMC_DLL_XFORM_DQS3 */
3251                         0x00078000, /* EMC_DLL_XFORM_DQS4 */
3252                         0x00078000, /* EMC_DLL_XFORM_DQS5 */
3253                         0x00078000, /* EMC_DLL_XFORM_DQS6 */
3254                         0x00078000, /* EMC_DLL_XFORM_DQS7 */
3255                         0x00078000, /* EMC_DLL_XFORM_DQS8 */
3256                         0x00078000, /* EMC_DLL_XFORM_DQS9 */
3257                         0x00078000, /* EMC_DLL_XFORM_DQS10 */
3258                         0x00078000, /* EMC_DLL_XFORM_DQS11 */
3259                         0x00078000, /* EMC_DLL_XFORM_DQS12 */
3260                         0x00078000, /* EMC_DLL_XFORM_DQS13 */
3261                         0x00078000, /* EMC_DLL_XFORM_DQS14 */
3262                         0x00078000, /* EMC_DLL_XFORM_DQS15 */
3263                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
3264                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
3265                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
3266                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
3267                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
3268                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
3269                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
3270                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
3271                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
3272                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
3273                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
3274                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
3275                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
3276                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
3277                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
3278                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
3279                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
3280                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
3281                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
3282                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
3283                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
3284                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
3285                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
3286                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
3287                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
3288                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
3289                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
3290                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
3291                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
3292                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
3293                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
3294                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
3295                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
3296                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
3297                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
3298                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
3299                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
3300                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
3301                         0x00080000, /* EMC_DLL_XFORM_DQ0 */
3302                         0x00080000, /* EMC_DLL_XFORM_DQ1 */
3303                         0x00080000, /* EMC_DLL_XFORM_DQ2 */
3304                         0x00080000, /* EMC_DLL_XFORM_DQ3 */
3305                         0x00008000, /* EMC_DLL_XFORM_DQ4 */
3306                         0x00008000, /* EMC_DLL_XFORM_DQ5 */
3307                         0x00008000, /* EMC_DLL_XFORM_DQ6 */
3308                         0x00008000, /* EMC_DLL_XFORM_DQ7 */
3309                         0x10000280, /* EMC_XM2CMDPADCTRL */
3310                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
3311                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
3312                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
3313                         0x00000000, /* EMC_XM2DQPADCTRL2 */
3314                         0x00000000, /* EMC_XM2DQPADCTRL3 */
3315                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
3316                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
3317                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
3318                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
3319                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
3320                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
3321                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
3322                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
3323                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
3324                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
3325                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
3326                         0x0000000b, /* EMC_TXDSRVTTGEN */
3327                         0x00000000, /* EMC_FBIO_SPARE */
3328                         0x00000000, /* EMC_ZCAL_INTERVAL */
3329                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
3330                         0x000f000f, /* EMC_MRS_WAIT_CNT */
3331                         0x000f000f, /* EMC_MRS_WAIT_CNT2 */
3332                         0x00000000, /* EMC_CTT */
3333                         0x00000001, /* EMC_CTT_DURATION */
3334                         0x0000f3f3, /* EMC_CFG_PIPE */
3335                         0x8000023a, /* EMC_DYN_SELF_REF_CONTROL */
3336                         0x00000009, /* EMC_QPOP */
3337                         0x40020001, /* MC_EMEM_ARB_CFG */
3338                         0x80000012, /* MC_EMEM_ARB_OUTSTANDING_REQ */
3339                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
3340                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
3341                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
3342                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
3343                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
3344                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
3345                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
3346                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
3347                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
3348                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
3349                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
3350                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
3351                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
3352                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
3353                         0x76230303, /* MC_EMEM_ARB_MISC0 */
3354                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
3355                 },
3356                 {
3357                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
3358                         0x0000000a, /* MC_PTSA_GRANT_DECREMENT */
3359                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
3360                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
3361                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
3362                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
3363                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
3364                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
3365                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
3366                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
3367                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
3368                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
3369                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
3370                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
3371                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
3372                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
3373                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
3374                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
3375                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
3376                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
3377                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
3378                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
3379                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
3380                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
3381                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
3382                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
3383                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
3384                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
3385                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
3386                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
3387                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
3388                 },
3389                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
3390                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
3391                 0x00000802, /* EMC_CTT_TERM_CTRL */
3392                 0x73240000, /* EMC_CFG */
3393                 0x000008c5, /* EMC_CFG_2 */
3394                 0x00040128, /* EMC_SEL_DPD_CTRL */
3395                 0x002c0068, /* EMC_CFG_DIG_DLL */
3396                 0x00000008, /* EMC_BGBIAS_CTL0 */
3397                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
3398                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
3399                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
3400                 0x80001221, /* Mode Register 0 */
3401                 0x80100003, /* Mode Register 1 */
3402                 0x80200008, /* Mode Register 2 */
3403                 0x00000000, /* Mode Register 4 */
3404         },
3405         {
3406                 0x18,       /* V5.0.6 */
3407                 "01_40800_01_V5.0.6_V0.8", /* DVFS table version */
3408                 40800,      /* SDRAM frequency */
3409                 800,        /* min voltage */
3410                 800,        /* gpu min voltage */
3411                 "pllp_out0", /* clock source id */
3412                 0x40000012, /* CLK_SOURCE_EMC */
3413                 164,        /* number of burst_regs */
3414                 31,         /* number of up_down_regs */
3415                 {
3416                         0x00000001, /* EMC_RC */
3417                         0x0000000a, /* EMC_RFC */
3418                         0x00000000, /* EMC_RFC_SLR */
3419                         0x00000001, /* EMC_RAS */
3420                         0x00000000, /* EMC_RP */
3421                         0x00000003, /* EMC_R2W */
3422                         0x0000000a, /* EMC_W2R */
3423                         0x00000003, /* EMC_R2P */
3424                         0x0000000b, /* EMC_W2P */
3425                         0x00000000, /* EMC_RD_RCD */
3426                         0x00000000, /* EMC_WR_RCD */
3427                         0x00000003, /* EMC_RRD */
3428                         0x00000003, /* EMC_REXT */
3429                         0x00000000, /* EMC_WEXT */
3430                         0x00000005, /* EMC_WDV */
3431                         0x00000005, /* EMC_WDV_MASK */
3432                         0x00000005, /* EMC_QUSE */
3433                         0x00000000, /* EMC_QUSE_WIDTH */
3434                         0x00000000, /* EMC_IBDLY */
3435                         0x00000004, /* EMC_EINPUT */
3436                         0x00000004, /* EMC_EINPUT_DURATION */
3437                         0x00010000, /* EMC_PUTERM_EXTRA */
3438                         0x00000001, /* EMC_PUTERM_WIDTH */
3439                         0x00000000, /* EMC_PUTERM_ADJ */
3440                         0x00000000, /* EMC_CDB_CNTL_1 */
3441                         0x00000000, /* EMC_CDB_CNTL_2 */
3442                         0x00000000, /* EMC_CDB_CNTL_3 */
3443                         0x00000003, /* EMC_QRST */
3444                         0x0000000c, /* EMC_QSAFE */
3445                         0x0000000c, /* EMC_RDV */
3446                         0x0000000e, /* EMC_RDV_MASK */
3447                         0x00000134, /* EMC_REFRESH */
3448                         0x00000000, /* EMC_BURST_REFRESH_NUM */
3449                         0x0000004d, /* EMC_PRE_REFRESH_REQ_CNT */
3450                         0x00000002, /* EMC_PDEX2WR */
3451                         0x00000002, /* EMC_PDEX2RD */
3452                         0x00000001, /* EMC_PCHG2PDEN */
3453                         0x00000000, /* EMC_ACT2PDEN */
3454                         0x00000008, /* EMC_AR2PDEN */
3455                         0x0000000f, /* EMC_RW2PDEN */
3456                         0x0000000c, /* EMC_TXSR */
3457                         0x0000000c, /* EMC_TXSRDLL */
3458                         0x00000004, /* EMC_TCKE */
3459                         0x00000005, /* EMC_TCKESR */
3460                         0x00000004, /* EMC_TPD */
3461                         0x00000000, /* EMC_TFAW */
3462                         0x00000000, /* EMC_TRPAB */
3463                         0x00000005, /* EMC_TCLKSTABLE */
3464                         0x00000005, /* EMC_TCLKSTOP */
3465                         0x0000013f, /* EMC_TREFBW */
3466                         0x00000000, /* EMC_FBIO_CFG6 */
3467                         0x00000000, /* EMC_ODT_WRITE */
3468                         0x00000000, /* EMC_ODT_READ */
3469                         0x10604098, /* EMC_FBIO_CFG5 */
3470                         0x002c00a0, /* EMC_CFG_DIG_DLL */
3471                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
3472                         0x00078000, /* EMC_DLL_XFORM_DQS0 */
3473                         0x00078000, /* EMC_DLL_XFORM_DQS1 */
3474                         0x00078000, /* EMC_DLL_XFORM_DQS2 */
3475                         0x00078000, /* EMC_DLL_XFORM_DQS3 */
3476                         0x00078000, /* EMC_DLL_XFORM_DQS4 */
3477                         0x00078000, /* EMC_DLL_XFORM_DQS5 */
3478                         0x00078000, /* EMC_DLL_XFORM_DQS6 */
3479                         0x00078000, /* EMC_DLL_XFORM_DQS7 */
3480                         0x00078000, /* EMC_DLL_XFORM_DQS8 */
3481                         0x00078000, /* EMC_DLL_XFORM_DQS9 */
3482                         0x00078000, /* EMC_DLL_XFORM_DQS10 */
3483                         0x00078000, /* EMC_DLL_XFORM_DQS11 */
3484                         0x00078000, /* EMC_DLL_XFORM_DQS12 */
3485                         0x00078000, /* EMC_DLL_XFORM_DQS13 */
3486                         0x00078000, /* EMC_DLL_XFORM_DQS14 */
3487                         0x00078000, /* EMC_DLL_XFORM_DQS15 */
3488                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
3489                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
3490                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
3491                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
3492                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
3493                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
3494                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
3495                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
3496                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
3497                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
3498                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
3499                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
3500                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
3501                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
3502                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
3503                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
3504                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
3505                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
3506                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
3507                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
3508                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
3509                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
3510                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
3511                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
3512                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
3513                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
3514                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
3515                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
3516                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
3517                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
3518                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
3519                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
3520                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
3521                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
3522                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
3523                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
3524                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
3525                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
3526                         0x00080000, /* EMC_DLL_XFORM_DQ0 */
3527                         0x00080000, /* EMC_DLL_XFORM_DQ1 */
3528                         0x00080000, /* EMC_DLL_XFORM_DQ2 */
3529                         0x00080000, /* EMC_DLL_XFORM_DQ3 */
3530                         0x00008000, /* EMC_DLL_XFORM_DQ4 */
3531                         0x00008000, /* EMC_DLL_XFORM_DQ5 */
3532                         0x00008000, /* EMC_DLL_XFORM_DQ6 */
3533                         0x00008000, /* EMC_DLL_XFORM_DQ7 */
3534                         0x10000280, /* EMC_XM2CMDPADCTRL */
3535                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
3536                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
3537                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
3538                         0x00000000, /* EMC_XM2DQPADCTRL2 */
3539                         0x00000000, /* EMC_XM2DQPADCTRL3 */
3540                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
3541                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
3542                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
3543                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
3544                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
3545                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
3546                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
3547                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
3548                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
3549                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
3550                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
3551                         0x00000015, /* EMC_TXDSRVTTGEN */
3552                         0x00000000, /* EMC_FBIO_SPARE */
3553                         0x00000000, /* EMC_ZCAL_INTERVAL */
3554                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
3555                         0x000f000f, /* EMC_MRS_WAIT_CNT */
3556                         0x000f000f, /* EMC_MRS_WAIT_CNT2 */
3557                         0x00000000, /* EMC_CTT */
3558                         0x00000001, /* EMC_CTT_DURATION */
3559                         0x0000f3f3, /* EMC_CFG_PIPE */
3560                         0x80000370, /* EMC_DYN_SELF_REF_CONTROL */
3561                         0x00000009, /* EMC_QPOP */
3562                         0xa0000001, /* MC_EMEM_ARB_CFG */
3563                         0x80000017, /* MC_EMEM_ARB_OUTSTANDING_REQ */
3564                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
3565                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
3566                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
3567                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
3568                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
3569                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
3570                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
3571                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
3572                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
3573                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
3574                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
3575                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
3576                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
3577                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
3578                         0x74a30303, /* MC_EMEM_ARB_MISC0 */
3579                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
3580                 },
3581                 {
3582                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
3583                         0x00000014, /* MC_PTSA_GRANT_DECREMENT */
3584                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
3585                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
3586                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
3587                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
3588                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
3589                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
3590                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
3591                         0x00ff0049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
3592                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
3593                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
3594                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
3595                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
3596                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
3597                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
3598                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
3599                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
3600                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
3601                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
3602                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
3603                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
3604                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
3605                         0x000000ff, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
3606                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
3607                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
3608                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_1 */
3609                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
3610                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
3611                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
3612                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
3613                 },
3614                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
3615                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
3616                 0x00000802, /* EMC_CTT_TERM_CTRL */
3617                 0x73240000, /* EMC_CFG */
3618                 0x000008c5, /* EMC_CFG_2 */
3619                 0x00040128, /* EMC_SEL_DPD_CTRL */
3620                 0x002c0068, /* EMC_CFG_DIG_DLL */
3621                 0x00000008, /* EMC_BGBIAS_CTL0 */
3622                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
3623                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
3624                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
3625                 0x80001221, /* Mode Register 0 */
3626                 0x80100003, /* Mode Register 1 */
3627                 0x80200008, /* Mode Register 2 */
3628                 0x00000000, /* Mode Register 4 */
3629         },
3630         {
3631                 0x18,       /* V5.0.6 */
3632                 "01_68000_01_V5.0.6_V0.8", /* DVFS table version */
3633                 68000,      /* SDRAM frequency */
3634                 800,        /* min voltage */
3635                 800,        /* gpu min voltage */
3636                 "pllp_out0", /* clock source id */
3637                 0x4000000a, /* CLK_SOURCE_EMC */
3638                 164,        /* number of burst_regs */
3639                 31,         /* number of up_down_regs */
3640                 {
3641                         0x00000003, /* EMC_RC */
3642                         0x00000011, /* EMC_RFC */
3643                         0x00000000, /* EMC_RFC_SLR */
3644                         0x00000002, /* EMC_RAS */
3645                         0x00000000, /* EMC_RP */
3646                         0x00000003, /* EMC_R2W */
3647                         0x0000000a, /* EMC_W2R */
3648                         0x00000003, /* EMC_R2P */
3649                         0x0000000b, /* EMC_W2P */
3650                         0x00000000, /* EMC_RD_RCD */
3651                         0x00000000, /* EMC_WR_RCD */
3652                         0x00000003, /* EMC_RRD */
3653                         0x00000003, /* EMC_REXT */
3654                         0x00000000, /* EMC_WEXT */
3655                         0x00000005, /* EMC_WDV */
3656                         0x00000005, /* EMC_WDV_MASK */
3657                         0x00000005, /* EMC_QUSE */
3658                         0x00000000, /* EMC_QUSE_WIDTH */
3659                         0x00000000, /* EMC_IBDLY */
3660                         0x00000004, /* EMC_EINPUT */
3661                         0x00000004, /* EMC_EINPUT_DURATION */
3662                         0x00010000, /* EMC_PUTERM_EXTRA */
3663                         0x00000001, /* EMC_PUTERM_WIDTH */
3664                         0x00000000, /* EMC_PUTERM_ADJ */
3665                         0x00000000, /* EMC_CDB_CNTL_1 */
3666                         0x00000000, /* EMC_CDB_CNTL_2 */
3667                         0x00000000, /* EMC_CDB_CNTL_3 */
3668                         0x00000003, /* EMC_QRST */
3669                         0x0000000c, /* EMC_QSAFE */
3670                         0x0000000c, /* EMC_RDV */
3671                         0x0000000e, /* EMC_RDV_MASK */
3672                         0x00000202, /* EMC_REFRESH */
3673                         0x00000000, /* EMC_BURST_REFRESH_NUM */
3674                         0x00000080, /* EMC_PRE_REFRESH_REQ_CNT */
3675                         0x00000002, /* EMC_PDEX2WR */
3676                         0x00000002, /* EMC_PDEX2RD */
3677                         0x00000001, /* EMC_PCHG2PDEN */
3678                         0x00000000, /* EMC_ACT2PDEN */
3679                         0x0000000f, /* EMC_AR2PDEN */
3680                         0x0000000f, /* EMC_RW2PDEN */
3681                         0x00000013, /* EMC_TXSR */
3682                         0x00000013, /* EMC_TXSRDLL */
3683                         0x00000004, /* EMC_TCKE */
3684                         0x00000005, /* EMC_TCKESR */
3685                         0x00000004, /* EMC_TPD */
3686                         0x00000000, /* EMC_TFAW */
3687                         0x00000000, /* EMC_TRPAB */
3688                         0x00000005, /* EMC_TCLKSTABLE */
3689                         0x00000005, /* EMC_TCLKSTOP */
3690                         0x00000213, /* EMC_TREFBW */
3691                         0x00000002, /* EMC_FBIO_CFG6 */
3692                         0x00000000, /* EMC_ODT_WRITE */
3693                         0x00000000, /* EMC_ODT_READ */
3694                         0x10604098, /* EMC_FBIO_CFG5 */
3695                         0x002c00a0, /* EMC_CFG_DIG_DLL */
3696                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
3697                         0x00078000, /* EMC_DLL_XFORM_DQS0 */
3698                         0x00078000, /* EMC_DLL_XFORM_DQS1 */
3699                         0x00078000, /* EMC_DLL_XFORM_DQS2 */
3700                         0x00078000, /* EMC_DLL_XFORM_DQS3 */
3701                         0x00078000, /* EMC_DLL_XFORM_DQS4 */
3702                         0x00078000, /* EMC_DLL_XFORM_DQS5 */
3703                         0x00078000, /* EMC_DLL_XFORM_DQS6 */
3704                         0x00078000, /* EMC_DLL_XFORM_DQS7 */
3705                         0x00078000, /* EMC_DLL_XFORM_DQS8 */
3706                         0x00078000, /* EMC_DLL_XFORM_DQS9 */
3707                         0x00078000, /* EMC_DLL_XFORM_DQS10 */
3708                         0x00078000, /* EMC_DLL_XFORM_DQS11 */
3709                         0x00078000, /* EMC_DLL_XFORM_DQS12 */
3710                         0x00078000, /* EMC_DLL_XFORM_DQS13 */
3711                         0x00078000, /* EMC_DLL_XFORM_DQS14 */
3712                         0x00078000, /* EMC_DLL_XFORM_DQS15 */
3713                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
3714                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
3715                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
3716                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
3717                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
3718                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
3719                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
3720                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
3721                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
3722                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
3723                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
3724                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
3725                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
3726                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
3727                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
3728                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
3729                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
3730                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
3731                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
3732                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
3733                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
3734                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
3735                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
3736                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
3737                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
3738                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
3739                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
3740                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
3741                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
3742                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
3743                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
3744                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
3745                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
3746                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
3747                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
3748                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
3749                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
3750                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
3751                         0x00080000, /* EMC_DLL_XFORM_DQ0 */
3752                         0x00080000, /* EMC_DLL_XFORM_DQ1 */
3753                         0x00080000, /* EMC_DLL_XFORM_DQ2 */
3754                         0x00080000, /* EMC_DLL_XFORM_DQ3 */
3755                         0x00008000, /* EMC_DLL_XFORM_DQ4 */
3756                         0x00008000, /* EMC_DLL_XFORM_DQ5 */
3757                         0x00008000, /* EMC_DLL_XFORM_DQ6 */
3758                         0x00008000, /* EMC_DLL_XFORM_DQ7 */
3759                         0x10000280, /* EMC_XM2CMDPADCTRL */
3760                         0x00000000, /* EMC_XM2CMDPADCTRL4 */
3761                         0x00111111, /* EMC_XM2CMDPADCTRL5 */
3762                         0x0030a118, /* EMC_XM2DQSPADCTRL2 */
3763                         0x00000000, /* EMC_XM2DQPADCTRL2 */
3764                         0x00000000, /* EMC_XM2DQPADCTRL3 */
3765                         0x77ffc081, /* EMC_XM2CLKPADCTRL */
3766                         0x00000e0e, /* EMC_XM2CLKPADCTRL2 */
3767                         0x81f1f108, /* EMC_XM2COMPPADCTRL */
3768                         0x07070004, /* EMC_XM2VTTGENPADCTRL */
3769                         0x0000003f, /* EMC_XM2VTTGENPADCTRL2 */
3770                         0x016eeeee, /* EMC_XM2VTTGENPADCTRL3 */
3771                         0x51451400, /* EMC_XM2DQSPADCTRL3 */
3772                         0x00514514, /* EMC_XM2DQSPADCTRL4 */
3773                         0x00514514, /* EMC_XM2DQSPADCTRL5 */
3774                         0x51451400, /* EMC_XM2DQSPADCTRL6 */
3775                         0x0000003f, /* EMC_DSR_VTTGEN_DRV */
3776                         0x00000022, /* EMC_TXDSRVTTGEN */
3777                         0x00000000, /* EMC_FBIO_SPARE */
3778                         0x00000000, /* EMC_ZCAL_INTERVAL */
3779                         0x00000042, /* EMC_ZCAL_WAIT_CNT */
3780                         0x000f000f, /* EMC_MRS_WAIT_CNT */
3781                         0x000f000f, /* EMC_MRS_WAIT_CNT2 */
3782                         0x00000000, /* EMC_CTT */
3783                         0x00000001, /* EMC_CTT_DURATION */
3784                         0x0000f3f3, /* EMC_CFG_PIPE */
3785                         0x8000050e, /* EMC_DYN_SELF_REF_CONTROL */
3786                         0x00000009, /* EMC_QPOP */
3787                         0x00000001, /* MC_EMEM_ARB_CFG */
3788                         0x8000001e, /* MC_EMEM_ARB_OUTSTANDING_REQ */
3789                         0x00000001, /* MC_EMEM_ARB_TIMING_RCD */
3790                         0x00000001, /* MC_EMEM_ARB_TIMING_RP */
3791                         0x00000002, /* MC_EMEM_ARB_TIMING_RC */
3792                         0x00000000, /* MC_EMEM_ARB_TIMING_RAS */
3793                         0x00000002, /* MC_EMEM_ARB_TIMING_FAW */
3794                         0x00000001, /* MC_EMEM_ARB_TIMING_RRD */
3795                         0x00000002, /* MC_EMEM_ARB_TIMING_RAP2PRE */
3796                         0x00000008, /* MC_EMEM_ARB_TIMING_WAP2PRE */
3797                         0x00000003, /* MC_EMEM_ARB_TIMING_R2R */
3798                         0x00000002, /* MC_EMEM_ARB_TIMING_W2W */
3799                         0x00000003, /* MC_EMEM_ARB_TIMING_R2W */
3800                         0x00000006, /* MC_EMEM_ARB_TIMING_W2R */
3801                         0x06030203, /* MC_EMEM_ARB_DA_TURNS */
3802                         0x000a0402, /* MC_EMEM_ARB_DA_COVERS */
3803                         0x74230403, /* MC_EMEM_ARB_MISC0 */
3804                         0x001f0000, /* MC_EMEM_ARB_RING1_THROTTLE */
3805                 },
3806                 {
3807                         0x00000001, /* MC_MLL_MPCORER_PTSA_RATE */
3808                         0x00000021, /* MC_PTSA_GRANT_DECREMENT */
3809                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_0 */
3810                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_XUSB_1 */
3811                         0x00ff00b0, /* MC_LATENCY_ALLOWANCE_TSEC_0 */
3812                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMCA_0 */
3813                         0x00ff00ec, /* MC_LATENCY_ALLOWANCE_SDMMCAA_0 */
3814                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SDMMC_0 */
3815                         0x00ff00ec, /* MC_LATENCY_ALLOWANCE_SDMMCAB_0 */
3816                         0x00e90049, /* MC_LATENCY_ALLOWANCE_PPCS_0 */
3817                         0x00ff0080, /* MC_LATENCY_ALLOWANCE_PPCS_1 */
3818                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORE_0 */
3819                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_MPCORELP_0 */
3820                         0x000800ff, /* MC_LATENCY_ALLOWANCE_HC_0 */
3821                         0x000000ff, /* MC_LATENCY_ALLOWANCE_HC_1 */
3822                         0x00ff0004, /* MC_LATENCY_ALLOWANCE_AVPC_0 */
3823                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_GPU_0 */
3824                         0x00ff00a3, /* MC_LATENCY_ALLOWANCE_MSENC_0 */
3825                         0x00ff0024, /* MC_LATENCY_ALLOWANCE_HDA_0 */
3826                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VIC_0 */
3827                         0x000000ff, /* MC_LATENCY_ALLOWANCE_VI2_0 */
3828                         0x000000ef, /* MC_LATENCY_ALLOWANCE_ISP2_0 */
3829                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2_1 */
3830                         0x000000ef, /* MC_LATENCY_ALLOWANCE_ISP2B_0 */
3831                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_ISP2B_1 */
3832                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_0 */
3833                         0x00ee00ef, /* MC_LATENCY_ALLOWANCE_VDE_1 */
3834                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_2 */
3835                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_VDE_3 */
3836                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_SATA_0 */
3837                         0x00ff00ff, /* MC_LATENCY_ALLOWANCE_AFI_0 */
3838                 },
3839                 0x00000042, /* EMC_ZCAL_WAIT_CNT after clock change */
3840                 0x001fffff, /* EMC_AUTO_CAL_INTERVAL */
3841                 0x00000802, /* EMC_CTT_TERM_CTRL */
3842                 0x73240000, /* EMC_CFG */
3843                 0x000008c5, /* EMC_CFG_2 */
3844                 0x00040128, /* EMC_SEL_DPD_CTRL */
3845                 0x002c0068, /* EMC_CFG_DIG_DLL */
3846                 0x00000008, /* EMC_BGBIAS_CTL0 */
3847                 0x00000000, /* EMC_AUTO_CAL_CONFIG2 */
3848                 0x00000000, /* EMC_AUTO_CAL_CONFIG3 */
3849                 0xa1430000, /* EMC_AUTO_CAL_CONFIG */
3850                 0x80001221, /* Mode Register 0 */
3851                 0x80100003, /* Mode Register 1 */
3852                 0x80200008, /* Mode Register 2 */
3853                 0x00000000, /* Mode Register 4 */
3854         },
3855         {
3856                 0x18,       /* V5.0.6 */
3857                 "01_102000_01_V5.0.6_V0.8", /* DVFS table version */
3858                 102000,     /* SDRAM frequency */
3859                 800,        /* min voltage */
3860                 800,        /* gpu min voltage */
3861                 "pllp_out0", /* clock source id */
3862                 0x40000006, /* CLK_SOURCE_EMC */
3863                 164,        /* number of burst_regs */
3864                 31,         /* number of up_down_regs */
3865                 {
3866                         0x00000004, /* EMC_RC */
3867                         0x0000001a, /* EMC_RFC */
3868                         0x00000000, /* EMC_RFC_SLR */
3869                         0x00000003, /* EMC_RAS */
3870                         0x00000001, /* EMC_RP */
3871                         0x00000003, /* EMC_R2W */
3872                         0x0000000a, /* EMC_W2R */
3873                         0x00000003, /* EMC_R2P */
3874                         0x0000000b, /* EMC_W2P */
3875                         0x00000001, /* EMC_RD_RCD */
3876                         0x00000001, /* EMC_WR_RCD */
3877                         0x00000003, /* EMC_RRD */
3878                         0x00000003, /* EMC_REXT */
3879                         0x00000000, /* EMC_WEXT */
3880                         0x00000005, /* EMC_WDV */
3881                         0x00000005, /* EMC_WDV_MASK */
3882                         0x00000005, /* EMC_QUSE */
3883                         0x00000000, /* EMC_QUSE_WIDTH */
3884                         0x00000000, /* EMC_IBDLY */
3885                         0x00000004, /* EMC_EINPUT */
3886                         0x00000004, /* EMC_EINPUT_DURATION */
3887                         0x00010000, /* EMC_PUTERM_EXTRA */
3888                         0x00000001, /* EMC_PUTERM_WIDTH */
3889                         0x00000000, /* EMC_PUTERM_ADJ */
3890                         0x00000000, /* EMC_CDB_CNTL_1 */
3891                         0x00000000, /* EMC_CDB_CNTL_2 */
3892                         0x00000000, /* EMC_CDB_CNTL_3 */
3893                         0x00000003, /* EMC_QRST */
3894                         0x0000000c, /* EMC_QSAFE */
3895                         0x0000000c, /* EMC_RDV */
3896                         0x0000000e, /* EMC_RDV_MASK */
3897                         0x00000304, /* EMC_REFRESH */
3898                         0x00000000, /* EMC_BURST_REFRESH_NUM */
3899                         0x000000c1, /* EMC_PRE_REFRESH_REQ_CNT */
3900                         0x00000002, /* EMC_PDEX2WR */
3901                         0x00000002, /* EMC_PDEX2RD */
3902                         0x00000001, /* EMC_PCHG2PDEN */
3903                         0x00000000, /* EMC_ACT2PDEN */
3904                         0x00000018, /* EMC_AR2PDEN */
3905                         0x0000000f, /* EMC_RW2PDEN */
3906                         0x0000001c, /* EMC_TXSR */
3907                         0x0000001c, /* EMC_TXSRDLL */
3908                         0x00000004, /* EMC_TCKE */
3909                         0x00000005, /* EMC_TCKESR */
3910                         0x00000004, /* EMC_TPD */
3911                         0x00000001, /* EMC_TFAW */
3912                         0x00000000, /* EMC_TRPAB */
3913                         0x00000005, /* EMC_TCLKSTABLE */
3914                         0x00000005, /* EMC_TCLKSTOP */
3915                         0x0000031c, /* EMC_TREFBW */
3916                         0x00000002, /* EMC_FBIO_CFG6 */
3917                         0x00000000, /* EMC_ODT_WRITE */
3918                         0x00000000, /* EMC_ODT_READ */
3919                         0x10604098, /* EMC_FBIO_CFG5 */
3920                         0x002c00a0, /* EMC_CFG_DIG_DLL */
3921                         0x00008000, /* EMC_CFG_DIG_DLL_PERIOD */
3922                         0x00078000, /* EMC_DLL_XFORM_DQS0 */
3923                         0x00078000, /* EMC_DLL_XFORM_DQS1 */
3924                         0x00078000, /* EMC_DLL_XFORM_DQS2 */
3925                         0x00078000, /* EMC_DLL_XFORM_DQS3 */
3926                         0x00078000, /* EMC_DLL_XFORM_DQS4 */
3927                         0x00078000, /* EMC_DLL_XFORM_DQS5 */
3928                         0x00078000, /* EMC_DLL_XFORM_DQS6 */
3929                         0x00078000, /* EMC_DLL_XFORM_DQS7 */
3930                         0x00078000, /* EMC_DLL_XFORM_DQS8 */
3931                         0x00078000, /* EMC_DLL_XFORM_DQS9 */
3932                         0x00078000, /* EMC_DLL_XFORM_DQS10 */
3933                         0x00078000, /* EMC_DLL_XFORM_DQS11 */
3934                         0x00078000, /* EMC_DLL_XFORM_DQS12 */
3935                         0x00078000, /* EMC_DLL_XFORM_DQS13 */
3936                         0x00078000, /* EMC_DLL_XFORM_DQS14 */
3937                         0x00078000, /* EMC_DLL_XFORM_DQS15 */
3938                         0x00000000, /* EMC_DLL_XFORM_QUSE0 */
3939                         0x00000000, /* EMC_DLL_XFORM_QUSE1 */
3940                         0x00000000, /* EMC_DLL_XFORM_QUSE2 */
3941                         0x00000000, /* EMC_DLL_XFORM_QUSE3 */
3942                         0x00000000, /* EMC_DLL_XFORM_QUSE4 */
3943                         0x00000000, /* EMC_DLL_XFORM_QUSE5 */
3944                         0x00000000, /* EMC_DLL_XFORM_QUSE6 */
3945                         0x00000000, /* EMC_DLL_XFORM_QUSE7 */
3946                         0x00000000, /* EMC_DLL_XFORM_ADDR0 */
3947                         0x00000000, /* EMC_DLL_XFORM_ADDR1 */
3948                         0x00000000, /* EMC_DLL_XFORM_ADDR2 */
3949                         0x00000000, /* EMC_DLL_XFORM_ADDR3 */
3950                         0x00000000, /* EMC_DLL_XFORM_ADDR4 */
3951                         0x00000000, /* EMC_DLL_XFORM_ADDR5 */
3952                         0x00000000, /* EMC_DLL_XFORM_QUSE8 */
3953                         0x00000000, /* EMC_DLL_XFORM_QUSE9 */
3954                         0x00000000, /* EMC_DLL_XFORM_QUSE10 */
3955                         0x00000000, /* EMC_DLL_XFORM_QUSE11 */
3956                         0x00000000, /* EMC_DLL_XFORM_QUSE12 */
3957                         0x00000000, /* EMC_DLL_XFORM_QUSE13 */
3958                         0x00000000, /* EMC_DLL_XFORM_QUSE14 */
3959                         0x00000000, /* EMC_DLL_XFORM_QUSE15 */
3960                         0x00000000, /* EMC_DLI_TRIM_TXDQS0 */
3961                         0x00000000, /* EMC_DLI_TRIM_TXDQS1 */
3962                         0x00000000, /* EMC_DLI_TRIM_TXDQS2 */
3963                         0x00000000, /* EMC_DLI_TRIM_TXDQS3 */
3964                         0x00000000, /* EMC_DLI_TRIM_TXDQS4 */
3965                         0x00000000, /* EMC_DLI_TRIM_TXDQS5 */
3966                         0x00000000, /* EMC_DLI_TRIM_TXDQS6 */
3967                         0x00000000, /* EMC_DLI_TRIM_TXDQS7 */
3968                         0x00000000, /* EMC_DLI_TRIM_TXDQS8 */
3969                         0x00000000, /* EMC_DLI_TRIM_TXDQS9 */
3970                         0x00000000, /* EMC_DLI_TRIM_TXDQS10 */
3971                         0x00000000, /* EMC_DLI_TRIM_TXDQS11 */
3972                         0x00000000, /* EMC_DLI_TRIM_TXDQS12 */
3973                         0x00000000, /* EMC_DLI_TRIM_TXDQS13 */
3974                         0x00000000, /* EMC_DLI_TRIM_TXDQS14 */
3975                         0x00000000, /* EMC_DLI_TRIM_TXDQS15 */
3976                         0x00080000, /* EMC_DLL_XFORM_DQ0 */
3977                         0x00080000, /* EMC_DLL_XFORM_DQ1 */
3978                         0x00080000, /* EMC_DLL_XFORM_DQ2 */
3979                         0x00080000, /* EMC_DLL_XFORM_DQ3 */
3980               &nb