blob: 510f690b53cf22d6f2cdfc6805e46a2927f87f61 [file] [log] [blame]
Dave Frodind6aa7cf2014-11-21 14:57:03 -07001#
2# This file is part of the coreboot project.
3#
4# Copyright (C) 2014 Sage Electronic Engineering, LLC.
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; version 2 of the License.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
Dave Frodind6aa7cf2014-11-21 14:57:03 -070014
15# Gizmo2 has 1GB using 4 Micron_MT41J128M16JT-125 chips
16# The datasheet is available at:
17# http://download.micron.com/pdf/datasheets/dram/ddr3/2Gb_DDR3_SDRAM.pdf
18
19# SPD contents for Gizmo2 2GB DDR3 (1600MHz PC3-12800) soldered down
20
21# 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage
22# bits[3:0]: 1 = 128 SPD Bytes Used
23# bits[6:4]: 1 = 256 SPD Bytes Total
24# bit7 : 0 = CRC covers bytes 0 ~ 125
2511
26
27# 1 SPD Revision -
28# 0x10 = Revision 1.0
2910
30
31# 2 Key Byte / DRAM Device Type
32# bits[7:0]: 0x0b = DDR3 SDRAM
330B
34
35# 3 Key Byte / Module Type
36# bits[3:0]: 3 = SO-DIMM
37# bits[7:4]: reserved
3803
39
40# 4 SDRAM CHIP Density and Banks
41# bits[3:0]: 3 = 2 Gigabits Total SDRAM capacity per chip
42# bits[6:4]: 0 = 3 (8 banks)
43# bit7 : reserved
4403
45
46# 5 SDRAM Addressing
47# bits[2:0]: 1 = 10 Column Address Bits
48# bits[5:3]: 2 = 14 Row Address Bits
49# bits[7:6]: reserved
5011
51
52# 6 Module Nominal Voltage, VDD
53# bit0 : 0 = 1.5 V operable
54# bit1 : 0 = NOT 1.35 V operable
55# bit2 : 0 = NOT 1.25 V operable
56# bits[7:3]: reserved
5700
58
59# 7 Module Organization
60# bits[2:0]: 2 = 16 bits
61# bits[5:3]: 0 = 1 Rank
62# bits[7:6]: reserved
6302
64
65# 8 Module Memory Bus Width
66# bits[2:0]: 3 = Primary bus width is 64 bits
67# bits[4:3]: 0 = 0 bits (no bus width extension)
68# bits[7:5]: reserved
6903
70
71# 9 Fine Timebase (FTB) Dividend / Divisor
72# bits[3:0]: 0x02 divisor
73# bits[7:4]: 0x05 dividend
74# 5/2 = 2.5ps
7552
76
77# 10 Medium Timebase (MTB) Dividend
78# 11 Medium Timebase (MTB) Divisor
79# 1 / 8 = .125 ns - used for clock freq of 400 through 1066 MHz
8001 08
81
82# 12 SDRAM Minimum Cycle Time (tCKmin)
83# 0x0a = tCKmin of 1.25 ns = DDR3-1600 (800 MHz clock)
840A
85
86# 13 Reserved
8700
88
89# 14 CAS Latencies Supported, Least Significant Byte
90# 15 CAS Latencies Supported, Most Significant Byte
91# Cas Latencies of 11 - 5 are supported
92FE 00
93
94# 16 Minimum CAS Latency Time (tAAmin)
95# 0x6E = 13.75ns - DDR3-1600K
966E
97
98# 17 Minimum Write Recovery Time (tWRmin)
99# 0x78 = tWR of 15ns - All DDR3 speed grades
10078
101
102# 18 Minimum RAS# to CAS# Delay Time (tRCDmin)
103# 0x6E = 13.75ns - DDR3-1600K
1046E
105
106# 19 Minimum Row Active to Row Active Delay Time (tRRDmin)
107# 0x3C = 7.5ns
1083C
109
110# 20 Minimum Row Precharge Delay Time (tRPmin)
111# 0x6E = 13.75ns - DDR3-1600K
1126E
113
114# 21 Upper Nibbles for tRAS and tRC
115# bits[3:0]: tRAS most significant nibble = 1 (see byte 22)
116# bits[7:4]: tRC most significant nibble = 1 (see byte 23)
11711
118
119# 22 Minimum Active to Precharge Delay Time (tRASmin), LSB
120# 0x118 = 35ns - DDR3-1600 (see byte 21)
12118
122
123# 23 Minimum Active to Active/Refresh Delay Time (tRCmin), LSB
124# 0x186 = 48.75ns - DDR3-1600K
12586
126
127# 24 Minimum Refresh Recovery Delay Time (tRFCmin), LSB
128# 25 Minimum Refresh Recovery Delay Time (tRFCmin), MSB
129# 0x500 = 160ns - for 2 Gigabit chips
13000 05
131
132# 26 Minimum Internal Write to Read Command Delay Time (tWTRmin)
133# 0x3c = 7.5 ns - All DDR3 SDRAM speed bins
1343C
135
136# 27 Minimum Internal Read to Precharge Command Delay Time (tRTPmin)
137# 0x3c = 7.5ns - All DDR3 SDRAM speed bins
1383C
139
140# 28 Upper Nibble for tFAWmin
141# 29 Minimum Four Activate Window Delay Time (tFAWmin)
142# 0x0140 = 40ns - DDR3-1600, 2 KB page size
14301 40
144
145# 30 SDRAM Optional Feature
146# bit0 : 1= RZQ/6 supported
147# bit1 : 1 = RZQ/7 supported
148# bits[6:2]: reserved
149# bit7 : 1 = DLL Off mode supported
15083
151
152# 31 SDRAM Thermal and Refresh Options
153# bit0 : 1 = Temp up to 95c supported
154# bit1 : 0 = 85-95c uses 2x refresh rate
155# bit2 : 1 = Auto Self Refresh supported
156# bit3 : 0 = no on die thermal sensor
157# bits[6:4]: reserved
158# bit7 : 0 = partial self refresh supported
15905
160
161# 32 Module Thermal Sensor
162# 0 = Thermal sensor not incorporated onto this assembly
16300
164
165# 33 SDRAM Device Type
166# bits[1:0]: 0 = Signal Loading not specified
167# bits[3:2]: reserved
168# bits[6:4]: 0 = Die count not specified
169# bit7 : 0 = Standard Monolithic DRAM Device
17000
171
172# 34 Fine Offset for SDRAM Minimum Cycle Time (tCKmin)
173# 35 Fine Offset for Minimum CAS Latency Time (tAAmin)
174# 36 Fine Offset for Minimum RAS# to CAS# Delay Time (tRCDmin)
175# 37 Fine Offset for Minimum Row Precharge Delay Time (tRPmin)
176# 38 Fine Offset for Minimum Active to Active/Refresh Delay (tRCmin)
17700 00 00 00 00
178
179# 39 - 59 (reserved)
18000 00 00 00 00 00 00 00
18100 00 00 00 00 00 00 00
18200 00 00 00 00
183
184# 60 Raw Card Extension, Module Nominal Height
185# bits[4:0]: 0 = <= 15mm tall
186# bits[7:5]: 0 = raw card revision 0-3
18700
188
189# 61 Module Maximum Thickness
190# bits[3:0]: 0 = thickness front <= 1mm
191# bits[7:4]: 0 = thinkness back <= 1mm
19200
193
194# 62 Reference Raw Card Used
195# bits[4:0]: 0 = Reference Raw card A used
196# bits[6:5]: 0 = revision 0
197# bit7 : 0 = Reference raw cards A through AL
19800
199
200# 63 Address Mapping from Edge Connector to DRAM
201# bit0 : 0 = standard mapping (not mirrored)
202# bits[7:1]: reserved
20300
204
205# 64 - 116 (reserved)
20600 00 00 00 00 00 00 00
20700 00 00 00 00 00 00 00
20800 00 00 00 00 00 00 00
20900 00 00 00 00 00 00 00
21000 00 00 00 00 00 00 00
21100 00 00 00 00 00 00 00
21200 00 00 00 00
213
214# 117 - 118 Module ID: Module Manufacturers JEDEC ID Code
215# 0x0001 = AMD
21600 01
217
218# 119 Module ID: Module Manufacturing Location - oem specified
219# 120 Module ID: Module Manufacture Year in BCD
220# 0x13 = 2013
22100 13
222
223# 121 Module ID: Module Manufacture week
224# 0x12 = 12th week
22512
226
227# 122 - 125: Module Serial Number
22853 41 47 45
229
230# 126 - 127: Cyclical Redundancy Code
23100 00