blob: f091d6b294c1ff1a439200c6252bc174197038f7 [file] [log] [blame]
Kyösti Mälkki8c190f32014-11-14 16:20:22 +02001#
2# This file is part of the coreboot project.
3#
4# This program is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; version 2 of the License.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
Kyösti Mälkki8c190f32014-11-14 16:20:22 +020012
13# HYNIX-H5TQ4G83MFR
14
15# SPD contents for APU 2GB DDR3 (1333MHz PC1333) soldered down
16# 0 Number of SPD Bytes used / Total SPD Size / CRC Coverage
17# bits[3:0]: 1 = 128 SPD Bytes Used
18# bits[6:4]: 1 = 256 SPD Bytes Total
19# bit7 : 0 = CRC covers bytes 0 ~ 125
2011
21
22# 1 SPD Revision -
23# 0x10 = Revision 1.0
2410
25# 2 Key Byte / DRAM Device Type
26# bits[7:0]: 0x0b = DDR3 SDRAM
270B
28
29# 3 Key Byte / Module Type
30# bits[3:0]: 3 = SO-DIMM
31# bits[7:4]: reserved
3203
33
34# 4 SDRAM CHIP Density and Banks
35# bits[3:0]: 3 = 2 Gigabits Total SDRAM capacity per chip
36# bits[3:0]: 4 = 4 Gigabits Total SDRAM capacity per chip
37# bits[6:4]: 0 = 3 (8 banks)
38# bit7 : reserved
3904
40
41# 5 SDRAM Addressing
42# bits[2:0]: 1 = 10 Column Address Bits
43# bits[5:3]: 3 = 15 Row Address Bits
44# bits[5:3]: 4 = 16 Row Address Bits
45# bits[7:6]: reserved
4621
47
48# 6 Module Nominal Voltage, VDD
49# bit0 : 0 = 1.5 V operable
50# bit1 : 0 = NOT 1.35 V operable
51# bit2 : 0 = NOT 1.25 V operable
52# bits[7:3]: reserved
5300
54
55# 7 Module Organization
56# bits[2:0]: 1 = 8 bits
57# bits[5:3]: 0 = 1 Rank
58# bits[7:6]: reserved
5901
60
61# 8 Module Memory Bus Width
62# bits[2:0]: 3 = Primary bus width is 64 bits
63# bits[4:3]: 0 = 0 bits (no bus width extension)
64# bits[7:5]: reserved
6503
66
67# 9 Fine Timebase (FTB) Dividend / Divisor
68# bits[3:0]: 0x01 divisor
69# bits[7:4]: 0x01 dividend
70# 1 / 1 = 1.0 ps
7111
72
73# 10 Medium Timebase (MTB) Dividend
74# 11 Medium Timebase (MTB) Divisor
75# 1 / 8 = .125 ns
7601 08
77
78# 12 SDRAM Minimum Cycle Time (tCKmin)
79# 0x0c = tCKmin of 1.5 ns = in multiples of MTB
800C
81
82# 13 Reserved
8300
84
85# 14 CAS Latencies Supported, Least Significant Byte
86# 15 CAS Latencies Supported, Most Significant Byte
87# Cas Latencies of 11 - 5 are supported
887E 00
89
90# 16 Minimum CAS Latency Time (tAAmin)
91# 0x6C = 13.5ns - DDR3-1333
926C
93
94# 17 Minimum Write Recovery Time (tWRmin)
95# 0x78 = tWR of 15ns - All DDR3 speed grades
9678
97
98# 18 Minimum RAS# to CAS# Delay Time (tRCDmin)
99# 0x6E = 13.5ns - DDR3-1333
1006C
101
102# 19 Minimum Row Active to Row Active Delay Time (tRRDmin)
103# 0x30 = 6ns
10430
105
106# 20 Minimum Row Precharge Delay Time (tRPmin)
107# 0x6C = 13.5ns - DDR3-1333
1086C
109
110# 21 Upper Nibbles for tRAS and tRC
111# bits[3:0]: tRAS most significant nibble = 1 (see byte 22)
112# bits[7:4]: tRC most significant nibble = 1 (see byte 23)
11311
114
115# 22 Minimum Active to Precharge Delay Time (tRASmin), LSB
116# 0x120 = 36ns - DDR3-1333 (see byte 21)
11720
118
119# 23 Minimum Active to Active/Refresh Delay Time (tRCmin), LSB
120# 0x28C = 49.5ns - DDR3-1333
1218C
122
123# 24 Minimum Refresh Recovery Delay Time (tRFCmin), LSB
124# 25 Minimum Refresh Recovery Delay Time (tRFCmin), MSB
125# 0x500 = 160ns - for 2 Gigabit chips
Kyösti Mälkkic82ab0a2015-10-14 16:03:56 +0300126# 0x820 = 260ns - for 4 Gigabit chips
12720 08
Kyösti Mälkki8c190f32014-11-14 16:20:22 +0200128
129# 26 Minimum Internal Write to Read Command Delay Time (tWTRmin)
130# 0x3c = 7.5 ns - All DDR3 SDRAM speed bins
1313C
132
133# 27 Minimum Internal Read to Precharge Command Delay Time (tRTPmin)
134# 0x3c = 7.5ns - All DDR3 SDRAM speed bins
1353C
136
137# 28 Upper Nibble for tFAWmin
138# 29 Minimum Four Activate Window Delay Time (tFAWmin)
139# 0x00F0 = 30ns - DDR3-1333, 1 KB page size
14000 F0
141
142# 30 SDRAM Optional Feature
143# bit0 : 1= RZQ/6 supported
144# bit1 : 1 = RZQ/7 supported
145# bits[6:2]: reserved
146# bit7 : 1 = DLL Off mode supported
14783
148
149# 31 SDRAM Thermal and Refresh Options
150# bit0 : 1 = Temp up to 95c supported
151# bit1 : 0 = 85-95c uses 2x refresh rate
152# bit2 : 1 = Auto Self Refresh supported
153# bit3 : 0 = no on die thermal sensor
154# bits[6:4]: reserved
155# bit7 : 0 = partial self refresh supported
15605
157
158# 32 Module Thermal Sensor
159# 0 = Thermal sensor not incorporated onto this assembly
16000
161
162# 33 SDRAM Device Type
163# bits[1:0]: 2 = Signal Loading
164# bits[3:2]: reserved
165# bits[6:4]: 4 = Die count
166# bit7 : 0 = Standard Monolithic DRAM Device
16742
168
169# 34 Fine Offset for SDRAM Minimum Cycle Time (tCKmin)
170# 35 Fine Offset for Minimum CAS Latency Time (tAAmin)
171# 36 Fine Offset for Minimum RAS# to CAS# Delay Time (tRCDmin)
172# 37 Fine Offset for Minimum Row Precharge Delay Time (tRPmin)
173# 38 Fine Offset for Minimum Active to Active/Refresh Delay (tRCmin)
17400 00 00 00 00
175
176# 39 (reserved)
17700
178
179# 40 - 47 (reserved)
18000 00 00 00 00 00 00 00
181
182# 48 - 55 (reserved)
18300 00 00 00 00 00 00 00
184
185# 56 - 59 (reserved)
18600 00 00 00
187
188# 60 Raw Card Extension, Module Nominal Height
189# bits[4:0]: 0 = <= 15mm tall
190# bits[7:5]: 0 = raw card revision 0-3
19100
192
193# 61 Module Maximum Thickness
194# bits[3:0]: 0 = thickness front <= 1mm
195# bits[7:4]: 0 = thinkness back <= 1mm
19600
197
198# 62 Reference Raw Card Used
199# bits[4:0]: 0 = Reference Raw card A used
200# bits[6:5]: 0 = revision 0
201# bit7 : 0 = Reference raw cards A through AL
20200
203
204# 63 Address Mapping from Edge Connector to DRAM
205# bit0 : 0 = standard mapping (not mirrored)
206# bits[7:1]: reserved
20700
208
209# 64 - 71 (reserved)
21000 00 00 00 00 00 00 00
211
212# 72 - 79 (reserved)
21300 00 00 00 00 00 00 00
214
215# 80 - 87 (reserved)
21600 00 00 00 00 00 00 00
217
218# 88 - 95 (reserved)
21900 00 00 00 00 00 00 00
220
221# 96 - 103 (reserved)
22200 00 00 00 00 00 00 00
223
224# 104 - 111 (reserved)
22500 00 00 00 00 00 00 00
226
227# 112 - 116 (reserved)
22800 00 00 00 00
229
230# 117 - 118 Module ID: Module Manufacturers JEDEC ID Code
231# 0x0001 = AMD
23200 01
233
234# 119 Module ID: Module Manufacturing Location - oem specified
23500
236
237# 120 Module ID: Module Manufacture Year in BCD
238# 0x13 = 2013
239# 121 Module ID: Module Manufacture week
240# 0x12 = 12th week
24113 12
242
243# 122 - 125: Module Serial Number
24400 00 00 00
245
246# 126 - 127: Cyclical Redundancy Code
Kyösti Mälkki164dbd62015-10-14 17:32:26 +03002477b 97