summaryrefslogtreecommitdiff
path: root/util/msrtool/geodegx2.c
blob: 8ec06c2172697c9993b1c01b1d8e113fdb2a263e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
/*
 * This file is part of msrtool.
 *
 * Copyright (c) 2008 Peter Stuge <peter@stuge.se>
 * Copyright (c) 2009 Nils Jacobs <njacobs8@hetnet.nl>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 */

#include "msrtool.h"

int geodegx2_probe(const struct targetdef *target) {
	struct cpuid_t *id = cpuid();
	return 5 == id->family && 5 == id->model;
}

const struct msrdef geodegx2_msrs[] = {
	{ 0x20000018, MSRTYPE_RDWR, MSR2(0x10071007, 0x40), "MC_CF07_DATA", "Refresh and SDRAM Program", {
		{ 63, 4, "D1_SZ", "DIMM1 Size", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "8 MB" },
			{ MSR1(2), "16 MB" },
			{ MSR1(3), "32 MB" },
			{ MSR1(4), "64 MB" },
			{ MSR1(5), "128 MB" },
			{ MSR1(6), "256 MB" },
			{ MSR1(7), "512 MB" },
			{ MSR1(8), "Reserved" },
			{ MSR1(9), "Reserved" },
			{ MSR1(10), "Reserved" },
			{ MSR1(11), "Reserved" },
			{ MSR1(12), "Reserved" },
			{ MSR1(13), "Reserved" },
			{ MSR1(14), "Reserved" },
			{ MSR1(15), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 59, 3, RESERVED },
		{ 56, 1, "D1_MB", "DIMM1 Module Banks", PRESENT_BIN, {
			{ MSR1(0), "1 Module bank" },
			{ MSR1(1), "2 Module banks" },
			{ BITVAL_EOT }
		}},
		{ 55, 3, RESERVED },
		{ 52, 1, "D1_CB", "DIMM1 Component Banks", PRESENT_BIN, {
			{ MSR1(0), "2 Component banks" },
			{ MSR1(1), "4 Component banks" },
			{ BITVAL_EOT }
		}},
		{ 51, 1, RESERVED },
		{ 50, 3, "D1_PSZ", "DIMM1 Page Size", PRESENT_BIN, {
			{ MSR1(0), "1 KB" },
			{ MSR1(1), "2 KB" },
			{ MSR1(2), "4 KB" },
			{ MSR1(3), "8 KB" },
			{ MSR1(4), "16 KB" },
			{ MSR1(5), "Reserved" },
			{ MSR1(6), "Reserved" },
			{ MSR1(7), "DIMM1 Not Installed" },
			{ BITVAL_EOT }
		}},
		{ 47, 4, "D0_SZ", "DIMM0 Size", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "8 MB" },
			{ MSR1(2), "16 MB" },
			{ MSR1(3), "32 MB" },
			{ MSR1(4), "64 MB" },
			{ MSR1(5), "128 MB" },
			{ MSR1(6), "256 MB" },
			{ MSR1(7), "512 MB" },
			{ MSR1(8), "Reserved" },
			{ MSR1(9), "Reserved" },
			{ MSR1(10), "Reserved" },
			{ MSR1(11), "Reserved" },
			{ MSR1(12), "Reserved" },
			{ MSR1(13), "Reserved" },
			{ MSR1(14), "Reserved" },
			{ MSR1(15), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 43, 3, RESERVED },
		{ 40, 1, "D0_MB", "DIMM0 Module Banks", PRESENT_BIN, {
			{ MSR1(0), "1 Module bank" },
			{ MSR1(1), "2 Module banks" },
			{ BITVAL_EOT }
		}},
		{ 39, 3, RESERVED },
		{ 36, 1, "D0_CB", "DIMM0 Component Banks", PRESENT_BIN, {
			{ MSR1(0), "2 Component banks" },
			{ MSR1(1), "4 Component banks" },
			{ BITVAL_EOT }
		}},
		{ 35, 1, RESERVED },
		{ 34, 3, "D0_PSZ", "DIMM0 Page Size", PRESENT_BIN, {
			{ MSR1(0), "1 KB" },
			{ MSR1(1), "2 KB" },
			{ MSR1(2), "4 KB" },
			{ MSR1(3), "8 KB" },
			{ MSR1(4), "16 KB" },
			{ MSR1(5), "Reserved" },
			{ MSR1(6), "Reserved" },
			{ MSR1(7), "DIMM0 Not Installed" },
			{ BITVAL_EOT }
		}},
		{ 31, 2, RESERVED },
		{ 29, 2, "EMR_BA", "Mode Register Set Bank Address", PRESENT_BIN, {
			{ MSR1(0), "Program the DIMM Mode Register" },
			{ MSR1(1), "Program the DIMM Extended Mode Register" },
			{ MSR1(2), "Reserved" },
			{ MSR1(3), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 27, 1, RESERVED },
		{ 26, 1, "EMR_QFC", "Extended Mode Register FET Control", PRESENT_BIN, {
			{ MSR1(0), "Enable" },
			{ MSR1(1), "Disable" },
			{ BITVAL_EOT }
		}},
		{ 25, 1, "EMR_DRV", "Extended Mode Register Drive Strength Control", PRESENT_BIN, {
			{ MSR1(0), "Normal" },
			{ MSR1(1), "Reduced" },
			{ BITVAL_EOT }
		}},
		{ 24, 1, "EMR_DLL", "Extended Mode Register DLL", PRESENT_BIN, {
			{ MSR1(0), "Enable" },
			{ MSR1(1), "Disable" },
			{ BITVAL_EOT }
		}},
		{ 23, 16, "REF_INT", "Refresh Interval", PRESENT_DEC, NOBITS },
		{ 7, 2, "REF_STAG", "Refresh Staggering", PRESENT_DEC, {
			{ MSR1(0), "4 SDRAM Clks" },
			{ MSR1(1), "1 SDRAM Clks" },
			{ MSR1(2), "2 SDRAM Clks" },
			{ MSR1(3), "3 SDRAM Clks" },
			{ BITVAL_EOT }
		}},
		{ 5, 2, RESERVED },
		{ 3, 1, "REF_TST", "Test Refresh", PRESENT_BIN, NOBITS },
		{ 2, 1, RESERVED },
		{ 1, 1, "SOFT_RST", "Software Reset", PRESENT_BIN, NOBITS },
		{ 0, 1, "PROG_DRAM", "Program Mode Register in SDRAM", PRESENT_BIN, NOBITS },
		{ BITS_EOT }
	}},
	{ 0x20000019, MSRTYPE_RDWR, MSR2(0x18000008, 0x287337a3), "MC_CF8F_DATA", "Timing and Mode Program", {
		{ 63, 8, "STALE_REQ", "GLIU Max Stale Request Count", PRESENT_DEC, NOBITS },
		{ 55, 3, RESERVED },
		{ 52, 2, "XOR_BIT_SEL", "XOR Bit Select", PRESENT_BIN, {
			{ MSR1(0), "ADDR[18]" },
			{ MSR1(1), "ADDR[19]" },
			{ MSR1(2), "ADDR[20]" },
			{ MSR1(3), "ADDR[21]" },
			{ BITVAL_EOT }
		}},
		{ 50, 1, "XOR_MB0", "XOR MB0 Enable", PRESENT_BIN, {
			{ MSR1(0), "Disabled" },
			{ MSR1(1), "Enabled" },
			{ BITVAL_EOT }
		}},
		{ 49, 1, "XOR_BA1", "XOR BA1 Enable", PRESENT_BIN, {
			{ MSR1(0), "Disabled" },
			{ MSR1(1), "Enabled" },
			{ BITVAL_EOT }
		}},
		{ 48, 1, "XOR_BA0", "XOR BA0 Enable", PRESENT_BIN, {
			{ MSR1(0), "Disabled" },
			{ MSR1(1), "Enabled" },
			{ BITVAL_EOT }
		}},
		{ 47, 8, RESERVED },
		{ 39, 1, "AP_B2B", "Autoprecharge Back-to-Back Command", PRESENT_BIN, {
			{ MSR1(0), "Enable" },
			{ MSR1(1), "Disable" },
			{ BITVAL_EOT }
		}},
		{ 38, 1, "AP_EN", "Autoprecharge", PRESENT_BIN, {
			{ MSR1(0), "Enable" },
			{ MSR1(1), "Disable" },
			{ BITVAL_EOT }
		}},
		{ 37, 4, RESERVED },
		{ 33, 1, "HOI_LOI", "High / Low Order Interleave Select", PRESENT_BIN, {
			{ MSR1(0), "Low Order Interleave" },
			{ MSR1(1), "High Order Interleave" },
			{ BITVAL_EOT }
		}},
		{ 32, 1, RESERVED },
		{ 31, 1, "THZ_DLY", "tHZ Delay", PRESENT_BIN, NOBITS },
		{ 30, 3, "CAS_LAT", "Read CAS Latency", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "Reserved" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "Reserved" },
			{ MSR1(4), "Reserved" },
			{ MSR1(5), "1.5 Clks" },
			{ MSR1(6), "2.5 Clks" },
			{ MSR1(7), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 27, 4, "REF2ACT", "ACT to ACT/REF Period. tRC", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "7 Clks" },
			{ MSR1(7), "8 Clks" },
			{ MSR1(8), "9 Clks" },
			{ MSR1(9), "10 Clks" },
			{ MSR1(10), "11 Clks" },
			{ MSR1(11), "12 Clks" },
			{ MSR1(12), "13 Clks" },
			{ MSR1(13), "14 Clks" },
			{ MSR1(14), "15 Clks" },
			{ MSR1(15), "16 Clks" },
			{ BITVAL_EOT }
		}},
		{ 23, 4, "ACT2PRE", "ACT to PRE Period. tRAS", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "7 Clks" },
			{ MSR1(7), "8 Clks" },
			{ MSR1(8), "9 Clks" },
			{ MSR1(9), "10 Clks" },
			{ MSR1(10), "11 Clks" },
			{ MSR1(11), "12 Clks" },
			{ MSR1(12), "13 Clks" },
			{ MSR1(13), "14 Clks" },
			{ MSR1(14), "15 Clks" },
			{ MSR1(15), "16 Clks" },
			{ BITVAL_EOT }
		}},
		{ 19, 1, RESERVED },
		{ 18, 3, "PRE2ACT", "PRE to ACT Period. tRP", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "6 Clks" },
			{ MSR1(7), "7 Clks" },
			{ BITVAL_EOT }
		}},
		{ 15, 1, RESERVED },
		{ 14, 3, "ACT2CMD", "Delay Time from ACT to Read/Write. tRCD", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "6 Clks" },
			{ MSR1(7), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 11, 4, "ACT2ACT", "ACT(0) to ACT(1) Period. tRRD", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "6 Clks" },
			{ MSR1(7), "7 Clks" },
			{ MSR1(8), "Reserved" },
			{ MSR1(9), "Reserved" },
			{ MSR1(10), "Reserved" },
			{ MSR1(11), "Reserved" },
			{ MSR1(12), "Reserved" },
			{ MSR1(13), "Reserved" },
			{ MSR1(14), "Reserved" },
			{ MSR1(15), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 7, 2, "DPLWR", "Data-in to PRE Period. tDPLW", PRESENT_DEC, {
			{ MSR1(0), "Invalid value" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ BITVAL_EOT }
		}},
		{ 5, 2, "DPLRD", "Data-in to PRE Period. tDPLR", PRESENT_DEC, {
			{ MSR1(0), "Invalid value" },
			{ MSR1(1), "1 Clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ BITVAL_EOT }
		}},
		{ 3, 1, RESERVED },
		{ 2, 3, "DAL", "Data-in to ACT (REF) Period. tDAL", PRESENT_BIN, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "1 clks" },
			{ MSR1(2), "2 Clks" },
			{ MSR1(3), "3 Clks" },
			{ MSR1(4), "4 Clks" },
			{ MSR1(5), "5 Clks" },
			{ MSR1(6), "6 Clks" },
			{ MSR1(7), "7 Clks" },
			{ BITVAL_EOT }
		}},
		{ BITS_EOT }
	}},
	{ 0x2000001a, MSRTYPE_RDWR, MSR2(0, 0), "MC_CF1017_DATA", "Feature Enables", {
		{ 63, 55, RESERVED },
		{ 8, 1, "PM1_UP_DLY", "PMode1 Up Delay", PRESENT_DEC, {
			{ MSR1(0), "No delay" },
			{ MSR1(1), "Enable delay" },
			{ BITVAL_EOT }
		}},
			{ 7, 5, RESERVED },
		{ 2, 3, "WR2DAT", "Write Command to Data Latency", PRESENT_DEC, {
			{ MSR1(0), "Reserved" },
			{ MSR1(1), "Value when unbuffered DDR SDRAMs are used" },
			{ MSR1(2), "Value when registered DDR SDRAMs are used" },
			{ MSR1(3), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ BITS_EOT }
	}},
	{ 0x2000001b, MSRTYPE_RDONLY, MSR2(0, 0), "MC_CFPERF_CNT1", "Performance Counters", {
		{ 63, 32, "CNT0", "Counter 0", PRESENT_DEC, NOBITS },
		{ 31, 32, "CNT1", "Counter 1", PRESENT_DEC, NOBITS },
		{ BITS_EOT }
	}},
	{ 0x2000001c, MSRTYPE_RDWR, MSR2(0, 0x00ff00ff), "MC_PERFCNT2", "Counter and CAS Control", {
		{ 63, 28, RESERVED },
		{ 35, 1, "STOP_CNT1", "Stop Counter 1", PRESENT_DEC, {
			{ MSR1(0), "Counter 1 counts" },
			{ MSR1(1), "Stop Counter" },
			{ BITVAL_EOT }
		}},
			{ 34, 1, "RST_CNT1", "Reset Counter 1", PRESENT_DEC, {
			{ MSR1(0), "Do nothing" },
			{ MSR1(1), "Reset counter 1" },
			{ BITVAL_EOT }
		}},
			{ 33, 1, "STOP_CNT0", "Stop Counter 0", PRESENT_DEC, {
			{ MSR1(0), "Counter 0 counts" },
			{ MSR1(1), "Stop counter 0" },
			{ BITVAL_EOT }
		}},
			{ 32, 1, "RST_CNT0", "Reset Counter 0", PRESENT_DEC, {
			{ MSR1(0), "Do nothing" },
			{ MSR1(1), "Reset counter 0" },
			{ BITVAL_EOT }
		}},
		{ 31, 8, "CNT1_MASK", "Counter 1 Mask", PRESENT_BIN, NOBITS },
		{ 23, 8, "CNT1_DATA", "Counter 1 Data", PRESENT_BIN, NOBITS },
		{ 15, 8, "CNT0_MASK", "Counter 0 Mask", PRESENT_BIN, NOBITS },
		{ 7, 8, "CNT0_DATA", "Counter 0 Data", PRESENT_BIN, NOBITS },
		{ BITS_EOT }
	}},
	{ 0x2000001d, MSRTYPE_RDWR, MSR2(0, 0x300), "MC_CFCLK_DBUG", "Clocking and Debug", {
		{ 63, 29, RESERVED },
		{ 34, 1, "B2B_EN", "Back-to-Back Command Enable", PRESENT_BIN, {
			{ MSR1(0), "Allow back-to-back commands" },
			{ MSR1(1), "Disable back-to-back commands" },
			{ BITVAL_EOT }
		}},
		{ 33, 1, RESERVED },
		{ 32, 1, "MTEST_EN", "MTEST Enable", PRESENT_BIN, {
			{ MSR1(0), "Disable" },
			{ MSR1(1), "Enable" },
			{ BITVAL_EOT }
		}},
		{ 31, 22, RESERVED },
		{ 9, 1, "MASK_CKE[1:0]", "CKE Mask", PRESENT_BIN, {
			{ MSR1(0), "CKE1 output enable unmasked" },
			{ MSR1(1), "CKE1 output enable masked" },
			{ BITVAL_EOT }
		}},
		{ 8, 1, "MASK_CKE0", "CKE0 Mask", PRESENT_BIN, {
			{ MSR1(0), "CKE0 output enable unmasked" },
			{ MSR1(1), "CKE0 output enable masked" },
			{ BITVAL_EOT }
		}},
		{ 7, 1, "CNTL_MSK1", "Control Mask 1", PRESENT_BIN, {
			{ MSR1(0), "DIMM1 CAS1# RAS1# WE1# CS[3:2]# output enable unmasked" },
			{ MSR1(1), "DIMM1 CAS1# RAS1# WE1# CS[3:2]# output enable masked" },
			{ BITVAL_EOT }
		}},
		{ 6, 1, "CNTL_MSK0", "Control Mask 0", PRESENT_BIN, {
			{ MSR1(0), "DIMM0 CAS0# RAS0# WE0# CS[1:0]# output enable unmasked" },
			{ MSR1(1), "DIMM0 CAS0# RAS0# WE0# CS[1:0]# output enable masked" },
			{ BITVAL_EOT }
		}},
		{ 5, 1, "ADRS_MSK", "Address Mask", PRESENT_BIN, {
			{ MSR1(0), "MA and BA output enable unmasked" },
			{ MSR1(1), "MA and BA output enable masked" },
			{ BITVAL_EOT }
		}},
		{ 4, 5, RESERVED },
		{ BITS_EOT }
	}},
	{ 0x4c00000f, MSRTYPE_RDWR, MSR2(0, 0), "GLCP_DELAY_CONTROLS", "GLCP I/O Delay Controls", {
		{ 63, 1, "EN", "Delay Settings Enable", PRESENT_DEC, {
			{ MSR1(0), "Use default values" },
			{ MSR1(1), "Use value in bits [62:0]" },
			{ BITVAL_EOT }
		}},
		{ 62, 2, RESERVED },
		{ 60, 5, "GIO", "Delay Geode Companion Device", PRESENT_DEC, NOBITS },
		{ 55, 5, "PCI_IN", "Delay PCI Inputs", PRESENT_DEC, NOBITS },
		{ 50, 5, "PCI_OUT", "Delay PCI Outputs", PRESENT_DEC, NOBITS },
		{ 45, 5, RESERVED},
		{ 40, 5, "DOTCLK", "Delay Dot Clock", PRESENT_DEC, NOBITS },
		{ 35, 5, "DRGB", "Delay Digital RGBs", PRESENT_DEC, NOBITS },
		{ 30, 5, "SDCLK_IN", "Delay SDRAM Clock Input", PRESENT_DEC, NOBITS },
		{ 25, 5, "SDCLK_OUT", "Delay SDRAM Clock Output", PRESENT_DEC, NOBITS },
		{ 20, 5, "MEM_CTL", "Delay Memory Controls", PRESENT_DEC, NOBITS },
		{ 15, 9, RESERVED},
		{ 6, 1, "MEM_ODDOUT", "Delay Odd Memory Data Output Bits", PRESENT_DEC, {
			{ MSR1(0), "No Delay" },
			{ MSR1(1), "Delay" },
			{ BITVAL_EOT }
		}},
		{ 5, 2, RESERVED },
		{ 3, 2, "DQS_CLK_IN", "Delay DQS Before Clocking Input", PRESENT_DEC, NOBITS },
		{ 1, 2, "DQS_CLK_OUT", "Delay DQS Before Clocking Output", PRESENT_DEC, NOBITS },
		{ BITS_EOT }
	}},
	{ 0x4c000014, MSRTYPE_RDWR, MSR2(0, 0), "GLCP_SYS_RSTPLL", "GLCP System Reset and PLL Control", {
		{ 63, 19, RESERVED },
		{ 44, 4, "MDIV", "GLIU1 Divisor", PRESENT_BIN, {
			{ MSR1(0), "Divide by 2" },
			{ MSR1(1), "Divide by 3" },
			{ MSR1(2), "Divide by 4" },
			{ MSR1(3), "Divide by 5" },
			{ MSR1(4), "Divide by 6" },
			{ MSR1(5), "Divide by 7" },
			{ MSR1(6), "Divide by 8" },
			{ MSR1(7), "Divide by 9" },
			{ MSR1(8), "Divide by 10" },
			{ MSR1(9), "Divide by 11" },
			{ MSR1(10), "Divide by 12" },
			{ MSR1(11), "Divide by 13" },
			{ MSR1(12), "Divide by 14" },
			{ MSR1(13), "Divide by 15" },
			{ MSR1(14), "Divide by 16" },
			{ MSR1(15), "Divide by 17" },
			{ BITVAL_EOT }
		}},
		{ 40, 3, "VDIV", "CPU Core Divisor", PRESENT_BIN, {
			{ MSR1(0), "Divide by 2" },
			{ MSR1(1), "Divide by 3" },
			{ MSR1(2), "Divide by 4" },
			{ MSR1(3), "Divide by 5" },
			{ MSR1(4), "Divide by 6" },
			{ MSR1(5), "Divide by 7" },
			{ MSR1(6), "Divide by 8" },
			{ MSR1(7), "Divide by 9" },
			{ BITVAL_EOT }
		}},
		{ 37, 6, "FBDIV", "Feedback Devisor", PRESENT_DEC, NOBITS },
		{ 31, 6, "SWFLAGS", "Software Flags", PRESENT_BIN, NOBITS },
		{ 25, 1, "LOCK", "PLL Lock", PRESENT_DEC, {
			{ MSR1(1), "PLL locked" },
			{ MSR1(0), "PLL is not locked" },
			{ BITVAL_EOT }
		}},
		{ 24, 1, "LOCKWAIT", "Lock Wait", PRESENT_DEC, {
			{ MSR1(0), "Disable" },
			{ MSR1(1), "Enable" },
			{ BITVAL_EOT }
		}},
		{ 23, 8, "HOLD_COUNT", "Hold Count, divided by 16", PRESENT_DEC, NOBITS },
		{ 15, 1, "BYPASS", "PLL Bypass", PRESENT_DEC, {
			{ MSR1(0), "Use PLL as Clocksource" },
			{ MSR1(1), "Use DOTREF as Clocksource" },
			{ BITVAL_EOT }
		}},
		{ 14, 1, "PD", "Power Down", PRESENT_DEC, {
			{ MSR1(0), "PLL active" },
			{ MSR1(1), "PLL in power down mode" },
			{ BITVAL_EOT }
		}},
			{ 13, 1, "RESETPLL", "PLL Reset", PRESENT_DEC, NOBITS },
		{ 12, 2, RESERVED },
		{ 10, 1, "DDRMODE", "DDR Mode", PRESENT_DEC, {
			{ MSR1(0), "DDR communication enabled" },
			{ MSR1(1), "Reserved" },
			{ BITVAL_EOT }
		}},
		{ 9, 1, "VA_SEMI_SYNC_MODE", "Synchronous CPU Core and GLIU1", PRESENT_DEC, {
			{ MSR1(1), "CPU does not use GLIU1 FIFO" },
			{ MSR1(0), "The GLIU1 FIFO is used by the CPU" },
			{ BITVAL_EOT }
		}},
		{ 8, 1, "PCI_SEMI_SYNC_MODE", "Synchronous CPU Core and GLIU1", PRESENT_DEC, {
			{ MSR1(1), "PCI does not use mb_func_clk and pci_func_clk falling edges" },
			{ MSR1(0), "Falling edges on mb_func_clk and pci_func_clk are used by PCI" },
			{ BITVAL_EOT }
		}},
		{ 7, 1, "DSTALL", "Debug Stall", PRESENT_DEC, NOBITS },
		{ 6, 3, "BOOTSTRAP_STAT", "Bootstrap Status", PRESENT_BIN, NOBITS },
		{ 3, 1, "DOTPOSTDIV3", "DOTPLL Post-Divide by 3", PRESENT_DEC, NOBITS },
		{ 2, 1, "DOTPREMULT2", "DOTPLL Pre-Multiply by 2", PRESENT_DEC, NOBITS },
		{ 1, 1, "DOTPREDIV2", "DOTPLL Pre-Divide by 2", PRESENT_DEC, NOBITS },
		{ 0, 1, "CHIP_RESET", "Chip Reset", PRESENT_DEC, NOBITS },
		{ BITS_EOT }
	}},
	{ MSR_EOT }
};