Kconfig 5.33 KB
Newer Older
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
# 
# (C) Copyright 2013 Elphel, Inc.
# 
# Configuration for ezynq for Micron MT41J256M8HX15E DDR3 memory
# 
# This program is free software; you can redistribute it andor
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of
# the License, or (at your option) any later version.
# 
# 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., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA

config EZYNQ_DDR_DS_PARTNO
	string
	default 'mt41j256m8hx15e'
	help
	  Memory part number  (currently not used - derive some parameters
	  later)

config EZYNQ_DDR_DS_MEMORY_TYPE
	string
	default 'ddr3'
	help
	  DDR memory type: DDR3 (1.5V), DDR3L (1.35V), DDR2 (1.8V), LPDDR2
	  (1.2V)

config EZYNQ_DDR_DS_BANK_ADDR_COUNT
	int
	default 3
	help
	  Number of DDR banks

config EZYNQ_DDR_DS_ROW_ADDR_COUNT
	int
	default 15
	help
	  Number of DDR Row Address bits

config EZYNQ_DDR_DS_COL_ADDR_COUNT
	int
	default 10
	help
	  Number of DDR Column address bits

config EZYNQ_DDR_DS_DRAM_WIDTH
	int
	default 8
	help
	  Memory chip bus width (not yet used)

config EZYNQ_DDR_DS_RCD
	int
	default 7
	help
	  DESCRIPTION':'RAS to CAS delay (in tCK)

config EZYNQ_DDR_DS_T_RCD
	string
	default '13.125'
	help
	  Activate to internal Read or Write (ns). May be used to
	  calculate CONFIG_EZYNQ_DDR_DS_RCD automatically

config EZYNQ_DDR_DS_RP
	int
	default 7
	help
	  Row Precharge time (in tCK)

config EZYNQ_DDR_DS_T_RP
	string
	default '13.125'
	help
	  Precharge command period (ns).  May be used to calculate
	  CONFIG_EZYNQ_DDR_DS_RP automatically,

config EZYNQ_DDR_DS_T_RC
	string
	default '49.5'
	help
	  Activate to Activate or Refresh command period (ns)

config EZYNQ_DDR_DS_T_RAS_MIN
	string
	default '36.0'
	help
	  Minimal Row Active time (ns)

config EZYNQ_DDR_DS_T_FAW
	string
	default '30.0'
	help
	  Minimal running window for 4 page activates (ns)

config EZYNQ_DDR_DS_T_RFC
	string
	default '300.0'
	help
	  Minimal Refresh-to-Activate or Refresh command period (ns)

config EZYNQ_DDR_DS_T_WR
	string
	default '15.0'
	help
	  Write recovery time (ns)

config EZYNQ_DDR_DS_T_REFI_US
	string
	default '7.8'
	help
	  Maximal average periodic refresh, microseconds. Will be
	  automatically reduced if high temperature option is selected

config EZYNQ_DDR_DS_RTP
	int
	default 4
	help
	  Minimal Read-to-Precharge time (in tCK). Will use max of this
	  and CONFIG_EZYNQ_DDR_DS_T_RTP/tCK

config EZYNQ_DDR_DS_T_RTP
	string
	default '7.5'
	help
	  Minimal Read-to-Precharge time  (ns). Will use max of this
	  divided by tCK and CONFIG_EZYNQ_DDR_DS_RTP

config EZYNQ_DDR_DS_WTR
	int
	default 4
	help
	  Minimal Write-to-Read time (in tCK). Will use max of this and
	  CONFIG_EZYNQ_DDR_DS_T_WTR/tCK

config EZYNQ_DDR_DS_T_WTR
	string
	default '7.5'
	help
	  Minimal Write-to-Read time  (ns). Will use max of this divided
	  by tCK and CONFIG_EZYNQ_DDR_DS_WTR

config EZYNQ_DDR_DS_XP
	int
	default 4
	help
	  Minimal time from power down (DLL on) to any operation (in tCK)

config EZYNQ_DDR_DS_T_DQSCK_MAX
	string
	default '5.5'
	help
	  LPDDR2 only. DQS output access time from CK (ns). Used for
	  LPDDR2

config EZYNQ_DDR_DS_CCD
	int
	default 5
	help
	  DESCRIPTION':'CAS-to-CAS command delay (in tCK) (4 in Micron DS)

config EZYNQ_DDR_DS_RRD
	int
	default 6
	help
	  ACTIVATE-to-ACTIVATE minimal command period (in tCK)

config EZYNQ_DDR_DS_T_RRD
	string
	default '10.0'
	help
	  ACTIVATE-to-ACTIVATE minimal command period (ns). May be used to
	  calculate CONFIG_EZYNQ_DDR_DS_RRD automatically

config EZYNQ_DDR_DS_MRD
	int
	default 4
	help
	  MODE REGISTER SET command period (in tCK)

config EZYNQ_DDR_DS_MOD
	int
	default 12
	help
	  MODE REGISTER SET update delay (in tCK)

config EZYNQ_DDR_DS_T_MOD
	string
	default '15.0'
	help
	  MODE REGISTER SET update delay  (ns).

config EZYNQ_DDR_DS_T_WLMRD
	string
	default '40.0'
	help
	  Write leveling : time to the first DQS rising edge (ns).

config EZYNQ_DDR_DS_CKE
	int
	default 3
	help
	  CKE min pulse width (in tCK)

config EZYNQ_DDR_DS_T_CKE
	string
	default '7.5'
	help
	  CKE min pulse width (ns). 5.625

config EZYNQ_DDR_DS_CKSRE
	int
	default 5
	help
	  Keep valid clock after self refresh/power down entry (in tCK)

config EZYNQ_DDR_DS_T_CKSRE
	string
	default '10.0'
	help
	  Keep valid clock after self refresh/power down entry (ns).

config EZYNQ_DDR_DS_CKSRX
	int
	default 5
	help
	  Valid clock before self refresh, power down or reset exit (in
	  tCK)

config EZYNQ_DDR_DS_T_CKSRX
	string
	default '10.0'
	help
	  Valid clock before self refresh, power down or reset exit (ns).

config EZYNQ_DDR_DS_ZQCS
	int
	default 64
	help
	  ZQCS command: short calibration time (in tCK)

config EZYNQ_DDR_DS_ZQCL
	int
	default 512
	help
	  ZQCL command: long calibration time, including init (in tCK)

config EZYNQ_DDR_DS_INIT2
	int
	default 5
	help
	  LPDDR2 only: tINIT2 (in tCK): clock stable before CKE high

config EZYNQ_DDR_DS_T_INIT4_US
	string
	default '1.0'
	help
	  LPDDR2 only: tINIT4 (in us)- minimal idle time after RESET
	  command.

config EZYNQ_DDR_DS_T_INIT5_US
	string
	default '10.0'
	help
	  LPDDR2 only: tINIT5 (in us)- maximal duration of device auto
	  initialization.

config EZYNQ_DDR_DS_T_ZQINIT_US
	string
	default '1.0'
	help
	  LPDDR2 only: tZQINIT (in us)- ZQ initial calibration time.