Dave Frodin | d6aa7cf | 2014-11-21 14:57:03 -0700 | [diff] [blame] | 1 | # |
| 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 Frodin | d6aa7cf | 2014-11-21 14:57:03 -0700 | [diff] [blame] | 14 | |
| 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 |
| 25 | 11 |
| 26 | |
| 27 | # 1 SPD Revision - |
| 28 | # 0x10 = Revision 1.0 |
| 29 | 10 |
| 30 | |
| 31 | # 2 Key Byte / DRAM Device Type |
| 32 | # bits[7:0]: 0x0b = DDR3 SDRAM |
| 33 | 0B |
| 34 | |
| 35 | # 3 Key Byte / Module Type |
| 36 | # bits[3:0]: 3 = SO-DIMM |
| 37 | # bits[7:4]: reserved |
| 38 | 03 |
| 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 |
| 44 | 03 |
| 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 |
| 50 | 11 |
| 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 |
| 57 | 00 |
| 58 | |
| 59 | # 7 Module Organization |
| 60 | # bits[2:0]: 2 = 16 bits |
| 61 | # bits[5:3]: 0 = 1 Rank |
| 62 | # bits[7:6]: reserved |
| 63 | 02 |
| 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 |
| 69 | 03 |
| 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 |
| 75 | 52 |
| 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 |
| 80 | 01 08 |
| 81 | |
| 82 | # 12 SDRAM Minimum Cycle Time (tCKmin) |
| 83 | # 0x0a = tCKmin of 1.25 ns = DDR3-1600 (800 MHz clock) |
| 84 | 0A |
| 85 | |
| 86 | # 13 Reserved |
| 87 | 00 |
| 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 |
| 92 | FE 00 |
| 93 | |
| 94 | # 16 Minimum CAS Latency Time (tAAmin) |
| 95 | # 0x6E = 13.75ns - DDR3-1600K |
| 96 | 6E |
| 97 | |
| 98 | # 17 Minimum Write Recovery Time (tWRmin) |
| 99 | # 0x78 = tWR of 15ns - All DDR3 speed grades |
| 100 | 78 |
| 101 | |
| 102 | # 18 Minimum RAS# to CAS# Delay Time (tRCDmin) |
| 103 | # 0x6E = 13.75ns - DDR3-1600K |
| 104 | 6E |
| 105 | |
| 106 | # 19 Minimum Row Active to Row Active Delay Time (tRRDmin) |
| 107 | # 0x3C = 7.5ns |
| 108 | 3C |
| 109 | |
| 110 | # 20 Minimum Row Precharge Delay Time (tRPmin) |
| 111 | # 0x6E = 13.75ns - DDR3-1600K |
| 112 | 6E |
| 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) |
| 117 | 11 |
| 118 | |
| 119 | # 22 Minimum Active to Precharge Delay Time (tRASmin), LSB |
| 120 | # 0x118 = 35ns - DDR3-1600 (see byte 21) |
| 121 | 18 |
| 122 | |
| 123 | # 23 Minimum Active to Active/Refresh Delay Time (tRCmin), LSB |
| 124 | # 0x186 = 48.75ns - DDR3-1600K |
| 125 | 86 |
| 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 |
| 130 | 00 05 |
| 131 | |
| 132 | # 26 Minimum Internal Write to Read Command Delay Time (tWTRmin) |
| 133 | # 0x3c = 7.5 ns - All DDR3 SDRAM speed bins |
| 134 | 3C |
| 135 | |
| 136 | # 27 Minimum Internal Read to Precharge Command Delay Time (tRTPmin) |
| 137 | # 0x3c = 7.5ns - All DDR3 SDRAM speed bins |
| 138 | 3C |
| 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 |
| 143 | 01 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 |
| 150 | 83 |
| 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 |
| 159 | 05 |
| 160 | |
| 161 | # 32 Module Thermal Sensor |
| 162 | # 0 = Thermal sensor not incorporated onto this assembly |
| 163 | 00 |
| 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 |
| 170 | 00 |
| 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) |
| 177 | 00 00 00 00 00 |
| 178 | |
| 179 | # 39 - 59 (reserved) |
| 180 | 00 00 00 00 00 00 00 00 |
| 181 | 00 00 00 00 00 00 00 00 |
| 182 | 00 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 |
| 187 | 00 |
| 188 | |
| 189 | # 61 Module Maximum Thickness |
| 190 | # bits[3:0]: 0 = thickness front <= 1mm |
| 191 | # bits[7:4]: 0 = thinkness back <= 1mm |
| 192 | 00 |
| 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 |
| 198 | 00 |
| 199 | |
| 200 | # 63 Address Mapping from Edge Connector to DRAM |
| 201 | # bit0 : 0 = standard mapping (not mirrored) |
| 202 | # bits[7:1]: reserved |
| 203 | 00 |
| 204 | |
| 205 | # 64 - 116 (reserved) |
| 206 | 00 00 00 00 00 00 00 00 |
| 207 | 00 00 00 00 00 00 00 00 |
| 208 | 00 00 00 00 00 00 00 00 |
| 209 | 00 00 00 00 00 00 00 00 |
| 210 | 00 00 00 00 00 00 00 00 |
| 211 | 00 00 00 00 00 00 00 00 |
| 212 | 00 00 00 00 00 |
| 213 | |
| 214 | # 117 - 118 Module ID: Module Manufacturers JEDEC ID Code |
| 215 | # 0x0001 = AMD |
| 216 | 00 01 |
| 217 | |
| 218 | # 119 Module ID: Module Manufacturing Location - oem specified |
| 219 | # 120 Module ID: Module Manufacture Year in BCD |
| 220 | # 0x13 = 2013 |
| 221 | 00 13 |
| 222 | |
| 223 | # 121 Module ID: Module Manufacture week |
| 224 | # 0x12 = 12th week |
| 225 | 12 |
| 226 | |
| 227 | # 122 - 125: Module Serial Number |
| 228 | 53 41 47 45 |
| 229 | |
| 230 | # 126 - 127: Cyclical Redundancy Code |
| 231 | 00 00 |