Tom Rini | 70df9d6 | 2018-05-07 17:02:21 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | * (c) Copyright 2010-2014 Xilinx, Inc. All rights reserved. |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 4 | ******************************************************************************/ |
| 5 | /****************************************************************************/ |
| 6 | /** |
| 7 | * |
| 8 | * @file ps7_init_gpl.c |
| 9 | * |
| 10 | * This file is automatically generated |
| 11 | * |
| 12 | *****************************************************************************/ |
| 13 | |
Michal Simek | 322b57b | 2017-11-10 11:00:42 +0100 | [diff] [blame] | 14 | #include <asm/arch/ps7_init_gpl.h> |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 15 | |
| 16 | unsigned long ps7_pll_init_data_3_0[] = { |
| 17 | // START: top |
| 18 | // .. START: SLCR SETTINGS |
| 19 | // .. UNLOCK_KEY = 0XDF0D |
| 20 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 21 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 22 | // .. |
| 23 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 24 | // .. FINISH: SLCR SETTINGS |
| 25 | // .. START: PLL SLCR REGISTERS |
| 26 | // .. .. START: ARM PLL INIT |
| 27 | // .. .. PLL_RES = 0x2 |
| 28 | // .. .. ==> 0XF8000110[7:4] = 0x00000002U |
| 29 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 30 | // .. .. PLL_CP = 0x2 |
| 31 | // .. .. ==> 0XF8000110[11:8] = 0x00000002U |
| 32 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 33 | // .. .. LOCK_CNT = 0xfa |
| 34 | // .. .. ==> 0XF8000110[21:12] = 0x000000FAU |
| 35 | // .. .. ==> MASK : 0x003FF000U VAL : 0x000FA000U |
| 36 | // .. .. |
| 37 | EMIT_MASKWRITE(0XF8000110, 0x003FFFF0U ,0x000FA220U), |
| 38 | // .. .. .. START: UPDATE FB_DIV |
| 39 | // .. .. .. PLL_FDIV = 0x28 |
| 40 | // .. .. .. ==> 0XF8000100[18:12] = 0x00000028U |
| 41 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00028000U |
| 42 | // .. .. .. |
| 43 | EMIT_MASKWRITE(0XF8000100, 0x0007F000U ,0x00028000U), |
| 44 | // .. .. .. FINISH: UPDATE FB_DIV |
| 45 | // .. .. .. START: BY PASS PLL |
| 46 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 47 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000001U |
| 48 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 49 | // .. .. .. |
| 50 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000010U), |
| 51 | // .. .. .. FINISH: BY PASS PLL |
| 52 | // .. .. .. START: ASSERT RESET |
| 53 | // .. .. .. PLL_RESET = 1 |
| 54 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000001U |
| 55 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 56 | // .. .. .. |
| 57 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000001U), |
| 58 | // .. .. .. FINISH: ASSERT RESET |
| 59 | // .. .. .. START: DEASSERT RESET |
| 60 | // .. .. .. PLL_RESET = 0 |
| 61 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000000U |
| 62 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 63 | // .. .. .. |
| 64 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000000U), |
| 65 | // .. .. .. FINISH: DEASSERT RESET |
| 66 | // .. .. .. START: CHECK PLL STATUS |
| 67 | // .. .. .. ARM_PLL_LOCK = 1 |
| 68 | // .. .. .. ==> 0XF800010C[0:0] = 0x00000001U |
| 69 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 70 | // .. .. .. |
| 71 | EMIT_MASKPOLL(0XF800010C, 0x00000001U), |
| 72 | // .. .. .. FINISH: CHECK PLL STATUS |
| 73 | // .. .. .. START: REMOVE PLL BY PASS |
| 74 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 75 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000000U |
| 76 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 77 | // .. .. .. |
| 78 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000000U), |
| 79 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 80 | // .. .. .. SRCSEL = 0x0 |
| 81 | // .. .. .. ==> 0XF8000120[5:4] = 0x00000000U |
| 82 | // .. .. .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 83 | // .. .. .. DIVISOR = 0x2 |
| 84 | // .. .. .. ==> 0XF8000120[13:8] = 0x00000002U |
| 85 | // .. .. .. ==> MASK : 0x00003F00U VAL : 0x00000200U |
| 86 | // .. .. .. CPU_6OR4XCLKACT = 0x1 |
| 87 | // .. .. .. ==> 0XF8000120[24:24] = 0x00000001U |
| 88 | // .. .. .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 89 | // .. .. .. CPU_3OR2XCLKACT = 0x1 |
| 90 | // .. .. .. ==> 0XF8000120[25:25] = 0x00000001U |
| 91 | // .. .. .. ==> MASK : 0x02000000U VAL : 0x02000000U |
| 92 | // .. .. .. CPU_2XCLKACT = 0x1 |
| 93 | // .. .. .. ==> 0XF8000120[26:26] = 0x00000001U |
| 94 | // .. .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 95 | // .. .. .. CPU_1XCLKACT = 0x1 |
| 96 | // .. .. .. ==> 0XF8000120[27:27] = 0x00000001U |
| 97 | // .. .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 98 | // .. .. .. CPU_PERI_CLKACT = 0x1 |
| 99 | // .. .. .. ==> 0XF8000120[28:28] = 0x00000001U |
| 100 | // .. .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 101 | // .. .. .. |
| 102 | EMIT_MASKWRITE(0XF8000120, 0x1F003F30U ,0x1F000200U), |
| 103 | // .. .. FINISH: ARM PLL INIT |
| 104 | // .. .. START: DDR PLL INIT |
| 105 | // .. .. PLL_RES = 0x2 |
| 106 | // .. .. ==> 0XF8000114[7:4] = 0x00000002U |
| 107 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 108 | // .. .. PLL_CP = 0x2 |
| 109 | // .. .. ==> 0XF8000114[11:8] = 0x00000002U |
| 110 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 111 | // .. .. LOCK_CNT = 0x12c |
| 112 | // .. .. ==> 0XF8000114[21:12] = 0x0000012CU |
| 113 | // .. .. ==> MASK : 0x003FF000U VAL : 0x0012C000U |
| 114 | // .. .. |
| 115 | EMIT_MASKWRITE(0XF8000114, 0x003FFFF0U ,0x0012C220U), |
| 116 | // .. .. .. START: UPDATE FB_DIV |
| 117 | // .. .. .. PLL_FDIV = 0x20 |
| 118 | // .. .. .. ==> 0XF8000104[18:12] = 0x00000020U |
| 119 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00020000U |
| 120 | // .. .. .. |
| 121 | EMIT_MASKWRITE(0XF8000104, 0x0007F000U ,0x00020000U), |
| 122 | // .. .. .. FINISH: UPDATE FB_DIV |
| 123 | // .. .. .. START: BY PASS PLL |
| 124 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 125 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000001U |
| 126 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 127 | // .. .. .. |
| 128 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000010U), |
| 129 | // .. .. .. FINISH: BY PASS PLL |
| 130 | // .. .. .. START: ASSERT RESET |
| 131 | // .. .. .. PLL_RESET = 1 |
| 132 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000001U |
| 133 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 134 | // .. .. .. |
| 135 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000001U), |
| 136 | // .. .. .. FINISH: ASSERT RESET |
| 137 | // .. .. .. START: DEASSERT RESET |
| 138 | // .. .. .. PLL_RESET = 0 |
| 139 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000000U |
| 140 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 141 | // .. .. .. |
| 142 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000000U), |
| 143 | // .. .. .. FINISH: DEASSERT RESET |
| 144 | // .. .. .. START: CHECK PLL STATUS |
| 145 | // .. .. .. DDR_PLL_LOCK = 1 |
| 146 | // .. .. .. ==> 0XF800010C[1:1] = 0x00000001U |
| 147 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 148 | // .. .. .. |
| 149 | EMIT_MASKPOLL(0XF800010C, 0x00000002U), |
| 150 | // .. .. .. FINISH: CHECK PLL STATUS |
| 151 | // .. .. .. START: REMOVE PLL BY PASS |
| 152 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 153 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000000U |
| 154 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 155 | // .. .. .. |
| 156 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000000U), |
| 157 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 158 | // .. .. .. DDR_3XCLKACT = 0x1 |
| 159 | // .. .. .. ==> 0XF8000124[0:0] = 0x00000001U |
| 160 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 161 | // .. .. .. DDR_2XCLKACT = 0x1 |
| 162 | // .. .. .. ==> 0XF8000124[1:1] = 0x00000001U |
| 163 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 164 | // .. .. .. DDR_3XCLK_DIVISOR = 0x2 |
| 165 | // .. .. .. ==> 0XF8000124[25:20] = 0x00000002U |
| 166 | // .. .. .. ==> MASK : 0x03F00000U VAL : 0x00200000U |
| 167 | // .. .. .. DDR_2XCLK_DIVISOR = 0x3 |
| 168 | // .. .. .. ==> 0XF8000124[31:26] = 0x00000003U |
| 169 | // .. .. .. ==> MASK : 0xFC000000U VAL : 0x0C000000U |
| 170 | // .. .. .. |
| 171 | EMIT_MASKWRITE(0XF8000124, 0xFFF00003U ,0x0C200003U), |
| 172 | // .. .. FINISH: DDR PLL INIT |
| 173 | // .. .. START: IO PLL INIT |
| 174 | // .. .. PLL_RES = 0xc |
| 175 | // .. .. ==> 0XF8000118[7:4] = 0x0000000CU |
| 176 | // .. .. ==> MASK : 0x000000F0U VAL : 0x000000C0U |
| 177 | // .. .. PLL_CP = 0x2 |
| 178 | // .. .. ==> 0XF8000118[11:8] = 0x00000002U |
| 179 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 180 | // .. .. LOCK_CNT = 0x145 |
| 181 | // .. .. ==> 0XF8000118[21:12] = 0x00000145U |
| 182 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00145000U |
| 183 | // .. .. |
| 184 | EMIT_MASKWRITE(0XF8000118, 0x003FFFF0U ,0x001452C0U), |
| 185 | // .. .. .. START: UPDATE FB_DIV |
| 186 | // .. .. .. PLL_FDIV = 0x1e |
| 187 | // .. .. .. ==> 0XF8000108[18:12] = 0x0000001EU |
| 188 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x0001E000U |
| 189 | // .. .. .. |
| 190 | EMIT_MASKWRITE(0XF8000108, 0x0007F000U ,0x0001E000U), |
| 191 | // .. .. .. FINISH: UPDATE FB_DIV |
| 192 | // .. .. .. START: BY PASS PLL |
| 193 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 194 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000001U |
| 195 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 196 | // .. .. .. |
| 197 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000010U), |
| 198 | // .. .. .. FINISH: BY PASS PLL |
| 199 | // .. .. .. START: ASSERT RESET |
| 200 | // .. .. .. PLL_RESET = 1 |
| 201 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000001U |
| 202 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 203 | // .. .. .. |
| 204 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000001U), |
| 205 | // .. .. .. FINISH: ASSERT RESET |
| 206 | // .. .. .. START: DEASSERT RESET |
| 207 | // .. .. .. PLL_RESET = 0 |
| 208 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000000U |
| 209 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 210 | // .. .. .. |
| 211 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000000U), |
| 212 | // .. .. .. FINISH: DEASSERT RESET |
| 213 | // .. .. .. START: CHECK PLL STATUS |
| 214 | // .. .. .. IO_PLL_LOCK = 1 |
| 215 | // .. .. .. ==> 0XF800010C[2:2] = 0x00000001U |
| 216 | // .. .. .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 217 | // .. .. .. |
| 218 | EMIT_MASKPOLL(0XF800010C, 0x00000004U), |
| 219 | // .. .. .. FINISH: CHECK PLL STATUS |
| 220 | // .. .. .. START: REMOVE PLL BY PASS |
| 221 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 222 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000000U |
| 223 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 224 | // .. .. .. |
| 225 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000000U), |
| 226 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 227 | // .. .. FINISH: IO PLL INIT |
| 228 | // .. FINISH: PLL SLCR REGISTERS |
| 229 | // .. START: LOCK IT BACK |
| 230 | // .. LOCK_KEY = 0X767B |
| 231 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 232 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 233 | // .. |
| 234 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 235 | // .. FINISH: LOCK IT BACK |
| 236 | // FINISH: top |
| 237 | // |
| 238 | EMIT_EXIT(), |
| 239 | |
| 240 | // |
| 241 | }; |
| 242 | |
| 243 | unsigned long ps7_clock_init_data_3_0[] = { |
| 244 | // START: top |
| 245 | // .. START: SLCR SETTINGS |
| 246 | // .. UNLOCK_KEY = 0XDF0D |
| 247 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 248 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 249 | // .. |
| 250 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 251 | // .. FINISH: SLCR SETTINGS |
| 252 | // .. START: CLOCK CONTROL SLCR REGISTERS |
| 253 | // .. CLKACT = 0x1 |
| 254 | // .. ==> 0XF8000128[0:0] = 0x00000001U |
| 255 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 256 | // .. DIVISOR0 = 0x23 |
| 257 | // .. ==> 0XF8000128[13:8] = 0x00000023U |
| 258 | // .. ==> MASK : 0x00003F00U VAL : 0x00002300U |
| 259 | // .. DIVISOR1 = 0x3 |
| 260 | // .. ==> 0XF8000128[25:20] = 0x00000003U |
| 261 | // .. ==> MASK : 0x03F00000U VAL : 0x00300000U |
| 262 | // .. |
| 263 | EMIT_MASKWRITE(0XF8000128, 0x03F03F01U ,0x00302301U), |
| 264 | // .. CLKACT = 0x1 |
| 265 | // .. ==> 0XF8000138[0:0] = 0x00000001U |
| 266 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 267 | // .. SRCSEL = 0x0 |
| 268 | // .. ==> 0XF8000138[4:4] = 0x00000000U |
| 269 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 270 | // .. |
| 271 | EMIT_MASKWRITE(0XF8000138, 0x00000011U ,0x00000001U), |
| 272 | // .. CLKACT = 0x1 |
| 273 | // .. ==> 0XF8000140[0:0] = 0x00000001U |
| 274 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 275 | // .. SRCSEL = 0x0 |
| 276 | // .. ==> 0XF8000140[6:4] = 0x00000000U |
| 277 | // .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 278 | // .. DIVISOR = 0x8 |
| 279 | // .. ==> 0XF8000140[13:8] = 0x00000008U |
| 280 | // .. ==> MASK : 0x00003F00U VAL : 0x00000800U |
| 281 | // .. DIVISOR1 = 0x5 |
| 282 | // .. ==> 0XF8000140[25:20] = 0x00000005U |
| 283 | // .. ==> MASK : 0x03F00000U VAL : 0x00500000U |
| 284 | // .. |
| 285 | EMIT_MASKWRITE(0XF8000140, 0x03F03F71U ,0x00500801U), |
| 286 | // .. CLKACT = 0x1 |
| 287 | // .. ==> 0XF800014C[0:0] = 0x00000001U |
| 288 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 289 | // .. SRCSEL = 0x0 |
| 290 | // .. ==> 0XF800014C[5:4] = 0x00000000U |
| 291 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 292 | // .. DIVISOR = 0x5 |
| 293 | // .. ==> 0XF800014C[13:8] = 0x00000005U |
| 294 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 295 | // .. |
| 296 | EMIT_MASKWRITE(0XF800014C, 0x00003F31U ,0x00000501U), |
| 297 | // .. CLKACT0 = 0x1 |
| 298 | // .. ==> 0XF8000150[0:0] = 0x00000001U |
| 299 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 300 | // .. CLKACT1 = 0x0 |
| 301 | // .. ==> 0XF8000150[1:1] = 0x00000000U |
| 302 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 303 | // .. SRCSEL = 0x0 |
| 304 | // .. ==> 0XF8000150[5:4] = 0x00000000U |
| 305 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 306 | // .. DIVISOR = 0x14 |
| 307 | // .. ==> 0XF8000150[13:8] = 0x00000014U |
| 308 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 309 | // .. |
| 310 | EMIT_MASKWRITE(0XF8000150, 0x00003F33U ,0x00001401U), |
| 311 | // .. CLKACT0 = 0x0 |
| 312 | // .. ==> 0XF8000154[0:0] = 0x00000000U |
| 313 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 314 | // .. CLKACT1 = 0x1 |
| 315 | // .. ==> 0XF8000154[1:1] = 0x00000001U |
| 316 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 317 | // .. SRCSEL = 0x0 |
| 318 | // .. ==> 0XF8000154[5:4] = 0x00000000U |
| 319 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 320 | // .. DIVISOR = 0x14 |
| 321 | // .. ==> 0XF8000154[13:8] = 0x00000014U |
| 322 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 323 | // .. |
| 324 | EMIT_MASKWRITE(0XF8000154, 0x00003F33U ,0x00001402U), |
| 325 | // .. CLKACT = 0x1 |
| 326 | // .. ==> 0XF8000168[0:0] = 0x00000001U |
| 327 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 328 | // .. SRCSEL = 0x0 |
| 329 | // .. ==> 0XF8000168[5:4] = 0x00000000U |
| 330 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 331 | // .. DIVISOR = 0x5 |
| 332 | // .. ==> 0XF8000168[13:8] = 0x00000005U |
| 333 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 334 | // .. |
| 335 | EMIT_MASKWRITE(0XF8000168, 0x00003F31U ,0x00000501U), |
| 336 | // .. SRCSEL = 0x0 |
| 337 | // .. ==> 0XF8000170[5:4] = 0x00000000U |
| 338 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 339 | // .. DIVISOR0 = 0x14 |
| 340 | // .. ==> 0XF8000170[13:8] = 0x00000014U |
| 341 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 342 | // .. DIVISOR1 = 0x1 |
| 343 | // .. ==> 0XF8000170[25:20] = 0x00000001U |
| 344 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 345 | // .. |
| 346 | EMIT_MASKWRITE(0XF8000170, 0x03F03F30U ,0x00101400U), |
| 347 | // .. SRCSEL = 0x0 |
| 348 | // .. ==> 0XF8000180[5:4] = 0x00000000U |
| 349 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 350 | // .. DIVISOR0 = 0x14 |
| 351 | // .. ==> 0XF8000180[13:8] = 0x00000014U |
| 352 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 353 | // .. DIVISOR1 = 0x1 |
| 354 | // .. ==> 0XF8000180[25:20] = 0x00000001U |
| 355 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 356 | // .. |
| 357 | EMIT_MASKWRITE(0XF8000180, 0x03F03F30U ,0x00101400U), |
| 358 | // .. SRCSEL = 0x0 |
| 359 | // .. ==> 0XF8000190[5:4] = 0x00000000U |
| 360 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 361 | // .. DIVISOR0 = 0x14 |
| 362 | // .. ==> 0XF8000190[13:8] = 0x00000014U |
| 363 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 364 | // .. DIVISOR1 = 0x1 |
| 365 | // .. ==> 0XF8000190[25:20] = 0x00000001U |
| 366 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 367 | // .. |
| 368 | EMIT_MASKWRITE(0XF8000190, 0x03F03F30U ,0x00101400U), |
| 369 | // .. SRCSEL = 0x0 |
| 370 | // .. ==> 0XF80001A0[5:4] = 0x00000000U |
| 371 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 372 | // .. DIVISOR0 = 0x14 |
| 373 | // .. ==> 0XF80001A0[13:8] = 0x00000014U |
| 374 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 375 | // .. DIVISOR1 = 0x1 |
| 376 | // .. ==> 0XF80001A0[25:20] = 0x00000001U |
| 377 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 378 | // .. |
| 379 | EMIT_MASKWRITE(0XF80001A0, 0x03F03F30U ,0x00101400U), |
| 380 | // .. CLK_621_TRUE = 0x1 |
| 381 | // .. ==> 0XF80001C4[0:0] = 0x00000001U |
| 382 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 383 | // .. |
| 384 | EMIT_MASKWRITE(0XF80001C4, 0x00000001U ,0x00000001U), |
| 385 | // .. DMA_CPU_2XCLKACT = 0x1 |
| 386 | // .. ==> 0XF800012C[0:0] = 0x00000001U |
| 387 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 388 | // .. USB0_CPU_1XCLKACT = 0x1 |
| 389 | // .. ==> 0XF800012C[2:2] = 0x00000001U |
| 390 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 391 | // .. USB1_CPU_1XCLKACT = 0x1 |
| 392 | // .. ==> 0XF800012C[3:3] = 0x00000001U |
| 393 | // .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 394 | // .. GEM0_CPU_1XCLKACT = 0x1 |
| 395 | // .. ==> 0XF800012C[6:6] = 0x00000001U |
| 396 | // .. ==> MASK : 0x00000040U VAL : 0x00000040U |
| 397 | // .. GEM1_CPU_1XCLKACT = 0x0 |
| 398 | // .. ==> 0XF800012C[7:7] = 0x00000000U |
| 399 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 400 | // .. SDI0_CPU_1XCLKACT = 0x1 |
| 401 | // .. ==> 0XF800012C[10:10] = 0x00000001U |
| 402 | // .. ==> MASK : 0x00000400U VAL : 0x00000400U |
| 403 | // .. SDI1_CPU_1XCLKACT = 0x0 |
| 404 | // .. ==> 0XF800012C[11:11] = 0x00000000U |
| 405 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 406 | // .. SPI0_CPU_1XCLKACT = 0x0 |
| 407 | // .. ==> 0XF800012C[14:14] = 0x00000000U |
| 408 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 409 | // .. SPI1_CPU_1XCLKACT = 0x0 |
| 410 | // .. ==> 0XF800012C[15:15] = 0x00000000U |
| 411 | // .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 412 | // .. CAN0_CPU_1XCLKACT = 0x0 |
| 413 | // .. ==> 0XF800012C[16:16] = 0x00000000U |
| 414 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 415 | // .. CAN1_CPU_1XCLKACT = 0x0 |
| 416 | // .. ==> 0XF800012C[17:17] = 0x00000000U |
| 417 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 418 | // .. I2C0_CPU_1XCLKACT = 0x1 |
| 419 | // .. ==> 0XF800012C[18:18] = 0x00000001U |
| 420 | // .. ==> MASK : 0x00040000U VAL : 0x00040000U |
| 421 | // .. I2C1_CPU_1XCLKACT = 0x1 |
| 422 | // .. ==> 0XF800012C[19:19] = 0x00000001U |
| 423 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 424 | // .. UART0_CPU_1XCLKACT = 0x0 |
| 425 | // .. ==> 0XF800012C[20:20] = 0x00000000U |
| 426 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 427 | // .. UART1_CPU_1XCLKACT = 0x1 |
| 428 | // .. ==> 0XF800012C[21:21] = 0x00000001U |
| 429 | // .. ==> MASK : 0x00200000U VAL : 0x00200000U |
| 430 | // .. GPIO_CPU_1XCLKACT = 0x1 |
| 431 | // .. ==> 0XF800012C[22:22] = 0x00000001U |
| 432 | // .. ==> MASK : 0x00400000U VAL : 0x00400000U |
| 433 | // .. LQSPI_CPU_1XCLKACT = 0x1 |
| 434 | // .. ==> 0XF800012C[23:23] = 0x00000001U |
| 435 | // .. ==> MASK : 0x00800000U VAL : 0x00800000U |
| 436 | // .. SMC_CPU_1XCLKACT = 0x1 |
| 437 | // .. ==> 0XF800012C[24:24] = 0x00000001U |
| 438 | // .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 439 | // .. |
| 440 | EMIT_MASKWRITE(0XF800012C, 0x01FFCCCDU ,0x01EC044DU), |
| 441 | // .. FINISH: CLOCK CONTROL SLCR REGISTERS |
| 442 | // .. START: THIS SHOULD BE BLANK |
| 443 | // .. FINISH: THIS SHOULD BE BLANK |
| 444 | // .. START: LOCK IT BACK |
| 445 | // .. LOCK_KEY = 0X767B |
| 446 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 447 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 448 | // .. |
| 449 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 450 | // .. FINISH: LOCK IT BACK |
| 451 | // FINISH: top |
| 452 | // |
| 453 | EMIT_EXIT(), |
| 454 | |
| 455 | // |
| 456 | }; |
| 457 | |
| 458 | unsigned long ps7_ddr_init_data_3_0[] = { |
| 459 | // START: top |
| 460 | // .. START: DDR INITIALIZATION |
| 461 | // .. .. START: LOCK DDR |
| 462 | // .. .. reg_ddrc_soft_rstb = 0 |
| 463 | // .. .. ==> 0XF8006000[0:0] = 0x00000000U |
| 464 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 465 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 466 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 467 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 468 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 469 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 470 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 471 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 472 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 473 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 474 | // .. .. reg_ddrc_rdwr_idle_gap = 0x1 |
| 475 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 476 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 477 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 478 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 479 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 480 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 481 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 482 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 483 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 484 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 485 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 486 | // .. .. |
| 487 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000080U), |
| 488 | // .. .. FINISH: LOCK DDR |
| 489 | // .. .. reg_ddrc_t_rfc_nom_x32 = 0x81 |
| 490 | // .. .. ==> 0XF8006004[11:0] = 0x00000081U |
| 491 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000081U |
| 492 | // .. .. reserved_reg_ddrc_active_ranks = 0x1 |
| 493 | // .. .. ==> 0XF8006004[13:12] = 0x00000001U |
| 494 | // .. .. ==> MASK : 0x00003000U VAL : 0x00001000U |
| 495 | // .. .. reg_ddrc_addrmap_cs_bit0 = 0x0 |
| 496 | // .. .. ==> 0XF8006004[18:14] = 0x00000000U |
| 497 | // .. .. ==> MASK : 0x0007C000U VAL : 0x00000000U |
| 498 | // .. .. |
| 499 | EMIT_MASKWRITE(0XF8006004, 0x0007FFFFU ,0x00001081U), |
| 500 | // .. .. reg_ddrc_hpr_min_non_critical_x32 = 0xf |
| 501 | // .. .. ==> 0XF8006008[10:0] = 0x0000000FU |
| 502 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000000FU |
| 503 | // .. .. reg_ddrc_hpr_max_starve_x32 = 0xf |
| 504 | // .. .. ==> 0XF8006008[21:11] = 0x0000000FU |
| 505 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00007800U |
| 506 | // .. .. reg_ddrc_hpr_xact_run_length = 0xf |
| 507 | // .. .. ==> 0XF8006008[25:22] = 0x0000000FU |
| 508 | // .. .. ==> MASK : 0x03C00000U VAL : 0x03C00000U |
| 509 | // .. .. |
| 510 | EMIT_MASKWRITE(0XF8006008, 0x03FFFFFFU ,0x03C0780FU), |
| 511 | // .. .. reg_ddrc_lpr_min_non_critical_x32 = 0x1 |
| 512 | // .. .. ==> 0XF800600C[10:0] = 0x00000001U |
| 513 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 514 | // .. .. reg_ddrc_lpr_max_starve_x32 = 0x2 |
| 515 | // .. .. ==> 0XF800600C[21:11] = 0x00000002U |
| 516 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00001000U |
| 517 | // .. .. reg_ddrc_lpr_xact_run_length = 0x8 |
| 518 | // .. .. ==> 0XF800600C[25:22] = 0x00000008U |
| 519 | // .. .. ==> MASK : 0x03C00000U VAL : 0x02000000U |
| 520 | // .. .. |
| 521 | EMIT_MASKWRITE(0XF800600C, 0x03FFFFFFU ,0x02001001U), |
| 522 | // .. .. reg_ddrc_w_min_non_critical_x32 = 0x1 |
| 523 | // .. .. ==> 0XF8006010[10:0] = 0x00000001U |
| 524 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 525 | // .. .. reg_ddrc_w_xact_run_length = 0x8 |
| 526 | // .. .. ==> 0XF8006010[14:11] = 0x00000008U |
| 527 | // .. .. ==> MASK : 0x00007800U VAL : 0x00004000U |
| 528 | // .. .. reg_ddrc_w_max_starve_x32 = 0x2 |
| 529 | // .. .. ==> 0XF8006010[25:15] = 0x00000002U |
| 530 | // .. .. ==> MASK : 0x03FF8000U VAL : 0x00010000U |
| 531 | // .. .. |
| 532 | EMIT_MASKWRITE(0XF8006010, 0x03FFFFFFU ,0x00014001U), |
| 533 | // .. .. reg_ddrc_t_rc = 0x1b |
| 534 | // .. .. ==> 0XF8006014[5:0] = 0x0000001BU |
| 535 | // .. .. ==> MASK : 0x0000003FU VAL : 0x0000001BU |
| 536 | // .. .. reg_ddrc_t_rfc_min = 0x56 |
| 537 | // .. .. ==> 0XF8006014[13:6] = 0x00000056U |
| 538 | // .. .. ==> MASK : 0x00003FC0U VAL : 0x00001580U |
| 539 | // .. .. reg_ddrc_post_selfref_gap_x32 = 0x10 |
| 540 | // .. .. ==> 0XF8006014[20:14] = 0x00000010U |
| 541 | // .. .. ==> MASK : 0x001FC000U VAL : 0x00040000U |
| 542 | // .. .. |
| 543 | EMIT_MASKWRITE(0XF8006014, 0x001FFFFFU ,0x0004159BU), |
| 544 | // .. .. reg_ddrc_wr2pre = 0x12 |
| 545 | // .. .. ==> 0XF8006018[4:0] = 0x00000012U |
| 546 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000012U |
| 547 | // .. .. reg_ddrc_powerdown_to_x32 = 0x6 |
| 548 | // .. .. ==> 0XF8006018[9:5] = 0x00000006U |
| 549 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000C0U |
| 550 | // .. .. reg_ddrc_t_faw = 0x10 |
| 551 | // .. .. ==> 0XF8006018[15:10] = 0x00000010U |
| 552 | // .. .. ==> MASK : 0x0000FC00U VAL : 0x00004000U |
| 553 | // .. .. reg_ddrc_t_ras_max = 0x24 |
| 554 | // .. .. ==> 0XF8006018[21:16] = 0x00000024U |
| 555 | // .. .. ==> MASK : 0x003F0000U VAL : 0x00240000U |
| 556 | // .. .. reg_ddrc_t_ras_min = 0x14 |
| 557 | // .. .. ==> 0XF8006018[26:22] = 0x00000014U |
| 558 | // .. .. ==> MASK : 0x07C00000U VAL : 0x05000000U |
| 559 | // .. .. reg_ddrc_t_cke = 0x4 |
| 560 | // .. .. ==> 0XF8006018[31:28] = 0x00000004U |
| 561 | // .. .. ==> MASK : 0xF0000000U VAL : 0x40000000U |
| 562 | // .. .. |
| 563 | EMIT_MASKWRITE(0XF8006018, 0xF7FFFFFFU ,0x452440D2U), |
| 564 | // .. .. reg_ddrc_write_latency = 0x5 |
| 565 | // .. .. ==> 0XF800601C[4:0] = 0x00000005U |
| 566 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000005U |
| 567 | // .. .. reg_ddrc_rd2wr = 0x7 |
| 568 | // .. .. ==> 0XF800601C[9:5] = 0x00000007U |
| 569 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000E0U |
| 570 | // .. .. reg_ddrc_wr2rd = 0xe |
| 571 | // .. .. ==> 0XF800601C[14:10] = 0x0000000EU |
| 572 | // .. .. ==> MASK : 0x00007C00U VAL : 0x00003800U |
| 573 | // .. .. reg_ddrc_t_xp = 0x4 |
| 574 | // .. .. ==> 0XF800601C[19:15] = 0x00000004U |
| 575 | // .. .. ==> MASK : 0x000F8000U VAL : 0x00020000U |
| 576 | // .. .. reg_ddrc_pad_pd = 0x0 |
| 577 | // .. .. ==> 0XF800601C[22:20] = 0x00000000U |
| 578 | // .. .. ==> MASK : 0x00700000U VAL : 0x00000000U |
| 579 | // .. .. reg_ddrc_rd2pre = 0x4 |
| 580 | // .. .. ==> 0XF800601C[27:23] = 0x00000004U |
| 581 | // .. .. ==> MASK : 0x0F800000U VAL : 0x02000000U |
| 582 | // .. .. reg_ddrc_t_rcd = 0x7 |
| 583 | // .. .. ==> 0XF800601C[31:28] = 0x00000007U |
| 584 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 585 | // .. .. |
| 586 | EMIT_MASKWRITE(0XF800601C, 0xFFFFFFFFU ,0x720238E5U), |
| 587 | // .. .. reg_ddrc_t_ccd = 0x4 |
| 588 | // .. .. ==> 0XF8006020[4:2] = 0x00000004U |
| 589 | // .. .. ==> MASK : 0x0000001CU VAL : 0x00000010U |
| 590 | // .. .. reg_ddrc_t_rrd = 0x4 |
| 591 | // .. .. ==> 0XF8006020[7:5] = 0x00000004U |
| 592 | // .. .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 593 | // .. .. reg_ddrc_refresh_margin = 0x2 |
| 594 | // .. .. ==> 0XF8006020[11:8] = 0x00000002U |
| 595 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 596 | // .. .. reg_ddrc_t_rp = 0x7 |
| 597 | // .. .. ==> 0XF8006020[15:12] = 0x00000007U |
| 598 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00007000U |
| 599 | // .. .. reg_ddrc_refresh_to_x32 = 0x8 |
| 600 | // .. .. ==> 0XF8006020[20:16] = 0x00000008U |
| 601 | // .. .. ==> MASK : 0x001F0000U VAL : 0x00080000U |
| 602 | // .. .. reg_ddrc_mobile = 0x0 |
| 603 | // .. .. ==> 0XF8006020[22:22] = 0x00000000U |
| 604 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 605 | // .. .. reg_ddrc_en_dfi_dram_clk_disable = 0x0 |
| 606 | // .. .. ==> 0XF8006020[23:23] = 0x00000000U |
| 607 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 608 | // .. .. reg_ddrc_read_latency = 0x7 |
| 609 | // .. .. ==> 0XF8006020[28:24] = 0x00000007U |
| 610 | // .. .. ==> MASK : 0x1F000000U VAL : 0x07000000U |
| 611 | // .. .. reg_phy_mode_ddr1_ddr2 = 0x1 |
| 612 | // .. .. ==> 0XF8006020[29:29] = 0x00000001U |
| 613 | // .. .. ==> MASK : 0x20000000U VAL : 0x20000000U |
| 614 | // .. .. reg_ddrc_dis_pad_pd = 0x0 |
| 615 | // .. .. ==> 0XF8006020[30:30] = 0x00000000U |
| 616 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 617 | // .. .. |
| 618 | EMIT_MASKWRITE(0XF8006020, 0x7FDFFFFCU ,0x27087290U), |
| 619 | // .. .. reg_ddrc_en_2t_timing_mode = 0x0 |
| 620 | // .. .. ==> 0XF8006024[0:0] = 0x00000000U |
| 621 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 622 | // .. .. reg_ddrc_prefer_write = 0x0 |
| 623 | // .. .. ==> 0XF8006024[1:1] = 0x00000000U |
| 624 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 625 | // .. .. reg_ddrc_mr_wr = 0x0 |
| 626 | // .. .. ==> 0XF8006024[6:6] = 0x00000000U |
| 627 | // .. .. ==> MASK : 0x00000040U VAL : 0x00000000U |
| 628 | // .. .. reg_ddrc_mr_addr = 0x0 |
| 629 | // .. .. ==> 0XF8006024[8:7] = 0x00000000U |
| 630 | // .. .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 631 | // .. .. reg_ddrc_mr_data = 0x0 |
| 632 | // .. .. ==> 0XF8006024[24:9] = 0x00000000U |
| 633 | // .. .. ==> MASK : 0x01FFFE00U VAL : 0x00000000U |
| 634 | // .. .. ddrc_reg_mr_wr_busy = 0x0 |
| 635 | // .. .. ==> 0XF8006024[25:25] = 0x00000000U |
| 636 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 637 | // .. .. reg_ddrc_mr_type = 0x0 |
| 638 | // .. .. ==> 0XF8006024[26:26] = 0x00000000U |
| 639 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 640 | // .. .. reg_ddrc_mr_rdata_valid = 0x0 |
| 641 | // .. .. ==> 0XF8006024[27:27] = 0x00000000U |
| 642 | // .. .. ==> MASK : 0x08000000U VAL : 0x00000000U |
| 643 | // .. .. |
| 644 | EMIT_MASKWRITE(0XF8006024, 0x0FFFFFC3U ,0x00000000U), |
| 645 | // .. .. reg_ddrc_final_wait_x32 = 0x7 |
| 646 | // .. .. ==> 0XF8006028[6:0] = 0x00000007U |
| 647 | // .. .. ==> MASK : 0x0000007FU VAL : 0x00000007U |
| 648 | // .. .. reg_ddrc_pre_ocd_x32 = 0x0 |
| 649 | // .. .. ==> 0XF8006028[10:7] = 0x00000000U |
| 650 | // .. .. ==> MASK : 0x00000780U VAL : 0x00000000U |
| 651 | // .. .. reg_ddrc_t_mrd = 0x4 |
| 652 | // .. .. ==> 0XF8006028[13:11] = 0x00000004U |
| 653 | // .. .. ==> MASK : 0x00003800U VAL : 0x00002000U |
| 654 | // .. .. |
| 655 | EMIT_MASKWRITE(0XF8006028, 0x00003FFFU ,0x00002007U), |
| 656 | // .. .. reg_ddrc_emr2 = 0x8 |
| 657 | // .. .. ==> 0XF800602C[15:0] = 0x00000008U |
| 658 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000008U |
| 659 | // .. .. reg_ddrc_emr3 = 0x0 |
| 660 | // .. .. ==> 0XF800602C[31:16] = 0x00000000U |
| 661 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00000000U |
| 662 | // .. .. |
| 663 | EMIT_MASKWRITE(0XF800602C, 0xFFFFFFFFU ,0x00000008U), |
| 664 | // .. .. reg_ddrc_mr = 0x930 |
| 665 | // .. .. ==> 0XF8006030[15:0] = 0x00000930U |
| 666 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000930U |
| 667 | // .. .. reg_ddrc_emr = 0x4 |
| 668 | // .. .. ==> 0XF8006030[31:16] = 0x00000004U |
| 669 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00040000U |
| 670 | // .. .. |
| 671 | EMIT_MASKWRITE(0XF8006030, 0xFFFFFFFFU ,0x00040930U), |
| 672 | // .. .. reg_ddrc_burst_rdwr = 0x4 |
| 673 | // .. .. ==> 0XF8006034[3:0] = 0x00000004U |
| 674 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000004U |
| 675 | // .. .. reg_ddrc_pre_cke_x1024 = 0x105 |
| 676 | // .. .. ==> 0XF8006034[13:4] = 0x00000105U |
| 677 | // .. .. ==> MASK : 0x00003FF0U VAL : 0x00001050U |
| 678 | // .. .. reg_ddrc_post_cke_x1024 = 0x1 |
| 679 | // .. .. ==> 0XF8006034[25:16] = 0x00000001U |
| 680 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00010000U |
| 681 | // .. .. reg_ddrc_burstchop = 0x0 |
| 682 | // .. .. ==> 0XF8006034[28:28] = 0x00000000U |
| 683 | // .. .. ==> MASK : 0x10000000U VAL : 0x00000000U |
| 684 | // .. .. |
| 685 | EMIT_MASKWRITE(0XF8006034, 0x13FF3FFFU ,0x00011054U), |
| 686 | // .. .. reg_ddrc_force_low_pri_n = 0x0 |
| 687 | // .. .. ==> 0XF8006038[0:0] = 0x00000000U |
| 688 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 689 | // .. .. reg_ddrc_dis_dq = 0x0 |
| 690 | // .. .. ==> 0XF8006038[1:1] = 0x00000000U |
| 691 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 692 | // .. .. |
| 693 | EMIT_MASKWRITE(0XF8006038, 0x00000003U ,0x00000000U), |
| 694 | // .. .. reg_ddrc_addrmap_bank_b0 = 0x7 |
| 695 | // .. .. ==> 0XF800603C[3:0] = 0x00000007U |
| 696 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000007U |
| 697 | // .. .. reg_ddrc_addrmap_bank_b1 = 0x7 |
| 698 | // .. .. ==> 0XF800603C[7:4] = 0x00000007U |
| 699 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000070U |
| 700 | // .. .. reg_ddrc_addrmap_bank_b2 = 0x7 |
| 701 | // .. .. ==> 0XF800603C[11:8] = 0x00000007U |
| 702 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000700U |
| 703 | // .. .. reg_ddrc_addrmap_col_b5 = 0x0 |
| 704 | // .. .. ==> 0XF800603C[15:12] = 0x00000000U |
| 705 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 706 | // .. .. reg_ddrc_addrmap_col_b6 = 0x0 |
| 707 | // .. .. ==> 0XF800603C[19:16] = 0x00000000U |
| 708 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 709 | // .. .. |
| 710 | EMIT_MASKWRITE(0XF800603C, 0x000FFFFFU ,0x00000777U), |
| 711 | // .. .. reg_ddrc_addrmap_col_b2 = 0x0 |
| 712 | // .. .. ==> 0XF8006040[3:0] = 0x00000000U |
| 713 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 714 | // .. .. reg_ddrc_addrmap_col_b3 = 0x0 |
| 715 | // .. .. ==> 0XF8006040[7:4] = 0x00000000U |
| 716 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 717 | // .. .. reg_ddrc_addrmap_col_b4 = 0x0 |
| 718 | // .. .. ==> 0XF8006040[11:8] = 0x00000000U |
| 719 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 720 | // .. .. reg_ddrc_addrmap_col_b7 = 0x0 |
| 721 | // .. .. ==> 0XF8006040[15:12] = 0x00000000U |
| 722 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 723 | // .. .. reg_ddrc_addrmap_col_b8 = 0x0 |
| 724 | // .. .. ==> 0XF8006040[19:16] = 0x00000000U |
| 725 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 726 | // .. .. reg_ddrc_addrmap_col_b9 = 0xf |
| 727 | // .. .. ==> 0XF8006040[23:20] = 0x0000000FU |
| 728 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00F00000U |
| 729 | // .. .. reg_ddrc_addrmap_col_b10 = 0xf |
| 730 | // .. .. ==> 0XF8006040[27:24] = 0x0000000FU |
| 731 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 732 | // .. .. reg_ddrc_addrmap_col_b11 = 0xf |
| 733 | // .. .. ==> 0XF8006040[31:28] = 0x0000000FU |
| 734 | // .. .. ==> MASK : 0xF0000000U VAL : 0xF0000000U |
| 735 | // .. .. |
| 736 | EMIT_MASKWRITE(0XF8006040, 0xFFFFFFFFU ,0xFFF00000U), |
| 737 | // .. .. reg_ddrc_addrmap_row_b0 = 0x6 |
| 738 | // .. .. ==> 0XF8006044[3:0] = 0x00000006U |
| 739 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000006U |
| 740 | // .. .. reg_ddrc_addrmap_row_b1 = 0x6 |
| 741 | // .. .. ==> 0XF8006044[7:4] = 0x00000006U |
| 742 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000060U |
| 743 | // .. .. reg_ddrc_addrmap_row_b2_11 = 0x6 |
| 744 | // .. .. ==> 0XF8006044[11:8] = 0x00000006U |
| 745 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000600U |
| 746 | // .. .. reg_ddrc_addrmap_row_b12 = 0x6 |
| 747 | // .. .. ==> 0XF8006044[15:12] = 0x00000006U |
| 748 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00006000U |
| 749 | // .. .. reg_ddrc_addrmap_row_b13 = 0x6 |
| 750 | // .. .. ==> 0XF8006044[19:16] = 0x00000006U |
| 751 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00060000U |
| 752 | // .. .. reg_ddrc_addrmap_row_b14 = 0x6 |
| 753 | // .. .. ==> 0XF8006044[23:20] = 0x00000006U |
| 754 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00600000U |
| 755 | // .. .. reg_ddrc_addrmap_row_b15 = 0xf |
| 756 | // .. .. ==> 0XF8006044[27:24] = 0x0000000FU |
| 757 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 758 | // .. .. |
| 759 | EMIT_MASKWRITE(0XF8006044, 0x0FFFFFFFU ,0x0F666666U), |
| 760 | // .. .. reg_phy_rd_local_odt = 0x0 |
| 761 | // .. .. ==> 0XF8006048[13:12] = 0x00000000U |
| 762 | // .. .. ==> MASK : 0x00003000U VAL : 0x00000000U |
| 763 | // .. .. reg_phy_wr_local_odt = 0x3 |
| 764 | // .. .. ==> 0XF8006048[15:14] = 0x00000003U |
| 765 | // .. .. ==> MASK : 0x0000C000U VAL : 0x0000C000U |
| 766 | // .. .. reg_phy_idle_local_odt = 0x3 |
| 767 | // .. .. ==> 0XF8006048[17:16] = 0x00000003U |
| 768 | // .. .. ==> MASK : 0x00030000U VAL : 0x00030000U |
| 769 | // .. .. |
| 770 | EMIT_MASKWRITE(0XF8006048, 0x0003F000U ,0x0003C000U), |
| 771 | // .. .. reg_phy_rd_cmd_to_data = 0x0 |
| 772 | // .. .. ==> 0XF8006050[3:0] = 0x00000000U |
| 773 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 774 | // .. .. reg_phy_wr_cmd_to_data = 0x0 |
| 775 | // .. .. ==> 0XF8006050[7:4] = 0x00000000U |
| 776 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 777 | // .. .. reg_phy_rdc_we_to_re_delay = 0x8 |
| 778 | // .. .. ==> 0XF8006050[11:8] = 0x00000008U |
| 779 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000800U |
| 780 | // .. .. reg_phy_rdc_fifo_rst_disable = 0x0 |
| 781 | // .. .. ==> 0XF8006050[15:15] = 0x00000000U |
| 782 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 783 | // .. .. reg_phy_use_fixed_re = 0x1 |
| 784 | // .. .. ==> 0XF8006050[16:16] = 0x00000001U |
| 785 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 786 | // .. .. reg_phy_rdc_fifo_rst_err_cnt_clr = 0x0 |
| 787 | // .. .. ==> 0XF8006050[17:17] = 0x00000000U |
| 788 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 789 | // .. .. reg_phy_dis_phy_ctrl_rstn = 0x0 |
| 790 | // .. .. ==> 0XF8006050[18:18] = 0x00000000U |
| 791 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 792 | // .. .. reg_phy_clk_stall_level = 0x0 |
| 793 | // .. .. ==> 0XF8006050[19:19] = 0x00000000U |
| 794 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 795 | // .. .. reg_phy_gatelvl_num_of_dq0 = 0x7 |
| 796 | // .. .. ==> 0XF8006050[27:24] = 0x00000007U |
| 797 | // .. .. ==> MASK : 0x0F000000U VAL : 0x07000000U |
| 798 | // .. .. reg_phy_wrlvl_num_of_dq0 = 0x7 |
| 799 | // .. .. ==> 0XF8006050[31:28] = 0x00000007U |
| 800 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 801 | // .. .. |
| 802 | EMIT_MASKWRITE(0XF8006050, 0xFF0F8FFFU ,0x77010800U), |
| 803 | // .. .. reg_ddrc_dis_dll_calib = 0x0 |
| 804 | // .. .. ==> 0XF8006058[16:16] = 0x00000000U |
| 805 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 806 | // .. .. |
| 807 | EMIT_MASKWRITE(0XF8006058, 0x00010000U ,0x00000000U), |
| 808 | // .. .. reg_ddrc_rd_odt_delay = 0x3 |
| 809 | // .. .. ==> 0XF800605C[3:0] = 0x00000003U |
| 810 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000003U |
| 811 | // .. .. reg_ddrc_wr_odt_delay = 0x0 |
| 812 | // .. .. ==> 0XF800605C[7:4] = 0x00000000U |
| 813 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 814 | // .. .. reg_ddrc_rd_odt_hold = 0x0 |
| 815 | // .. .. ==> 0XF800605C[11:8] = 0x00000000U |
| 816 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 817 | // .. .. reg_ddrc_wr_odt_hold = 0x5 |
| 818 | // .. .. ==> 0XF800605C[15:12] = 0x00000005U |
| 819 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00005000U |
| 820 | // .. .. |
| 821 | EMIT_MASKWRITE(0XF800605C, 0x0000FFFFU ,0x00005003U), |
| 822 | // .. .. reg_ddrc_pageclose = 0x0 |
| 823 | // .. .. ==> 0XF8006060[0:0] = 0x00000000U |
| 824 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 825 | // .. .. reg_ddrc_lpr_num_entries = 0x1f |
| 826 | // .. .. ==> 0XF8006060[6:1] = 0x0000001FU |
| 827 | // .. .. ==> MASK : 0x0000007EU VAL : 0x0000003EU |
| 828 | // .. .. reg_ddrc_auto_pre_en = 0x0 |
| 829 | // .. .. ==> 0XF8006060[7:7] = 0x00000000U |
| 830 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 831 | // .. .. reg_ddrc_refresh_update_level = 0x0 |
| 832 | // .. .. ==> 0XF8006060[8:8] = 0x00000000U |
| 833 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 834 | // .. .. reg_ddrc_dis_wc = 0x0 |
| 835 | // .. .. ==> 0XF8006060[9:9] = 0x00000000U |
| 836 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 837 | // .. .. reg_ddrc_dis_collision_page_opt = 0x0 |
| 838 | // .. .. ==> 0XF8006060[10:10] = 0x00000000U |
| 839 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 840 | // .. .. reg_ddrc_selfref_en = 0x0 |
| 841 | // .. .. ==> 0XF8006060[12:12] = 0x00000000U |
| 842 | // .. .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 843 | // .. .. |
| 844 | EMIT_MASKWRITE(0XF8006060, 0x000017FFU ,0x0000003EU), |
| 845 | // .. .. reg_ddrc_go2critical_hysteresis = 0x0 |
| 846 | // .. .. ==> 0XF8006064[12:5] = 0x00000000U |
| 847 | // .. .. ==> MASK : 0x00001FE0U VAL : 0x00000000U |
| 848 | // .. .. reg_arb_go2critical_en = 0x1 |
| 849 | // .. .. ==> 0XF8006064[17:17] = 0x00000001U |
| 850 | // .. .. ==> MASK : 0x00020000U VAL : 0x00020000U |
| 851 | // .. .. |
| 852 | EMIT_MASKWRITE(0XF8006064, 0x00021FE0U ,0x00020000U), |
| 853 | // .. .. reg_ddrc_wrlvl_ww = 0x41 |
| 854 | // .. .. ==> 0XF8006068[7:0] = 0x00000041U |
| 855 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000041U |
| 856 | // .. .. reg_ddrc_rdlvl_rr = 0x41 |
| 857 | // .. .. ==> 0XF8006068[15:8] = 0x00000041U |
| 858 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00004100U |
| 859 | // .. .. reg_ddrc_dfi_t_wlmrd = 0x28 |
| 860 | // .. .. ==> 0XF8006068[25:16] = 0x00000028U |
| 861 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00280000U |
| 862 | // .. .. |
| 863 | EMIT_MASKWRITE(0XF8006068, 0x03FFFFFFU ,0x00284141U), |
| 864 | // .. .. dfi_t_ctrlupd_interval_min_x1024 = 0x10 |
| 865 | // .. .. ==> 0XF800606C[7:0] = 0x00000010U |
| 866 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000010U |
| 867 | // .. .. dfi_t_ctrlupd_interval_max_x1024 = 0x16 |
| 868 | // .. .. ==> 0XF800606C[15:8] = 0x00000016U |
| 869 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00001600U |
| 870 | // .. .. |
| 871 | EMIT_MASKWRITE(0XF800606C, 0x0000FFFFU ,0x00001610U), |
| 872 | // .. .. reg_ddrc_dfi_t_ctrl_delay = 0x1 |
| 873 | // .. .. ==> 0XF8006078[3:0] = 0x00000001U |
| 874 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000001U |
| 875 | // .. .. reg_ddrc_dfi_t_dram_clk_disable = 0x1 |
| 876 | // .. .. ==> 0XF8006078[7:4] = 0x00000001U |
| 877 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000010U |
| 878 | // .. .. reg_ddrc_dfi_t_dram_clk_enable = 0x1 |
| 879 | // .. .. ==> 0XF8006078[11:8] = 0x00000001U |
| 880 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000100U |
| 881 | // .. .. reg_ddrc_t_cksre = 0x6 |
| 882 | // .. .. ==> 0XF8006078[15:12] = 0x00000006U |
| 883 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00006000U |
| 884 | // .. .. reg_ddrc_t_cksrx = 0x6 |
| 885 | // .. .. ==> 0XF8006078[19:16] = 0x00000006U |
| 886 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00060000U |
| 887 | // .. .. reg_ddrc_t_ckesr = 0x4 |
| 888 | // .. .. ==> 0XF8006078[25:20] = 0x00000004U |
| 889 | // .. .. ==> MASK : 0x03F00000U VAL : 0x00400000U |
| 890 | // .. .. |
| 891 | EMIT_MASKWRITE(0XF8006078, 0x03FFFFFFU ,0x00466111U), |
| 892 | // .. .. reg_ddrc_t_ckpde = 0x2 |
| 893 | // .. .. ==> 0XF800607C[3:0] = 0x00000002U |
| 894 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000002U |
| 895 | // .. .. reg_ddrc_t_ckpdx = 0x2 |
| 896 | // .. .. ==> 0XF800607C[7:4] = 0x00000002U |
| 897 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 898 | // .. .. reg_ddrc_t_ckdpde = 0x2 |
| 899 | // .. .. ==> 0XF800607C[11:8] = 0x00000002U |
| 900 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 901 | // .. .. reg_ddrc_t_ckdpdx = 0x2 |
| 902 | // .. .. ==> 0XF800607C[15:12] = 0x00000002U |
| 903 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00002000U |
| 904 | // .. .. reg_ddrc_t_ckcsx = 0x3 |
| 905 | // .. .. ==> 0XF800607C[19:16] = 0x00000003U |
| 906 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00030000U |
| 907 | // .. .. |
| 908 | EMIT_MASKWRITE(0XF800607C, 0x000FFFFFU ,0x00032222U), |
| 909 | // .. .. reg_ddrc_dis_auto_zq = 0x0 |
| 910 | // .. .. ==> 0XF80060A4[0:0] = 0x00000000U |
| 911 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 912 | // .. .. reg_ddrc_ddr3 = 0x1 |
| 913 | // .. .. ==> 0XF80060A4[1:1] = 0x00000001U |
| 914 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 915 | // .. .. reg_ddrc_t_mod = 0x200 |
| 916 | // .. .. ==> 0XF80060A4[11:2] = 0x00000200U |
| 917 | // .. .. ==> MASK : 0x00000FFCU VAL : 0x00000800U |
| 918 | // .. .. reg_ddrc_t_zq_long_nop = 0x200 |
| 919 | // .. .. ==> 0XF80060A4[21:12] = 0x00000200U |
| 920 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00200000U |
| 921 | // .. .. reg_ddrc_t_zq_short_nop = 0x40 |
| 922 | // .. .. ==> 0XF80060A4[31:22] = 0x00000040U |
| 923 | // .. .. ==> MASK : 0xFFC00000U VAL : 0x10000000U |
| 924 | // .. .. |
| 925 | EMIT_MASKWRITE(0XF80060A4, 0xFFFFFFFFU ,0x10200802U), |
| 926 | // .. .. t_zq_short_interval_x1024 = 0xcb73 |
| 927 | // .. .. ==> 0XF80060A8[19:0] = 0x0000CB73U |
| 928 | // .. .. ==> MASK : 0x000FFFFFU VAL : 0x0000CB73U |
| 929 | // .. .. dram_rstn_x1024 = 0x69 |
| 930 | // .. .. ==> 0XF80060A8[27:20] = 0x00000069U |
| 931 | // .. .. ==> MASK : 0x0FF00000U VAL : 0x06900000U |
| 932 | // .. .. |
| 933 | EMIT_MASKWRITE(0XF80060A8, 0x0FFFFFFFU ,0x0690CB73U), |
| 934 | // .. .. deeppowerdown_en = 0x0 |
| 935 | // .. .. ==> 0XF80060AC[0:0] = 0x00000000U |
| 936 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 937 | // .. .. deeppowerdown_to_x1024 = 0xff |
| 938 | // .. .. ==> 0XF80060AC[8:1] = 0x000000FFU |
| 939 | // .. .. ==> MASK : 0x000001FEU VAL : 0x000001FEU |
| 940 | // .. .. |
| 941 | EMIT_MASKWRITE(0XF80060AC, 0x000001FFU ,0x000001FEU), |
| 942 | // .. .. dfi_wrlvl_max_x1024 = 0xfff |
| 943 | // .. .. ==> 0XF80060B0[11:0] = 0x00000FFFU |
| 944 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000FFFU |
| 945 | // .. .. dfi_rdlvl_max_x1024 = 0xfff |
| 946 | // .. .. ==> 0XF80060B0[23:12] = 0x00000FFFU |
| 947 | // .. .. ==> MASK : 0x00FFF000U VAL : 0x00FFF000U |
| 948 | // .. .. ddrc_reg_twrlvl_max_error = 0x0 |
| 949 | // .. .. ==> 0XF80060B0[24:24] = 0x00000000U |
| 950 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 951 | // .. .. ddrc_reg_trdlvl_max_error = 0x0 |
| 952 | // .. .. ==> 0XF80060B0[25:25] = 0x00000000U |
| 953 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 954 | // .. .. reg_ddrc_dfi_wr_level_en = 0x1 |
| 955 | // .. .. ==> 0XF80060B0[26:26] = 0x00000001U |
| 956 | // .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 957 | // .. .. reg_ddrc_dfi_rd_dqs_gate_level = 0x1 |
| 958 | // .. .. ==> 0XF80060B0[27:27] = 0x00000001U |
| 959 | // .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 960 | // .. .. reg_ddrc_dfi_rd_data_eye_train = 0x1 |
| 961 | // .. .. ==> 0XF80060B0[28:28] = 0x00000001U |
| 962 | // .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 963 | // .. .. |
| 964 | EMIT_MASKWRITE(0XF80060B0, 0x1FFFFFFFU ,0x1CFFFFFFU), |
| 965 | // .. .. reg_ddrc_skip_ocd = 0x1 |
| 966 | // .. .. ==> 0XF80060B4[9:9] = 0x00000001U |
| 967 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 968 | // .. .. |
| 969 | EMIT_MASKWRITE(0XF80060B4, 0x00000200U ,0x00000200U), |
| 970 | // .. .. reg_ddrc_dfi_t_rddata_en = 0x6 |
| 971 | // .. .. ==> 0XF80060B8[4:0] = 0x00000006U |
| 972 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000006U |
| 973 | // .. .. reg_ddrc_dfi_t_ctrlup_min = 0x3 |
| 974 | // .. .. ==> 0XF80060B8[14:5] = 0x00000003U |
| 975 | // .. .. ==> MASK : 0x00007FE0U VAL : 0x00000060U |
| 976 | // .. .. reg_ddrc_dfi_t_ctrlup_max = 0x40 |
| 977 | // .. .. ==> 0XF80060B8[24:15] = 0x00000040U |
| 978 | // .. .. ==> MASK : 0x01FF8000U VAL : 0x00200000U |
| 979 | // .. .. |
| 980 | EMIT_MASKWRITE(0XF80060B8, 0x01FFFFFFU ,0x00200066U), |
| 981 | // .. .. START: RESET ECC ERROR |
| 982 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 1 |
| 983 | // .. .. ==> 0XF80060C4[0:0] = 0x00000001U |
| 984 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 985 | // .. .. Clear_Correctable_DRAM_ECC_error = 1 |
| 986 | // .. .. ==> 0XF80060C4[1:1] = 0x00000001U |
| 987 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 988 | // .. .. |
| 989 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000003U), |
| 990 | // .. .. FINISH: RESET ECC ERROR |
| 991 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 0x0 |
| 992 | // .. .. ==> 0XF80060C4[0:0] = 0x00000000U |
| 993 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 994 | // .. .. Clear_Correctable_DRAM_ECC_error = 0x0 |
| 995 | // .. .. ==> 0XF80060C4[1:1] = 0x00000000U |
| 996 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 997 | // .. .. |
| 998 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000000U), |
| 999 | // .. .. CORR_ECC_LOG_VALID = 0x0 |
| 1000 | // .. .. ==> 0XF80060C8[0:0] = 0x00000000U |
| 1001 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1002 | // .. .. ECC_CORRECTED_BIT_NUM = 0x0 |
| 1003 | // .. .. ==> 0XF80060C8[7:1] = 0x00000000U |
| 1004 | // .. .. ==> MASK : 0x000000FEU VAL : 0x00000000U |
| 1005 | // .. .. |
| 1006 | EMIT_MASKWRITE(0XF80060C8, 0x000000FFU ,0x00000000U), |
| 1007 | // .. .. UNCORR_ECC_LOG_VALID = 0x0 |
| 1008 | // .. .. ==> 0XF80060DC[0:0] = 0x00000000U |
| 1009 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1010 | // .. .. |
| 1011 | EMIT_MASKWRITE(0XF80060DC, 0x00000001U ,0x00000000U), |
| 1012 | // .. .. STAT_NUM_CORR_ERR = 0x0 |
| 1013 | // .. .. ==> 0XF80060F0[15:8] = 0x00000000U |
| 1014 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00000000U |
| 1015 | // .. .. STAT_NUM_UNCORR_ERR = 0x0 |
| 1016 | // .. .. ==> 0XF80060F0[7:0] = 0x00000000U |
| 1017 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000000U |
| 1018 | // .. .. |
| 1019 | EMIT_MASKWRITE(0XF80060F0, 0x0000FFFFU ,0x00000000U), |
| 1020 | // .. .. reg_ddrc_ecc_mode = 0x0 |
| 1021 | // .. .. ==> 0XF80060F4[2:0] = 0x00000000U |
| 1022 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000000U |
| 1023 | // .. .. reg_ddrc_dis_scrub = 0x1 |
| 1024 | // .. .. ==> 0XF80060F4[3:3] = 0x00000001U |
| 1025 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 1026 | // .. .. |
| 1027 | EMIT_MASKWRITE(0XF80060F4, 0x0000000FU ,0x00000008U), |
| 1028 | // .. .. reg_phy_dif_on = 0x0 |
| 1029 | // .. .. ==> 0XF8006114[3:0] = 0x00000000U |
| 1030 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 1031 | // .. .. reg_phy_dif_off = 0x0 |
| 1032 | // .. .. ==> 0XF8006114[7:4] = 0x00000000U |
| 1033 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 1034 | // .. .. |
| 1035 | EMIT_MASKWRITE(0XF8006114, 0x000000FFU ,0x00000000U), |
| 1036 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 1037 | // .. .. ==> 0XF8006118[0:0] = 0x00000001U |
| 1038 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1039 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 1040 | // .. .. ==> 0XF8006118[1:1] = 0x00000000U |
| 1041 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1042 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 1043 | // .. .. ==> 0XF8006118[2:2] = 0x00000000U |
| 1044 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1045 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 1046 | // .. .. ==> 0XF8006118[3:3] = 0x00000000U |
| 1047 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1048 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 1049 | // .. .. ==> 0XF8006118[14:6] = 0x00000000U |
| 1050 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 1051 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 1052 | // .. .. ==> 0XF8006118[23:15] = 0x00000000U |
| 1053 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 1054 | // .. .. reg_phy_dq_offset = 0x40 |
| 1055 | // .. .. ==> 0XF8006118[30:24] = 0x00000040U |
| 1056 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 1057 | // .. .. |
| 1058 | EMIT_MASKWRITE(0XF8006118, 0x7FFFFFCFU ,0x40000001U), |
| 1059 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 1060 | // .. .. ==> 0XF800611C[0:0] = 0x00000001U |
| 1061 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1062 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 1063 | // .. .. ==> 0XF800611C[1:1] = 0x00000000U |
| 1064 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1065 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 1066 | // .. .. ==> 0XF800611C[2:2] = 0x00000000U |
| 1067 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1068 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 1069 | // .. .. ==> 0XF800611C[3:3] = 0x00000000U |
| 1070 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1071 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 1072 | // .. .. ==> 0XF800611C[14:6] = 0x00000000U |
| 1073 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 1074 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 1075 | // .. .. ==> 0XF800611C[23:15] = 0x00000000U |
| 1076 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 1077 | // .. .. reg_phy_dq_offset = 0x40 |
| 1078 | // .. .. ==> 0XF800611C[30:24] = 0x00000040U |
| 1079 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 1080 | // .. .. |
| 1081 | EMIT_MASKWRITE(0XF800611C, 0x7FFFFFCFU ,0x40000001U), |
| 1082 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 1083 | // .. .. ==> 0XF8006120[0:0] = 0x00000001U |
| 1084 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1085 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 1086 | // .. .. ==> 0XF8006120[1:1] = 0x00000000U |
| 1087 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1088 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 1089 | // .. .. ==> 0XF8006120[2:2] = 0x00000000U |
| 1090 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1091 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 1092 | // .. .. ==> 0XF8006120[3:3] = 0x00000000U |
| 1093 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1094 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 1095 | // .. .. ==> 0XF8006120[14:6] = 0x00000000U |
| 1096 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 1097 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 1098 | // .. .. ==> 0XF8006120[23:15] = 0x00000000U |
| 1099 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 1100 | // .. .. reg_phy_dq_offset = 0x40 |
| 1101 | // .. .. ==> 0XF8006120[30:24] = 0x00000040U |
| 1102 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 1103 | // .. .. |
| 1104 | EMIT_MASKWRITE(0XF8006120, 0x7FFFFFCFU ,0x40000001U), |
| 1105 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 1106 | // .. .. ==> 0XF8006124[0:0] = 0x00000001U |
| 1107 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1108 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 1109 | // .. .. ==> 0XF8006124[1:1] = 0x00000000U |
| 1110 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1111 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 1112 | // .. .. ==> 0XF8006124[2:2] = 0x00000000U |
| 1113 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1114 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 1115 | // .. .. ==> 0XF8006124[3:3] = 0x00000000U |
| 1116 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1117 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 1118 | // .. .. ==> 0XF8006124[14:6] = 0x00000000U |
| 1119 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 1120 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 1121 | // .. .. ==> 0XF8006124[23:15] = 0x00000000U |
| 1122 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 1123 | // .. .. reg_phy_dq_offset = 0x40 |
| 1124 | // .. .. ==> 0XF8006124[30:24] = 0x00000040U |
| 1125 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 1126 | // .. .. |
| 1127 | EMIT_MASKWRITE(0XF8006124, 0x7FFFFFCFU ,0x40000001U), |
| 1128 | // .. .. reg_phy_wrlvl_init_ratio = 0x1e |
| 1129 | // .. .. ==> 0XF800612C[9:0] = 0x0000001EU |
| 1130 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000001EU |
| 1131 | // .. .. reg_phy_gatelvl_init_ratio = 0xee |
| 1132 | // .. .. ==> 0XF800612C[19:10] = 0x000000EEU |
| 1133 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003B800U |
| 1134 | // .. .. |
| 1135 | EMIT_MASKWRITE(0XF800612C, 0x000FFFFFU ,0x0003B81EU), |
| 1136 | // .. .. reg_phy_wrlvl_init_ratio = 0x25 |
| 1137 | // .. .. ==> 0XF8006130[9:0] = 0x00000025U |
| 1138 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000025U |
| 1139 | // .. .. reg_phy_gatelvl_init_ratio = 0x10d |
| 1140 | // .. .. ==> 0XF8006130[19:10] = 0x0000010DU |
| 1141 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00043400U |
| 1142 | // .. .. |
| 1143 | EMIT_MASKWRITE(0XF8006130, 0x000FFFFFU ,0x00043425U), |
| 1144 | // .. .. reg_phy_wrlvl_init_ratio = 0x19 |
| 1145 | // .. .. ==> 0XF8006134[9:0] = 0x00000019U |
| 1146 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000019U |
| 1147 | // .. .. reg_phy_gatelvl_init_ratio = 0xf3 |
| 1148 | // .. .. ==> 0XF8006134[19:10] = 0x000000F3U |
| 1149 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003CC00U |
| 1150 | // .. .. |
| 1151 | EMIT_MASKWRITE(0XF8006134, 0x000FFFFFU ,0x0003CC19U), |
| 1152 | // .. .. reg_phy_wrlvl_init_ratio = 0x2a |
| 1153 | // .. .. ==> 0XF8006138[9:0] = 0x0000002AU |
| 1154 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000002AU |
| 1155 | // .. .. reg_phy_gatelvl_init_ratio = 0x109 |
| 1156 | // .. .. ==> 0XF8006138[19:10] = 0x00000109U |
| 1157 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00042400U |
| 1158 | // .. .. |
| 1159 | EMIT_MASKWRITE(0XF8006138, 0x000FFFFFU ,0x0004242AU), |
| 1160 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 1161 | // .. .. ==> 0XF8006140[9:0] = 0x00000035U |
| 1162 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 1163 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 1164 | // .. .. ==> 0XF8006140[10:10] = 0x00000000U |
| 1165 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1166 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 1167 | // .. .. ==> 0XF8006140[19:11] = 0x00000000U |
| 1168 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1169 | // .. .. |
| 1170 | EMIT_MASKWRITE(0XF8006140, 0x000FFFFFU ,0x00000035U), |
| 1171 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 1172 | // .. .. ==> 0XF8006144[9:0] = 0x00000035U |
| 1173 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 1174 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 1175 | // .. .. ==> 0XF8006144[10:10] = 0x00000000U |
| 1176 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1177 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 1178 | // .. .. ==> 0XF8006144[19:11] = 0x00000000U |
| 1179 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1180 | // .. .. |
| 1181 | EMIT_MASKWRITE(0XF8006144, 0x000FFFFFU ,0x00000035U), |
| 1182 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 1183 | // .. .. ==> 0XF8006148[9:0] = 0x00000035U |
| 1184 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 1185 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 1186 | // .. .. ==> 0XF8006148[10:10] = 0x00000000U |
| 1187 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1188 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 1189 | // .. .. ==> 0XF8006148[19:11] = 0x00000000U |
| 1190 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1191 | // .. .. |
| 1192 | EMIT_MASKWRITE(0XF8006148, 0x000FFFFFU ,0x00000035U), |
| 1193 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 1194 | // .. .. ==> 0XF800614C[9:0] = 0x00000035U |
| 1195 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 1196 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 1197 | // .. .. ==> 0XF800614C[10:10] = 0x00000000U |
| 1198 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1199 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 1200 | // .. .. ==> 0XF800614C[19:11] = 0x00000000U |
| 1201 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1202 | // .. .. |
| 1203 | EMIT_MASKWRITE(0XF800614C, 0x000FFFFFU ,0x00000035U), |
| 1204 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x9e |
| 1205 | // .. .. ==> 0XF8006154[9:0] = 0x0000009EU |
| 1206 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000009EU |
| 1207 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 1208 | // .. .. ==> 0XF8006154[10:10] = 0x00000000U |
| 1209 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1210 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 1211 | // .. .. ==> 0XF8006154[19:11] = 0x00000000U |
| 1212 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1213 | // .. .. |
| 1214 | EMIT_MASKWRITE(0XF8006154, 0x000FFFFFU ,0x0000009EU), |
| 1215 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xa5 |
| 1216 | // .. .. ==> 0XF8006158[9:0] = 0x000000A5U |
| 1217 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000A5U |
| 1218 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 1219 | // .. .. ==> 0XF8006158[10:10] = 0x00000000U |
| 1220 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1221 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 1222 | // .. .. ==> 0XF8006158[19:11] = 0x00000000U |
| 1223 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1224 | // .. .. |
| 1225 | EMIT_MASKWRITE(0XF8006158, 0x000FFFFFU ,0x000000A5U), |
| 1226 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x99 |
| 1227 | // .. .. ==> 0XF800615C[9:0] = 0x00000099U |
| 1228 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000099U |
| 1229 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 1230 | // .. .. ==> 0XF800615C[10:10] = 0x00000000U |
| 1231 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1232 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 1233 | // .. .. ==> 0XF800615C[19:11] = 0x00000000U |
| 1234 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1235 | // .. .. |
| 1236 | EMIT_MASKWRITE(0XF800615C, 0x000FFFFFU ,0x00000099U), |
| 1237 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xaa |
| 1238 | // .. .. ==> 0XF8006160[9:0] = 0x000000AAU |
| 1239 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000AAU |
| 1240 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 1241 | // .. .. ==> 0XF8006160[10:10] = 0x00000000U |
| 1242 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1243 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 1244 | // .. .. ==> 0XF8006160[19:11] = 0x00000000U |
| 1245 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1246 | // .. .. |
| 1247 | EMIT_MASKWRITE(0XF8006160, 0x000FFFFFU ,0x000000AAU), |
| 1248 | // .. .. reg_phy_fifo_we_slave_ratio = 0x143 |
| 1249 | // .. .. ==> 0XF8006168[10:0] = 0x00000143U |
| 1250 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000143U |
| 1251 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 1252 | // .. .. ==> 0XF8006168[11:11] = 0x00000000U |
| 1253 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1254 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 1255 | // .. .. ==> 0XF8006168[20:12] = 0x00000000U |
| 1256 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 1257 | // .. .. |
| 1258 | EMIT_MASKWRITE(0XF8006168, 0x001FFFFFU ,0x00000143U), |
| 1259 | // .. .. reg_phy_fifo_we_slave_ratio = 0x162 |
| 1260 | // .. .. ==> 0XF800616C[10:0] = 0x00000162U |
| 1261 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000162U |
| 1262 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 1263 | // .. .. ==> 0XF800616C[11:11] = 0x00000000U |
| 1264 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1265 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 1266 | // .. .. ==> 0XF800616C[20:12] = 0x00000000U |
| 1267 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 1268 | // .. .. |
| 1269 | EMIT_MASKWRITE(0XF800616C, 0x001FFFFFU ,0x00000162U), |
| 1270 | // .. .. reg_phy_fifo_we_slave_ratio = 0x148 |
| 1271 | // .. .. ==> 0XF8006170[10:0] = 0x00000148U |
| 1272 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000148U |
| 1273 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 1274 | // .. .. ==> 0XF8006170[11:11] = 0x00000000U |
| 1275 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1276 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 1277 | // .. .. ==> 0XF8006170[20:12] = 0x00000000U |
| 1278 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 1279 | // .. .. |
| 1280 | EMIT_MASKWRITE(0XF8006170, 0x001FFFFFU ,0x00000148U), |
| 1281 | // .. .. reg_phy_fifo_we_slave_ratio = 0x15e |
| 1282 | // .. .. ==> 0XF8006174[10:0] = 0x0000015EU |
| 1283 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000015EU |
| 1284 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 1285 | // .. .. ==> 0XF8006174[11:11] = 0x00000000U |
| 1286 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1287 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 1288 | // .. .. ==> 0XF8006174[20:12] = 0x00000000U |
| 1289 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 1290 | // .. .. |
| 1291 | EMIT_MASKWRITE(0XF8006174, 0x001FFFFFU ,0x0000015EU), |
| 1292 | // .. .. reg_phy_wr_data_slave_ratio = 0xde |
| 1293 | // .. .. ==> 0XF800617C[9:0] = 0x000000DEU |
| 1294 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000DEU |
| 1295 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 1296 | // .. .. ==> 0XF800617C[10:10] = 0x00000000U |
| 1297 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1298 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 1299 | // .. .. ==> 0XF800617C[19:11] = 0x00000000U |
| 1300 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1301 | // .. .. |
| 1302 | EMIT_MASKWRITE(0XF800617C, 0x000FFFFFU ,0x000000DEU), |
| 1303 | // .. .. reg_phy_wr_data_slave_ratio = 0xe5 |
| 1304 | // .. .. ==> 0XF8006180[9:0] = 0x000000E5U |
| 1305 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000E5U |
| 1306 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 1307 | // .. .. ==> 0XF8006180[10:10] = 0x00000000U |
| 1308 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1309 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 1310 | // .. .. ==> 0XF8006180[19:11] = 0x00000000U |
| 1311 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1312 | // .. .. |
| 1313 | EMIT_MASKWRITE(0XF8006180, 0x000FFFFFU ,0x000000E5U), |
| 1314 | // .. .. reg_phy_wr_data_slave_ratio = 0xd9 |
| 1315 | // .. .. ==> 0XF8006184[9:0] = 0x000000D9U |
| 1316 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000D9U |
| 1317 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 1318 | // .. .. ==> 0XF8006184[10:10] = 0x00000000U |
| 1319 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1320 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 1321 | // .. .. ==> 0XF8006184[19:11] = 0x00000000U |
| 1322 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1323 | // .. .. |
| 1324 | EMIT_MASKWRITE(0XF8006184, 0x000FFFFFU ,0x000000D9U), |
| 1325 | // .. .. reg_phy_wr_data_slave_ratio = 0xea |
| 1326 | // .. .. ==> 0XF8006188[9:0] = 0x000000EAU |
| 1327 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000EAU |
| 1328 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 1329 | // .. .. ==> 0XF8006188[10:10] = 0x00000000U |
| 1330 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 1331 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 1332 | // .. .. ==> 0XF8006188[19:11] = 0x00000000U |
| 1333 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 1334 | // .. .. |
| 1335 | EMIT_MASKWRITE(0XF8006188, 0x000FFFFFU ,0x000000EAU), |
| 1336 | // .. .. reg_phy_bl2 = 0x0 |
| 1337 | // .. .. ==> 0XF8006190[1:1] = 0x00000000U |
| 1338 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1339 | // .. .. reg_phy_at_spd_atpg = 0x0 |
| 1340 | // .. .. ==> 0XF8006190[2:2] = 0x00000000U |
| 1341 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1342 | // .. .. reg_phy_bist_enable = 0x0 |
| 1343 | // .. .. ==> 0XF8006190[3:3] = 0x00000000U |
| 1344 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1345 | // .. .. reg_phy_bist_force_err = 0x0 |
| 1346 | // .. .. ==> 0XF8006190[4:4] = 0x00000000U |
| 1347 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 1348 | // .. .. reg_phy_bist_mode = 0x0 |
| 1349 | // .. .. ==> 0XF8006190[6:5] = 0x00000000U |
| 1350 | // .. .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 1351 | // .. .. reg_phy_invert_clkout = 0x1 |
| 1352 | // .. .. ==> 0XF8006190[7:7] = 0x00000001U |
| 1353 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 1354 | // .. .. reg_phy_sel_logic = 0x0 |
| 1355 | // .. .. ==> 0XF8006190[9:9] = 0x00000000U |
| 1356 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 1357 | // .. .. reg_phy_ctrl_slave_ratio = 0x100 |
| 1358 | // .. .. ==> 0XF8006190[19:10] = 0x00000100U |
| 1359 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00040000U |
| 1360 | // .. .. reg_phy_ctrl_slave_force = 0x0 |
| 1361 | // .. .. ==> 0XF8006190[20:20] = 0x00000000U |
| 1362 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 1363 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 1364 | // .. .. ==> 0XF8006190[27:21] = 0x00000000U |
| 1365 | // .. .. ==> MASK : 0x0FE00000U VAL : 0x00000000U |
| 1366 | // .. .. reg_phy_lpddr = 0x0 |
| 1367 | // .. .. ==> 0XF8006190[29:29] = 0x00000000U |
| 1368 | // .. .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 1369 | // .. .. reg_phy_cmd_latency = 0x0 |
| 1370 | // .. .. ==> 0XF8006190[30:30] = 0x00000000U |
| 1371 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 1372 | // .. .. |
| 1373 | EMIT_MASKWRITE(0XF8006190, 0x6FFFFEFEU ,0x00040080U), |
| 1374 | // .. .. reg_phy_wr_rl_delay = 0x2 |
| 1375 | // .. .. ==> 0XF8006194[4:0] = 0x00000002U |
| 1376 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000002U |
| 1377 | // .. .. reg_phy_rd_rl_delay = 0x4 |
| 1378 | // .. .. ==> 0XF8006194[9:5] = 0x00000004U |
| 1379 | // .. .. ==> MASK : 0x000003E0U VAL : 0x00000080U |
| 1380 | // .. .. reg_phy_dll_lock_diff = 0xf |
| 1381 | // .. .. ==> 0XF8006194[13:10] = 0x0000000FU |
| 1382 | // .. .. ==> MASK : 0x00003C00U VAL : 0x00003C00U |
| 1383 | // .. .. reg_phy_use_wr_level = 0x1 |
| 1384 | // .. .. ==> 0XF8006194[14:14] = 0x00000001U |
| 1385 | // .. .. ==> MASK : 0x00004000U VAL : 0x00004000U |
| 1386 | // .. .. reg_phy_use_rd_dqs_gate_level = 0x1 |
| 1387 | // .. .. ==> 0XF8006194[15:15] = 0x00000001U |
| 1388 | // .. .. ==> MASK : 0x00008000U VAL : 0x00008000U |
| 1389 | // .. .. reg_phy_use_rd_data_eye_level = 0x1 |
| 1390 | // .. .. ==> 0XF8006194[16:16] = 0x00000001U |
| 1391 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 1392 | // .. .. reg_phy_dis_calib_rst = 0x0 |
| 1393 | // .. .. ==> 0XF8006194[17:17] = 0x00000000U |
| 1394 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1395 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 1396 | // .. .. ==> 0XF8006194[19:18] = 0x00000000U |
| 1397 | // .. .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 1398 | // .. .. |
| 1399 | EMIT_MASKWRITE(0XF8006194, 0x000FFFFFU ,0x0001FC82U), |
| 1400 | // .. .. reg_arb_page_addr_mask = 0x0 |
| 1401 | // .. .. ==> 0XF8006204[31:0] = 0x00000000U |
| 1402 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 1403 | // .. .. |
| 1404 | EMIT_MASKWRITE(0XF8006204, 0xFFFFFFFFU ,0x00000000U), |
| 1405 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 1406 | // .. .. ==> 0XF8006208[9:0] = 0x000003FFU |
| 1407 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1408 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 1409 | // .. .. ==> 0XF8006208[16:16] = 0x00000000U |
| 1410 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1411 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 1412 | // .. .. ==> 0XF8006208[17:17] = 0x00000000U |
| 1413 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1414 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 1415 | // .. .. ==> 0XF8006208[18:18] = 0x00000000U |
| 1416 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1417 | // .. .. |
| 1418 | EMIT_MASKWRITE(0XF8006208, 0x000703FFU ,0x000003FFU), |
| 1419 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 1420 | // .. .. ==> 0XF800620C[9:0] = 0x000003FFU |
| 1421 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1422 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 1423 | // .. .. ==> 0XF800620C[16:16] = 0x00000000U |
| 1424 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1425 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 1426 | // .. .. ==> 0XF800620C[17:17] = 0x00000000U |
| 1427 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1428 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 1429 | // .. .. ==> 0XF800620C[18:18] = 0x00000000U |
| 1430 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1431 | // .. .. |
| 1432 | EMIT_MASKWRITE(0XF800620C, 0x000703FFU ,0x000003FFU), |
| 1433 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 1434 | // .. .. ==> 0XF8006210[9:0] = 0x000003FFU |
| 1435 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1436 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 1437 | // .. .. ==> 0XF8006210[16:16] = 0x00000000U |
| 1438 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1439 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 1440 | // .. .. ==> 0XF8006210[17:17] = 0x00000000U |
| 1441 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1442 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 1443 | // .. .. ==> 0XF8006210[18:18] = 0x00000000U |
| 1444 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1445 | // .. .. |
| 1446 | EMIT_MASKWRITE(0XF8006210, 0x000703FFU ,0x000003FFU), |
| 1447 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 1448 | // .. .. ==> 0XF8006214[9:0] = 0x000003FFU |
| 1449 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1450 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 1451 | // .. .. ==> 0XF8006214[16:16] = 0x00000000U |
| 1452 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1453 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 1454 | // .. .. ==> 0XF8006214[17:17] = 0x00000000U |
| 1455 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1456 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 1457 | // .. .. ==> 0XF8006214[18:18] = 0x00000000U |
| 1458 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1459 | // .. .. |
| 1460 | EMIT_MASKWRITE(0XF8006214, 0x000703FFU ,0x000003FFU), |
| 1461 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 1462 | // .. .. ==> 0XF8006218[9:0] = 0x000003FFU |
| 1463 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1464 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 1465 | // .. .. ==> 0XF8006218[16:16] = 0x00000000U |
| 1466 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1467 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 1468 | // .. .. ==> 0XF8006218[17:17] = 0x00000000U |
| 1469 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1470 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 1471 | // .. .. ==> 0XF8006218[18:18] = 0x00000000U |
| 1472 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1473 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 1474 | // .. .. ==> 0XF8006218[19:19] = 0x00000000U |
| 1475 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 1476 | // .. .. |
| 1477 | EMIT_MASKWRITE(0XF8006218, 0x000F03FFU ,0x000003FFU), |
| 1478 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 1479 | // .. .. ==> 0XF800621C[9:0] = 0x000003FFU |
| 1480 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1481 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 1482 | // .. .. ==> 0XF800621C[16:16] = 0x00000000U |
| 1483 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1484 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 1485 | // .. .. ==> 0XF800621C[17:17] = 0x00000000U |
| 1486 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1487 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 1488 | // .. .. ==> 0XF800621C[18:18] = 0x00000000U |
| 1489 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1490 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 1491 | // .. .. ==> 0XF800621C[19:19] = 0x00000000U |
| 1492 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 1493 | // .. .. |
| 1494 | EMIT_MASKWRITE(0XF800621C, 0x000F03FFU ,0x000003FFU), |
| 1495 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 1496 | // .. .. ==> 0XF8006220[9:0] = 0x000003FFU |
| 1497 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1498 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 1499 | // .. .. ==> 0XF8006220[16:16] = 0x00000000U |
| 1500 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1501 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 1502 | // .. .. ==> 0XF8006220[17:17] = 0x00000000U |
| 1503 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1504 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 1505 | // .. .. ==> 0XF8006220[18:18] = 0x00000000U |
| 1506 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1507 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 1508 | // .. .. ==> 0XF8006220[19:19] = 0x00000000U |
| 1509 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 1510 | // .. .. |
| 1511 | EMIT_MASKWRITE(0XF8006220, 0x000F03FFU ,0x000003FFU), |
| 1512 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 1513 | // .. .. ==> 0XF8006224[9:0] = 0x000003FFU |
| 1514 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 1515 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 1516 | // .. .. ==> 0XF8006224[16:16] = 0x00000000U |
| 1517 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1518 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 1519 | // .. .. ==> 0XF8006224[17:17] = 0x00000000U |
| 1520 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 1521 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 1522 | // .. .. ==> 0XF8006224[18:18] = 0x00000000U |
| 1523 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 1524 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 1525 | // .. .. ==> 0XF8006224[19:19] = 0x00000000U |
| 1526 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 1527 | // .. .. |
| 1528 | EMIT_MASKWRITE(0XF8006224, 0x000F03FFU ,0x000003FFU), |
| 1529 | // .. .. reg_ddrc_lpddr2 = 0x0 |
| 1530 | // .. .. ==> 0XF80062A8[0:0] = 0x00000000U |
| 1531 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1532 | // .. .. reg_ddrc_derate_enable = 0x0 |
| 1533 | // .. .. ==> 0XF80062A8[2:2] = 0x00000000U |
| 1534 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1535 | // .. .. reg_ddrc_mr4_margin = 0x0 |
| 1536 | // .. .. ==> 0XF80062A8[11:4] = 0x00000000U |
| 1537 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000000U |
| 1538 | // .. .. |
| 1539 | EMIT_MASKWRITE(0XF80062A8, 0x00000FF5U ,0x00000000U), |
| 1540 | // .. .. reg_ddrc_mr4_read_interval = 0x0 |
| 1541 | // .. .. ==> 0XF80062AC[31:0] = 0x00000000U |
| 1542 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 1543 | // .. .. |
| 1544 | EMIT_MASKWRITE(0XF80062AC, 0xFFFFFFFFU ,0x00000000U), |
| 1545 | // .. .. reg_ddrc_min_stable_clock_x1 = 0x5 |
| 1546 | // .. .. ==> 0XF80062B0[3:0] = 0x00000005U |
| 1547 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000005U |
| 1548 | // .. .. reg_ddrc_idle_after_reset_x32 = 0x12 |
| 1549 | // .. .. ==> 0XF80062B0[11:4] = 0x00000012U |
| 1550 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000120U |
| 1551 | // .. .. reg_ddrc_t_mrw = 0x5 |
| 1552 | // .. .. ==> 0XF80062B0[21:12] = 0x00000005U |
| 1553 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00005000U |
| 1554 | // .. .. |
| 1555 | EMIT_MASKWRITE(0XF80062B0, 0x003FFFFFU ,0x00005125U), |
| 1556 | // .. .. reg_ddrc_max_auto_init_x1024 = 0xa8 |
| 1557 | // .. .. ==> 0XF80062B4[7:0] = 0x000000A8U |
| 1558 | // .. .. ==> MASK : 0x000000FFU VAL : 0x000000A8U |
| 1559 | // .. .. reg_ddrc_dev_zqinit_x32 = 0x12 |
| 1560 | // .. .. ==> 0XF80062B4[17:8] = 0x00000012U |
| 1561 | // .. .. ==> MASK : 0x0003FF00U VAL : 0x00001200U |
| 1562 | // .. .. |
| 1563 | EMIT_MASKWRITE(0XF80062B4, 0x0003FFFFU ,0x000012A8U), |
| 1564 | // .. .. START: POLL ON DCI STATUS |
| 1565 | // .. .. DONE = 1 |
| 1566 | // .. .. ==> 0XF8000B74[13:13] = 0x00000001U |
| 1567 | // .. .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 1568 | // .. .. |
| 1569 | EMIT_MASKPOLL(0XF8000B74, 0x00002000U), |
| 1570 | // .. .. FINISH: POLL ON DCI STATUS |
| 1571 | // .. .. START: UNLOCK DDR |
| 1572 | // .. .. reg_ddrc_soft_rstb = 0x1 |
| 1573 | // .. .. ==> 0XF8006000[0:0] = 0x00000001U |
| 1574 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1575 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 1576 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 1577 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 1578 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 1579 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 1580 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 1581 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 1582 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 1583 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 1584 | // .. .. reg_ddrc_rdwr_idle_gap = 1 |
| 1585 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 1586 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 1587 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 1588 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 1589 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 1590 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 1591 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 1592 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 1593 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 1594 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 1595 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 1596 | // .. .. |
| 1597 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000081U), |
| 1598 | // .. .. FINISH: UNLOCK DDR |
| 1599 | // .. .. START: CHECK DDR STATUS |
| 1600 | // .. .. ddrc_reg_operating_mode = 1 |
| 1601 | // .. .. ==> 0XF8006054[2:0] = 0x00000001U |
| 1602 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000001U |
| 1603 | // .. .. |
| 1604 | EMIT_MASKPOLL(0XF8006054, 0x00000007U), |
| 1605 | // .. .. FINISH: CHECK DDR STATUS |
| 1606 | // .. FINISH: DDR INITIALIZATION |
| 1607 | // FINISH: top |
| 1608 | // |
| 1609 | EMIT_EXIT(), |
| 1610 | |
| 1611 | // |
| 1612 | }; |
| 1613 | |
| 1614 | unsigned long ps7_mio_init_data_3_0[] = { |
| 1615 | // START: top |
| 1616 | // .. START: SLCR SETTINGS |
| 1617 | // .. UNLOCK_KEY = 0XDF0D |
| 1618 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 1619 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 1620 | // .. |
| 1621 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 1622 | // .. FINISH: SLCR SETTINGS |
| 1623 | // .. START: OCM REMAPPING |
| 1624 | // .. VREF_EN = 0x1 |
| 1625 | // .. ==> 0XF8000B00[0:0] = 0x00000001U |
| 1626 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1627 | // .. VREF_SEL = 0x0 |
| 1628 | // .. ==> 0XF8000B00[6:4] = 0x00000000U |
| 1629 | // .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 1630 | // .. |
| 1631 | EMIT_MASKWRITE(0XF8000B00, 0x00000071U ,0x00000001U), |
| 1632 | // .. FINISH: OCM REMAPPING |
| 1633 | // .. START: DDRIOB SETTINGS |
| 1634 | // .. reserved_INP_POWER = 0x0 |
| 1635 | // .. ==> 0XF8000B40[0:0] = 0x00000000U |
| 1636 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1637 | // .. INP_TYPE = 0x0 |
| 1638 | // .. ==> 0XF8000B40[2:1] = 0x00000000U |
| 1639 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 1640 | // .. DCI_UPDATE_B = 0x0 |
| 1641 | // .. ==> 0XF8000B40[3:3] = 0x00000000U |
| 1642 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1643 | // .. TERM_EN = 0x0 |
| 1644 | // .. ==> 0XF8000B40[4:4] = 0x00000000U |
| 1645 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 1646 | // .. DCI_TYPE = 0x0 |
| 1647 | // .. ==> 0XF8000B40[6:5] = 0x00000000U |
| 1648 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 1649 | // .. IBUF_DISABLE_MODE = 0x0 |
| 1650 | // .. ==> 0XF8000B40[7:7] = 0x00000000U |
| 1651 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1652 | // .. TERM_DISABLE_MODE = 0x0 |
| 1653 | // .. ==> 0XF8000B40[8:8] = 0x00000000U |
| 1654 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1655 | // .. OUTPUT_EN = 0x3 |
| 1656 | // .. ==> 0XF8000B40[10:9] = 0x00000003U |
| 1657 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1658 | // .. PULLUP_EN = 0x0 |
| 1659 | // .. ==> 0XF8000B40[11:11] = 0x00000000U |
| 1660 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1661 | // .. |
| 1662 | EMIT_MASKWRITE(0XF8000B40, 0x00000FFFU ,0x00000600U), |
| 1663 | // .. reserved_INP_POWER = 0x0 |
| 1664 | // .. ==> 0XF8000B44[0:0] = 0x00000000U |
| 1665 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1666 | // .. INP_TYPE = 0x0 |
| 1667 | // .. ==> 0XF8000B44[2:1] = 0x00000000U |
| 1668 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 1669 | // .. DCI_UPDATE_B = 0x0 |
| 1670 | // .. ==> 0XF8000B44[3:3] = 0x00000000U |
| 1671 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1672 | // .. TERM_EN = 0x0 |
| 1673 | // .. ==> 0XF8000B44[4:4] = 0x00000000U |
| 1674 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 1675 | // .. DCI_TYPE = 0x0 |
| 1676 | // .. ==> 0XF8000B44[6:5] = 0x00000000U |
| 1677 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 1678 | // .. IBUF_DISABLE_MODE = 0x0 |
| 1679 | // .. ==> 0XF8000B44[7:7] = 0x00000000U |
| 1680 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1681 | // .. TERM_DISABLE_MODE = 0x0 |
| 1682 | // .. ==> 0XF8000B44[8:8] = 0x00000000U |
| 1683 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1684 | // .. OUTPUT_EN = 0x3 |
| 1685 | // .. ==> 0XF8000B44[10:9] = 0x00000003U |
| 1686 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1687 | // .. PULLUP_EN = 0x0 |
| 1688 | // .. ==> 0XF8000B44[11:11] = 0x00000000U |
| 1689 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1690 | // .. |
| 1691 | EMIT_MASKWRITE(0XF8000B44, 0x00000FFFU ,0x00000600U), |
| 1692 | // .. reserved_INP_POWER = 0x0 |
| 1693 | // .. ==> 0XF8000B48[0:0] = 0x00000000U |
| 1694 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1695 | // .. INP_TYPE = 0x1 |
| 1696 | // .. ==> 0XF8000B48[2:1] = 0x00000001U |
| 1697 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 1698 | // .. DCI_UPDATE_B = 0x0 |
| 1699 | // .. ==> 0XF8000B48[3:3] = 0x00000000U |
| 1700 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1701 | // .. TERM_EN = 0x1 |
| 1702 | // .. ==> 0XF8000B48[4:4] = 0x00000001U |
| 1703 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 1704 | // .. DCI_TYPE = 0x3 |
| 1705 | // .. ==> 0XF8000B48[6:5] = 0x00000003U |
| 1706 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 1707 | // .. IBUF_DISABLE_MODE = 0 |
| 1708 | // .. ==> 0XF8000B48[7:7] = 0x00000000U |
| 1709 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1710 | // .. TERM_DISABLE_MODE = 0 |
| 1711 | // .. ==> 0XF8000B48[8:8] = 0x00000000U |
| 1712 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1713 | // .. OUTPUT_EN = 0x3 |
| 1714 | // .. ==> 0XF8000B48[10:9] = 0x00000003U |
| 1715 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1716 | // .. PULLUP_EN = 0x0 |
| 1717 | // .. ==> 0XF8000B48[11:11] = 0x00000000U |
| 1718 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1719 | // .. |
| 1720 | EMIT_MASKWRITE(0XF8000B48, 0x00000FFFU ,0x00000672U), |
| 1721 | // .. reserved_INP_POWER = 0x0 |
| 1722 | // .. ==> 0XF8000B4C[0:0] = 0x00000000U |
| 1723 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1724 | // .. INP_TYPE = 0x1 |
| 1725 | // .. ==> 0XF8000B4C[2:1] = 0x00000001U |
| 1726 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 1727 | // .. DCI_UPDATE_B = 0x0 |
| 1728 | // .. ==> 0XF8000B4C[3:3] = 0x00000000U |
| 1729 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1730 | // .. TERM_EN = 0x1 |
| 1731 | // .. ==> 0XF8000B4C[4:4] = 0x00000001U |
| 1732 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 1733 | // .. DCI_TYPE = 0x3 |
| 1734 | // .. ==> 0XF8000B4C[6:5] = 0x00000003U |
| 1735 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 1736 | // .. IBUF_DISABLE_MODE = 0 |
| 1737 | // .. ==> 0XF8000B4C[7:7] = 0x00000000U |
| 1738 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1739 | // .. TERM_DISABLE_MODE = 0 |
| 1740 | // .. ==> 0XF8000B4C[8:8] = 0x00000000U |
| 1741 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1742 | // .. OUTPUT_EN = 0x3 |
| 1743 | // .. ==> 0XF8000B4C[10:9] = 0x00000003U |
| 1744 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1745 | // .. PULLUP_EN = 0x0 |
| 1746 | // .. ==> 0XF8000B4C[11:11] = 0x00000000U |
| 1747 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1748 | // .. |
| 1749 | EMIT_MASKWRITE(0XF8000B4C, 0x00000FFFU ,0x00000672U), |
| 1750 | // .. reserved_INP_POWER = 0x0 |
| 1751 | // .. ==> 0XF8000B50[0:0] = 0x00000000U |
| 1752 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1753 | // .. INP_TYPE = 0x2 |
| 1754 | // .. ==> 0XF8000B50[2:1] = 0x00000002U |
| 1755 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 1756 | // .. DCI_UPDATE_B = 0x0 |
| 1757 | // .. ==> 0XF8000B50[3:3] = 0x00000000U |
| 1758 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1759 | // .. TERM_EN = 0x1 |
| 1760 | // .. ==> 0XF8000B50[4:4] = 0x00000001U |
| 1761 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 1762 | // .. DCI_TYPE = 0x3 |
| 1763 | // .. ==> 0XF8000B50[6:5] = 0x00000003U |
| 1764 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 1765 | // .. IBUF_DISABLE_MODE = 0 |
| 1766 | // .. ==> 0XF8000B50[7:7] = 0x00000000U |
| 1767 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1768 | // .. TERM_DISABLE_MODE = 0 |
| 1769 | // .. ==> 0XF8000B50[8:8] = 0x00000000U |
| 1770 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1771 | // .. OUTPUT_EN = 0x3 |
| 1772 | // .. ==> 0XF8000B50[10:9] = 0x00000003U |
| 1773 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1774 | // .. PULLUP_EN = 0x0 |
| 1775 | // .. ==> 0XF8000B50[11:11] = 0x00000000U |
| 1776 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1777 | // .. |
| 1778 | EMIT_MASKWRITE(0XF8000B50, 0x00000FFFU ,0x00000674U), |
| 1779 | // .. reserved_INP_POWER = 0x0 |
| 1780 | // .. ==> 0XF8000B54[0:0] = 0x00000000U |
| 1781 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1782 | // .. INP_TYPE = 0x2 |
| 1783 | // .. ==> 0XF8000B54[2:1] = 0x00000002U |
| 1784 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 1785 | // .. DCI_UPDATE_B = 0x0 |
| 1786 | // .. ==> 0XF8000B54[3:3] = 0x00000000U |
| 1787 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1788 | // .. TERM_EN = 0x1 |
| 1789 | // .. ==> 0XF8000B54[4:4] = 0x00000001U |
| 1790 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 1791 | // .. DCI_TYPE = 0x3 |
| 1792 | // .. ==> 0XF8000B54[6:5] = 0x00000003U |
| 1793 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 1794 | // .. IBUF_DISABLE_MODE = 0 |
| 1795 | // .. ==> 0XF8000B54[7:7] = 0x00000000U |
| 1796 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1797 | // .. TERM_DISABLE_MODE = 0 |
| 1798 | // .. ==> 0XF8000B54[8:8] = 0x00000000U |
| 1799 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1800 | // .. OUTPUT_EN = 0x3 |
| 1801 | // .. ==> 0XF8000B54[10:9] = 0x00000003U |
| 1802 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1803 | // .. PULLUP_EN = 0x0 |
| 1804 | // .. ==> 0XF8000B54[11:11] = 0x00000000U |
| 1805 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1806 | // .. |
| 1807 | EMIT_MASKWRITE(0XF8000B54, 0x00000FFFU ,0x00000674U), |
| 1808 | // .. reserved_INP_POWER = 0x0 |
| 1809 | // .. ==> 0XF8000B58[0:0] = 0x00000000U |
| 1810 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1811 | // .. INP_TYPE = 0x0 |
| 1812 | // .. ==> 0XF8000B58[2:1] = 0x00000000U |
| 1813 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 1814 | // .. DCI_UPDATE_B = 0x0 |
| 1815 | // .. ==> 0XF8000B58[3:3] = 0x00000000U |
| 1816 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1817 | // .. TERM_EN = 0x0 |
| 1818 | // .. ==> 0XF8000B58[4:4] = 0x00000000U |
| 1819 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 1820 | // .. DCI_TYPE = 0x0 |
| 1821 | // .. ==> 0XF8000B58[6:5] = 0x00000000U |
| 1822 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 1823 | // .. IBUF_DISABLE_MODE = 0x0 |
| 1824 | // .. ==> 0XF8000B58[7:7] = 0x00000000U |
| 1825 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 1826 | // .. TERM_DISABLE_MODE = 0x0 |
| 1827 | // .. ==> 0XF8000B58[8:8] = 0x00000000U |
| 1828 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 1829 | // .. OUTPUT_EN = 0x3 |
| 1830 | // .. ==> 0XF8000B58[10:9] = 0x00000003U |
| 1831 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 1832 | // .. PULLUP_EN = 0x0 |
| 1833 | // .. ==> 0XF8000B58[11:11] = 0x00000000U |
| 1834 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 1835 | // .. |
| 1836 | EMIT_MASKWRITE(0XF8000B58, 0x00000FFFU ,0x00000600U), |
| 1837 | // .. reserved_DRIVE_P = 0x1c |
| 1838 | // .. ==> 0XF8000B5C[6:0] = 0x0000001CU |
| 1839 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 1840 | // .. reserved_DRIVE_N = 0xc |
| 1841 | // .. ==> 0XF8000B5C[13:7] = 0x0000000CU |
| 1842 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 1843 | // .. reserved_SLEW_P = 0x3 |
| 1844 | // .. ==> 0XF8000B5C[18:14] = 0x00000003U |
| 1845 | // .. ==> MASK : 0x0007C000U VAL : 0x0000C000U |
| 1846 | // .. reserved_SLEW_N = 0x3 |
| 1847 | // .. ==> 0XF8000B5C[23:19] = 0x00000003U |
| 1848 | // .. ==> MASK : 0x00F80000U VAL : 0x00180000U |
| 1849 | // .. reserved_GTL = 0x0 |
| 1850 | // .. ==> 0XF8000B5C[26:24] = 0x00000000U |
| 1851 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 1852 | // .. reserved_RTERM = 0x0 |
| 1853 | // .. ==> 0XF8000B5C[31:27] = 0x00000000U |
| 1854 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 1855 | // .. |
| 1856 | EMIT_MASKWRITE(0XF8000B5C, 0xFFFFFFFFU ,0x0018C61CU), |
| 1857 | // .. reserved_DRIVE_P = 0x1c |
| 1858 | // .. ==> 0XF8000B60[6:0] = 0x0000001CU |
| 1859 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 1860 | // .. reserved_DRIVE_N = 0xc |
| 1861 | // .. ==> 0XF8000B60[13:7] = 0x0000000CU |
| 1862 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 1863 | // .. reserved_SLEW_P = 0x6 |
| 1864 | // .. ==> 0XF8000B60[18:14] = 0x00000006U |
| 1865 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 1866 | // .. reserved_SLEW_N = 0x1f |
| 1867 | // .. ==> 0XF8000B60[23:19] = 0x0000001FU |
| 1868 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 1869 | // .. reserved_GTL = 0x0 |
| 1870 | // .. ==> 0XF8000B60[26:24] = 0x00000000U |
| 1871 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 1872 | // .. reserved_RTERM = 0x0 |
| 1873 | // .. ==> 0XF8000B60[31:27] = 0x00000000U |
| 1874 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 1875 | // .. |
| 1876 | EMIT_MASKWRITE(0XF8000B60, 0xFFFFFFFFU ,0x00F9861CU), |
| 1877 | // .. reserved_DRIVE_P = 0x1c |
| 1878 | // .. ==> 0XF8000B64[6:0] = 0x0000001CU |
| 1879 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 1880 | // .. reserved_DRIVE_N = 0xc |
| 1881 | // .. ==> 0XF8000B64[13:7] = 0x0000000CU |
| 1882 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 1883 | // .. reserved_SLEW_P = 0x6 |
| 1884 | // .. ==> 0XF8000B64[18:14] = 0x00000006U |
| 1885 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 1886 | // .. reserved_SLEW_N = 0x1f |
| 1887 | // .. ==> 0XF8000B64[23:19] = 0x0000001FU |
| 1888 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 1889 | // .. reserved_GTL = 0x0 |
| 1890 | // .. ==> 0XF8000B64[26:24] = 0x00000000U |
| 1891 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 1892 | // .. reserved_RTERM = 0x0 |
| 1893 | // .. ==> 0XF8000B64[31:27] = 0x00000000U |
| 1894 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 1895 | // .. |
| 1896 | EMIT_MASKWRITE(0XF8000B64, 0xFFFFFFFFU ,0x00F9861CU), |
| 1897 | // .. reserved_DRIVE_P = 0x1c |
| 1898 | // .. ==> 0XF8000B68[6:0] = 0x0000001CU |
| 1899 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 1900 | // .. reserved_DRIVE_N = 0xc |
| 1901 | // .. ==> 0XF8000B68[13:7] = 0x0000000CU |
| 1902 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 1903 | // .. reserved_SLEW_P = 0x6 |
| 1904 | // .. ==> 0XF8000B68[18:14] = 0x00000006U |
| 1905 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 1906 | // .. reserved_SLEW_N = 0x1f |
| 1907 | // .. ==> 0XF8000B68[23:19] = 0x0000001FU |
| 1908 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 1909 | // .. reserved_GTL = 0x0 |
| 1910 | // .. ==> 0XF8000B68[26:24] = 0x00000000U |
| 1911 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 1912 | // .. reserved_RTERM = 0x0 |
| 1913 | // .. ==> 0XF8000B68[31:27] = 0x00000000U |
| 1914 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 1915 | // .. |
| 1916 | EMIT_MASKWRITE(0XF8000B68, 0xFFFFFFFFU ,0x00F9861CU), |
| 1917 | // .. VREF_INT_EN = 0x1 |
| 1918 | // .. ==> 0XF8000B6C[0:0] = 0x00000001U |
| 1919 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1920 | // .. VREF_SEL = 0x4 |
| 1921 | // .. ==> 0XF8000B6C[4:1] = 0x00000004U |
| 1922 | // .. ==> MASK : 0x0000001EU VAL : 0x00000008U |
| 1923 | // .. VREF_EXT_EN = 0x0 |
| 1924 | // .. ==> 0XF8000B6C[6:5] = 0x00000000U |
| 1925 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 1926 | // .. reserved_VREF_PULLUP_EN = 0x0 |
| 1927 | // .. ==> 0XF8000B6C[8:7] = 0x00000000U |
| 1928 | // .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 1929 | // .. REFIO_EN = 0x1 |
| 1930 | // .. ==> 0XF8000B6C[9:9] = 0x00000001U |
| 1931 | // .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 1932 | // .. reserved_REFIO_TEST = 0x3 |
| 1933 | // .. ==> 0XF8000B6C[11:10] = 0x00000003U |
| 1934 | // .. ==> MASK : 0x00000C00U VAL : 0x00000C00U |
| 1935 | // .. reserved_REFIO_PULLUP_EN = 0x0 |
| 1936 | // .. ==> 0XF8000B6C[12:12] = 0x00000000U |
| 1937 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 1938 | // .. reserved_DRST_B_PULLUP_EN = 0x0 |
| 1939 | // .. ==> 0XF8000B6C[13:13] = 0x00000000U |
| 1940 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 1941 | // .. reserved_CKE_PULLUP_EN = 0x0 |
| 1942 | // .. ==> 0XF8000B6C[14:14] = 0x00000000U |
| 1943 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 1944 | // .. |
| 1945 | EMIT_MASKWRITE(0XF8000B6C, 0x00007FFFU ,0x00000E09U), |
| 1946 | // .. .. START: ASSERT RESET |
| 1947 | // .. .. RESET = 1 |
| 1948 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 1949 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1950 | // .. .. |
| 1951 | EMIT_MASKWRITE(0XF8000B70, 0x00000001U ,0x00000001U), |
| 1952 | // .. .. FINISH: ASSERT RESET |
| 1953 | // .. .. START: DEASSERT RESET |
| 1954 | // .. .. RESET = 0 |
| 1955 | // .. .. ==> 0XF8000B70[0:0] = 0x00000000U |
| 1956 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 1957 | // .. .. reserved_VRN_OUT = 0x1 |
| 1958 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 1959 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 1960 | // .. .. |
| 1961 | EMIT_MASKWRITE(0XF8000B70, 0x00000021U ,0x00000020U), |
| 1962 | // .. .. FINISH: DEASSERT RESET |
| 1963 | // .. .. RESET = 0x1 |
| 1964 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 1965 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 1966 | // .. .. ENABLE = 0x1 |
| 1967 | // .. .. ==> 0XF8000B70[1:1] = 0x00000001U |
| 1968 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 1969 | // .. .. reserved_VRP_TRI = 0x0 |
| 1970 | // .. .. ==> 0XF8000B70[2:2] = 0x00000000U |
| 1971 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 1972 | // .. .. reserved_VRN_TRI = 0x0 |
| 1973 | // .. .. ==> 0XF8000B70[3:3] = 0x00000000U |
| 1974 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 1975 | // .. .. reserved_VRP_OUT = 0x0 |
| 1976 | // .. .. ==> 0XF8000B70[4:4] = 0x00000000U |
| 1977 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 1978 | // .. .. reserved_VRN_OUT = 0x1 |
| 1979 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 1980 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 1981 | // .. .. NREF_OPT1 = 0x0 |
| 1982 | // .. .. ==> 0XF8000B70[7:6] = 0x00000000U |
| 1983 | // .. .. ==> MASK : 0x000000C0U VAL : 0x00000000U |
| 1984 | // .. .. NREF_OPT2 = 0x0 |
| 1985 | // .. .. ==> 0XF8000B70[10:8] = 0x00000000U |
| 1986 | // .. .. ==> MASK : 0x00000700U VAL : 0x00000000U |
| 1987 | // .. .. NREF_OPT4 = 0x1 |
| 1988 | // .. .. ==> 0XF8000B70[13:11] = 0x00000001U |
| 1989 | // .. .. ==> MASK : 0x00003800U VAL : 0x00000800U |
| 1990 | // .. .. PREF_OPT1 = 0x0 |
| 1991 | // .. .. ==> 0XF8000B70[15:14] = 0x00000000U |
| 1992 | // .. .. ==> MASK : 0x0000C000U VAL : 0x00000000U |
| 1993 | // .. .. PREF_OPT2 = 0x0 |
| 1994 | // .. .. ==> 0XF8000B70[19:17] = 0x00000000U |
| 1995 | // .. .. ==> MASK : 0x000E0000U VAL : 0x00000000U |
| 1996 | // .. .. UPDATE_CONTROL = 0x0 |
| 1997 | // .. .. ==> 0XF8000B70[20:20] = 0x00000000U |
| 1998 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 1999 | // .. .. reserved_INIT_COMPLETE = 0x0 |
| 2000 | // .. .. ==> 0XF8000B70[21:21] = 0x00000000U |
| 2001 | // .. .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 2002 | // .. .. reserved_TST_CLK = 0x0 |
| 2003 | // .. .. ==> 0XF8000B70[22:22] = 0x00000000U |
| 2004 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 2005 | // .. .. reserved_TST_HLN = 0x0 |
| 2006 | // .. .. ==> 0XF8000B70[23:23] = 0x00000000U |
| 2007 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 2008 | // .. .. reserved_TST_HLP = 0x0 |
| 2009 | // .. .. ==> 0XF8000B70[24:24] = 0x00000000U |
| 2010 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 2011 | // .. .. reserved_TST_RST = 0x0 |
| 2012 | // .. .. ==> 0XF8000B70[25:25] = 0x00000000U |
| 2013 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 2014 | // .. .. reserved_INT_DCI_EN = 0x0 |
| 2015 | // .. .. ==> 0XF8000B70[26:26] = 0x00000000U |
| 2016 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 2017 | // .. .. |
| 2018 | EMIT_MASKWRITE(0XF8000B70, 0x07FEFFFFU ,0x00000823U), |
| 2019 | // .. FINISH: DDRIOB SETTINGS |
| 2020 | // .. START: MIO PROGRAMMING |
| 2021 | // .. TRI_ENABLE = 0 |
| 2022 | // .. ==> 0XF8000700[0:0] = 0x00000000U |
| 2023 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2024 | // .. L0_SEL = 1 |
| 2025 | // .. ==> 0XF8000700[1:1] = 0x00000001U |
| 2026 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2027 | // .. L1_SEL = 0 |
| 2028 | // .. ==> 0XF8000700[2:2] = 0x00000000U |
| 2029 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2030 | // .. L2_SEL = 0 |
| 2031 | // .. ==> 0XF8000700[4:3] = 0x00000000U |
| 2032 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2033 | // .. L3_SEL = 0 |
| 2034 | // .. ==> 0XF8000700[7:5] = 0x00000000U |
| 2035 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2036 | // .. Speed = 0 |
| 2037 | // .. ==> 0XF8000700[8:8] = 0x00000000U |
| 2038 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2039 | // .. IO_Type = 1 |
| 2040 | // .. ==> 0XF8000700[11:9] = 0x00000001U |
| 2041 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2042 | // .. PULLUP = 1 |
| 2043 | // .. ==> 0XF8000700[12:12] = 0x00000001U |
| 2044 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2045 | // .. DisableRcvr = 0 |
| 2046 | // .. ==> 0XF8000700[13:13] = 0x00000000U |
| 2047 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2048 | // .. |
| 2049 | EMIT_MASKWRITE(0XF8000700, 0x00003FFFU ,0x00001202U), |
| 2050 | // .. TRI_ENABLE = 0 |
| 2051 | // .. ==> 0XF8000704[0:0] = 0x00000000U |
| 2052 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2053 | // .. L0_SEL = 1 |
| 2054 | // .. ==> 0XF8000704[1:1] = 0x00000001U |
| 2055 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2056 | // .. L1_SEL = 0 |
| 2057 | // .. ==> 0XF8000704[2:2] = 0x00000000U |
| 2058 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2059 | // .. L2_SEL = 0 |
| 2060 | // .. ==> 0XF8000704[4:3] = 0x00000000U |
| 2061 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2062 | // .. L3_SEL = 0 |
| 2063 | // .. ==> 0XF8000704[7:5] = 0x00000000U |
| 2064 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2065 | // .. Speed = 0 |
| 2066 | // .. ==> 0XF8000704[8:8] = 0x00000000U |
| 2067 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2068 | // .. IO_Type = 1 |
| 2069 | // .. ==> 0XF8000704[11:9] = 0x00000001U |
| 2070 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2071 | // .. PULLUP = 1 |
| 2072 | // .. ==> 0XF8000704[12:12] = 0x00000001U |
| 2073 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2074 | // .. DisableRcvr = 0 |
| 2075 | // .. ==> 0XF8000704[13:13] = 0x00000000U |
| 2076 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2077 | // .. |
| 2078 | EMIT_MASKWRITE(0XF8000704, 0x00003FFFU ,0x00001202U), |
| 2079 | // .. TRI_ENABLE = 0 |
| 2080 | // .. ==> 0XF8000708[0:0] = 0x00000000U |
| 2081 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2082 | // .. L0_SEL = 1 |
| 2083 | // .. ==> 0XF8000708[1:1] = 0x00000001U |
| 2084 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2085 | // .. L1_SEL = 0 |
| 2086 | // .. ==> 0XF8000708[2:2] = 0x00000000U |
| 2087 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2088 | // .. L2_SEL = 0 |
| 2089 | // .. ==> 0XF8000708[4:3] = 0x00000000U |
| 2090 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2091 | // .. L3_SEL = 0 |
| 2092 | // .. ==> 0XF8000708[7:5] = 0x00000000U |
| 2093 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2094 | // .. Speed = 0 |
| 2095 | // .. ==> 0XF8000708[8:8] = 0x00000000U |
| 2096 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2097 | // .. IO_Type = 1 |
| 2098 | // .. ==> 0XF8000708[11:9] = 0x00000001U |
| 2099 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2100 | // .. PULLUP = 0 |
| 2101 | // .. ==> 0XF8000708[12:12] = 0x00000000U |
| 2102 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2103 | // .. DisableRcvr = 0 |
| 2104 | // .. ==> 0XF8000708[13:13] = 0x00000000U |
| 2105 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2106 | // .. |
| 2107 | EMIT_MASKWRITE(0XF8000708, 0x00003FFFU ,0x00000202U), |
| 2108 | // .. TRI_ENABLE = 0 |
| 2109 | // .. ==> 0XF800070C[0:0] = 0x00000000U |
| 2110 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2111 | // .. L0_SEL = 1 |
| 2112 | // .. ==> 0XF800070C[1:1] = 0x00000001U |
| 2113 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2114 | // .. L1_SEL = 0 |
| 2115 | // .. ==> 0XF800070C[2:2] = 0x00000000U |
| 2116 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2117 | // .. L2_SEL = 0 |
| 2118 | // .. ==> 0XF800070C[4:3] = 0x00000000U |
| 2119 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2120 | // .. L3_SEL = 0 |
| 2121 | // .. ==> 0XF800070C[7:5] = 0x00000000U |
| 2122 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2123 | // .. Speed = 0 |
| 2124 | // .. ==> 0XF800070C[8:8] = 0x00000000U |
| 2125 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2126 | // .. IO_Type = 1 |
| 2127 | // .. ==> 0XF800070C[11:9] = 0x00000001U |
| 2128 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2129 | // .. PULLUP = 0 |
| 2130 | // .. ==> 0XF800070C[12:12] = 0x00000000U |
| 2131 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2132 | // .. DisableRcvr = 0 |
| 2133 | // .. ==> 0XF800070C[13:13] = 0x00000000U |
| 2134 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2135 | // .. |
| 2136 | EMIT_MASKWRITE(0XF800070C, 0x00003FFFU ,0x00000202U), |
| 2137 | // .. TRI_ENABLE = 0 |
| 2138 | // .. ==> 0XF8000710[0:0] = 0x00000000U |
| 2139 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2140 | // .. L0_SEL = 1 |
| 2141 | // .. ==> 0XF8000710[1:1] = 0x00000001U |
| 2142 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2143 | // .. L1_SEL = 0 |
| 2144 | // .. ==> 0XF8000710[2:2] = 0x00000000U |
| 2145 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2146 | // .. L2_SEL = 0 |
| 2147 | // .. ==> 0XF8000710[4:3] = 0x00000000U |
| 2148 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2149 | // .. L3_SEL = 0 |
| 2150 | // .. ==> 0XF8000710[7:5] = 0x00000000U |
| 2151 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2152 | // .. Speed = 0 |
| 2153 | // .. ==> 0XF8000710[8:8] = 0x00000000U |
| 2154 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2155 | // .. IO_Type = 1 |
| 2156 | // .. ==> 0XF8000710[11:9] = 0x00000001U |
| 2157 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2158 | // .. PULLUP = 0 |
| 2159 | // .. ==> 0XF8000710[12:12] = 0x00000000U |
| 2160 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2161 | // .. DisableRcvr = 0 |
| 2162 | // .. ==> 0XF8000710[13:13] = 0x00000000U |
| 2163 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2164 | // .. |
| 2165 | EMIT_MASKWRITE(0XF8000710, 0x00003FFFU ,0x00000202U), |
| 2166 | // .. TRI_ENABLE = 0 |
| 2167 | // .. ==> 0XF8000714[0:0] = 0x00000000U |
| 2168 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2169 | // .. L0_SEL = 1 |
| 2170 | // .. ==> 0XF8000714[1:1] = 0x00000001U |
| 2171 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2172 | // .. L1_SEL = 0 |
| 2173 | // .. ==> 0XF8000714[2:2] = 0x00000000U |
| 2174 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2175 | // .. L2_SEL = 0 |
| 2176 | // .. ==> 0XF8000714[4:3] = 0x00000000U |
| 2177 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2178 | // .. L3_SEL = 0 |
| 2179 | // .. ==> 0XF8000714[7:5] = 0x00000000U |
| 2180 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2181 | // .. Speed = 0 |
| 2182 | // .. ==> 0XF8000714[8:8] = 0x00000000U |
| 2183 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2184 | // .. IO_Type = 1 |
| 2185 | // .. ==> 0XF8000714[11:9] = 0x00000001U |
| 2186 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2187 | // .. PULLUP = 0 |
| 2188 | // .. ==> 0XF8000714[12:12] = 0x00000000U |
| 2189 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2190 | // .. DisableRcvr = 0 |
| 2191 | // .. ==> 0XF8000714[13:13] = 0x00000000U |
| 2192 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2193 | // .. |
| 2194 | EMIT_MASKWRITE(0XF8000714, 0x00003FFFU ,0x00000202U), |
| 2195 | // .. TRI_ENABLE = 0 |
| 2196 | // .. ==> 0XF8000718[0:0] = 0x00000000U |
| 2197 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2198 | // .. L0_SEL = 1 |
| 2199 | // .. ==> 0XF8000718[1:1] = 0x00000001U |
| 2200 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2201 | // .. L1_SEL = 0 |
| 2202 | // .. ==> 0XF8000718[2:2] = 0x00000000U |
| 2203 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2204 | // .. L2_SEL = 0 |
| 2205 | // .. ==> 0XF8000718[4:3] = 0x00000000U |
| 2206 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2207 | // .. L3_SEL = 0 |
| 2208 | // .. ==> 0XF8000718[7:5] = 0x00000000U |
| 2209 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2210 | // .. Speed = 0 |
| 2211 | // .. ==> 0XF8000718[8:8] = 0x00000000U |
| 2212 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2213 | // .. IO_Type = 1 |
| 2214 | // .. ==> 0XF8000718[11:9] = 0x00000001U |
| 2215 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2216 | // .. PULLUP = 0 |
| 2217 | // .. ==> 0XF8000718[12:12] = 0x00000000U |
| 2218 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2219 | // .. DisableRcvr = 0 |
| 2220 | // .. ==> 0XF8000718[13:13] = 0x00000000U |
| 2221 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2222 | // .. |
| 2223 | EMIT_MASKWRITE(0XF8000718, 0x00003FFFU ,0x00000202U), |
| 2224 | // .. TRI_ENABLE = 0 |
| 2225 | // .. ==> 0XF800071C[0:0] = 0x00000000U |
| 2226 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2227 | // .. L0_SEL = 0 |
| 2228 | // .. ==> 0XF800071C[1:1] = 0x00000000U |
| 2229 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2230 | // .. L1_SEL = 0 |
| 2231 | // .. ==> 0XF800071C[2:2] = 0x00000000U |
| 2232 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2233 | // .. L2_SEL = 0 |
| 2234 | // .. ==> 0XF800071C[4:3] = 0x00000000U |
| 2235 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2236 | // .. L3_SEL = 0 |
| 2237 | // .. ==> 0XF800071C[7:5] = 0x00000000U |
| 2238 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2239 | // .. Speed = 0 |
| 2240 | // .. ==> 0XF800071C[8:8] = 0x00000000U |
| 2241 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2242 | // .. IO_Type = 1 |
| 2243 | // .. ==> 0XF800071C[11:9] = 0x00000001U |
| 2244 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2245 | // .. PULLUP = 0 |
| 2246 | // .. ==> 0XF800071C[12:12] = 0x00000000U |
| 2247 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2248 | // .. DisableRcvr = 0 |
| 2249 | // .. ==> 0XF800071C[13:13] = 0x00000000U |
| 2250 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2251 | // .. |
| 2252 | EMIT_MASKWRITE(0XF800071C, 0x00003FFFU ,0x00000200U), |
| 2253 | // .. TRI_ENABLE = 0 |
| 2254 | // .. ==> 0XF8000720[0:0] = 0x00000000U |
| 2255 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2256 | // .. L0_SEL = 1 |
| 2257 | // .. ==> 0XF8000720[1:1] = 0x00000001U |
| 2258 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2259 | // .. L1_SEL = 0 |
| 2260 | // .. ==> 0XF8000720[2:2] = 0x00000000U |
| 2261 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2262 | // .. L2_SEL = 0 |
| 2263 | // .. ==> 0XF8000720[4:3] = 0x00000000U |
| 2264 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2265 | // .. L3_SEL = 0 |
| 2266 | // .. ==> 0XF8000720[7:5] = 0x00000000U |
| 2267 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2268 | // .. Speed = 0 |
| 2269 | // .. ==> 0XF8000720[8:8] = 0x00000000U |
| 2270 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2271 | // .. IO_Type = 1 |
| 2272 | // .. ==> 0XF8000720[11:9] = 0x00000001U |
| 2273 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2274 | // .. PULLUP = 0 |
| 2275 | // .. ==> 0XF8000720[12:12] = 0x00000000U |
| 2276 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2277 | // .. DisableRcvr = 0 |
| 2278 | // .. ==> 0XF8000720[13:13] = 0x00000000U |
| 2279 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2280 | // .. |
| 2281 | EMIT_MASKWRITE(0XF8000720, 0x00003FFFU ,0x00000202U), |
| 2282 | // .. TRI_ENABLE = 0 |
| 2283 | // .. ==> 0XF8000724[0:0] = 0x00000000U |
| 2284 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2285 | // .. L0_SEL = 1 |
| 2286 | // .. ==> 0XF8000724[1:1] = 0x00000001U |
| 2287 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2288 | // .. L1_SEL = 0 |
| 2289 | // .. ==> 0XF8000724[2:2] = 0x00000000U |
| 2290 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2291 | // .. L2_SEL = 0 |
| 2292 | // .. ==> 0XF8000724[4:3] = 0x00000000U |
| 2293 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2294 | // .. L3_SEL = 0 |
| 2295 | // .. ==> 0XF8000724[7:5] = 0x00000000U |
| 2296 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2297 | // .. Speed = 0 |
| 2298 | // .. ==> 0XF8000724[8:8] = 0x00000000U |
| 2299 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2300 | // .. IO_Type = 1 |
| 2301 | // .. ==> 0XF8000724[11:9] = 0x00000001U |
| 2302 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2303 | // .. PULLUP = 1 |
| 2304 | // .. ==> 0XF8000724[12:12] = 0x00000001U |
| 2305 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2306 | // .. DisableRcvr = 0 |
| 2307 | // .. ==> 0XF8000724[13:13] = 0x00000000U |
| 2308 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2309 | // .. |
| 2310 | EMIT_MASKWRITE(0XF8000724, 0x00003FFFU ,0x00001202U), |
| 2311 | // .. TRI_ENABLE = 0 |
| 2312 | // .. ==> 0XF8000728[0:0] = 0x00000000U |
| 2313 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2314 | // .. L0_SEL = 1 |
| 2315 | // .. ==> 0XF8000728[1:1] = 0x00000001U |
| 2316 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2317 | // .. L1_SEL = 0 |
| 2318 | // .. ==> 0XF8000728[2:2] = 0x00000000U |
| 2319 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2320 | // .. L2_SEL = 0 |
| 2321 | // .. ==> 0XF8000728[4:3] = 0x00000000U |
| 2322 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2323 | // .. L3_SEL = 0 |
| 2324 | // .. ==> 0XF8000728[7:5] = 0x00000000U |
| 2325 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2326 | // .. Speed = 0 |
| 2327 | // .. ==> 0XF8000728[8:8] = 0x00000000U |
| 2328 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2329 | // .. IO_Type = 1 |
| 2330 | // .. ==> 0XF8000728[11:9] = 0x00000001U |
| 2331 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2332 | // .. PULLUP = 1 |
| 2333 | // .. ==> 0XF8000728[12:12] = 0x00000001U |
| 2334 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2335 | // .. DisableRcvr = 0 |
| 2336 | // .. ==> 0XF8000728[13:13] = 0x00000000U |
| 2337 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2338 | // .. |
| 2339 | EMIT_MASKWRITE(0XF8000728, 0x00003FFFU ,0x00001202U), |
| 2340 | // .. TRI_ENABLE = 0 |
| 2341 | // .. ==> 0XF800072C[0:0] = 0x00000000U |
| 2342 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2343 | // .. L0_SEL = 1 |
| 2344 | // .. ==> 0XF800072C[1:1] = 0x00000001U |
| 2345 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2346 | // .. L1_SEL = 0 |
| 2347 | // .. ==> 0XF800072C[2:2] = 0x00000000U |
| 2348 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2349 | // .. L2_SEL = 0 |
| 2350 | // .. ==> 0XF800072C[4:3] = 0x00000000U |
| 2351 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2352 | // .. L3_SEL = 0 |
| 2353 | // .. ==> 0XF800072C[7:5] = 0x00000000U |
| 2354 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2355 | // .. Speed = 0 |
| 2356 | // .. ==> 0XF800072C[8:8] = 0x00000000U |
| 2357 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2358 | // .. IO_Type = 1 |
| 2359 | // .. ==> 0XF800072C[11:9] = 0x00000001U |
| 2360 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2361 | // .. PULLUP = 1 |
| 2362 | // .. ==> 0XF800072C[12:12] = 0x00000001U |
| 2363 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2364 | // .. DisableRcvr = 0 |
| 2365 | // .. ==> 0XF800072C[13:13] = 0x00000000U |
| 2366 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2367 | // .. |
| 2368 | EMIT_MASKWRITE(0XF800072C, 0x00003FFFU ,0x00001202U), |
| 2369 | // .. TRI_ENABLE = 0 |
| 2370 | // .. ==> 0XF8000730[0:0] = 0x00000000U |
| 2371 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2372 | // .. L0_SEL = 1 |
| 2373 | // .. ==> 0XF8000730[1:1] = 0x00000001U |
| 2374 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2375 | // .. L1_SEL = 0 |
| 2376 | // .. ==> 0XF8000730[2:2] = 0x00000000U |
| 2377 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2378 | // .. L2_SEL = 0 |
| 2379 | // .. ==> 0XF8000730[4:3] = 0x00000000U |
| 2380 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2381 | // .. L3_SEL = 0 |
| 2382 | // .. ==> 0XF8000730[7:5] = 0x00000000U |
| 2383 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2384 | // .. Speed = 0 |
| 2385 | // .. ==> 0XF8000730[8:8] = 0x00000000U |
| 2386 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2387 | // .. IO_Type = 1 |
| 2388 | // .. ==> 0XF8000730[11:9] = 0x00000001U |
| 2389 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2390 | // .. PULLUP = 1 |
| 2391 | // .. ==> 0XF8000730[12:12] = 0x00000001U |
| 2392 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2393 | // .. DisableRcvr = 0 |
| 2394 | // .. ==> 0XF8000730[13:13] = 0x00000000U |
| 2395 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2396 | // .. |
| 2397 | EMIT_MASKWRITE(0XF8000730, 0x00003FFFU ,0x00001202U), |
| 2398 | // .. TRI_ENABLE = 0 |
| 2399 | // .. ==> 0XF8000734[0:0] = 0x00000000U |
| 2400 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2401 | // .. L0_SEL = 1 |
| 2402 | // .. ==> 0XF8000734[1:1] = 0x00000001U |
| 2403 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2404 | // .. L1_SEL = 0 |
| 2405 | // .. ==> 0XF8000734[2:2] = 0x00000000U |
| 2406 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2407 | // .. L2_SEL = 0 |
| 2408 | // .. ==> 0XF8000734[4:3] = 0x00000000U |
| 2409 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2410 | // .. L3_SEL = 0 |
| 2411 | // .. ==> 0XF8000734[7:5] = 0x00000000U |
| 2412 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2413 | // .. Speed = 0 |
| 2414 | // .. ==> 0XF8000734[8:8] = 0x00000000U |
| 2415 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2416 | // .. IO_Type = 1 |
| 2417 | // .. ==> 0XF8000734[11:9] = 0x00000001U |
| 2418 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2419 | // .. PULLUP = 1 |
| 2420 | // .. ==> 0XF8000734[12:12] = 0x00000001U |
| 2421 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2422 | // .. DisableRcvr = 0 |
| 2423 | // .. ==> 0XF8000734[13:13] = 0x00000000U |
| 2424 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2425 | // .. |
| 2426 | EMIT_MASKWRITE(0XF8000734, 0x00003FFFU ,0x00001202U), |
| 2427 | // .. TRI_ENABLE = 1 |
| 2428 | // .. ==> 0XF8000738[0:0] = 0x00000001U |
| 2429 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2430 | // .. Speed = 0 |
| 2431 | // .. ==> 0XF8000738[8:8] = 0x00000000U |
| 2432 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2433 | // .. IO_Type = 1 |
| 2434 | // .. ==> 0XF8000738[11:9] = 0x00000001U |
| 2435 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2436 | // .. PULLUP = 1 |
| 2437 | // .. ==> 0XF8000738[12:12] = 0x00000001U |
| 2438 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2439 | // .. DisableRcvr = 0 |
| 2440 | // .. ==> 0XF8000738[13:13] = 0x00000000U |
| 2441 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2442 | // .. |
| 2443 | EMIT_MASKWRITE(0XF8000738, 0x00003F01U ,0x00001201U), |
| 2444 | // .. TRI_ENABLE = 1 |
| 2445 | // .. ==> 0XF800073C[0:0] = 0x00000001U |
| 2446 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2447 | // .. Speed = 0 |
| 2448 | // .. ==> 0XF800073C[8:8] = 0x00000000U |
| 2449 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2450 | // .. IO_Type = 1 |
| 2451 | // .. ==> 0XF800073C[11:9] = 0x00000001U |
| 2452 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2453 | // .. PULLUP = 1 |
| 2454 | // .. ==> 0XF800073C[12:12] = 0x00000001U |
| 2455 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 2456 | // .. DisableRcvr = 0 |
| 2457 | // .. ==> 0XF800073C[13:13] = 0x00000000U |
| 2458 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2459 | // .. |
| 2460 | EMIT_MASKWRITE(0XF800073C, 0x00003F01U ,0x00001201U), |
| 2461 | // .. TRI_ENABLE = 0 |
| 2462 | // .. ==> 0XF8000740[0:0] = 0x00000000U |
| 2463 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2464 | // .. L0_SEL = 1 |
| 2465 | // .. ==> 0XF8000740[1:1] = 0x00000001U |
| 2466 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2467 | // .. L1_SEL = 0 |
| 2468 | // .. ==> 0XF8000740[2:2] = 0x00000000U |
| 2469 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2470 | // .. L2_SEL = 0 |
| 2471 | // .. ==> 0XF8000740[4:3] = 0x00000000U |
| 2472 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2473 | // .. L3_SEL = 0 |
| 2474 | // .. ==> 0XF8000740[7:5] = 0x00000000U |
| 2475 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2476 | // .. Speed = 0 |
| 2477 | // .. ==> 0XF8000740[8:8] = 0x00000000U |
| 2478 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2479 | // .. IO_Type = 4 |
| 2480 | // .. ==> 0XF8000740[11:9] = 0x00000004U |
| 2481 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2482 | // .. PULLUP = 0 |
| 2483 | // .. ==> 0XF8000740[12:12] = 0x00000000U |
| 2484 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2485 | // .. DisableRcvr = 1 |
| 2486 | // .. ==> 0XF8000740[13:13] = 0x00000001U |
| 2487 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2488 | // .. |
| 2489 | EMIT_MASKWRITE(0XF8000740, 0x00003FFFU ,0x00002802U), |
| 2490 | // .. TRI_ENABLE = 0 |
| 2491 | // .. ==> 0XF8000744[0:0] = 0x00000000U |
| 2492 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2493 | // .. L0_SEL = 1 |
| 2494 | // .. ==> 0XF8000744[1:1] = 0x00000001U |
| 2495 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2496 | // .. L1_SEL = 0 |
| 2497 | // .. ==> 0XF8000744[2:2] = 0x00000000U |
| 2498 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2499 | // .. L2_SEL = 0 |
| 2500 | // .. ==> 0XF8000744[4:3] = 0x00000000U |
| 2501 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2502 | // .. L3_SEL = 0 |
| 2503 | // .. ==> 0XF8000744[7:5] = 0x00000000U |
| 2504 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2505 | // .. Speed = 0 |
| 2506 | // .. ==> 0XF8000744[8:8] = 0x00000000U |
| 2507 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2508 | // .. IO_Type = 4 |
| 2509 | // .. ==> 0XF8000744[11:9] = 0x00000004U |
| 2510 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2511 | // .. PULLUP = 0 |
| 2512 | // .. ==> 0XF8000744[12:12] = 0x00000000U |
| 2513 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2514 | // .. DisableRcvr = 1 |
| 2515 | // .. ==> 0XF8000744[13:13] = 0x00000001U |
| 2516 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2517 | // .. |
| 2518 | EMIT_MASKWRITE(0XF8000744, 0x00003FFFU ,0x00002802U), |
| 2519 | // .. TRI_ENABLE = 0 |
| 2520 | // .. ==> 0XF8000748[0:0] = 0x00000000U |
| 2521 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2522 | // .. L0_SEL = 1 |
| 2523 | // .. ==> 0XF8000748[1:1] = 0x00000001U |
| 2524 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2525 | // .. L1_SEL = 0 |
| 2526 | // .. ==> 0XF8000748[2:2] = 0x00000000U |
| 2527 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2528 | // .. L2_SEL = 0 |
| 2529 | // .. ==> 0XF8000748[4:3] = 0x00000000U |
| 2530 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2531 | // .. L3_SEL = 0 |
| 2532 | // .. ==> 0XF8000748[7:5] = 0x00000000U |
| 2533 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2534 | // .. Speed = 0 |
| 2535 | // .. ==> 0XF8000748[8:8] = 0x00000000U |
| 2536 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2537 | // .. IO_Type = 4 |
| 2538 | // .. ==> 0XF8000748[11:9] = 0x00000004U |
| 2539 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2540 | // .. PULLUP = 0 |
| 2541 | // .. ==> 0XF8000748[12:12] = 0x00000000U |
| 2542 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2543 | // .. DisableRcvr = 1 |
| 2544 | // .. ==> 0XF8000748[13:13] = 0x00000001U |
| 2545 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2546 | // .. |
| 2547 | EMIT_MASKWRITE(0XF8000748, 0x00003FFFU ,0x00002802U), |
| 2548 | // .. TRI_ENABLE = 0 |
| 2549 | // .. ==> 0XF800074C[0:0] = 0x00000000U |
| 2550 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2551 | // .. L0_SEL = 1 |
| 2552 | // .. ==> 0XF800074C[1:1] = 0x00000001U |
| 2553 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2554 | // .. L1_SEL = 0 |
| 2555 | // .. ==> 0XF800074C[2:2] = 0x00000000U |
| 2556 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2557 | // .. L2_SEL = 0 |
| 2558 | // .. ==> 0XF800074C[4:3] = 0x00000000U |
| 2559 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2560 | // .. L3_SEL = 0 |
| 2561 | // .. ==> 0XF800074C[7:5] = 0x00000000U |
| 2562 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2563 | // .. Speed = 0 |
| 2564 | // .. ==> 0XF800074C[8:8] = 0x00000000U |
| 2565 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2566 | // .. IO_Type = 4 |
| 2567 | // .. ==> 0XF800074C[11:9] = 0x00000004U |
| 2568 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2569 | // .. PULLUP = 0 |
| 2570 | // .. ==> 0XF800074C[12:12] = 0x00000000U |
| 2571 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2572 | // .. DisableRcvr = 1 |
| 2573 | // .. ==> 0XF800074C[13:13] = 0x00000001U |
| 2574 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2575 | // .. |
| 2576 | EMIT_MASKWRITE(0XF800074C, 0x00003FFFU ,0x00002802U), |
| 2577 | // .. TRI_ENABLE = 0 |
| 2578 | // .. ==> 0XF8000750[0:0] = 0x00000000U |
| 2579 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2580 | // .. L0_SEL = 1 |
| 2581 | // .. ==> 0XF8000750[1:1] = 0x00000001U |
| 2582 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2583 | // .. L1_SEL = 0 |
| 2584 | // .. ==> 0XF8000750[2:2] = 0x00000000U |
| 2585 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2586 | // .. L2_SEL = 0 |
| 2587 | // .. ==> 0XF8000750[4:3] = 0x00000000U |
| 2588 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2589 | // .. L3_SEL = 0 |
| 2590 | // .. ==> 0XF8000750[7:5] = 0x00000000U |
| 2591 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2592 | // .. Speed = 0 |
| 2593 | // .. ==> 0XF8000750[8:8] = 0x00000000U |
| 2594 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2595 | // .. IO_Type = 4 |
| 2596 | // .. ==> 0XF8000750[11:9] = 0x00000004U |
| 2597 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2598 | // .. PULLUP = 0 |
| 2599 | // .. ==> 0XF8000750[12:12] = 0x00000000U |
| 2600 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2601 | // .. DisableRcvr = 1 |
| 2602 | // .. ==> 0XF8000750[13:13] = 0x00000001U |
| 2603 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2604 | // .. |
| 2605 | EMIT_MASKWRITE(0XF8000750, 0x00003FFFU ,0x00002802U), |
| 2606 | // .. TRI_ENABLE = 0 |
| 2607 | // .. ==> 0XF8000754[0:0] = 0x00000000U |
| 2608 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2609 | // .. L0_SEL = 1 |
| 2610 | // .. ==> 0XF8000754[1:1] = 0x00000001U |
| 2611 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2612 | // .. L1_SEL = 0 |
| 2613 | // .. ==> 0XF8000754[2:2] = 0x00000000U |
| 2614 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2615 | // .. L2_SEL = 0 |
| 2616 | // .. ==> 0XF8000754[4:3] = 0x00000000U |
| 2617 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2618 | // .. L3_SEL = 0 |
| 2619 | // .. ==> 0XF8000754[7:5] = 0x00000000U |
| 2620 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2621 | // .. Speed = 0 |
| 2622 | // .. ==> 0XF8000754[8:8] = 0x00000000U |
| 2623 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2624 | // .. IO_Type = 4 |
| 2625 | // .. ==> 0XF8000754[11:9] = 0x00000004U |
| 2626 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2627 | // .. PULLUP = 0 |
| 2628 | // .. ==> 0XF8000754[12:12] = 0x00000000U |
| 2629 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2630 | // .. DisableRcvr = 1 |
| 2631 | // .. ==> 0XF8000754[13:13] = 0x00000001U |
| 2632 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 2633 | // .. |
| 2634 | EMIT_MASKWRITE(0XF8000754, 0x00003FFFU ,0x00002802U), |
| 2635 | // .. TRI_ENABLE = 1 |
| 2636 | // .. ==> 0XF8000758[0:0] = 0x00000001U |
| 2637 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2638 | // .. L0_SEL = 1 |
| 2639 | // .. ==> 0XF8000758[1:1] = 0x00000001U |
| 2640 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2641 | // .. L1_SEL = 0 |
| 2642 | // .. ==> 0XF8000758[2:2] = 0x00000000U |
| 2643 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2644 | // .. L2_SEL = 0 |
| 2645 | // .. ==> 0XF8000758[4:3] = 0x00000000U |
| 2646 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2647 | // .. L3_SEL = 0 |
| 2648 | // .. ==> 0XF8000758[7:5] = 0x00000000U |
| 2649 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2650 | // .. Speed = 0 |
| 2651 | // .. ==> 0XF8000758[8:8] = 0x00000000U |
| 2652 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2653 | // .. IO_Type = 4 |
| 2654 | // .. ==> 0XF8000758[11:9] = 0x00000004U |
| 2655 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2656 | // .. PULLUP = 0 |
| 2657 | // .. ==> 0XF8000758[12:12] = 0x00000000U |
| 2658 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2659 | // .. DisableRcvr = 0 |
| 2660 | // .. ==> 0XF8000758[13:13] = 0x00000000U |
| 2661 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2662 | // .. |
| 2663 | EMIT_MASKWRITE(0XF8000758, 0x00003FFFU ,0x00000803U), |
| 2664 | // .. TRI_ENABLE = 1 |
| 2665 | // .. ==> 0XF800075C[0:0] = 0x00000001U |
| 2666 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2667 | // .. L0_SEL = 1 |
| 2668 | // .. ==> 0XF800075C[1:1] = 0x00000001U |
| 2669 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2670 | // .. L1_SEL = 0 |
| 2671 | // .. ==> 0XF800075C[2:2] = 0x00000000U |
| 2672 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2673 | // .. L2_SEL = 0 |
| 2674 | // .. ==> 0XF800075C[4:3] = 0x00000000U |
| 2675 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2676 | // .. L3_SEL = 0 |
| 2677 | // .. ==> 0XF800075C[7:5] = 0x00000000U |
| 2678 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2679 | // .. Speed = 0 |
| 2680 | // .. ==> 0XF800075C[8:8] = 0x00000000U |
| 2681 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2682 | // .. IO_Type = 4 |
| 2683 | // .. ==> 0XF800075C[11:9] = 0x00000004U |
| 2684 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2685 | // .. PULLUP = 0 |
| 2686 | // .. ==> 0XF800075C[12:12] = 0x00000000U |
| 2687 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2688 | // .. DisableRcvr = 0 |
| 2689 | // .. ==> 0XF800075C[13:13] = 0x00000000U |
| 2690 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2691 | // .. |
| 2692 | EMIT_MASKWRITE(0XF800075C, 0x00003FFFU ,0x00000803U), |
| 2693 | // .. TRI_ENABLE = 1 |
| 2694 | // .. ==> 0XF8000760[0:0] = 0x00000001U |
| 2695 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2696 | // .. L0_SEL = 1 |
| 2697 | // .. ==> 0XF8000760[1:1] = 0x00000001U |
| 2698 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2699 | // .. L1_SEL = 0 |
| 2700 | // .. ==> 0XF8000760[2:2] = 0x00000000U |
| 2701 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2702 | // .. L2_SEL = 0 |
| 2703 | // .. ==> 0XF8000760[4:3] = 0x00000000U |
| 2704 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2705 | // .. L3_SEL = 0 |
| 2706 | // .. ==> 0XF8000760[7:5] = 0x00000000U |
| 2707 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2708 | // .. Speed = 0 |
| 2709 | // .. ==> 0XF8000760[8:8] = 0x00000000U |
| 2710 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2711 | // .. IO_Type = 4 |
| 2712 | // .. ==> 0XF8000760[11:9] = 0x00000004U |
| 2713 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2714 | // .. PULLUP = 0 |
| 2715 | // .. ==> 0XF8000760[12:12] = 0x00000000U |
| 2716 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2717 | // .. DisableRcvr = 0 |
| 2718 | // .. ==> 0XF8000760[13:13] = 0x00000000U |
| 2719 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2720 | // .. |
| 2721 | EMIT_MASKWRITE(0XF8000760, 0x00003FFFU ,0x00000803U), |
| 2722 | // .. TRI_ENABLE = 1 |
| 2723 | // .. ==> 0XF8000764[0:0] = 0x00000001U |
| 2724 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2725 | // .. L0_SEL = 1 |
| 2726 | // .. ==> 0XF8000764[1:1] = 0x00000001U |
| 2727 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2728 | // .. L1_SEL = 0 |
| 2729 | // .. ==> 0XF8000764[2:2] = 0x00000000U |
| 2730 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2731 | // .. L2_SEL = 0 |
| 2732 | // .. ==> 0XF8000764[4:3] = 0x00000000U |
| 2733 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2734 | // .. L3_SEL = 0 |
| 2735 | // .. ==> 0XF8000764[7:5] = 0x00000000U |
| 2736 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2737 | // .. Speed = 0 |
| 2738 | // .. ==> 0XF8000764[8:8] = 0x00000000U |
| 2739 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2740 | // .. IO_Type = 4 |
| 2741 | // .. ==> 0XF8000764[11:9] = 0x00000004U |
| 2742 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2743 | // .. PULLUP = 0 |
| 2744 | // .. ==> 0XF8000764[12:12] = 0x00000000U |
| 2745 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2746 | // .. DisableRcvr = 0 |
| 2747 | // .. ==> 0XF8000764[13:13] = 0x00000000U |
| 2748 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2749 | // .. |
| 2750 | EMIT_MASKWRITE(0XF8000764, 0x00003FFFU ,0x00000803U), |
| 2751 | // .. TRI_ENABLE = 1 |
| 2752 | // .. ==> 0XF8000768[0:0] = 0x00000001U |
| 2753 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2754 | // .. L0_SEL = 1 |
| 2755 | // .. ==> 0XF8000768[1:1] = 0x00000001U |
| 2756 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2757 | // .. L1_SEL = 0 |
| 2758 | // .. ==> 0XF8000768[2:2] = 0x00000000U |
| 2759 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2760 | // .. L2_SEL = 0 |
| 2761 | // .. ==> 0XF8000768[4:3] = 0x00000000U |
| 2762 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2763 | // .. L3_SEL = 0 |
| 2764 | // .. ==> 0XF8000768[7:5] = 0x00000000U |
| 2765 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2766 | // .. Speed = 0 |
| 2767 | // .. ==> 0XF8000768[8:8] = 0x00000000U |
| 2768 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2769 | // .. IO_Type = 4 |
| 2770 | // .. ==> 0XF8000768[11:9] = 0x00000004U |
| 2771 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2772 | // .. PULLUP = 0 |
| 2773 | // .. ==> 0XF8000768[12:12] = 0x00000000U |
| 2774 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2775 | // .. DisableRcvr = 0 |
| 2776 | // .. ==> 0XF8000768[13:13] = 0x00000000U |
| 2777 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2778 | // .. |
| 2779 | EMIT_MASKWRITE(0XF8000768, 0x00003FFFU ,0x00000803U), |
| 2780 | // .. TRI_ENABLE = 1 |
| 2781 | // .. ==> 0XF800076C[0:0] = 0x00000001U |
| 2782 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2783 | // .. L0_SEL = 1 |
| 2784 | // .. ==> 0XF800076C[1:1] = 0x00000001U |
| 2785 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 2786 | // .. L1_SEL = 0 |
| 2787 | // .. ==> 0XF800076C[2:2] = 0x00000000U |
| 2788 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 2789 | // .. L2_SEL = 0 |
| 2790 | // .. ==> 0XF800076C[4:3] = 0x00000000U |
| 2791 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2792 | // .. L3_SEL = 0 |
| 2793 | // .. ==> 0XF800076C[7:5] = 0x00000000U |
| 2794 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2795 | // .. Speed = 0 |
| 2796 | // .. ==> 0XF800076C[8:8] = 0x00000000U |
| 2797 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2798 | // .. IO_Type = 4 |
| 2799 | // .. ==> 0XF800076C[11:9] = 0x00000004U |
| 2800 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 2801 | // .. PULLUP = 0 |
| 2802 | // .. ==> 0XF800076C[12:12] = 0x00000000U |
| 2803 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2804 | // .. DisableRcvr = 0 |
| 2805 | // .. ==> 0XF800076C[13:13] = 0x00000000U |
| 2806 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2807 | // .. |
| 2808 | EMIT_MASKWRITE(0XF800076C, 0x00003FFFU ,0x00000803U), |
| 2809 | // .. TRI_ENABLE = 0 |
| 2810 | // .. ==> 0XF8000770[0:0] = 0x00000000U |
| 2811 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2812 | // .. L0_SEL = 0 |
| 2813 | // .. ==> 0XF8000770[1:1] = 0x00000000U |
| 2814 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2815 | // .. L1_SEL = 1 |
| 2816 | // .. ==> 0XF8000770[2:2] = 0x00000001U |
| 2817 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2818 | // .. L2_SEL = 0 |
| 2819 | // .. ==> 0XF8000770[4:3] = 0x00000000U |
| 2820 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2821 | // .. L3_SEL = 0 |
| 2822 | // .. ==> 0XF8000770[7:5] = 0x00000000U |
| 2823 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2824 | // .. Speed = 0 |
| 2825 | // .. ==> 0XF8000770[8:8] = 0x00000000U |
| 2826 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2827 | // .. IO_Type = 1 |
| 2828 | // .. ==> 0XF8000770[11:9] = 0x00000001U |
| 2829 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2830 | // .. PULLUP = 0 |
| 2831 | // .. ==> 0XF8000770[12:12] = 0x00000000U |
| 2832 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2833 | // .. DisableRcvr = 0 |
| 2834 | // .. ==> 0XF8000770[13:13] = 0x00000000U |
| 2835 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2836 | // .. |
| 2837 | EMIT_MASKWRITE(0XF8000770, 0x00003FFFU ,0x00000204U), |
| 2838 | // .. TRI_ENABLE = 1 |
| 2839 | // .. ==> 0XF8000774[0:0] = 0x00000001U |
| 2840 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2841 | // .. L0_SEL = 0 |
| 2842 | // .. ==> 0XF8000774[1:1] = 0x00000000U |
| 2843 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2844 | // .. L1_SEL = 1 |
| 2845 | // .. ==> 0XF8000774[2:2] = 0x00000001U |
| 2846 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2847 | // .. L2_SEL = 0 |
| 2848 | // .. ==> 0XF8000774[4:3] = 0x00000000U |
| 2849 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2850 | // .. L3_SEL = 0 |
| 2851 | // .. ==> 0XF8000774[7:5] = 0x00000000U |
| 2852 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2853 | // .. Speed = 0 |
| 2854 | // .. ==> 0XF8000774[8:8] = 0x00000000U |
| 2855 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2856 | // .. IO_Type = 1 |
| 2857 | // .. ==> 0XF8000774[11:9] = 0x00000001U |
| 2858 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2859 | // .. PULLUP = 0 |
| 2860 | // .. ==> 0XF8000774[12:12] = 0x00000000U |
| 2861 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2862 | // .. DisableRcvr = 0 |
| 2863 | // .. ==> 0XF8000774[13:13] = 0x00000000U |
| 2864 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2865 | // .. |
| 2866 | EMIT_MASKWRITE(0XF8000774, 0x00003FFFU ,0x00000205U), |
| 2867 | // .. TRI_ENABLE = 0 |
| 2868 | // .. ==> 0XF8000778[0:0] = 0x00000000U |
| 2869 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2870 | // .. L0_SEL = 0 |
| 2871 | // .. ==> 0XF8000778[1:1] = 0x00000000U |
| 2872 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2873 | // .. L1_SEL = 1 |
| 2874 | // .. ==> 0XF8000778[2:2] = 0x00000001U |
| 2875 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2876 | // .. L2_SEL = 0 |
| 2877 | // .. ==> 0XF8000778[4:3] = 0x00000000U |
| 2878 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2879 | // .. L3_SEL = 0 |
| 2880 | // .. ==> 0XF8000778[7:5] = 0x00000000U |
| 2881 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2882 | // .. Speed = 0 |
| 2883 | // .. ==> 0XF8000778[8:8] = 0x00000000U |
| 2884 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2885 | // .. IO_Type = 1 |
| 2886 | // .. ==> 0XF8000778[11:9] = 0x00000001U |
| 2887 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2888 | // .. PULLUP = 0 |
| 2889 | // .. ==> 0XF8000778[12:12] = 0x00000000U |
| 2890 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2891 | // .. DisableRcvr = 0 |
| 2892 | // .. ==> 0XF8000778[13:13] = 0x00000000U |
| 2893 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2894 | // .. |
| 2895 | EMIT_MASKWRITE(0XF8000778, 0x00003FFFU ,0x00000204U), |
| 2896 | // .. TRI_ENABLE = 1 |
| 2897 | // .. ==> 0XF800077C[0:0] = 0x00000001U |
| 2898 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 2899 | // .. L0_SEL = 0 |
| 2900 | // .. ==> 0XF800077C[1:1] = 0x00000000U |
| 2901 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2902 | // .. L1_SEL = 1 |
| 2903 | // .. ==> 0XF800077C[2:2] = 0x00000001U |
| 2904 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2905 | // .. L2_SEL = 0 |
| 2906 | // .. ==> 0XF800077C[4:3] = 0x00000000U |
| 2907 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2908 | // .. L3_SEL = 0 |
| 2909 | // .. ==> 0XF800077C[7:5] = 0x00000000U |
| 2910 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2911 | // .. Speed = 0 |
| 2912 | // .. ==> 0XF800077C[8:8] = 0x00000000U |
| 2913 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2914 | // .. IO_Type = 1 |
| 2915 | // .. ==> 0XF800077C[11:9] = 0x00000001U |
| 2916 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2917 | // .. PULLUP = 0 |
| 2918 | // .. ==> 0XF800077C[12:12] = 0x00000000U |
| 2919 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2920 | // .. DisableRcvr = 0 |
| 2921 | // .. ==> 0XF800077C[13:13] = 0x00000000U |
| 2922 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2923 | // .. |
| 2924 | EMIT_MASKWRITE(0XF800077C, 0x00003FFFU ,0x00000205U), |
| 2925 | // .. TRI_ENABLE = 0 |
| 2926 | // .. ==> 0XF8000780[0:0] = 0x00000000U |
| 2927 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2928 | // .. L0_SEL = 0 |
| 2929 | // .. ==> 0XF8000780[1:1] = 0x00000000U |
| 2930 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2931 | // .. L1_SEL = 1 |
| 2932 | // .. ==> 0XF8000780[2:2] = 0x00000001U |
| 2933 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2934 | // .. L2_SEL = 0 |
| 2935 | // .. ==> 0XF8000780[4:3] = 0x00000000U |
| 2936 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2937 | // .. L3_SEL = 0 |
| 2938 | // .. ==> 0XF8000780[7:5] = 0x00000000U |
| 2939 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2940 | // .. Speed = 0 |
| 2941 | // .. ==> 0XF8000780[8:8] = 0x00000000U |
| 2942 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2943 | // .. IO_Type = 1 |
| 2944 | // .. ==> 0XF8000780[11:9] = 0x00000001U |
| 2945 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2946 | // .. PULLUP = 0 |
| 2947 | // .. ==> 0XF8000780[12:12] = 0x00000000U |
| 2948 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2949 | // .. DisableRcvr = 0 |
| 2950 | // .. ==> 0XF8000780[13:13] = 0x00000000U |
| 2951 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2952 | // .. |
| 2953 | EMIT_MASKWRITE(0XF8000780, 0x00003FFFU ,0x00000204U), |
| 2954 | // .. TRI_ENABLE = 0 |
| 2955 | // .. ==> 0XF8000784[0:0] = 0x00000000U |
| 2956 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2957 | // .. L0_SEL = 0 |
| 2958 | // .. ==> 0XF8000784[1:1] = 0x00000000U |
| 2959 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2960 | // .. L1_SEL = 1 |
| 2961 | // .. ==> 0XF8000784[2:2] = 0x00000001U |
| 2962 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2963 | // .. L2_SEL = 0 |
| 2964 | // .. ==> 0XF8000784[4:3] = 0x00000000U |
| 2965 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2966 | // .. L3_SEL = 0 |
| 2967 | // .. ==> 0XF8000784[7:5] = 0x00000000U |
| 2968 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2969 | // .. Speed = 0 |
| 2970 | // .. ==> 0XF8000784[8:8] = 0x00000000U |
| 2971 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 2972 | // .. IO_Type = 1 |
| 2973 | // .. ==> 0XF8000784[11:9] = 0x00000001U |
| 2974 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 2975 | // .. PULLUP = 0 |
| 2976 | // .. ==> 0XF8000784[12:12] = 0x00000000U |
| 2977 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 2978 | // .. DisableRcvr = 0 |
| 2979 | // .. ==> 0XF8000784[13:13] = 0x00000000U |
| 2980 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 2981 | // .. |
| 2982 | EMIT_MASKWRITE(0XF8000784, 0x00003FFFU ,0x00000204U), |
| 2983 | // .. TRI_ENABLE = 0 |
| 2984 | // .. ==> 0XF8000788[0:0] = 0x00000000U |
| 2985 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 2986 | // .. L0_SEL = 0 |
| 2987 | // .. ==> 0XF8000788[1:1] = 0x00000000U |
| 2988 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 2989 | // .. L1_SEL = 1 |
| 2990 | // .. ==> 0XF8000788[2:2] = 0x00000001U |
| 2991 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 2992 | // .. L2_SEL = 0 |
| 2993 | // .. ==> 0XF8000788[4:3] = 0x00000000U |
| 2994 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 2995 | // .. L3_SEL = 0 |
| 2996 | // .. ==> 0XF8000788[7:5] = 0x00000000U |
| 2997 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 2998 | // .. Speed = 0 |
| 2999 | // .. ==> 0XF8000788[8:8] = 0x00000000U |
| 3000 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3001 | // .. IO_Type = 1 |
| 3002 | // .. ==> 0XF8000788[11:9] = 0x00000001U |
| 3003 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3004 | // .. PULLUP = 0 |
| 3005 | // .. ==> 0XF8000788[12:12] = 0x00000000U |
| 3006 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3007 | // .. DisableRcvr = 0 |
| 3008 | // .. ==> 0XF8000788[13:13] = 0x00000000U |
| 3009 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3010 | // .. |
| 3011 | EMIT_MASKWRITE(0XF8000788, 0x00003FFFU ,0x00000204U), |
| 3012 | // .. TRI_ENABLE = 0 |
| 3013 | // .. ==> 0XF800078C[0:0] = 0x00000000U |
| 3014 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3015 | // .. L0_SEL = 0 |
| 3016 | // .. ==> 0XF800078C[1:1] = 0x00000000U |
| 3017 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3018 | // .. L1_SEL = 1 |
| 3019 | // .. ==> 0XF800078C[2:2] = 0x00000001U |
| 3020 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 3021 | // .. L2_SEL = 0 |
| 3022 | // .. ==> 0XF800078C[4:3] = 0x00000000U |
| 3023 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3024 | // .. L3_SEL = 0 |
| 3025 | // .. ==> 0XF800078C[7:5] = 0x00000000U |
| 3026 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3027 | // .. Speed = 0 |
| 3028 | // .. ==> 0XF800078C[8:8] = 0x00000000U |
| 3029 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3030 | // .. IO_Type = 1 |
| 3031 | // .. ==> 0XF800078C[11:9] = 0x00000001U |
| 3032 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3033 | // .. PULLUP = 0 |
| 3034 | // .. ==> 0XF800078C[12:12] = 0x00000000U |
| 3035 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3036 | // .. DisableRcvr = 0 |
| 3037 | // .. ==> 0XF800078C[13:13] = 0x00000000U |
| 3038 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3039 | // .. |
| 3040 | EMIT_MASKWRITE(0XF800078C, 0x00003FFFU ,0x00000204U), |
| 3041 | // .. TRI_ENABLE = 1 |
| 3042 | // .. ==> 0XF8000790[0:0] = 0x00000001U |
| 3043 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 3044 | // .. L0_SEL = 0 |
| 3045 | // .. ==> 0XF8000790[1:1] = 0x00000000U |
| 3046 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3047 | // .. L1_SEL = 1 |
| 3048 | // .. ==> 0XF8000790[2:2] = 0x00000001U |
| 3049 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 3050 | // .. L2_SEL = 0 |
| 3051 | // .. ==> 0XF8000790[4:3] = 0x00000000U |
| 3052 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3053 | // .. L3_SEL = 0 |
| 3054 | // .. ==> 0XF8000790[7:5] = 0x00000000U |
| 3055 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3056 | // .. Speed = 0 |
| 3057 | // .. ==> 0XF8000790[8:8] = 0x00000000U |
| 3058 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3059 | // .. IO_Type = 1 |
| 3060 | // .. ==> 0XF8000790[11:9] = 0x00000001U |
| 3061 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3062 | // .. PULLUP = 0 |
| 3063 | // .. ==> 0XF8000790[12:12] = 0x00000000U |
| 3064 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3065 | // .. DisableRcvr = 0 |
| 3066 | // .. ==> 0XF8000790[13:13] = 0x00000000U |
| 3067 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3068 | // .. |
| 3069 | EMIT_MASKWRITE(0XF8000790, 0x00003FFFU ,0x00000205U), |
| 3070 | // .. TRI_ENABLE = 0 |
| 3071 | // .. ==> 0XF8000794[0:0] = 0x00000000U |
| 3072 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3073 | // .. L0_SEL = 0 |
| 3074 | // .. ==> 0XF8000794[1:1] = 0x00000000U |
| 3075 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3076 | // .. L1_SEL = 1 |
| 3077 | // .. ==> 0XF8000794[2:2] = 0x00000001U |
| 3078 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 3079 | // .. L2_SEL = 0 |
| 3080 | // .. ==> 0XF8000794[4:3] = 0x00000000U |
| 3081 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3082 | // .. L3_SEL = 0 |
| 3083 | // .. ==> 0XF8000794[7:5] = 0x00000000U |
| 3084 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3085 | // .. Speed = 0 |
| 3086 | // .. ==> 0XF8000794[8:8] = 0x00000000U |
| 3087 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3088 | // .. IO_Type = 1 |
| 3089 | // .. ==> 0XF8000794[11:9] = 0x00000001U |
| 3090 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3091 | // .. PULLUP = 0 |
| 3092 | // .. ==> 0XF8000794[12:12] = 0x00000000U |
| 3093 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3094 | // .. DisableRcvr = 0 |
| 3095 | // .. ==> 0XF8000794[13:13] = 0x00000000U |
| 3096 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3097 | // .. |
| 3098 | EMIT_MASKWRITE(0XF8000794, 0x00003FFFU ,0x00000204U), |
| 3099 | // .. TRI_ENABLE = 0 |
| 3100 | // .. ==> 0XF8000798[0:0] = 0x00000000U |
| 3101 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3102 | // .. L0_SEL = 0 |
| 3103 | // .. ==> 0XF8000798[1:1] = 0x00000000U |
| 3104 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3105 | // .. L1_SEL = 1 |
| 3106 | // .. ==> 0XF8000798[2:2] = 0x00000001U |
| 3107 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 3108 | // .. L2_SEL = 0 |
| 3109 | // .. ==> 0XF8000798[4:3] = 0x00000000U |
| 3110 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3111 | // .. L3_SEL = 0 |
| 3112 | // .. ==> 0XF8000798[7:5] = 0x00000000U |
| 3113 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3114 | // .. Speed = 0 |
| 3115 | // .. ==> 0XF8000798[8:8] = 0x00000000U |
| 3116 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3117 | // .. IO_Type = 1 |
| 3118 | // .. ==> 0XF8000798[11:9] = 0x00000001U |
| 3119 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3120 | // .. PULLUP = 0 |
| 3121 | // .. ==> 0XF8000798[12:12] = 0x00000000U |
| 3122 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3123 | // .. DisableRcvr = 0 |
| 3124 | // .. ==> 0XF8000798[13:13] = 0x00000000U |
| 3125 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3126 | // .. |
| 3127 | EMIT_MASKWRITE(0XF8000798, 0x00003FFFU ,0x00000204U), |
| 3128 | // .. TRI_ENABLE = 0 |
| 3129 | // .. ==> 0XF800079C[0:0] = 0x00000000U |
| 3130 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3131 | // .. L0_SEL = 0 |
| 3132 | // .. ==> 0XF800079C[1:1] = 0x00000000U |
| 3133 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3134 | // .. L1_SEL = 1 |
| 3135 | // .. ==> 0XF800079C[2:2] = 0x00000001U |
| 3136 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 3137 | // .. L2_SEL = 0 |
| 3138 | // .. ==> 0XF800079C[4:3] = 0x00000000U |
| 3139 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3140 | // .. L3_SEL = 0 |
| 3141 | // .. ==> 0XF800079C[7:5] = 0x00000000U |
| 3142 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3143 | // .. Speed = 0 |
| 3144 | // .. ==> 0XF800079C[8:8] = 0x00000000U |
| 3145 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3146 | // .. IO_Type = 1 |
| 3147 | // .. ==> 0XF800079C[11:9] = 0x00000001U |
| 3148 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3149 | // .. PULLUP = 0 |
| 3150 | // .. ==> 0XF800079C[12:12] = 0x00000000U |
| 3151 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3152 | // .. DisableRcvr = 0 |
| 3153 | // .. ==> 0XF800079C[13:13] = 0x00000000U |
| 3154 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3155 | // .. |
| 3156 | EMIT_MASKWRITE(0XF800079C, 0x00003FFFU ,0x00000204U), |
| 3157 | // .. TRI_ENABLE = 0 |
| 3158 | // .. ==> 0XF80007A0[0:0] = 0x00000000U |
| 3159 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3160 | // .. L0_SEL = 0 |
| 3161 | // .. ==> 0XF80007A0[1:1] = 0x00000000U |
| 3162 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3163 | // .. L1_SEL = 0 |
| 3164 | // .. ==> 0XF80007A0[2:2] = 0x00000000U |
| 3165 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3166 | // .. L2_SEL = 0 |
| 3167 | // .. ==> 0XF80007A0[4:3] = 0x00000000U |
| 3168 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3169 | // .. L3_SEL = 4 |
| 3170 | // .. ==> 0XF80007A0[7:5] = 0x00000004U |
| 3171 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3172 | // .. Speed = 0 |
| 3173 | // .. ==> 0XF80007A0[8:8] = 0x00000000U |
| 3174 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3175 | // .. IO_Type = 1 |
| 3176 | // .. ==> 0XF80007A0[11:9] = 0x00000001U |
| 3177 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3178 | // .. PULLUP = 0 |
| 3179 | // .. ==> 0XF80007A0[12:12] = 0x00000000U |
| 3180 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3181 | // .. DisableRcvr = 0 |
| 3182 | // .. ==> 0XF80007A0[13:13] = 0x00000000U |
| 3183 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3184 | // .. |
| 3185 | EMIT_MASKWRITE(0XF80007A0, 0x00003FFFU ,0x00000280U), |
| 3186 | // .. TRI_ENABLE = 0 |
| 3187 | // .. ==> 0XF80007A4[0:0] = 0x00000000U |
| 3188 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3189 | // .. L0_SEL = 0 |
| 3190 | // .. ==> 0XF80007A4[1:1] = 0x00000000U |
| 3191 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3192 | // .. L1_SEL = 0 |
| 3193 | // .. ==> 0XF80007A4[2:2] = 0x00000000U |
| 3194 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3195 | // .. L2_SEL = 0 |
| 3196 | // .. ==> 0XF80007A4[4:3] = 0x00000000U |
| 3197 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3198 | // .. L3_SEL = 4 |
| 3199 | // .. ==> 0XF80007A4[7:5] = 0x00000004U |
| 3200 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3201 | // .. Speed = 0 |
| 3202 | // .. ==> 0XF80007A4[8:8] = 0x00000000U |
| 3203 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3204 | // .. IO_Type = 1 |
| 3205 | // .. ==> 0XF80007A4[11:9] = 0x00000001U |
| 3206 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3207 | // .. PULLUP = 0 |
| 3208 | // .. ==> 0XF80007A4[12:12] = 0x00000000U |
| 3209 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3210 | // .. DisableRcvr = 0 |
| 3211 | // .. ==> 0XF80007A4[13:13] = 0x00000000U |
| 3212 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3213 | // .. |
| 3214 | EMIT_MASKWRITE(0XF80007A4, 0x00003FFFU ,0x00000280U), |
| 3215 | // .. TRI_ENABLE = 0 |
| 3216 | // .. ==> 0XF80007A8[0:0] = 0x00000000U |
| 3217 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3218 | // .. L0_SEL = 0 |
| 3219 | // .. ==> 0XF80007A8[1:1] = 0x00000000U |
| 3220 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3221 | // .. L1_SEL = 0 |
| 3222 | // .. ==> 0XF80007A8[2:2] = 0x00000000U |
| 3223 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3224 | // .. L2_SEL = 0 |
| 3225 | // .. ==> 0XF80007A8[4:3] = 0x00000000U |
| 3226 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3227 | // .. L3_SEL = 4 |
| 3228 | // .. ==> 0XF80007A8[7:5] = 0x00000004U |
| 3229 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3230 | // .. Speed = 0 |
| 3231 | // .. ==> 0XF80007A8[8:8] = 0x00000000U |
| 3232 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3233 | // .. IO_Type = 1 |
| 3234 | // .. ==> 0XF80007A8[11:9] = 0x00000001U |
| 3235 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3236 | // .. PULLUP = 0 |
| 3237 | // .. ==> 0XF80007A8[12:12] = 0x00000000U |
| 3238 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3239 | // .. DisableRcvr = 0 |
| 3240 | // .. ==> 0XF80007A8[13:13] = 0x00000000U |
| 3241 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3242 | // .. |
| 3243 | EMIT_MASKWRITE(0XF80007A8, 0x00003FFFU ,0x00000280U), |
| 3244 | // .. TRI_ENABLE = 0 |
| 3245 | // .. ==> 0XF80007AC[0:0] = 0x00000000U |
| 3246 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3247 | // .. L0_SEL = 0 |
| 3248 | // .. ==> 0XF80007AC[1:1] = 0x00000000U |
| 3249 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3250 | // .. L1_SEL = 0 |
| 3251 | // .. ==> 0XF80007AC[2:2] = 0x00000000U |
| 3252 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3253 | // .. L2_SEL = 0 |
| 3254 | // .. ==> 0XF80007AC[4:3] = 0x00000000U |
| 3255 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3256 | // .. L3_SEL = 4 |
| 3257 | // .. ==> 0XF80007AC[7:5] = 0x00000004U |
| 3258 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3259 | // .. Speed = 0 |
| 3260 | // .. ==> 0XF80007AC[8:8] = 0x00000000U |
| 3261 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3262 | // .. IO_Type = 1 |
| 3263 | // .. ==> 0XF80007AC[11:9] = 0x00000001U |
| 3264 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3265 | // .. PULLUP = 0 |
| 3266 | // .. ==> 0XF80007AC[12:12] = 0x00000000U |
| 3267 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3268 | // .. DisableRcvr = 0 |
| 3269 | // .. ==> 0XF80007AC[13:13] = 0x00000000U |
| 3270 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3271 | // .. |
| 3272 | EMIT_MASKWRITE(0XF80007AC, 0x00003FFFU ,0x00000280U), |
| 3273 | // .. TRI_ENABLE = 0 |
| 3274 | // .. ==> 0XF80007B0[0:0] = 0x00000000U |
| 3275 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3276 | // .. L0_SEL = 0 |
| 3277 | // .. ==> 0XF80007B0[1:1] = 0x00000000U |
| 3278 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3279 | // .. L1_SEL = 0 |
| 3280 | // .. ==> 0XF80007B0[2:2] = 0x00000000U |
| 3281 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3282 | // .. L2_SEL = 0 |
| 3283 | // .. ==> 0XF80007B0[4:3] = 0x00000000U |
| 3284 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3285 | // .. L3_SEL = 4 |
| 3286 | // .. ==> 0XF80007B0[7:5] = 0x00000004U |
| 3287 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3288 | // .. Speed = 0 |
| 3289 | // .. ==> 0XF80007B0[8:8] = 0x00000000U |
| 3290 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3291 | // .. IO_Type = 1 |
| 3292 | // .. ==> 0XF80007B0[11:9] = 0x00000001U |
| 3293 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3294 | // .. PULLUP = 0 |
| 3295 | // .. ==> 0XF80007B0[12:12] = 0x00000000U |
| 3296 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3297 | // .. DisableRcvr = 0 |
| 3298 | // .. ==> 0XF80007B0[13:13] = 0x00000000U |
| 3299 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3300 | // .. |
| 3301 | EMIT_MASKWRITE(0XF80007B0, 0x00003FFFU ,0x00000280U), |
| 3302 | // .. TRI_ENABLE = 0 |
| 3303 | // .. ==> 0XF80007B4[0:0] = 0x00000000U |
| 3304 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3305 | // .. L0_SEL = 0 |
| 3306 | // .. ==> 0XF80007B4[1:1] = 0x00000000U |
| 3307 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3308 | // .. L1_SEL = 0 |
| 3309 | // .. ==> 0XF80007B4[2:2] = 0x00000000U |
| 3310 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3311 | // .. L2_SEL = 0 |
| 3312 | // .. ==> 0XF80007B4[4:3] = 0x00000000U |
| 3313 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3314 | // .. L3_SEL = 4 |
| 3315 | // .. ==> 0XF80007B4[7:5] = 0x00000004U |
| 3316 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3317 | // .. Speed = 0 |
| 3318 | // .. ==> 0XF80007B4[8:8] = 0x00000000U |
| 3319 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3320 | // .. IO_Type = 1 |
| 3321 | // .. ==> 0XF80007B4[11:9] = 0x00000001U |
| 3322 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3323 | // .. PULLUP = 0 |
| 3324 | // .. ==> 0XF80007B4[12:12] = 0x00000000U |
| 3325 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3326 | // .. DisableRcvr = 0 |
| 3327 | // .. ==> 0XF80007B4[13:13] = 0x00000000U |
| 3328 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3329 | // .. |
| 3330 | EMIT_MASKWRITE(0XF80007B4, 0x00003FFFU ,0x00000280U), |
| 3331 | // .. TRI_ENABLE = 0 |
| 3332 | // .. ==> 0XF80007B8[0:0] = 0x00000000U |
| 3333 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3334 | // .. L0_SEL = 0 |
| 3335 | // .. ==> 0XF80007B8[1:1] = 0x00000000U |
| 3336 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3337 | // .. L1_SEL = 0 |
| 3338 | // .. ==> 0XF80007B8[2:2] = 0x00000000U |
| 3339 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3340 | // .. L2_SEL = 0 |
| 3341 | // .. ==> 0XF80007B8[4:3] = 0x00000000U |
| 3342 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3343 | // .. L3_SEL = 0 |
| 3344 | // .. ==> 0XF80007B8[7:5] = 0x00000000U |
| 3345 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3346 | // .. Speed = 0 |
| 3347 | // .. ==> 0XF80007B8[8:8] = 0x00000000U |
| 3348 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3349 | // .. IO_Type = 1 |
| 3350 | // .. ==> 0XF80007B8[11:9] = 0x00000001U |
| 3351 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3352 | // .. PULLUP = 1 |
| 3353 | // .. ==> 0XF80007B8[12:12] = 0x00000001U |
| 3354 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 3355 | // .. DisableRcvr = 0 |
| 3356 | // .. ==> 0XF80007B8[13:13] = 0x00000000U |
| 3357 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3358 | // .. |
| 3359 | EMIT_MASKWRITE(0XF80007B8, 0x00003FFFU ,0x00001200U), |
| 3360 | // .. TRI_ENABLE = 0 |
| 3361 | // .. ==> 0XF80007BC[0:0] = 0x00000000U |
| 3362 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3363 | // .. L0_SEL = 0 |
| 3364 | // .. ==> 0XF80007BC[1:1] = 0x00000000U |
| 3365 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3366 | // .. L1_SEL = 0 |
| 3367 | // .. ==> 0XF80007BC[2:2] = 0x00000000U |
| 3368 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3369 | // .. L2_SEL = 0 |
| 3370 | // .. ==> 0XF80007BC[4:3] = 0x00000000U |
| 3371 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3372 | // .. L3_SEL = 0 |
| 3373 | // .. ==> 0XF80007BC[7:5] = 0x00000000U |
| 3374 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 3375 | // .. Speed = 0 |
| 3376 | // .. ==> 0XF80007BC[8:8] = 0x00000000U |
| 3377 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3378 | // .. IO_Type = 1 |
| 3379 | // .. ==> 0XF80007BC[11:9] = 0x00000001U |
| 3380 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3381 | // .. PULLUP = 1 |
| 3382 | // .. ==> 0XF80007BC[12:12] = 0x00000001U |
| 3383 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 3384 | // .. DisableRcvr = 0 |
| 3385 | // .. ==> 0XF80007BC[13:13] = 0x00000000U |
| 3386 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3387 | // .. |
| 3388 | EMIT_MASKWRITE(0XF80007BC, 0x00003FFFU ,0x00001200U), |
| 3389 | // .. TRI_ENABLE = 0 |
| 3390 | // .. ==> 0XF80007C0[0:0] = 0x00000000U |
| 3391 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3392 | // .. L0_SEL = 0 |
| 3393 | // .. ==> 0XF80007C0[1:1] = 0x00000000U |
| 3394 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3395 | // .. L1_SEL = 0 |
| 3396 | // .. ==> 0XF80007C0[2:2] = 0x00000000U |
| 3397 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3398 | // .. L2_SEL = 0 |
| 3399 | // .. ==> 0XF80007C0[4:3] = 0x00000000U |
| 3400 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3401 | // .. L3_SEL = 7 |
| 3402 | // .. ==> 0XF80007C0[7:5] = 0x00000007U |
| 3403 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 3404 | // .. Speed = 0 |
| 3405 | // .. ==> 0XF80007C0[8:8] = 0x00000000U |
| 3406 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3407 | // .. IO_Type = 1 |
| 3408 | // .. ==> 0XF80007C0[11:9] = 0x00000001U |
| 3409 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3410 | // .. PULLUP = 0 |
| 3411 | // .. ==> 0XF80007C0[12:12] = 0x00000000U |
| 3412 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3413 | // .. DisableRcvr = 0 |
| 3414 | // .. ==> 0XF80007C0[13:13] = 0x00000000U |
| 3415 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3416 | // .. |
| 3417 | EMIT_MASKWRITE(0XF80007C0, 0x00003FFFU ,0x000002E0U), |
| 3418 | // .. TRI_ENABLE = 1 |
| 3419 | // .. ==> 0XF80007C4[0:0] = 0x00000001U |
| 3420 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 3421 | // .. L0_SEL = 0 |
| 3422 | // .. ==> 0XF80007C4[1:1] = 0x00000000U |
| 3423 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3424 | // .. L1_SEL = 0 |
| 3425 | // .. ==> 0XF80007C4[2:2] = 0x00000000U |
| 3426 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3427 | // .. L2_SEL = 0 |
| 3428 | // .. ==> 0XF80007C4[4:3] = 0x00000000U |
| 3429 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3430 | // .. L3_SEL = 7 |
| 3431 | // .. ==> 0XF80007C4[7:5] = 0x00000007U |
| 3432 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 3433 | // .. Speed = 0 |
| 3434 | // .. ==> 0XF80007C4[8:8] = 0x00000000U |
| 3435 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3436 | // .. IO_Type = 1 |
| 3437 | // .. ==> 0XF80007C4[11:9] = 0x00000001U |
| 3438 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3439 | // .. PULLUP = 0 |
| 3440 | // .. ==> 0XF80007C4[12:12] = 0x00000000U |
| 3441 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3442 | // .. DisableRcvr = 0 |
| 3443 | // .. ==> 0XF80007C4[13:13] = 0x00000000U |
| 3444 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3445 | // .. |
| 3446 | EMIT_MASKWRITE(0XF80007C4, 0x00003FFFU ,0x000002E1U), |
| 3447 | // .. TRI_ENABLE = 0 |
| 3448 | // .. ==> 0XF80007C8[0:0] = 0x00000000U |
| 3449 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3450 | // .. L0_SEL = 0 |
| 3451 | // .. ==> 0XF80007C8[1:1] = 0x00000000U |
| 3452 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3453 | // .. L1_SEL = 0 |
| 3454 | // .. ==> 0XF80007C8[2:2] = 0x00000000U |
| 3455 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3456 | // .. L2_SEL = 0 |
| 3457 | // .. ==> 0XF80007C8[4:3] = 0x00000000U |
| 3458 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3459 | // .. L3_SEL = 2 |
| 3460 | // .. ==> 0XF80007C8[7:5] = 0x00000002U |
| 3461 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 3462 | // .. Speed = 0 |
| 3463 | // .. ==> 0XF80007C8[8:8] = 0x00000000U |
| 3464 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3465 | // .. IO_Type = 1 |
| 3466 | // .. ==> 0XF80007C8[11:9] = 0x00000001U |
| 3467 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3468 | // .. PULLUP = 1 |
| 3469 | // .. ==> 0XF80007C8[12:12] = 0x00000001U |
| 3470 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 3471 | // .. DisableRcvr = 0 |
| 3472 | // .. ==> 0XF80007C8[13:13] = 0x00000000U |
| 3473 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3474 | // .. |
| 3475 | EMIT_MASKWRITE(0XF80007C8, 0x00003FFFU ,0x00001240U), |
| 3476 | // .. TRI_ENABLE = 0 |
| 3477 | // .. ==> 0XF80007CC[0:0] = 0x00000000U |
| 3478 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3479 | // .. L0_SEL = 0 |
| 3480 | // .. ==> 0XF80007CC[1:1] = 0x00000000U |
| 3481 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3482 | // .. L1_SEL = 0 |
| 3483 | // .. ==> 0XF80007CC[2:2] = 0x00000000U |
| 3484 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3485 | // .. L2_SEL = 0 |
| 3486 | // .. ==> 0XF80007CC[4:3] = 0x00000000U |
| 3487 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3488 | // .. L3_SEL = 2 |
| 3489 | // .. ==> 0XF80007CC[7:5] = 0x00000002U |
| 3490 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 3491 | // .. Speed = 0 |
| 3492 | // .. ==> 0XF80007CC[8:8] = 0x00000000U |
| 3493 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3494 | // .. IO_Type = 1 |
| 3495 | // .. ==> 0XF80007CC[11:9] = 0x00000001U |
| 3496 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3497 | // .. PULLUP = 1 |
| 3498 | // .. ==> 0XF80007CC[12:12] = 0x00000001U |
| 3499 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 3500 | // .. DisableRcvr = 0 |
| 3501 | // .. ==> 0XF80007CC[13:13] = 0x00000000U |
| 3502 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3503 | // .. |
| 3504 | EMIT_MASKWRITE(0XF80007CC, 0x00003FFFU ,0x00001240U), |
| 3505 | // .. TRI_ENABLE = 0 |
| 3506 | // .. ==> 0XF80007D0[0:0] = 0x00000000U |
| 3507 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3508 | // .. L0_SEL = 0 |
| 3509 | // .. ==> 0XF80007D0[1:1] = 0x00000000U |
| 3510 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3511 | // .. L1_SEL = 0 |
| 3512 | // .. ==> 0XF80007D0[2:2] = 0x00000000U |
| 3513 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3514 | // .. L2_SEL = 0 |
| 3515 | // .. ==> 0XF80007D0[4:3] = 0x00000000U |
| 3516 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3517 | // .. L3_SEL = 4 |
| 3518 | // .. ==> 0XF80007D0[7:5] = 0x00000004U |
| 3519 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3520 | // .. Speed = 0 |
| 3521 | // .. ==> 0XF80007D0[8:8] = 0x00000000U |
| 3522 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3523 | // .. IO_Type = 1 |
| 3524 | // .. ==> 0XF80007D0[11:9] = 0x00000001U |
| 3525 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3526 | // .. PULLUP = 0 |
| 3527 | // .. ==> 0XF80007D0[12:12] = 0x00000000U |
| 3528 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3529 | // .. DisableRcvr = 0 |
| 3530 | // .. ==> 0XF80007D0[13:13] = 0x00000000U |
| 3531 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3532 | // .. |
| 3533 | EMIT_MASKWRITE(0XF80007D0, 0x00003FFFU ,0x00000280U), |
| 3534 | // .. TRI_ENABLE = 0 |
| 3535 | // .. ==> 0XF80007D4[0:0] = 0x00000000U |
| 3536 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 3537 | // .. L0_SEL = 0 |
| 3538 | // .. ==> 0XF80007D4[1:1] = 0x00000000U |
| 3539 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 3540 | // .. L1_SEL = 0 |
| 3541 | // .. ==> 0XF80007D4[2:2] = 0x00000000U |
| 3542 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 3543 | // .. L2_SEL = 0 |
| 3544 | // .. ==> 0XF80007D4[4:3] = 0x00000000U |
| 3545 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 3546 | // .. L3_SEL = 4 |
| 3547 | // .. ==> 0XF80007D4[7:5] = 0x00000004U |
| 3548 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 3549 | // .. Speed = 0 |
| 3550 | // .. ==> 0XF80007D4[8:8] = 0x00000000U |
| 3551 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 3552 | // .. IO_Type = 1 |
| 3553 | // .. ==> 0XF80007D4[11:9] = 0x00000001U |
| 3554 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 3555 | // .. PULLUP = 0 |
| 3556 | // .. ==> 0XF80007D4[12:12] = 0x00000000U |
| 3557 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 3558 | // .. DisableRcvr = 0 |
| 3559 | // .. ==> 0XF80007D4[13:13] = 0x00000000U |
| 3560 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 3561 | // .. |
| 3562 | EMIT_MASKWRITE(0XF80007D4, 0x00003FFFU ,0x00000280U), |
| 3563 | // .. SDIO0_WP_SEL = 15 |
| 3564 | // .. ==> 0XF8000830[5:0] = 0x0000000FU |
| 3565 | // .. ==> MASK : 0x0000003FU VAL : 0x0000000FU |
| 3566 | // .. SDIO0_CD_SEL = 14 |
| 3567 | // .. ==> 0XF8000830[21:16] = 0x0000000EU |
| 3568 | // .. ==> MASK : 0x003F0000U VAL : 0x000E0000U |
| 3569 | // .. |
| 3570 | EMIT_MASKWRITE(0XF8000830, 0x003F003FU ,0x000E000FU), |
| 3571 | // .. FINISH: MIO PROGRAMMING |
| 3572 | // .. START: LOCK IT BACK |
| 3573 | // .. LOCK_KEY = 0X767B |
| 3574 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 3575 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 3576 | // .. |
| 3577 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 3578 | // .. FINISH: LOCK IT BACK |
| 3579 | // FINISH: top |
| 3580 | // |
| 3581 | EMIT_EXIT(), |
| 3582 | |
| 3583 | // |
| 3584 | }; |
| 3585 | |
| 3586 | unsigned long ps7_peripherals_init_data_3_0[] = { |
| 3587 | // START: top |
| 3588 | // .. START: SLCR SETTINGS |
| 3589 | // .. UNLOCK_KEY = 0XDF0D |
| 3590 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 3591 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 3592 | // .. |
| 3593 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 3594 | // .. FINISH: SLCR SETTINGS |
| 3595 | // .. START: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 3596 | // .. IBUF_DISABLE_MODE = 0x1 |
| 3597 | // .. ==> 0XF8000B48[7:7] = 0x00000001U |
| 3598 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 3599 | // .. TERM_DISABLE_MODE = 0x1 |
| 3600 | // .. ==> 0XF8000B48[8:8] = 0x00000001U |
| 3601 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 3602 | // .. |
| 3603 | EMIT_MASKWRITE(0XF8000B48, 0x00000180U ,0x00000180U), |
| 3604 | // .. IBUF_DISABLE_MODE = 0x1 |
| 3605 | // .. ==> 0XF8000B4C[7:7] = 0x00000001U |
| 3606 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 3607 | // .. TERM_DISABLE_MODE = 0x1 |
| 3608 | // .. ==> 0XF8000B4C[8:8] = 0x00000001U |
| 3609 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 3610 | // .. |
| 3611 | EMIT_MASKWRITE(0XF8000B4C, 0x00000180U ,0x00000180U), |
| 3612 | // .. IBUF_DISABLE_MODE = 0x1 |
| 3613 | // .. ==> 0XF8000B50[7:7] = 0x00000001U |
| 3614 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 3615 | // .. TERM_DISABLE_MODE = 0x1 |
| 3616 | // .. ==> 0XF8000B50[8:8] = 0x00000001U |
| 3617 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 3618 | // .. |
| 3619 | EMIT_MASKWRITE(0XF8000B50, 0x00000180U ,0x00000180U), |
| 3620 | // .. IBUF_DISABLE_MODE = 0x1 |
| 3621 | // .. ==> 0XF8000B54[7:7] = 0x00000001U |
| 3622 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 3623 | // .. TERM_DISABLE_MODE = 0x1 |
| 3624 | // .. ==> 0XF8000B54[8:8] = 0x00000001U |
| 3625 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 3626 | // .. |
| 3627 | EMIT_MASKWRITE(0XF8000B54, 0x00000180U ,0x00000180U), |
| 3628 | // .. FINISH: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 3629 | // .. START: LOCK IT BACK |
| 3630 | // .. LOCK_KEY = 0X767B |
| 3631 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 3632 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 3633 | // .. |
| 3634 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 3635 | // .. FINISH: LOCK IT BACK |
| 3636 | // .. START: SRAM/NOR SET OPMODE |
| 3637 | // .. FINISH: SRAM/NOR SET OPMODE |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 3638 | // .. START: QSPI REGISTERS |
| 3639 | // .. Holdb_dr = 1 |
| 3640 | // .. ==> 0XE000D000[19:19] = 0x00000001U |
| 3641 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 3642 | // .. |
| 3643 | EMIT_MASKWRITE(0XE000D000, 0x00080000U ,0x00080000U), |
| 3644 | // .. FINISH: QSPI REGISTERS |
| 3645 | // .. START: PL POWER ON RESET REGISTERS |
| 3646 | // .. PCFG_POR_CNT_4K = 0 |
| 3647 | // .. ==> 0XF8007000[29:29] = 0x00000000U |
| 3648 | // .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 3649 | // .. |
| 3650 | EMIT_MASKWRITE(0XF8007000, 0x20000000U ,0x00000000U), |
| 3651 | // .. FINISH: PL POWER ON RESET REGISTERS |
| 3652 | // .. START: SMC TIMING CALCULATION REGISTER UPDATE |
| 3653 | // .. .. START: NAND SET CYCLE |
| 3654 | // .. .. FINISH: NAND SET CYCLE |
| 3655 | // .. .. START: OPMODE |
| 3656 | // .. .. FINISH: OPMODE |
| 3657 | // .. .. START: DIRECT COMMAND |
| 3658 | // .. .. FINISH: DIRECT COMMAND |
| 3659 | // .. .. START: SRAM/NOR CS0 SET CYCLE |
| 3660 | // .. .. FINISH: SRAM/NOR CS0 SET CYCLE |
| 3661 | // .. .. START: DIRECT COMMAND |
| 3662 | // .. .. FINISH: DIRECT COMMAND |
| 3663 | // .. .. START: NOR CS0 BASE ADDRESS |
| 3664 | // .. .. FINISH: NOR CS0 BASE ADDRESS |
| 3665 | // .. .. START: SRAM/NOR CS1 SET CYCLE |
| 3666 | // .. .. FINISH: SRAM/NOR CS1 SET CYCLE |
| 3667 | // .. .. START: DIRECT COMMAND |
| 3668 | // .. .. FINISH: DIRECT COMMAND |
| 3669 | // .. .. START: NOR CS1 BASE ADDRESS |
| 3670 | // .. .. FINISH: NOR CS1 BASE ADDRESS |
| 3671 | // .. .. START: USB RESET |
| 3672 | // .. .. .. START: USB0 RESET |
| 3673 | // .. .. .. .. START: DIR MODE BANK 0 |
| 3674 | // .. .. .. .. DIRECTION_0 = 0x80 |
| 3675 | // .. .. .. .. ==> 0XE000A204[31:0] = 0x00000080U |
| 3676 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 3677 | // .. .. .. .. |
| 3678 | EMIT_MASKWRITE(0XE000A204, 0xFFFFFFFFU ,0x00000080U), |
| 3679 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 3680 | // .. .. .. .. START: DIR MODE BANK 1 |
| 3681 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 3682 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3683 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 3684 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 3685 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 3686 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 3687 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 3688 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 3689 | // .. .. .. .. |
| 3690 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 3691 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3692 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3693 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3694 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3695 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3696 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3697 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3698 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 3699 | // .. .. .. .. OP_ENABLE_0 = 0x80 |
| 3700 | // .. .. .. .. ==> 0XE000A208[31:0] = 0x00000080U |
| 3701 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 3702 | // .. .. .. .. |
| 3703 | EMIT_MASKWRITE(0XE000A208, 0xFFFFFFFFU ,0x00000080U), |
| 3704 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 3705 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 3706 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 3707 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3708 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 3709 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 3710 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 3711 | // .. .. .. .. DATA_0_LSW = 0x0 |
| 3712 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000000U |
| 3713 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 3714 | // .. .. .. .. |
| 3715 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0000U), |
| 3716 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3717 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3718 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3719 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3720 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3721 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3722 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3723 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3724 | // .. .. .. .. |
| 3725 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3726 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3727 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3728 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 3729 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 3730 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 3731 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 3732 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 3733 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 3734 | // .. .. .. .. |
| 3735 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 3736 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3737 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3738 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3739 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3740 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3741 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3742 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3743 | // .. .. .. FINISH: USB0 RESET |
| 3744 | // .. .. .. START: USB1 RESET |
| 3745 | // .. .. .. .. START: DIR MODE BANK 0 |
| 3746 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 3747 | // .. .. .. .. START: DIR MODE BANK 1 |
| 3748 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 3749 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3750 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3751 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3752 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3753 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3754 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3755 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3756 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3757 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 3758 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 3759 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 3760 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 3761 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3762 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3763 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3764 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3765 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3766 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3767 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3768 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3769 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3770 | // .. .. .. .. |
| 3771 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3772 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3773 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3774 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3775 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3776 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3777 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3778 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3779 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3780 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3781 | // .. .. .. FINISH: USB1 RESET |
| 3782 | // .. .. FINISH: USB RESET |
| 3783 | // .. .. START: ENET RESET |
| 3784 | // .. .. .. START: ENET0 RESET |
| 3785 | // .. .. .. .. START: DIR MODE BANK 0 |
| 3786 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 3787 | // .. .. .. .. START: DIR MODE BANK 1 |
| 3788 | // .. .. .. .. DIRECTION_1 = 0x8000 |
| 3789 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00008000U |
| 3790 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 3791 | // .. .. .. .. |
| 3792 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00008000U), |
| 3793 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 3794 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3795 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3796 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3797 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3798 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3799 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 3800 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 3801 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 3802 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 3803 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 3804 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 3805 | // .. .. .. .. |
| 3806 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 3807 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3808 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3809 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3810 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 3811 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 3812 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 3813 | // .. .. .. .. OP_ENABLE_1 = 0x8000 |
| 3814 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00008000U |
| 3815 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 3816 | // .. .. .. .. |
| 3817 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00008000U), |
| 3818 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 3819 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3820 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3821 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3822 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3823 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3824 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 3825 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 3826 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 3827 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 3828 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 3829 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 3830 | // .. .. .. .. |
| 3831 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF0000U), |
| 3832 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3833 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3834 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3835 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3836 | // .. .. .. .. |
| 3837 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3838 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3839 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3840 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3841 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3842 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3843 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3844 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 3845 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 3846 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 3847 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 3848 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 3849 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 3850 | // .. .. .. .. |
| 3851 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 3852 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3853 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3854 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3855 | // .. .. .. FINISH: ENET0 RESET |
| 3856 | // .. .. .. START: ENET1 RESET |
| 3857 | // .. .. .. .. START: DIR MODE BANK 0 |
| 3858 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 3859 | // .. .. .. .. START: DIR MODE BANK 1 |
| 3860 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 3861 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3862 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3863 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3864 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3865 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3866 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3867 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3868 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3869 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 3870 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 3871 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 3872 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 3873 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3874 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3875 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3876 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3877 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3878 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3879 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3880 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3881 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3882 | // .. .. .. .. |
| 3883 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3884 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3885 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3886 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3887 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3888 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3889 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3890 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3891 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3892 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3893 | // .. .. .. FINISH: ENET1 RESET |
| 3894 | // .. .. FINISH: ENET RESET |
| 3895 | // .. .. START: I2C RESET |
| 3896 | // .. .. .. START: I2C0 RESET |
| 3897 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 3898 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 3899 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 3900 | // .. .. .. .. DIRECTION_1 = 0x4000 |
| 3901 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00004000U |
| 3902 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 3903 | // .. .. .. .. |
| 3904 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00004000U), |
| 3905 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 3906 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3907 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3908 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3909 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3910 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3911 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 3912 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 3913 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 3914 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 3915 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 3916 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 3917 | // .. .. .. .. |
| 3918 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 3919 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3920 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3921 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3922 | // .. .. .. .. START: OUTPUT ENABLE |
| 3923 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 3924 | // .. .. .. .. START: OUTPUT ENABLE |
| 3925 | // .. .. .. .. OP_ENABLE_1 = 0x4000 |
| 3926 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00004000U |
| 3927 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 3928 | // .. .. .. .. |
| 3929 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00004000U), |
| 3930 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 3931 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3932 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3933 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3934 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3935 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3936 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 3937 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 3938 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 3939 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 3940 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 3941 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 3942 | // .. .. .. .. |
| 3943 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF0000U), |
| 3944 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3945 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3946 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3947 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3948 | // .. .. .. .. |
| 3949 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3950 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3951 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3952 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3953 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3954 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3955 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3956 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 3957 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 3958 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 3959 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 3960 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 3961 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 3962 | // .. .. .. .. |
| 3963 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 3964 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3965 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3966 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3967 | // .. .. .. FINISH: I2C0 RESET |
| 3968 | // .. .. .. START: I2C1 RESET |
| 3969 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 3970 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 3971 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 3972 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 3973 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3974 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3975 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3976 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 3977 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3978 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 3979 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3980 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 3981 | // .. .. .. .. START: OUTPUT ENABLE |
| 3982 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 3983 | // .. .. .. .. START: OUTPUT ENABLE |
| 3984 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 3985 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3986 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 3987 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3988 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 3989 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3990 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 3991 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3992 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 3993 | // .. .. .. .. START: ADD 1 MS DELAY |
| 3994 | // .. .. .. .. |
| 3995 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 3996 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 3997 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3998 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 3999 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 4000 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 4001 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 4002 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 4003 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 4004 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 4005 | // .. .. .. FINISH: I2C1 RESET |
| 4006 | // .. .. FINISH: I2C RESET |
| 4007 | // .. .. START: NOR CHIP SELECT |
| 4008 | // .. .. .. START: DIR MODE BANK 0 |
| 4009 | // .. .. .. FINISH: DIR MODE BANK 0 |
| 4010 | // .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 4011 | // .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 4012 | // .. .. .. START: OUTPUT ENABLE BANK 0 |
| 4013 | // .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 4014 | // .. .. FINISH: NOR CHIP SELECT |
| 4015 | // .. FINISH: SMC TIMING CALCULATION REGISTER UPDATE |
| 4016 | // FINISH: top |
| 4017 | // |
| 4018 | EMIT_EXIT(), |
| 4019 | |
| 4020 | // |
| 4021 | }; |
| 4022 | |
| 4023 | unsigned long ps7_post_config_3_0[] = { |
| 4024 | // START: top |
| 4025 | // .. START: SLCR SETTINGS |
| 4026 | // .. UNLOCK_KEY = 0XDF0D |
| 4027 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 4028 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 4029 | // .. |
| 4030 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 4031 | // .. FINISH: SLCR SETTINGS |
| 4032 | // .. START: ENABLING LEVEL SHIFTER |
| 4033 | // .. USER_LVL_INP_EN_0 = 1 |
| 4034 | // .. ==> 0XF8000900[3:3] = 0x00000001U |
| 4035 | // .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 4036 | // .. USER_LVL_OUT_EN_0 = 1 |
| 4037 | // .. ==> 0XF8000900[2:2] = 0x00000001U |
| 4038 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 4039 | // .. USER_LVL_INP_EN_1 = 1 |
| 4040 | // .. ==> 0XF8000900[1:1] = 0x00000001U |
| 4041 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 4042 | // .. USER_LVL_OUT_EN_1 = 1 |
| 4043 | // .. ==> 0XF8000900[0:0] = 0x00000001U |
| 4044 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4045 | // .. |
| 4046 | EMIT_MASKWRITE(0XF8000900, 0x0000000FU ,0x0000000FU), |
| 4047 | // .. FINISH: ENABLING LEVEL SHIFTER |
| 4048 | // .. START: FPGA RESETS TO 0 |
| 4049 | // .. reserved_3 = 0 |
| 4050 | // .. ==> 0XF8000240[31:25] = 0x00000000U |
| 4051 | // .. ==> MASK : 0xFE000000U VAL : 0x00000000U |
| 4052 | // .. reserved_FPGA_ACP_RST = 0 |
| 4053 | // .. ==> 0XF8000240[24:24] = 0x00000000U |
| 4054 | // .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 4055 | // .. reserved_FPGA_AXDS3_RST = 0 |
| 4056 | // .. ==> 0XF8000240[23:23] = 0x00000000U |
| 4057 | // .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 4058 | // .. reserved_FPGA_AXDS2_RST = 0 |
| 4059 | // .. ==> 0XF8000240[22:22] = 0x00000000U |
| 4060 | // .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 4061 | // .. reserved_FPGA_AXDS1_RST = 0 |
| 4062 | // .. ==> 0XF8000240[21:21] = 0x00000000U |
| 4063 | // .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 4064 | // .. reserved_FPGA_AXDS0_RST = 0 |
| 4065 | // .. ==> 0XF8000240[20:20] = 0x00000000U |
| 4066 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 4067 | // .. reserved_2 = 0 |
| 4068 | // .. ==> 0XF8000240[19:18] = 0x00000000U |
| 4069 | // .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 4070 | // .. reserved_FSSW1_FPGA_RST = 0 |
| 4071 | // .. ==> 0XF8000240[17:17] = 0x00000000U |
| 4072 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 4073 | // .. reserved_FSSW0_FPGA_RST = 0 |
| 4074 | // .. ==> 0XF8000240[16:16] = 0x00000000U |
| 4075 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 4076 | // .. reserved_1 = 0 |
| 4077 | // .. ==> 0XF8000240[15:14] = 0x00000000U |
| 4078 | // .. ==> MASK : 0x0000C000U VAL : 0x00000000U |
| 4079 | // .. reserved_FPGA_FMSW1_RST = 0 |
| 4080 | // .. ==> 0XF8000240[13:13] = 0x00000000U |
| 4081 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 4082 | // .. reserved_FPGA_FMSW0_RST = 0 |
| 4083 | // .. ==> 0XF8000240[12:12] = 0x00000000U |
| 4084 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 4085 | // .. reserved_FPGA_DMA3_RST = 0 |
| 4086 | // .. ==> 0XF8000240[11:11] = 0x00000000U |
| 4087 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 4088 | // .. reserved_FPGA_DMA2_RST = 0 |
| 4089 | // .. ==> 0XF8000240[10:10] = 0x00000000U |
| 4090 | // .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 4091 | // .. reserved_FPGA_DMA1_RST = 0 |
| 4092 | // .. ==> 0XF8000240[9:9] = 0x00000000U |
| 4093 | // .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 4094 | // .. reserved_FPGA_DMA0_RST = 0 |
| 4095 | // .. ==> 0XF8000240[8:8] = 0x00000000U |
| 4096 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 4097 | // .. reserved = 0 |
| 4098 | // .. ==> 0XF8000240[7:4] = 0x00000000U |
| 4099 | // .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 4100 | // .. FPGA3_OUT_RST = 0 |
| 4101 | // .. ==> 0XF8000240[3:3] = 0x00000000U |
| 4102 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 4103 | // .. FPGA2_OUT_RST = 0 |
| 4104 | // .. ==> 0XF8000240[2:2] = 0x00000000U |
| 4105 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 4106 | // .. FPGA1_OUT_RST = 0 |
| 4107 | // .. ==> 0XF8000240[1:1] = 0x00000000U |
| 4108 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 4109 | // .. FPGA0_OUT_RST = 0 |
| 4110 | // .. ==> 0XF8000240[0:0] = 0x00000000U |
| 4111 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4112 | // .. |
| 4113 | EMIT_MASKWRITE(0XF8000240, 0xFFFFFFFFU ,0x00000000U), |
| 4114 | // .. FINISH: FPGA RESETS TO 0 |
| 4115 | // .. START: AFI REGISTERS |
| 4116 | // .. .. START: AFI0 REGISTERS |
| 4117 | // .. .. FINISH: AFI0 REGISTERS |
| 4118 | // .. .. START: AFI1 REGISTERS |
| 4119 | // .. .. FINISH: AFI1 REGISTERS |
| 4120 | // .. .. START: AFI2 REGISTERS |
| 4121 | // .. .. FINISH: AFI2 REGISTERS |
| 4122 | // .. .. START: AFI3 REGISTERS |
| 4123 | // .. .. FINISH: AFI3 REGISTERS |
| 4124 | // .. FINISH: AFI REGISTERS |
| 4125 | // .. START: LOCK IT BACK |
| 4126 | // .. LOCK_KEY = 0X767B |
| 4127 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 4128 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 4129 | // .. |
| 4130 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 4131 | // .. FINISH: LOCK IT BACK |
| 4132 | // FINISH: top |
| 4133 | // |
| 4134 | EMIT_EXIT(), |
| 4135 | |
| 4136 | // |
| 4137 | }; |
| 4138 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 4139 | |
| 4140 | unsigned long ps7_pll_init_data_2_0[] = { |
| 4141 | // START: top |
| 4142 | // .. START: SLCR SETTINGS |
| 4143 | // .. UNLOCK_KEY = 0XDF0D |
| 4144 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 4145 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 4146 | // .. |
| 4147 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 4148 | // .. FINISH: SLCR SETTINGS |
| 4149 | // .. START: PLL SLCR REGISTERS |
| 4150 | // .. .. START: ARM PLL INIT |
| 4151 | // .. .. PLL_RES = 0x2 |
| 4152 | // .. .. ==> 0XF8000110[7:4] = 0x00000002U |
| 4153 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 4154 | // .. .. PLL_CP = 0x2 |
| 4155 | // .. .. ==> 0XF8000110[11:8] = 0x00000002U |
| 4156 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 4157 | // .. .. LOCK_CNT = 0xfa |
| 4158 | // .. .. ==> 0XF8000110[21:12] = 0x000000FAU |
| 4159 | // .. .. ==> MASK : 0x003FF000U VAL : 0x000FA000U |
| 4160 | // .. .. |
| 4161 | EMIT_MASKWRITE(0XF8000110, 0x003FFFF0U ,0x000FA220U), |
| 4162 | // .. .. .. START: UPDATE FB_DIV |
| 4163 | // .. .. .. PLL_FDIV = 0x28 |
| 4164 | // .. .. .. ==> 0XF8000100[18:12] = 0x00000028U |
| 4165 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00028000U |
| 4166 | // .. .. .. |
| 4167 | EMIT_MASKWRITE(0XF8000100, 0x0007F000U ,0x00028000U), |
| 4168 | // .. .. .. FINISH: UPDATE FB_DIV |
| 4169 | // .. .. .. START: BY PASS PLL |
| 4170 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 4171 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000001U |
| 4172 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 4173 | // .. .. .. |
| 4174 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000010U), |
| 4175 | // .. .. .. FINISH: BY PASS PLL |
| 4176 | // .. .. .. START: ASSERT RESET |
| 4177 | // .. .. .. PLL_RESET = 1 |
| 4178 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000001U |
| 4179 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4180 | // .. .. .. |
| 4181 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000001U), |
| 4182 | // .. .. .. FINISH: ASSERT RESET |
| 4183 | // .. .. .. START: DEASSERT RESET |
| 4184 | // .. .. .. PLL_RESET = 0 |
| 4185 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000000U |
| 4186 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4187 | // .. .. .. |
| 4188 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000000U), |
| 4189 | // .. .. .. FINISH: DEASSERT RESET |
| 4190 | // .. .. .. START: CHECK PLL STATUS |
| 4191 | // .. .. .. ARM_PLL_LOCK = 1 |
| 4192 | // .. .. .. ==> 0XF800010C[0:0] = 0x00000001U |
| 4193 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4194 | // .. .. .. |
| 4195 | EMIT_MASKPOLL(0XF800010C, 0x00000001U), |
| 4196 | // .. .. .. FINISH: CHECK PLL STATUS |
| 4197 | // .. .. .. START: REMOVE PLL BY PASS |
| 4198 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 4199 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000000U |
| 4200 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 4201 | // .. .. .. |
| 4202 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000000U), |
| 4203 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 4204 | // .. .. .. SRCSEL = 0x0 |
| 4205 | // .. .. .. ==> 0XF8000120[5:4] = 0x00000000U |
| 4206 | // .. .. .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4207 | // .. .. .. DIVISOR = 0x2 |
| 4208 | // .. .. .. ==> 0XF8000120[13:8] = 0x00000002U |
| 4209 | // .. .. .. ==> MASK : 0x00003F00U VAL : 0x00000200U |
| 4210 | // .. .. .. CPU_6OR4XCLKACT = 0x1 |
| 4211 | // .. .. .. ==> 0XF8000120[24:24] = 0x00000001U |
| 4212 | // .. .. .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 4213 | // .. .. .. CPU_3OR2XCLKACT = 0x1 |
| 4214 | // .. .. .. ==> 0XF8000120[25:25] = 0x00000001U |
| 4215 | // .. .. .. ==> MASK : 0x02000000U VAL : 0x02000000U |
| 4216 | // .. .. .. CPU_2XCLKACT = 0x1 |
| 4217 | // .. .. .. ==> 0XF8000120[26:26] = 0x00000001U |
| 4218 | // .. .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 4219 | // .. .. .. CPU_1XCLKACT = 0x1 |
| 4220 | // .. .. .. ==> 0XF8000120[27:27] = 0x00000001U |
| 4221 | // .. .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 4222 | // .. .. .. CPU_PERI_CLKACT = 0x1 |
| 4223 | // .. .. .. ==> 0XF8000120[28:28] = 0x00000001U |
| 4224 | // .. .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 4225 | // .. .. .. |
| 4226 | EMIT_MASKWRITE(0XF8000120, 0x1F003F30U ,0x1F000200U), |
| 4227 | // .. .. FINISH: ARM PLL INIT |
| 4228 | // .. .. START: DDR PLL INIT |
| 4229 | // .. .. PLL_RES = 0x2 |
| 4230 | // .. .. ==> 0XF8000114[7:4] = 0x00000002U |
| 4231 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 4232 | // .. .. PLL_CP = 0x2 |
| 4233 | // .. .. ==> 0XF8000114[11:8] = 0x00000002U |
| 4234 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 4235 | // .. .. LOCK_CNT = 0x12c |
| 4236 | // .. .. ==> 0XF8000114[21:12] = 0x0000012CU |
| 4237 | // .. .. ==> MASK : 0x003FF000U VAL : 0x0012C000U |
| 4238 | // .. .. |
| 4239 | EMIT_MASKWRITE(0XF8000114, 0x003FFFF0U ,0x0012C220U), |
| 4240 | // .. .. .. START: UPDATE FB_DIV |
| 4241 | // .. .. .. PLL_FDIV = 0x20 |
| 4242 | // .. .. .. ==> 0XF8000104[18:12] = 0x00000020U |
| 4243 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00020000U |
| 4244 | // .. .. .. |
| 4245 | EMIT_MASKWRITE(0XF8000104, 0x0007F000U ,0x00020000U), |
| 4246 | // .. .. .. FINISH: UPDATE FB_DIV |
| 4247 | // .. .. .. START: BY PASS PLL |
| 4248 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 4249 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000001U |
| 4250 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 4251 | // .. .. .. |
| 4252 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000010U), |
| 4253 | // .. .. .. FINISH: BY PASS PLL |
| 4254 | // .. .. .. START: ASSERT RESET |
| 4255 | // .. .. .. PLL_RESET = 1 |
| 4256 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000001U |
| 4257 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4258 | // .. .. .. |
| 4259 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000001U), |
| 4260 | // .. .. .. FINISH: ASSERT RESET |
| 4261 | // .. .. .. START: DEASSERT RESET |
| 4262 | // .. .. .. PLL_RESET = 0 |
| 4263 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000000U |
| 4264 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4265 | // .. .. .. |
| 4266 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000000U), |
| 4267 | // .. .. .. FINISH: DEASSERT RESET |
| 4268 | // .. .. .. START: CHECK PLL STATUS |
| 4269 | // .. .. .. DDR_PLL_LOCK = 1 |
| 4270 | // .. .. .. ==> 0XF800010C[1:1] = 0x00000001U |
| 4271 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 4272 | // .. .. .. |
| 4273 | EMIT_MASKPOLL(0XF800010C, 0x00000002U), |
| 4274 | // .. .. .. FINISH: CHECK PLL STATUS |
| 4275 | // .. .. .. START: REMOVE PLL BY PASS |
| 4276 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 4277 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000000U |
| 4278 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 4279 | // .. .. .. |
| 4280 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000000U), |
| 4281 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 4282 | // .. .. .. DDR_3XCLKACT = 0x1 |
| 4283 | // .. .. .. ==> 0XF8000124[0:0] = 0x00000001U |
| 4284 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4285 | // .. .. .. DDR_2XCLKACT = 0x1 |
| 4286 | // .. .. .. ==> 0XF8000124[1:1] = 0x00000001U |
| 4287 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 4288 | // .. .. .. DDR_3XCLK_DIVISOR = 0x2 |
| 4289 | // .. .. .. ==> 0XF8000124[25:20] = 0x00000002U |
| 4290 | // .. .. .. ==> MASK : 0x03F00000U VAL : 0x00200000U |
| 4291 | // .. .. .. DDR_2XCLK_DIVISOR = 0x3 |
| 4292 | // .. .. .. ==> 0XF8000124[31:26] = 0x00000003U |
| 4293 | // .. .. .. ==> MASK : 0xFC000000U VAL : 0x0C000000U |
| 4294 | // .. .. .. |
| 4295 | EMIT_MASKWRITE(0XF8000124, 0xFFF00003U ,0x0C200003U), |
| 4296 | // .. .. FINISH: DDR PLL INIT |
| 4297 | // .. .. START: IO PLL INIT |
| 4298 | // .. .. PLL_RES = 0xc |
| 4299 | // .. .. ==> 0XF8000118[7:4] = 0x0000000CU |
| 4300 | // .. .. ==> MASK : 0x000000F0U VAL : 0x000000C0U |
| 4301 | // .. .. PLL_CP = 0x2 |
| 4302 | // .. .. ==> 0XF8000118[11:8] = 0x00000002U |
| 4303 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 4304 | // .. .. LOCK_CNT = 0x145 |
| 4305 | // .. .. ==> 0XF8000118[21:12] = 0x00000145U |
| 4306 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00145000U |
| 4307 | // .. .. |
| 4308 | EMIT_MASKWRITE(0XF8000118, 0x003FFFF0U ,0x001452C0U), |
| 4309 | // .. .. .. START: UPDATE FB_DIV |
| 4310 | // .. .. .. PLL_FDIV = 0x1e |
| 4311 | // .. .. .. ==> 0XF8000108[18:12] = 0x0000001EU |
| 4312 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x0001E000U |
| 4313 | // .. .. .. |
| 4314 | EMIT_MASKWRITE(0XF8000108, 0x0007F000U ,0x0001E000U), |
| 4315 | // .. .. .. FINISH: UPDATE FB_DIV |
| 4316 | // .. .. .. START: BY PASS PLL |
| 4317 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 4318 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000001U |
| 4319 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 4320 | // .. .. .. |
| 4321 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000010U), |
| 4322 | // .. .. .. FINISH: BY PASS PLL |
| 4323 | // .. .. .. START: ASSERT RESET |
| 4324 | // .. .. .. PLL_RESET = 1 |
| 4325 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000001U |
| 4326 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4327 | // .. .. .. |
| 4328 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000001U), |
| 4329 | // .. .. .. FINISH: ASSERT RESET |
| 4330 | // .. .. .. START: DEASSERT RESET |
| 4331 | // .. .. .. PLL_RESET = 0 |
| 4332 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000000U |
| 4333 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4334 | // .. .. .. |
| 4335 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000000U), |
| 4336 | // .. .. .. FINISH: DEASSERT RESET |
| 4337 | // .. .. .. START: CHECK PLL STATUS |
| 4338 | // .. .. .. IO_PLL_LOCK = 1 |
| 4339 | // .. .. .. ==> 0XF800010C[2:2] = 0x00000001U |
| 4340 | // .. .. .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 4341 | // .. .. .. |
| 4342 | EMIT_MASKPOLL(0XF800010C, 0x00000004U), |
| 4343 | // .. .. .. FINISH: CHECK PLL STATUS |
| 4344 | // .. .. .. START: REMOVE PLL BY PASS |
| 4345 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 4346 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000000U |
| 4347 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 4348 | // .. .. .. |
| 4349 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000000U), |
| 4350 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 4351 | // .. .. FINISH: IO PLL INIT |
| 4352 | // .. FINISH: PLL SLCR REGISTERS |
| 4353 | // .. START: LOCK IT BACK |
| 4354 | // .. LOCK_KEY = 0X767B |
| 4355 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 4356 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 4357 | // .. |
| 4358 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 4359 | // .. FINISH: LOCK IT BACK |
| 4360 | // FINISH: top |
| 4361 | // |
| 4362 | EMIT_EXIT(), |
| 4363 | |
| 4364 | // |
| 4365 | }; |
| 4366 | |
| 4367 | unsigned long ps7_clock_init_data_2_0[] = { |
| 4368 | // START: top |
| 4369 | // .. START: SLCR SETTINGS |
| 4370 | // .. UNLOCK_KEY = 0XDF0D |
| 4371 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 4372 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 4373 | // .. |
| 4374 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 4375 | // .. FINISH: SLCR SETTINGS |
| 4376 | // .. START: CLOCK CONTROL SLCR REGISTERS |
| 4377 | // .. CLKACT = 0x1 |
| 4378 | // .. ==> 0XF8000128[0:0] = 0x00000001U |
| 4379 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4380 | // .. DIVISOR0 = 0x23 |
| 4381 | // .. ==> 0XF8000128[13:8] = 0x00000023U |
| 4382 | // .. ==> MASK : 0x00003F00U VAL : 0x00002300U |
| 4383 | // .. DIVISOR1 = 0x3 |
| 4384 | // .. ==> 0XF8000128[25:20] = 0x00000003U |
| 4385 | // .. ==> MASK : 0x03F00000U VAL : 0x00300000U |
| 4386 | // .. |
| 4387 | EMIT_MASKWRITE(0XF8000128, 0x03F03F01U ,0x00302301U), |
| 4388 | // .. CLKACT = 0x1 |
| 4389 | // .. ==> 0XF8000138[0:0] = 0x00000001U |
| 4390 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4391 | // .. SRCSEL = 0x0 |
| 4392 | // .. ==> 0XF8000138[4:4] = 0x00000000U |
| 4393 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 4394 | // .. |
| 4395 | EMIT_MASKWRITE(0XF8000138, 0x00000011U ,0x00000001U), |
| 4396 | // .. CLKACT = 0x1 |
| 4397 | // .. ==> 0XF8000140[0:0] = 0x00000001U |
| 4398 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4399 | // .. SRCSEL = 0x0 |
| 4400 | // .. ==> 0XF8000140[6:4] = 0x00000000U |
| 4401 | // .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 4402 | // .. DIVISOR = 0x8 |
| 4403 | // .. ==> 0XF8000140[13:8] = 0x00000008U |
| 4404 | // .. ==> MASK : 0x00003F00U VAL : 0x00000800U |
| 4405 | // .. DIVISOR1 = 0x5 |
| 4406 | // .. ==> 0XF8000140[25:20] = 0x00000005U |
| 4407 | // .. ==> MASK : 0x03F00000U VAL : 0x00500000U |
| 4408 | // .. |
| 4409 | EMIT_MASKWRITE(0XF8000140, 0x03F03F71U ,0x00500801U), |
| 4410 | // .. CLKACT = 0x1 |
| 4411 | // .. ==> 0XF800014C[0:0] = 0x00000001U |
| 4412 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4413 | // .. SRCSEL = 0x0 |
| 4414 | // .. ==> 0XF800014C[5:4] = 0x00000000U |
| 4415 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4416 | // .. DIVISOR = 0x5 |
| 4417 | // .. ==> 0XF800014C[13:8] = 0x00000005U |
| 4418 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 4419 | // .. |
| 4420 | EMIT_MASKWRITE(0XF800014C, 0x00003F31U ,0x00000501U), |
| 4421 | // .. CLKACT0 = 0x1 |
| 4422 | // .. ==> 0XF8000150[0:0] = 0x00000001U |
| 4423 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4424 | // .. CLKACT1 = 0x0 |
| 4425 | // .. ==> 0XF8000150[1:1] = 0x00000000U |
| 4426 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 4427 | // .. SRCSEL = 0x0 |
| 4428 | // .. ==> 0XF8000150[5:4] = 0x00000000U |
| 4429 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4430 | // .. DIVISOR = 0x14 |
| 4431 | // .. ==> 0XF8000150[13:8] = 0x00000014U |
| 4432 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4433 | // .. |
| 4434 | EMIT_MASKWRITE(0XF8000150, 0x00003F33U ,0x00001401U), |
| 4435 | // .. CLKACT0 = 0x0 |
| 4436 | // .. ==> 0XF8000154[0:0] = 0x00000000U |
| 4437 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4438 | // .. CLKACT1 = 0x1 |
| 4439 | // .. ==> 0XF8000154[1:1] = 0x00000001U |
| 4440 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 4441 | // .. SRCSEL = 0x0 |
| 4442 | // .. ==> 0XF8000154[5:4] = 0x00000000U |
| 4443 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4444 | // .. DIVISOR = 0x14 |
| 4445 | // .. ==> 0XF8000154[13:8] = 0x00000014U |
| 4446 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4447 | // .. |
| 4448 | EMIT_MASKWRITE(0XF8000154, 0x00003F33U ,0x00001402U), |
| 4449 | // .. CLKACT = 0x1 |
| 4450 | // .. ==> 0XF8000168[0:0] = 0x00000001U |
| 4451 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4452 | // .. SRCSEL = 0x0 |
| 4453 | // .. ==> 0XF8000168[5:4] = 0x00000000U |
| 4454 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4455 | // .. DIVISOR = 0x5 |
| 4456 | // .. ==> 0XF8000168[13:8] = 0x00000005U |
| 4457 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 4458 | // .. |
| 4459 | EMIT_MASKWRITE(0XF8000168, 0x00003F31U ,0x00000501U), |
| 4460 | // .. SRCSEL = 0x0 |
| 4461 | // .. ==> 0XF8000170[5:4] = 0x00000000U |
| 4462 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4463 | // .. DIVISOR0 = 0x14 |
| 4464 | // .. ==> 0XF8000170[13:8] = 0x00000014U |
| 4465 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4466 | // .. DIVISOR1 = 0x1 |
| 4467 | // .. ==> 0XF8000170[25:20] = 0x00000001U |
| 4468 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 4469 | // .. |
| 4470 | EMIT_MASKWRITE(0XF8000170, 0x03F03F30U ,0x00101400U), |
| 4471 | // .. SRCSEL = 0x0 |
| 4472 | // .. ==> 0XF8000180[5:4] = 0x00000000U |
| 4473 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4474 | // .. DIVISOR0 = 0x14 |
| 4475 | // .. ==> 0XF8000180[13:8] = 0x00000014U |
| 4476 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4477 | // .. DIVISOR1 = 0x1 |
| 4478 | // .. ==> 0XF8000180[25:20] = 0x00000001U |
| 4479 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 4480 | // .. |
| 4481 | EMIT_MASKWRITE(0XF8000180, 0x03F03F30U ,0x00101400U), |
| 4482 | // .. SRCSEL = 0x0 |
| 4483 | // .. ==> 0XF8000190[5:4] = 0x00000000U |
| 4484 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4485 | // .. DIVISOR0 = 0x14 |
| 4486 | // .. ==> 0XF8000190[13:8] = 0x00000014U |
| 4487 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4488 | // .. DIVISOR1 = 0x1 |
| 4489 | // .. ==> 0XF8000190[25:20] = 0x00000001U |
| 4490 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 4491 | // .. |
| 4492 | EMIT_MASKWRITE(0XF8000190, 0x03F03F30U ,0x00101400U), |
| 4493 | // .. SRCSEL = 0x0 |
| 4494 | // .. ==> 0XF80001A0[5:4] = 0x00000000U |
| 4495 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 4496 | // .. DIVISOR0 = 0x14 |
| 4497 | // .. ==> 0XF80001A0[13:8] = 0x00000014U |
| 4498 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 4499 | // .. DIVISOR1 = 0x1 |
| 4500 | // .. ==> 0XF80001A0[25:20] = 0x00000001U |
| 4501 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 4502 | // .. |
| 4503 | EMIT_MASKWRITE(0XF80001A0, 0x03F03F30U ,0x00101400U), |
| 4504 | // .. CLK_621_TRUE = 0x1 |
| 4505 | // .. ==> 0XF80001C4[0:0] = 0x00000001U |
| 4506 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4507 | // .. |
| 4508 | EMIT_MASKWRITE(0XF80001C4, 0x00000001U ,0x00000001U), |
| 4509 | // .. DMA_CPU_2XCLKACT = 0x1 |
| 4510 | // .. ==> 0XF800012C[0:0] = 0x00000001U |
| 4511 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 4512 | // .. USB0_CPU_1XCLKACT = 0x1 |
| 4513 | // .. ==> 0XF800012C[2:2] = 0x00000001U |
| 4514 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 4515 | // .. USB1_CPU_1XCLKACT = 0x1 |
| 4516 | // .. ==> 0XF800012C[3:3] = 0x00000001U |
| 4517 | // .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 4518 | // .. GEM0_CPU_1XCLKACT = 0x1 |
| 4519 | // .. ==> 0XF800012C[6:6] = 0x00000001U |
| 4520 | // .. ==> MASK : 0x00000040U VAL : 0x00000040U |
| 4521 | // .. GEM1_CPU_1XCLKACT = 0x0 |
| 4522 | // .. ==> 0XF800012C[7:7] = 0x00000000U |
| 4523 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 4524 | // .. SDI0_CPU_1XCLKACT = 0x1 |
| 4525 | // .. ==> 0XF800012C[10:10] = 0x00000001U |
| 4526 | // .. ==> MASK : 0x00000400U VAL : 0x00000400U |
| 4527 | // .. SDI1_CPU_1XCLKACT = 0x0 |
| 4528 | // .. ==> 0XF800012C[11:11] = 0x00000000U |
| 4529 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 4530 | // .. SPI0_CPU_1XCLKACT = 0x0 |
| 4531 | // .. ==> 0XF800012C[14:14] = 0x00000000U |
| 4532 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 4533 | // .. SPI1_CPU_1XCLKACT = 0x0 |
| 4534 | // .. ==> 0XF800012C[15:15] = 0x00000000U |
| 4535 | // .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 4536 | // .. CAN0_CPU_1XCLKACT = 0x0 |
| 4537 | // .. ==> 0XF800012C[16:16] = 0x00000000U |
| 4538 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 4539 | // .. CAN1_CPU_1XCLKACT = 0x0 |
| 4540 | // .. ==> 0XF800012C[17:17] = 0x00000000U |
| 4541 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 4542 | // .. I2C0_CPU_1XCLKACT = 0x1 |
| 4543 | // .. ==> 0XF800012C[18:18] = 0x00000001U |
| 4544 | // .. ==> MASK : 0x00040000U VAL : 0x00040000U |
| 4545 | // .. I2C1_CPU_1XCLKACT = 0x1 |
| 4546 | // .. ==> 0XF800012C[19:19] = 0x00000001U |
| 4547 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 4548 | // .. UART0_CPU_1XCLKACT = 0x0 |
| 4549 | // .. ==> 0XF800012C[20:20] = 0x00000000U |
| 4550 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 4551 | // .. UART1_CPU_1XCLKACT = 0x1 |
| 4552 | // .. ==> 0XF800012C[21:21] = 0x00000001U |
| 4553 | // .. ==> MASK : 0x00200000U VAL : 0x00200000U |
| 4554 | // .. GPIO_CPU_1XCLKACT = 0x1 |
| 4555 | // .. ==> 0XF800012C[22:22] = 0x00000001U |
| 4556 | // .. ==> MASK : 0x00400000U VAL : 0x00400000U |
| 4557 | // .. LQSPI_CPU_1XCLKACT = 0x1 |
| 4558 | // .. ==> 0XF800012C[23:23] = 0x00000001U |
| 4559 | // .. ==> MASK : 0x00800000U VAL : 0x00800000U |
| 4560 | // .. SMC_CPU_1XCLKACT = 0x1 |
| 4561 | // .. ==> 0XF800012C[24:24] = 0x00000001U |
| 4562 | // .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 4563 | // .. |
| 4564 | EMIT_MASKWRITE(0XF800012C, 0x01FFCCCDU ,0x01EC044DU), |
| 4565 | // .. FINISH: CLOCK CONTROL SLCR REGISTERS |
| 4566 | // .. START: THIS SHOULD BE BLANK |
| 4567 | // .. FINISH: THIS SHOULD BE BLANK |
| 4568 | // .. START: LOCK IT BACK |
| 4569 | // .. LOCK_KEY = 0X767B |
| 4570 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 4571 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 4572 | // .. |
| 4573 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 4574 | // .. FINISH: LOCK IT BACK |
| 4575 | // FINISH: top |
| 4576 | // |
| 4577 | EMIT_EXIT(), |
| 4578 | |
| 4579 | // |
| 4580 | }; |
| 4581 | |
| 4582 | unsigned long ps7_ddr_init_data_2_0[] = { |
| 4583 | // START: top |
| 4584 | // .. START: DDR INITIALIZATION |
| 4585 | // .. .. START: LOCK DDR |
| 4586 | // .. .. reg_ddrc_soft_rstb = 0 |
| 4587 | // .. .. ==> 0XF8006000[0:0] = 0x00000000U |
| 4588 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4589 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 4590 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 4591 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 4592 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 4593 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 4594 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 4595 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 4596 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 4597 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 4598 | // .. .. reg_ddrc_rdwr_idle_gap = 0x1 |
| 4599 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 4600 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 4601 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 4602 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 4603 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 4604 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 4605 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 4606 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 4607 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 4608 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 4609 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 4610 | // .. .. |
| 4611 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000080U), |
| 4612 | // .. .. FINISH: LOCK DDR |
| 4613 | // .. .. reg_ddrc_t_rfc_nom_x32 = 0x81 |
| 4614 | // .. .. ==> 0XF8006004[11:0] = 0x00000081U |
| 4615 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000081U |
| 4616 | // .. .. reg_ddrc_active_ranks = 0x1 |
| 4617 | // .. .. ==> 0XF8006004[13:12] = 0x00000001U |
| 4618 | // .. .. ==> MASK : 0x00003000U VAL : 0x00001000U |
| 4619 | // .. .. reg_ddrc_addrmap_cs_bit0 = 0x0 |
| 4620 | // .. .. ==> 0XF8006004[18:14] = 0x00000000U |
| 4621 | // .. .. ==> MASK : 0x0007C000U VAL : 0x00000000U |
| 4622 | // .. .. reg_ddrc_wr_odt_block = 0x1 |
| 4623 | // .. .. ==> 0XF8006004[20:19] = 0x00000001U |
| 4624 | // .. .. ==> MASK : 0x00180000U VAL : 0x00080000U |
| 4625 | // .. .. reg_ddrc_diff_rank_rd_2cycle_gap = 0x0 |
| 4626 | // .. .. ==> 0XF8006004[21:21] = 0x00000000U |
| 4627 | // .. .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 4628 | // .. .. reg_ddrc_addrmap_cs_bit1 = 0x0 |
| 4629 | // .. .. ==> 0XF8006004[26:22] = 0x00000000U |
| 4630 | // .. .. ==> MASK : 0x07C00000U VAL : 0x00000000U |
| 4631 | // .. .. reg_ddrc_addrmap_open_bank = 0x0 |
| 4632 | // .. .. ==> 0XF8006004[27:27] = 0x00000000U |
| 4633 | // .. .. ==> MASK : 0x08000000U VAL : 0x00000000U |
| 4634 | // .. .. reg_ddrc_addrmap_4bank_ram = 0x0 |
| 4635 | // .. .. ==> 0XF8006004[28:28] = 0x00000000U |
| 4636 | // .. .. ==> MASK : 0x10000000U VAL : 0x00000000U |
| 4637 | // .. .. |
| 4638 | EMIT_MASKWRITE(0XF8006004, 0x1FFFFFFFU ,0x00081081U), |
| 4639 | // .. .. reg_ddrc_hpr_min_non_critical_x32 = 0xf |
| 4640 | // .. .. ==> 0XF8006008[10:0] = 0x0000000FU |
| 4641 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000000FU |
| 4642 | // .. .. reg_ddrc_hpr_max_starve_x32 = 0xf |
| 4643 | // .. .. ==> 0XF8006008[21:11] = 0x0000000FU |
| 4644 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00007800U |
| 4645 | // .. .. reg_ddrc_hpr_xact_run_length = 0xf |
| 4646 | // .. .. ==> 0XF8006008[25:22] = 0x0000000FU |
| 4647 | // .. .. ==> MASK : 0x03C00000U VAL : 0x03C00000U |
| 4648 | // .. .. |
| 4649 | EMIT_MASKWRITE(0XF8006008, 0x03FFFFFFU ,0x03C0780FU), |
| 4650 | // .. .. reg_ddrc_lpr_min_non_critical_x32 = 0x1 |
| 4651 | // .. .. ==> 0XF800600C[10:0] = 0x00000001U |
| 4652 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 4653 | // .. .. reg_ddrc_lpr_max_starve_x32 = 0x2 |
| 4654 | // .. .. ==> 0XF800600C[21:11] = 0x00000002U |
| 4655 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00001000U |
| 4656 | // .. .. reg_ddrc_lpr_xact_run_length = 0x8 |
| 4657 | // .. .. ==> 0XF800600C[25:22] = 0x00000008U |
| 4658 | // .. .. ==> MASK : 0x03C00000U VAL : 0x02000000U |
| 4659 | // .. .. |
| 4660 | EMIT_MASKWRITE(0XF800600C, 0x03FFFFFFU ,0x02001001U), |
| 4661 | // .. .. reg_ddrc_w_min_non_critical_x32 = 0x1 |
| 4662 | // .. .. ==> 0XF8006010[10:0] = 0x00000001U |
| 4663 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 4664 | // .. .. reg_ddrc_w_xact_run_length = 0x8 |
| 4665 | // .. .. ==> 0XF8006010[14:11] = 0x00000008U |
| 4666 | // .. .. ==> MASK : 0x00007800U VAL : 0x00004000U |
| 4667 | // .. .. reg_ddrc_w_max_starve_x32 = 0x2 |
| 4668 | // .. .. ==> 0XF8006010[25:15] = 0x00000002U |
| 4669 | // .. .. ==> MASK : 0x03FF8000U VAL : 0x00010000U |
| 4670 | // .. .. |
| 4671 | EMIT_MASKWRITE(0XF8006010, 0x03FFFFFFU ,0x00014001U), |
| 4672 | // .. .. reg_ddrc_t_rc = 0x1b |
| 4673 | // .. .. ==> 0XF8006014[5:0] = 0x0000001BU |
| 4674 | // .. .. ==> MASK : 0x0000003FU VAL : 0x0000001BU |
| 4675 | // .. .. reg_ddrc_t_rfc_min = 0x56 |
| 4676 | // .. .. ==> 0XF8006014[13:6] = 0x00000056U |
| 4677 | // .. .. ==> MASK : 0x00003FC0U VAL : 0x00001580U |
| 4678 | // .. .. reg_ddrc_post_selfref_gap_x32 = 0x10 |
| 4679 | // .. .. ==> 0XF8006014[20:14] = 0x00000010U |
| 4680 | // .. .. ==> MASK : 0x001FC000U VAL : 0x00040000U |
| 4681 | // .. .. |
| 4682 | EMIT_MASKWRITE(0XF8006014, 0x001FFFFFU ,0x0004159BU), |
| 4683 | // .. .. reg_ddrc_wr2pre = 0x12 |
| 4684 | // .. .. ==> 0XF8006018[4:0] = 0x00000012U |
| 4685 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000012U |
| 4686 | // .. .. reg_ddrc_powerdown_to_x32 = 0x6 |
| 4687 | // .. .. ==> 0XF8006018[9:5] = 0x00000006U |
| 4688 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000C0U |
| 4689 | // .. .. reg_ddrc_t_faw = 0x10 |
| 4690 | // .. .. ==> 0XF8006018[15:10] = 0x00000010U |
| 4691 | // .. .. ==> MASK : 0x0000FC00U VAL : 0x00004000U |
| 4692 | // .. .. reg_ddrc_t_ras_max = 0x24 |
| 4693 | // .. .. ==> 0XF8006018[21:16] = 0x00000024U |
| 4694 | // .. .. ==> MASK : 0x003F0000U VAL : 0x00240000U |
| 4695 | // .. .. reg_ddrc_t_ras_min = 0x14 |
| 4696 | // .. .. ==> 0XF8006018[26:22] = 0x00000014U |
| 4697 | // .. .. ==> MASK : 0x07C00000U VAL : 0x05000000U |
| 4698 | // .. .. reg_ddrc_t_cke = 0x4 |
| 4699 | // .. .. ==> 0XF8006018[31:28] = 0x00000004U |
| 4700 | // .. .. ==> MASK : 0xF0000000U VAL : 0x40000000U |
| 4701 | // .. .. |
| 4702 | EMIT_MASKWRITE(0XF8006018, 0xF7FFFFFFU ,0x452440D2U), |
| 4703 | // .. .. reg_ddrc_write_latency = 0x5 |
| 4704 | // .. .. ==> 0XF800601C[4:0] = 0x00000005U |
| 4705 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000005U |
| 4706 | // .. .. reg_ddrc_rd2wr = 0x7 |
| 4707 | // .. .. ==> 0XF800601C[9:5] = 0x00000007U |
| 4708 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000E0U |
| 4709 | // .. .. reg_ddrc_wr2rd = 0xe |
| 4710 | // .. .. ==> 0XF800601C[14:10] = 0x0000000EU |
| 4711 | // .. .. ==> MASK : 0x00007C00U VAL : 0x00003800U |
| 4712 | // .. .. reg_ddrc_t_xp = 0x4 |
| 4713 | // .. .. ==> 0XF800601C[19:15] = 0x00000004U |
| 4714 | // .. .. ==> MASK : 0x000F8000U VAL : 0x00020000U |
| 4715 | // .. .. reg_ddrc_pad_pd = 0x0 |
| 4716 | // .. .. ==> 0XF800601C[22:20] = 0x00000000U |
| 4717 | // .. .. ==> MASK : 0x00700000U VAL : 0x00000000U |
| 4718 | // .. .. reg_ddrc_rd2pre = 0x4 |
| 4719 | // .. .. ==> 0XF800601C[27:23] = 0x00000004U |
| 4720 | // .. .. ==> MASK : 0x0F800000U VAL : 0x02000000U |
| 4721 | // .. .. reg_ddrc_t_rcd = 0x7 |
| 4722 | // .. .. ==> 0XF800601C[31:28] = 0x00000007U |
| 4723 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 4724 | // .. .. |
| 4725 | EMIT_MASKWRITE(0XF800601C, 0xFFFFFFFFU ,0x720238E5U), |
| 4726 | // .. .. reg_ddrc_t_ccd = 0x4 |
| 4727 | // .. .. ==> 0XF8006020[4:2] = 0x00000004U |
| 4728 | // .. .. ==> MASK : 0x0000001CU VAL : 0x00000010U |
| 4729 | // .. .. reg_ddrc_t_rrd = 0x4 |
| 4730 | // .. .. ==> 0XF8006020[7:5] = 0x00000004U |
| 4731 | // .. .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 4732 | // .. .. reg_ddrc_refresh_margin = 0x2 |
| 4733 | // .. .. ==> 0XF8006020[11:8] = 0x00000002U |
| 4734 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 4735 | // .. .. reg_ddrc_t_rp = 0x7 |
| 4736 | // .. .. ==> 0XF8006020[15:12] = 0x00000007U |
| 4737 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00007000U |
| 4738 | // .. .. reg_ddrc_refresh_to_x32 = 0x8 |
| 4739 | // .. .. ==> 0XF8006020[20:16] = 0x00000008U |
| 4740 | // .. .. ==> MASK : 0x001F0000U VAL : 0x00080000U |
| 4741 | // .. .. reg_ddrc_sdram = 0x1 |
| 4742 | // .. .. ==> 0XF8006020[21:21] = 0x00000001U |
| 4743 | // .. .. ==> MASK : 0x00200000U VAL : 0x00200000U |
| 4744 | // .. .. reg_ddrc_mobile = 0x0 |
| 4745 | // .. .. ==> 0XF8006020[22:22] = 0x00000000U |
| 4746 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 4747 | // .. .. reg_ddrc_clock_stop_en = 0x0 |
| 4748 | // .. .. ==> 0XF8006020[23:23] = 0x00000000U |
| 4749 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 4750 | // .. .. reg_ddrc_read_latency = 0x7 |
| 4751 | // .. .. ==> 0XF8006020[28:24] = 0x00000007U |
| 4752 | // .. .. ==> MASK : 0x1F000000U VAL : 0x07000000U |
| 4753 | // .. .. reg_phy_mode_ddr1_ddr2 = 0x1 |
| 4754 | // .. .. ==> 0XF8006020[29:29] = 0x00000001U |
| 4755 | // .. .. ==> MASK : 0x20000000U VAL : 0x20000000U |
| 4756 | // .. .. reg_ddrc_dis_pad_pd = 0x0 |
| 4757 | // .. .. ==> 0XF8006020[30:30] = 0x00000000U |
| 4758 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 4759 | // .. .. reg_ddrc_loopback = 0x0 |
| 4760 | // .. .. ==> 0XF8006020[31:31] = 0x00000000U |
| 4761 | // .. .. ==> MASK : 0x80000000U VAL : 0x00000000U |
| 4762 | // .. .. |
| 4763 | EMIT_MASKWRITE(0XF8006020, 0xFFFFFFFCU ,0x27287290U), |
| 4764 | // .. .. reg_ddrc_en_2t_timing_mode = 0x0 |
| 4765 | // .. .. ==> 0XF8006024[0:0] = 0x00000000U |
| 4766 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4767 | // .. .. reg_ddrc_prefer_write = 0x0 |
| 4768 | // .. .. ==> 0XF8006024[1:1] = 0x00000000U |
| 4769 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 4770 | // .. .. reg_ddrc_max_rank_rd = 0xf |
| 4771 | // .. .. ==> 0XF8006024[5:2] = 0x0000000FU |
| 4772 | // .. .. ==> MASK : 0x0000003CU VAL : 0x0000003CU |
| 4773 | // .. .. reg_ddrc_mr_wr = 0x0 |
| 4774 | // .. .. ==> 0XF8006024[6:6] = 0x00000000U |
| 4775 | // .. .. ==> MASK : 0x00000040U VAL : 0x00000000U |
| 4776 | // .. .. reg_ddrc_mr_addr = 0x0 |
| 4777 | // .. .. ==> 0XF8006024[8:7] = 0x00000000U |
| 4778 | // .. .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 4779 | // .. .. reg_ddrc_mr_data = 0x0 |
| 4780 | // .. .. ==> 0XF8006024[24:9] = 0x00000000U |
| 4781 | // .. .. ==> MASK : 0x01FFFE00U VAL : 0x00000000U |
| 4782 | // .. .. ddrc_reg_mr_wr_busy = 0x0 |
| 4783 | // .. .. ==> 0XF8006024[25:25] = 0x00000000U |
| 4784 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 4785 | // .. .. reg_ddrc_mr_type = 0x0 |
| 4786 | // .. .. ==> 0XF8006024[26:26] = 0x00000000U |
| 4787 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 4788 | // .. .. reg_ddrc_mr_rdata_valid = 0x0 |
| 4789 | // .. .. ==> 0XF8006024[27:27] = 0x00000000U |
| 4790 | // .. .. ==> MASK : 0x08000000U VAL : 0x00000000U |
| 4791 | // .. .. |
| 4792 | EMIT_MASKWRITE(0XF8006024, 0x0FFFFFFFU ,0x0000003CU), |
| 4793 | // .. .. reg_ddrc_final_wait_x32 = 0x7 |
| 4794 | // .. .. ==> 0XF8006028[6:0] = 0x00000007U |
| 4795 | // .. .. ==> MASK : 0x0000007FU VAL : 0x00000007U |
| 4796 | // .. .. reg_ddrc_pre_ocd_x32 = 0x0 |
| 4797 | // .. .. ==> 0XF8006028[10:7] = 0x00000000U |
| 4798 | // .. .. ==> MASK : 0x00000780U VAL : 0x00000000U |
| 4799 | // .. .. reg_ddrc_t_mrd = 0x4 |
| 4800 | // .. .. ==> 0XF8006028[13:11] = 0x00000004U |
| 4801 | // .. .. ==> MASK : 0x00003800U VAL : 0x00002000U |
| 4802 | // .. .. |
| 4803 | EMIT_MASKWRITE(0XF8006028, 0x00003FFFU ,0x00002007U), |
| 4804 | // .. .. reg_ddrc_emr2 = 0x8 |
| 4805 | // .. .. ==> 0XF800602C[15:0] = 0x00000008U |
| 4806 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000008U |
| 4807 | // .. .. reg_ddrc_emr3 = 0x0 |
| 4808 | // .. .. ==> 0XF800602C[31:16] = 0x00000000U |
| 4809 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00000000U |
| 4810 | // .. .. |
| 4811 | EMIT_MASKWRITE(0XF800602C, 0xFFFFFFFFU ,0x00000008U), |
| 4812 | // .. .. reg_ddrc_mr = 0x930 |
| 4813 | // .. .. ==> 0XF8006030[15:0] = 0x00000930U |
| 4814 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000930U |
| 4815 | // .. .. reg_ddrc_emr = 0x4 |
| 4816 | // .. .. ==> 0XF8006030[31:16] = 0x00000004U |
| 4817 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00040000U |
| 4818 | // .. .. |
| 4819 | EMIT_MASKWRITE(0XF8006030, 0xFFFFFFFFU ,0x00040930U), |
| 4820 | // .. .. reg_ddrc_burst_rdwr = 0x4 |
| 4821 | // .. .. ==> 0XF8006034[3:0] = 0x00000004U |
| 4822 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000004U |
| 4823 | // .. .. reg_ddrc_pre_cke_x1024 = 0x105 |
| 4824 | // .. .. ==> 0XF8006034[13:4] = 0x00000105U |
| 4825 | // .. .. ==> MASK : 0x00003FF0U VAL : 0x00001050U |
| 4826 | // .. .. reg_ddrc_post_cke_x1024 = 0x1 |
| 4827 | // .. .. ==> 0XF8006034[25:16] = 0x00000001U |
| 4828 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00010000U |
| 4829 | // .. .. reg_ddrc_burstchop = 0x0 |
| 4830 | // .. .. ==> 0XF8006034[28:28] = 0x00000000U |
| 4831 | // .. .. ==> MASK : 0x10000000U VAL : 0x00000000U |
| 4832 | // .. .. |
| 4833 | EMIT_MASKWRITE(0XF8006034, 0x13FF3FFFU ,0x00011054U), |
| 4834 | // .. .. reg_ddrc_force_low_pri_n = 0x0 |
| 4835 | // .. .. ==> 0XF8006038[0:0] = 0x00000000U |
| 4836 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 4837 | // .. .. reg_ddrc_dis_dq = 0x0 |
| 4838 | // .. .. ==> 0XF8006038[1:1] = 0x00000000U |
| 4839 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 4840 | // .. .. reg_phy_debug_mode = 0x0 |
| 4841 | // .. .. ==> 0XF8006038[6:6] = 0x00000000U |
| 4842 | // .. .. ==> MASK : 0x00000040U VAL : 0x00000000U |
| 4843 | // .. .. reg_phy_wr_level_start = 0x0 |
| 4844 | // .. .. ==> 0XF8006038[7:7] = 0x00000000U |
| 4845 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 4846 | // .. .. reg_phy_rd_level_start = 0x0 |
| 4847 | // .. .. ==> 0XF8006038[8:8] = 0x00000000U |
| 4848 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 4849 | // .. .. reg_phy_dq0_wait_t = 0x0 |
| 4850 | // .. .. ==> 0XF8006038[12:9] = 0x00000000U |
| 4851 | // .. .. ==> MASK : 0x00001E00U VAL : 0x00000000U |
| 4852 | // .. .. |
| 4853 | EMIT_MASKWRITE(0XF8006038, 0x00001FC3U ,0x00000000U), |
| 4854 | // .. .. reg_ddrc_addrmap_bank_b0 = 0x7 |
| 4855 | // .. .. ==> 0XF800603C[3:0] = 0x00000007U |
| 4856 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000007U |
| 4857 | // .. .. reg_ddrc_addrmap_bank_b1 = 0x7 |
| 4858 | // .. .. ==> 0XF800603C[7:4] = 0x00000007U |
| 4859 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000070U |
| 4860 | // .. .. reg_ddrc_addrmap_bank_b2 = 0x7 |
| 4861 | // .. .. ==> 0XF800603C[11:8] = 0x00000007U |
| 4862 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000700U |
| 4863 | // .. .. reg_ddrc_addrmap_col_b5 = 0x0 |
| 4864 | // .. .. ==> 0XF800603C[15:12] = 0x00000000U |
| 4865 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 4866 | // .. .. reg_ddrc_addrmap_col_b6 = 0x0 |
| 4867 | // .. .. ==> 0XF800603C[19:16] = 0x00000000U |
| 4868 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 4869 | // .. .. |
| 4870 | EMIT_MASKWRITE(0XF800603C, 0x000FFFFFU ,0x00000777U), |
| 4871 | // .. .. reg_ddrc_addrmap_col_b2 = 0x0 |
| 4872 | // .. .. ==> 0XF8006040[3:0] = 0x00000000U |
| 4873 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 4874 | // .. .. reg_ddrc_addrmap_col_b3 = 0x0 |
| 4875 | // .. .. ==> 0XF8006040[7:4] = 0x00000000U |
| 4876 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 4877 | // .. .. reg_ddrc_addrmap_col_b4 = 0x0 |
| 4878 | // .. .. ==> 0XF8006040[11:8] = 0x00000000U |
| 4879 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 4880 | // .. .. reg_ddrc_addrmap_col_b7 = 0x0 |
| 4881 | // .. .. ==> 0XF8006040[15:12] = 0x00000000U |
| 4882 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 4883 | // .. .. reg_ddrc_addrmap_col_b8 = 0x0 |
| 4884 | // .. .. ==> 0XF8006040[19:16] = 0x00000000U |
| 4885 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 4886 | // .. .. reg_ddrc_addrmap_col_b9 = 0xf |
| 4887 | // .. .. ==> 0XF8006040[23:20] = 0x0000000FU |
| 4888 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00F00000U |
| 4889 | // .. .. reg_ddrc_addrmap_col_b10 = 0xf |
| 4890 | // .. .. ==> 0XF8006040[27:24] = 0x0000000FU |
| 4891 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 4892 | // .. .. reg_ddrc_addrmap_col_b11 = 0xf |
| 4893 | // .. .. ==> 0XF8006040[31:28] = 0x0000000FU |
| 4894 | // .. .. ==> MASK : 0xF0000000U VAL : 0xF0000000U |
| 4895 | // .. .. |
| 4896 | EMIT_MASKWRITE(0XF8006040, 0xFFFFFFFFU ,0xFFF00000U), |
| 4897 | // .. .. reg_ddrc_addrmap_row_b0 = 0x6 |
| 4898 | // .. .. ==> 0XF8006044[3:0] = 0x00000006U |
| 4899 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000006U |
| 4900 | // .. .. reg_ddrc_addrmap_row_b1 = 0x6 |
| 4901 | // .. .. ==> 0XF8006044[7:4] = 0x00000006U |
| 4902 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000060U |
| 4903 | // .. .. reg_ddrc_addrmap_row_b2_11 = 0x6 |
| 4904 | // .. .. ==> 0XF8006044[11:8] = 0x00000006U |
| 4905 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000600U |
| 4906 | // .. .. reg_ddrc_addrmap_row_b12 = 0x6 |
| 4907 | // .. .. ==> 0XF8006044[15:12] = 0x00000006U |
| 4908 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00006000U |
| 4909 | // .. .. reg_ddrc_addrmap_row_b13 = 0x6 |
| 4910 | // .. .. ==> 0XF8006044[19:16] = 0x00000006U |
| 4911 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00060000U |
| 4912 | // .. .. reg_ddrc_addrmap_row_b14 = 0x6 |
| 4913 | // .. .. ==> 0XF8006044[23:20] = 0x00000006U |
| 4914 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00600000U |
| 4915 | // .. .. reg_ddrc_addrmap_row_b15 = 0xf |
| 4916 | // .. .. ==> 0XF8006044[27:24] = 0x0000000FU |
| 4917 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 4918 | // .. .. |
| 4919 | EMIT_MASKWRITE(0XF8006044, 0x0FFFFFFFU ,0x0F666666U), |
| 4920 | // .. .. reg_ddrc_rank0_rd_odt = 0x0 |
| 4921 | // .. .. ==> 0XF8006048[2:0] = 0x00000000U |
| 4922 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000000U |
| 4923 | // .. .. reg_ddrc_rank0_wr_odt = 0x1 |
| 4924 | // .. .. ==> 0XF8006048[5:3] = 0x00000001U |
| 4925 | // .. .. ==> MASK : 0x00000038U VAL : 0x00000008U |
| 4926 | // .. .. reg_ddrc_rank1_rd_odt = 0x1 |
| 4927 | // .. .. ==> 0XF8006048[8:6] = 0x00000001U |
| 4928 | // .. .. ==> MASK : 0x000001C0U VAL : 0x00000040U |
| 4929 | // .. .. reg_ddrc_rank1_wr_odt = 0x1 |
| 4930 | // .. .. ==> 0XF8006048[11:9] = 0x00000001U |
| 4931 | // .. .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 4932 | // .. .. reg_phy_rd_local_odt = 0x0 |
| 4933 | // .. .. ==> 0XF8006048[13:12] = 0x00000000U |
| 4934 | // .. .. ==> MASK : 0x00003000U VAL : 0x00000000U |
| 4935 | // .. .. reg_phy_wr_local_odt = 0x3 |
| 4936 | // .. .. ==> 0XF8006048[15:14] = 0x00000003U |
| 4937 | // .. .. ==> MASK : 0x0000C000U VAL : 0x0000C000U |
| 4938 | // .. .. reg_phy_idle_local_odt = 0x3 |
| 4939 | // .. .. ==> 0XF8006048[17:16] = 0x00000003U |
| 4940 | // .. .. ==> MASK : 0x00030000U VAL : 0x00030000U |
| 4941 | // .. .. reg_ddrc_rank2_rd_odt = 0x0 |
| 4942 | // .. .. ==> 0XF8006048[20:18] = 0x00000000U |
| 4943 | // .. .. ==> MASK : 0x001C0000U VAL : 0x00000000U |
| 4944 | // .. .. reg_ddrc_rank2_wr_odt = 0x0 |
| 4945 | // .. .. ==> 0XF8006048[23:21] = 0x00000000U |
| 4946 | // .. .. ==> MASK : 0x00E00000U VAL : 0x00000000U |
| 4947 | // .. .. reg_ddrc_rank3_rd_odt = 0x0 |
| 4948 | // .. .. ==> 0XF8006048[26:24] = 0x00000000U |
| 4949 | // .. .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 4950 | // .. .. reg_ddrc_rank3_wr_odt = 0x0 |
| 4951 | // .. .. ==> 0XF8006048[29:27] = 0x00000000U |
| 4952 | // .. .. ==> MASK : 0x38000000U VAL : 0x00000000U |
| 4953 | // .. .. |
| 4954 | EMIT_MASKWRITE(0XF8006048, 0x3FFFFFFFU ,0x0003C248U), |
| 4955 | // .. .. reg_phy_rd_cmd_to_data = 0x0 |
| 4956 | // .. .. ==> 0XF8006050[3:0] = 0x00000000U |
| 4957 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 4958 | // .. .. reg_phy_wr_cmd_to_data = 0x0 |
| 4959 | // .. .. ==> 0XF8006050[7:4] = 0x00000000U |
| 4960 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 4961 | // .. .. reg_phy_rdc_we_to_re_delay = 0x8 |
| 4962 | // .. .. ==> 0XF8006050[11:8] = 0x00000008U |
| 4963 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000800U |
| 4964 | // .. .. reg_phy_rdc_fifo_rst_disable = 0x0 |
| 4965 | // .. .. ==> 0XF8006050[15:15] = 0x00000000U |
| 4966 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 4967 | // .. .. reg_phy_use_fixed_re = 0x1 |
| 4968 | // .. .. ==> 0XF8006050[16:16] = 0x00000001U |
| 4969 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 4970 | // .. .. reg_phy_rdc_fifo_rst_err_cnt_clr = 0x0 |
| 4971 | // .. .. ==> 0XF8006050[17:17] = 0x00000000U |
| 4972 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 4973 | // .. .. reg_phy_dis_phy_ctrl_rstn = 0x0 |
| 4974 | // .. .. ==> 0XF8006050[18:18] = 0x00000000U |
| 4975 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 4976 | // .. .. reg_phy_clk_stall_level = 0x0 |
| 4977 | // .. .. ==> 0XF8006050[19:19] = 0x00000000U |
| 4978 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 4979 | // .. .. reg_phy_gatelvl_num_of_dq0 = 0x7 |
| 4980 | // .. .. ==> 0XF8006050[27:24] = 0x00000007U |
| 4981 | // .. .. ==> MASK : 0x0F000000U VAL : 0x07000000U |
| 4982 | // .. .. reg_phy_wrlvl_num_of_dq0 = 0x7 |
| 4983 | // .. .. ==> 0XF8006050[31:28] = 0x00000007U |
| 4984 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 4985 | // .. .. |
| 4986 | EMIT_MASKWRITE(0XF8006050, 0xFF0F8FFFU ,0x77010800U), |
| 4987 | // .. .. reg_ddrc_dll_calib_to_min_x1024 = 0x1 |
| 4988 | // .. .. ==> 0XF8006058[7:0] = 0x00000001U |
| 4989 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000001U |
| 4990 | // .. .. reg_ddrc_dll_calib_to_max_x1024 = 0x1 |
| 4991 | // .. .. ==> 0XF8006058[15:8] = 0x00000001U |
| 4992 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00000100U |
| 4993 | // .. .. reg_ddrc_dis_dll_calib = 0x0 |
| 4994 | // .. .. ==> 0XF8006058[16:16] = 0x00000000U |
| 4995 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 4996 | // .. .. |
| 4997 | EMIT_MASKWRITE(0XF8006058, 0x0001FFFFU ,0x00000101U), |
| 4998 | // .. .. reg_ddrc_rd_odt_delay = 0x3 |
| 4999 | // .. .. ==> 0XF800605C[3:0] = 0x00000003U |
| 5000 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000003U |
| 5001 | // .. .. reg_ddrc_wr_odt_delay = 0x0 |
| 5002 | // .. .. ==> 0XF800605C[7:4] = 0x00000000U |
| 5003 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 5004 | // .. .. reg_ddrc_rd_odt_hold = 0x0 |
| 5005 | // .. .. ==> 0XF800605C[11:8] = 0x00000000U |
| 5006 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 5007 | // .. .. reg_ddrc_wr_odt_hold = 0x5 |
| 5008 | // .. .. ==> 0XF800605C[15:12] = 0x00000005U |
| 5009 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00005000U |
| 5010 | // .. .. |
| 5011 | EMIT_MASKWRITE(0XF800605C, 0x0000FFFFU ,0x00005003U), |
| 5012 | // .. .. reg_ddrc_pageclose = 0x0 |
| 5013 | // .. .. ==> 0XF8006060[0:0] = 0x00000000U |
| 5014 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5015 | // .. .. reg_ddrc_lpr_num_entries = 0x1f |
| 5016 | // .. .. ==> 0XF8006060[6:1] = 0x0000001FU |
| 5017 | // .. .. ==> MASK : 0x0000007EU VAL : 0x0000003EU |
| 5018 | // .. .. reg_ddrc_auto_pre_en = 0x0 |
| 5019 | // .. .. ==> 0XF8006060[7:7] = 0x00000000U |
| 5020 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 5021 | // .. .. reg_ddrc_refresh_update_level = 0x0 |
| 5022 | // .. .. ==> 0XF8006060[8:8] = 0x00000000U |
| 5023 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 5024 | // .. .. reg_ddrc_dis_wc = 0x0 |
| 5025 | // .. .. ==> 0XF8006060[9:9] = 0x00000000U |
| 5026 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 5027 | // .. .. reg_ddrc_dis_collision_page_opt = 0x0 |
| 5028 | // .. .. ==> 0XF8006060[10:10] = 0x00000000U |
| 5029 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5030 | // .. .. reg_ddrc_selfref_en = 0x0 |
| 5031 | // .. .. ==> 0XF8006060[12:12] = 0x00000000U |
| 5032 | // .. .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 5033 | // .. .. |
| 5034 | EMIT_MASKWRITE(0XF8006060, 0x000017FFU ,0x0000003EU), |
| 5035 | // .. .. reg_ddrc_go2critical_hysteresis = 0x0 |
| 5036 | // .. .. ==> 0XF8006064[12:5] = 0x00000000U |
| 5037 | // .. .. ==> MASK : 0x00001FE0U VAL : 0x00000000U |
| 5038 | // .. .. reg_arb_go2critical_en = 0x1 |
| 5039 | // .. .. ==> 0XF8006064[17:17] = 0x00000001U |
| 5040 | // .. .. ==> MASK : 0x00020000U VAL : 0x00020000U |
| 5041 | // .. .. |
| 5042 | EMIT_MASKWRITE(0XF8006064, 0x00021FE0U ,0x00020000U), |
| 5043 | // .. .. reg_ddrc_wrlvl_ww = 0x41 |
| 5044 | // .. .. ==> 0XF8006068[7:0] = 0x00000041U |
| 5045 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000041U |
| 5046 | // .. .. reg_ddrc_rdlvl_rr = 0x41 |
| 5047 | // .. .. ==> 0XF8006068[15:8] = 0x00000041U |
| 5048 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00004100U |
| 5049 | // .. .. reg_ddrc_dfi_t_wlmrd = 0x28 |
| 5050 | // .. .. ==> 0XF8006068[25:16] = 0x00000028U |
| 5051 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00280000U |
| 5052 | // .. .. |
| 5053 | EMIT_MASKWRITE(0XF8006068, 0x03FFFFFFU ,0x00284141U), |
| 5054 | // .. .. dfi_t_ctrlupd_interval_min_x1024 = 0x10 |
| 5055 | // .. .. ==> 0XF800606C[7:0] = 0x00000010U |
| 5056 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000010U |
| 5057 | // .. .. dfi_t_ctrlupd_interval_max_x1024 = 0x16 |
| 5058 | // .. .. ==> 0XF800606C[15:8] = 0x00000016U |
| 5059 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00001600U |
| 5060 | // .. .. |
| 5061 | EMIT_MASKWRITE(0XF800606C, 0x0000FFFFU ,0x00001610U), |
| 5062 | // .. .. reg_ddrc_dfi_t_ctrl_delay = 0x1 |
| 5063 | // .. .. ==> 0XF8006078[3:0] = 0x00000001U |
| 5064 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000001U |
| 5065 | // .. .. reg_ddrc_dfi_t_dram_clk_disable = 0x1 |
| 5066 | // .. .. ==> 0XF8006078[7:4] = 0x00000001U |
| 5067 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000010U |
| 5068 | // .. .. reg_ddrc_dfi_t_dram_clk_enable = 0x1 |
| 5069 | // .. .. ==> 0XF8006078[11:8] = 0x00000001U |
| 5070 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000100U |
| 5071 | // .. .. reg_ddrc_t_cksre = 0x6 |
| 5072 | // .. .. ==> 0XF8006078[15:12] = 0x00000006U |
| 5073 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00006000U |
| 5074 | // .. .. reg_ddrc_t_cksrx = 0x6 |
| 5075 | // .. .. ==> 0XF8006078[19:16] = 0x00000006U |
| 5076 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00060000U |
| 5077 | // .. .. reg_ddrc_t_ckesr = 0x4 |
| 5078 | // .. .. ==> 0XF8006078[25:20] = 0x00000004U |
| 5079 | // .. .. ==> MASK : 0x03F00000U VAL : 0x00400000U |
| 5080 | // .. .. |
| 5081 | EMIT_MASKWRITE(0XF8006078, 0x03FFFFFFU ,0x00466111U), |
| 5082 | // .. .. reg_ddrc_t_ckpde = 0x2 |
| 5083 | // .. .. ==> 0XF800607C[3:0] = 0x00000002U |
| 5084 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000002U |
| 5085 | // .. .. reg_ddrc_t_ckpdx = 0x2 |
| 5086 | // .. .. ==> 0XF800607C[7:4] = 0x00000002U |
| 5087 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 5088 | // .. .. reg_ddrc_t_ckdpde = 0x2 |
| 5089 | // .. .. ==> 0XF800607C[11:8] = 0x00000002U |
| 5090 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 5091 | // .. .. reg_ddrc_t_ckdpdx = 0x2 |
| 5092 | // .. .. ==> 0XF800607C[15:12] = 0x00000002U |
| 5093 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00002000U |
| 5094 | // .. .. reg_ddrc_t_ckcsx = 0x3 |
| 5095 | // .. .. ==> 0XF800607C[19:16] = 0x00000003U |
| 5096 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00030000U |
| 5097 | // .. .. |
| 5098 | EMIT_MASKWRITE(0XF800607C, 0x000FFFFFU ,0x00032222U), |
| 5099 | // .. .. refresh_timer0_start_value_x32 = 0x0 |
| 5100 | // .. .. ==> 0XF80060A0[11:0] = 0x00000000U |
| 5101 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000000U |
| 5102 | // .. .. refresh_timer1_start_value_x32 = 0x8 |
| 5103 | // .. .. ==> 0XF80060A0[23:12] = 0x00000008U |
| 5104 | // .. .. ==> MASK : 0x00FFF000U VAL : 0x00008000U |
| 5105 | // .. .. |
| 5106 | EMIT_MASKWRITE(0XF80060A0, 0x00FFFFFFU ,0x00008000U), |
| 5107 | // .. .. reg_ddrc_dis_auto_zq = 0x0 |
| 5108 | // .. .. ==> 0XF80060A4[0:0] = 0x00000000U |
| 5109 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5110 | // .. .. reg_ddrc_ddr3 = 0x1 |
| 5111 | // .. .. ==> 0XF80060A4[1:1] = 0x00000001U |
| 5112 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 5113 | // .. .. reg_ddrc_t_mod = 0x200 |
| 5114 | // .. .. ==> 0XF80060A4[11:2] = 0x00000200U |
| 5115 | // .. .. ==> MASK : 0x00000FFCU VAL : 0x00000800U |
| 5116 | // .. .. reg_ddrc_t_zq_long_nop = 0x200 |
| 5117 | // .. .. ==> 0XF80060A4[21:12] = 0x00000200U |
| 5118 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00200000U |
| 5119 | // .. .. reg_ddrc_t_zq_short_nop = 0x40 |
| 5120 | // .. .. ==> 0XF80060A4[31:22] = 0x00000040U |
| 5121 | // .. .. ==> MASK : 0xFFC00000U VAL : 0x10000000U |
| 5122 | // .. .. |
| 5123 | EMIT_MASKWRITE(0XF80060A4, 0xFFFFFFFFU ,0x10200802U), |
| 5124 | // .. .. t_zq_short_interval_x1024 = 0xcb73 |
| 5125 | // .. .. ==> 0XF80060A8[19:0] = 0x0000CB73U |
| 5126 | // .. .. ==> MASK : 0x000FFFFFU VAL : 0x0000CB73U |
| 5127 | // .. .. dram_rstn_x1024 = 0x69 |
| 5128 | // .. .. ==> 0XF80060A8[27:20] = 0x00000069U |
| 5129 | // .. .. ==> MASK : 0x0FF00000U VAL : 0x06900000U |
| 5130 | // .. .. |
| 5131 | EMIT_MASKWRITE(0XF80060A8, 0x0FFFFFFFU ,0x0690CB73U), |
| 5132 | // .. .. deeppowerdown_en = 0x0 |
| 5133 | // .. .. ==> 0XF80060AC[0:0] = 0x00000000U |
| 5134 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5135 | // .. .. deeppowerdown_to_x1024 = 0xff |
| 5136 | // .. .. ==> 0XF80060AC[8:1] = 0x000000FFU |
| 5137 | // .. .. ==> MASK : 0x000001FEU VAL : 0x000001FEU |
| 5138 | // .. .. |
| 5139 | EMIT_MASKWRITE(0XF80060AC, 0x000001FFU ,0x000001FEU), |
| 5140 | // .. .. dfi_wrlvl_max_x1024 = 0xfff |
| 5141 | // .. .. ==> 0XF80060B0[11:0] = 0x00000FFFU |
| 5142 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000FFFU |
| 5143 | // .. .. dfi_rdlvl_max_x1024 = 0xfff |
| 5144 | // .. .. ==> 0XF80060B0[23:12] = 0x00000FFFU |
| 5145 | // .. .. ==> MASK : 0x00FFF000U VAL : 0x00FFF000U |
| 5146 | // .. .. ddrc_reg_twrlvl_max_error = 0x0 |
| 5147 | // .. .. ==> 0XF80060B0[24:24] = 0x00000000U |
| 5148 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 5149 | // .. .. ddrc_reg_trdlvl_max_error = 0x0 |
| 5150 | // .. .. ==> 0XF80060B0[25:25] = 0x00000000U |
| 5151 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 5152 | // .. .. reg_ddrc_dfi_wr_level_en = 0x1 |
| 5153 | // .. .. ==> 0XF80060B0[26:26] = 0x00000001U |
| 5154 | // .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 5155 | // .. .. reg_ddrc_dfi_rd_dqs_gate_level = 0x1 |
| 5156 | // .. .. ==> 0XF80060B0[27:27] = 0x00000001U |
| 5157 | // .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 5158 | // .. .. reg_ddrc_dfi_rd_data_eye_train = 0x1 |
| 5159 | // .. .. ==> 0XF80060B0[28:28] = 0x00000001U |
| 5160 | // .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 5161 | // .. .. |
| 5162 | EMIT_MASKWRITE(0XF80060B0, 0x1FFFFFFFU ,0x1CFFFFFFU), |
| 5163 | // .. .. reg_ddrc_2t_delay = 0x0 |
| 5164 | // .. .. ==> 0XF80060B4[8:0] = 0x00000000U |
| 5165 | // .. .. ==> MASK : 0x000001FFU VAL : 0x00000000U |
| 5166 | // .. .. reg_ddrc_skip_ocd = 0x1 |
| 5167 | // .. .. ==> 0XF80060B4[9:9] = 0x00000001U |
| 5168 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 5169 | // .. .. reg_ddrc_dis_pre_bypass = 0x0 |
| 5170 | // .. .. ==> 0XF80060B4[10:10] = 0x00000000U |
| 5171 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5172 | // .. .. |
| 5173 | EMIT_MASKWRITE(0XF80060B4, 0x000007FFU ,0x00000200U), |
| 5174 | // .. .. reg_ddrc_dfi_t_rddata_en = 0x6 |
| 5175 | // .. .. ==> 0XF80060B8[4:0] = 0x00000006U |
| 5176 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000006U |
| 5177 | // .. .. reg_ddrc_dfi_t_ctrlup_min = 0x3 |
| 5178 | // .. .. ==> 0XF80060B8[14:5] = 0x00000003U |
| 5179 | // .. .. ==> MASK : 0x00007FE0U VAL : 0x00000060U |
| 5180 | // .. .. reg_ddrc_dfi_t_ctrlup_max = 0x40 |
| 5181 | // .. .. ==> 0XF80060B8[24:15] = 0x00000040U |
| 5182 | // .. .. ==> MASK : 0x01FF8000U VAL : 0x00200000U |
| 5183 | // .. .. |
| 5184 | EMIT_MASKWRITE(0XF80060B8, 0x01FFFFFFU ,0x00200066U), |
| 5185 | // .. .. START: RESET ECC ERROR |
| 5186 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 1 |
| 5187 | // .. .. ==> 0XF80060C4[0:0] = 0x00000001U |
| 5188 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5189 | // .. .. Clear_Correctable_DRAM_ECC_error = 1 |
| 5190 | // .. .. ==> 0XF80060C4[1:1] = 0x00000001U |
| 5191 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 5192 | // .. .. |
| 5193 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000003U), |
| 5194 | // .. .. FINISH: RESET ECC ERROR |
| 5195 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 0x0 |
| 5196 | // .. .. ==> 0XF80060C4[0:0] = 0x00000000U |
| 5197 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5198 | // .. .. Clear_Correctable_DRAM_ECC_error = 0x0 |
| 5199 | // .. .. ==> 0XF80060C4[1:1] = 0x00000000U |
| 5200 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5201 | // .. .. |
| 5202 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000000U), |
| 5203 | // .. .. CORR_ECC_LOG_VALID = 0x0 |
| 5204 | // .. .. ==> 0XF80060C8[0:0] = 0x00000000U |
| 5205 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5206 | // .. .. ECC_CORRECTED_BIT_NUM = 0x0 |
| 5207 | // .. .. ==> 0XF80060C8[7:1] = 0x00000000U |
| 5208 | // .. .. ==> MASK : 0x000000FEU VAL : 0x00000000U |
| 5209 | // .. .. |
| 5210 | EMIT_MASKWRITE(0XF80060C8, 0x000000FFU ,0x00000000U), |
| 5211 | // .. .. UNCORR_ECC_LOG_VALID = 0x0 |
| 5212 | // .. .. ==> 0XF80060DC[0:0] = 0x00000000U |
| 5213 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5214 | // .. .. |
| 5215 | EMIT_MASKWRITE(0XF80060DC, 0x00000001U ,0x00000000U), |
| 5216 | // .. .. STAT_NUM_CORR_ERR = 0x0 |
| 5217 | // .. .. ==> 0XF80060F0[15:8] = 0x00000000U |
| 5218 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00000000U |
| 5219 | // .. .. STAT_NUM_UNCORR_ERR = 0x0 |
| 5220 | // .. .. ==> 0XF80060F0[7:0] = 0x00000000U |
| 5221 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000000U |
| 5222 | // .. .. |
| 5223 | EMIT_MASKWRITE(0XF80060F0, 0x0000FFFFU ,0x00000000U), |
| 5224 | // .. .. reg_ddrc_ecc_mode = 0x0 |
| 5225 | // .. .. ==> 0XF80060F4[2:0] = 0x00000000U |
| 5226 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000000U |
| 5227 | // .. .. reg_ddrc_dis_scrub = 0x1 |
| 5228 | // .. .. ==> 0XF80060F4[3:3] = 0x00000001U |
| 5229 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 5230 | // .. .. |
| 5231 | EMIT_MASKWRITE(0XF80060F4, 0x0000000FU ,0x00000008U), |
| 5232 | // .. .. reg_phy_dif_on = 0x0 |
| 5233 | // .. .. ==> 0XF8006114[3:0] = 0x00000000U |
| 5234 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 5235 | // .. .. reg_phy_dif_off = 0x0 |
| 5236 | // .. .. ==> 0XF8006114[7:4] = 0x00000000U |
| 5237 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 5238 | // .. .. |
| 5239 | EMIT_MASKWRITE(0XF8006114, 0x000000FFU ,0x00000000U), |
| 5240 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 5241 | // .. .. ==> 0XF8006118[0:0] = 0x00000001U |
| 5242 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5243 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 5244 | // .. .. ==> 0XF8006118[1:1] = 0x00000000U |
| 5245 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5246 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 5247 | // .. .. ==> 0XF8006118[2:2] = 0x00000000U |
| 5248 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5249 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 5250 | // .. .. ==> 0XF8006118[3:3] = 0x00000000U |
| 5251 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5252 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 5253 | // .. .. ==> 0XF8006118[4:4] = 0x00000000U |
| 5254 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5255 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 5256 | // .. .. ==> 0XF8006118[5:5] = 0x00000000U |
| 5257 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 5258 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 5259 | // .. .. ==> 0XF8006118[14:6] = 0x00000000U |
| 5260 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 5261 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 5262 | // .. .. ==> 0XF8006118[23:15] = 0x00000000U |
| 5263 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 5264 | // .. .. reg_phy_dq_offset = 0x40 |
| 5265 | // .. .. ==> 0XF8006118[30:24] = 0x00000040U |
| 5266 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 5267 | // .. .. |
| 5268 | EMIT_MASKWRITE(0XF8006118, 0x7FFFFFFFU ,0x40000001U), |
| 5269 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 5270 | // .. .. ==> 0XF800611C[0:0] = 0x00000001U |
| 5271 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5272 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 5273 | // .. .. ==> 0XF800611C[1:1] = 0x00000000U |
| 5274 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5275 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 5276 | // .. .. ==> 0XF800611C[2:2] = 0x00000000U |
| 5277 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5278 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 5279 | // .. .. ==> 0XF800611C[3:3] = 0x00000000U |
| 5280 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5281 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 5282 | // .. .. ==> 0XF800611C[4:4] = 0x00000000U |
| 5283 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5284 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 5285 | // .. .. ==> 0XF800611C[5:5] = 0x00000000U |
| 5286 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 5287 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 5288 | // .. .. ==> 0XF800611C[14:6] = 0x00000000U |
| 5289 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 5290 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 5291 | // .. .. ==> 0XF800611C[23:15] = 0x00000000U |
| 5292 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 5293 | // .. .. reg_phy_dq_offset = 0x40 |
| 5294 | // .. .. ==> 0XF800611C[30:24] = 0x00000040U |
| 5295 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 5296 | // .. .. |
| 5297 | EMIT_MASKWRITE(0XF800611C, 0x7FFFFFFFU ,0x40000001U), |
| 5298 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 5299 | // .. .. ==> 0XF8006120[0:0] = 0x00000001U |
| 5300 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5301 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 5302 | // .. .. ==> 0XF8006120[1:1] = 0x00000000U |
| 5303 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5304 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 5305 | // .. .. ==> 0XF8006120[2:2] = 0x00000000U |
| 5306 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5307 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 5308 | // .. .. ==> 0XF8006120[3:3] = 0x00000000U |
| 5309 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5310 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 5311 | // .. .. ==> 0XF8006120[4:4] = 0x00000000U |
| 5312 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5313 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 5314 | // .. .. ==> 0XF8006120[5:5] = 0x00000000U |
| 5315 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 5316 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 5317 | // .. .. ==> 0XF8006120[14:6] = 0x00000000U |
| 5318 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 5319 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 5320 | // .. .. ==> 0XF8006120[23:15] = 0x00000000U |
| 5321 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 5322 | // .. .. reg_phy_dq_offset = 0x40 |
| 5323 | // .. .. ==> 0XF8006120[30:24] = 0x00000040U |
| 5324 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 5325 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 5326 | // .. .. ==> 0XF8006120[0:0] = 0x00000001U |
| 5327 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5328 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 5329 | // .. .. ==> 0XF8006120[1:1] = 0x00000000U |
| 5330 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5331 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 5332 | // .. .. ==> 0XF8006120[2:2] = 0x00000000U |
| 5333 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5334 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 5335 | // .. .. ==> 0XF8006120[3:3] = 0x00000000U |
| 5336 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5337 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 5338 | // .. .. ==> 0XF8006120[4:4] = 0x00000000U |
| 5339 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5340 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 5341 | // .. .. ==> 0XF8006120[5:5] = 0x00000000U |
| 5342 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 5343 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 5344 | // .. .. ==> 0XF8006120[14:6] = 0x00000000U |
| 5345 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 5346 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 5347 | // .. .. ==> 0XF8006120[23:15] = 0x00000000U |
| 5348 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 5349 | // .. .. reg_phy_dq_offset = 0x40 |
| 5350 | // .. .. ==> 0XF8006120[30:24] = 0x00000040U |
| 5351 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 5352 | // .. .. |
| 5353 | EMIT_MASKWRITE(0XF8006120, 0x7FFFFFFFU ,0x40000001U), |
| 5354 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 5355 | // .. .. ==> 0XF8006124[0:0] = 0x00000001U |
| 5356 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5357 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 5358 | // .. .. ==> 0XF8006124[1:1] = 0x00000000U |
| 5359 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5360 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 5361 | // .. .. ==> 0XF8006124[2:2] = 0x00000000U |
| 5362 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5363 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 5364 | // .. .. ==> 0XF8006124[3:3] = 0x00000000U |
| 5365 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5366 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 5367 | // .. .. ==> 0XF8006124[4:4] = 0x00000000U |
| 5368 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5369 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 5370 | // .. .. ==> 0XF8006124[5:5] = 0x00000000U |
| 5371 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 5372 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 5373 | // .. .. ==> 0XF8006124[14:6] = 0x00000000U |
| 5374 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 5375 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 5376 | // .. .. ==> 0XF8006124[23:15] = 0x00000000U |
| 5377 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 5378 | // .. .. reg_phy_dq_offset = 0x40 |
| 5379 | // .. .. ==> 0XF8006124[30:24] = 0x00000040U |
| 5380 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 5381 | // .. .. |
| 5382 | EMIT_MASKWRITE(0XF8006124, 0x7FFFFFFFU ,0x40000001U), |
| 5383 | // .. .. reg_phy_wrlvl_init_ratio = 0x1e |
| 5384 | // .. .. ==> 0XF800612C[9:0] = 0x0000001EU |
| 5385 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000001EU |
| 5386 | // .. .. reg_phy_gatelvl_init_ratio = 0xee |
| 5387 | // .. .. ==> 0XF800612C[19:10] = 0x000000EEU |
| 5388 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003B800U |
| 5389 | // .. .. |
| 5390 | EMIT_MASKWRITE(0XF800612C, 0x000FFFFFU ,0x0003B81EU), |
| 5391 | // .. .. reg_phy_wrlvl_init_ratio = 0x25 |
| 5392 | // .. .. ==> 0XF8006130[9:0] = 0x00000025U |
| 5393 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000025U |
| 5394 | // .. .. reg_phy_gatelvl_init_ratio = 0x10d |
| 5395 | // .. .. ==> 0XF8006130[19:10] = 0x0000010DU |
| 5396 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00043400U |
| 5397 | // .. .. |
| 5398 | EMIT_MASKWRITE(0XF8006130, 0x000FFFFFU ,0x00043425U), |
| 5399 | // .. .. reg_phy_wrlvl_init_ratio = 0x19 |
| 5400 | // .. .. ==> 0XF8006134[9:0] = 0x00000019U |
| 5401 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000019U |
| 5402 | // .. .. reg_phy_gatelvl_init_ratio = 0xf3 |
| 5403 | // .. .. ==> 0XF8006134[19:10] = 0x000000F3U |
| 5404 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003CC00U |
| 5405 | // .. .. |
| 5406 | EMIT_MASKWRITE(0XF8006134, 0x000FFFFFU ,0x0003CC19U), |
| 5407 | // .. .. reg_phy_wrlvl_init_ratio = 0x2a |
| 5408 | // .. .. ==> 0XF8006138[9:0] = 0x0000002AU |
| 5409 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000002AU |
| 5410 | // .. .. reg_phy_gatelvl_init_ratio = 0x109 |
| 5411 | // .. .. ==> 0XF8006138[19:10] = 0x00000109U |
| 5412 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00042400U |
| 5413 | // .. .. |
| 5414 | EMIT_MASKWRITE(0XF8006138, 0x000FFFFFU ,0x0004242AU), |
| 5415 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 5416 | // .. .. ==> 0XF8006140[9:0] = 0x00000035U |
| 5417 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 5418 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 5419 | // .. .. ==> 0XF8006140[10:10] = 0x00000000U |
| 5420 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5421 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 5422 | // .. .. ==> 0XF8006140[19:11] = 0x00000000U |
| 5423 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5424 | // .. .. |
| 5425 | EMIT_MASKWRITE(0XF8006140, 0x000FFFFFU ,0x00000035U), |
| 5426 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 5427 | // .. .. ==> 0XF8006144[9:0] = 0x00000035U |
| 5428 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 5429 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 5430 | // .. .. ==> 0XF8006144[10:10] = 0x00000000U |
| 5431 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5432 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 5433 | // .. .. ==> 0XF8006144[19:11] = 0x00000000U |
| 5434 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5435 | // .. .. |
| 5436 | EMIT_MASKWRITE(0XF8006144, 0x000FFFFFU ,0x00000035U), |
| 5437 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 5438 | // .. .. ==> 0XF8006148[9:0] = 0x00000035U |
| 5439 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 5440 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 5441 | // .. .. ==> 0XF8006148[10:10] = 0x00000000U |
| 5442 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5443 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 5444 | // .. .. ==> 0XF8006148[19:11] = 0x00000000U |
| 5445 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5446 | // .. .. |
| 5447 | EMIT_MASKWRITE(0XF8006148, 0x000FFFFFU ,0x00000035U), |
| 5448 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 5449 | // .. .. ==> 0XF800614C[9:0] = 0x00000035U |
| 5450 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 5451 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 5452 | // .. .. ==> 0XF800614C[10:10] = 0x00000000U |
| 5453 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5454 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 5455 | // .. .. ==> 0XF800614C[19:11] = 0x00000000U |
| 5456 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5457 | // .. .. |
| 5458 | EMIT_MASKWRITE(0XF800614C, 0x000FFFFFU ,0x00000035U), |
| 5459 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x9e |
| 5460 | // .. .. ==> 0XF8006154[9:0] = 0x0000009EU |
| 5461 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000009EU |
| 5462 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 5463 | // .. .. ==> 0XF8006154[10:10] = 0x00000000U |
| 5464 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5465 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 5466 | // .. .. ==> 0XF8006154[19:11] = 0x00000000U |
| 5467 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5468 | // .. .. |
| 5469 | EMIT_MASKWRITE(0XF8006154, 0x000FFFFFU ,0x0000009EU), |
| 5470 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xa5 |
| 5471 | // .. .. ==> 0XF8006158[9:0] = 0x000000A5U |
| 5472 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000A5U |
| 5473 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 5474 | // .. .. ==> 0XF8006158[10:10] = 0x00000000U |
| 5475 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5476 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 5477 | // .. .. ==> 0XF8006158[19:11] = 0x00000000U |
| 5478 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5479 | // .. .. |
| 5480 | EMIT_MASKWRITE(0XF8006158, 0x000FFFFFU ,0x000000A5U), |
| 5481 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x99 |
| 5482 | // .. .. ==> 0XF800615C[9:0] = 0x00000099U |
| 5483 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000099U |
| 5484 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 5485 | // .. .. ==> 0XF800615C[10:10] = 0x00000000U |
| 5486 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5487 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 5488 | // .. .. ==> 0XF800615C[19:11] = 0x00000000U |
| 5489 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5490 | // .. .. |
| 5491 | EMIT_MASKWRITE(0XF800615C, 0x000FFFFFU ,0x00000099U), |
| 5492 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xaa |
| 5493 | // .. .. ==> 0XF8006160[9:0] = 0x000000AAU |
| 5494 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000AAU |
| 5495 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 5496 | // .. .. ==> 0XF8006160[10:10] = 0x00000000U |
| 5497 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5498 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 5499 | // .. .. ==> 0XF8006160[19:11] = 0x00000000U |
| 5500 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5501 | // .. .. |
| 5502 | EMIT_MASKWRITE(0XF8006160, 0x000FFFFFU ,0x000000AAU), |
| 5503 | // .. .. reg_phy_fifo_we_slave_ratio = 0x143 |
| 5504 | // .. .. ==> 0XF8006168[10:0] = 0x00000143U |
| 5505 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000143U |
| 5506 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 5507 | // .. .. ==> 0XF8006168[11:11] = 0x00000000U |
| 5508 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5509 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 5510 | // .. .. ==> 0XF8006168[20:12] = 0x00000000U |
| 5511 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 5512 | // .. .. |
| 5513 | EMIT_MASKWRITE(0XF8006168, 0x001FFFFFU ,0x00000143U), |
| 5514 | // .. .. reg_phy_fifo_we_slave_ratio = 0x162 |
| 5515 | // .. .. ==> 0XF800616C[10:0] = 0x00000162U |
| 5516 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000162U |
| 5517 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 5518 | // .. .. ==> 0XF800616C[11:11] = 0x00000000U |
| 5519 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5520 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 5521 | // .. .. ==> 0XF800616C[20:12] = 0x00000000U |
| 5522 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 5523 | // .. .. |
| 5524 | EMIT_MASKWRITE(0XF800616C, 0x001FFFFFU ,0x00000162U), |
| 5525 | // .. .. reg_phy_fifo_we_slave_ratio = 0x148 |
| 5526 | // .. .. ==> 0XF8006170[10:0] = 0x00000148U |
| 5527 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000148U |
| 5528 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 5529 | // .. .. ==> 0XF8006170[11:11] = 0x00000000U |
| 5530 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5531 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 5532 | // .. .. ==> 0XF8006170[20:12] = 0x00000000U |
| 5533 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 5534 | // .. .. |
| 5535 | EMIT_MASKWRITE(0XF8006170, 0x001FFFFFU ,0x00000148U), |
| 5536 | // .. .. reg_phy_fifo_we_slave_ratio = 0x15e |
| 5537 | // .. .. ==> 0XF8006174[10:0] = 0x0000015EU |
| 5538 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000015EU |
| 5539 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 5540 | // .. .. ==> 0XF8006174[11:11] = 0x00000000U |
| 5541 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5542 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 5543 | // .. .. ==> 0XF8006174[20:12] = 0x00000000U |
| 5544 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 5545 | // .. .. |
| 5546 | EMIT_MASKWRITE(0XF8006174, 0x001FFFFFU ,0x0000015EU), |
| 5547 | // .. .. reg_phy_wr_data_slave_ratio = 0xde |
| 5548 | // .. .. ==> 0XF800617C[9:0] = 0x000000DEU |
| 5549 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000DEU |
| 5550 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 5551 | // .. .. ==> 0XF800617C[10:10] = 0x00000000U |
| 5552 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5553 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 5554 | // .. .. ==> 0XF800617C[19:11] = 0x00000000U |
| 5555 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5556 | // .. .. |
| 5557 | EMIT_MASKWRITE(0XF800617C, 0x000FFFFFU ,0x000000DEU), |
| 5558 | // .. .. reg_phy_wr_data_slave_ratio = 0xe5 |
| 5559 | // .. .. ==> 0XF8006180[9:0] = 0x000000E5U |
| 5560 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000E5U |
| 5561 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 5562 | // .. .. ==> 0XF8006180[10:10] = 0x00000000U |
| 5563 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5564 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 5565 | // .. .. ==> 0XF8006180[19:11] = 0x00000000U |
| 5566 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5567 | // .. .. |
| 5568 | EMIT_MASKWRITE(0XF8006180, 0x000FFFFFU ,0x000000E5U), |
| 5569 | // .. .. reg_phy_wr_data_slave_ratio = 0xd9 |
| 5570 | // .. .. ==> 0XF8006184[9:0] = 0x000000D9U |
| 5571 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000D9U |
| 5572 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 5573 | // .. .. ==> 0XF8006184[10:10] = 0x00000000U |
| 5574 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5575 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 5576 | // .. .. ==> 0XF8006184[19:11] = 0x00000000U |
| 5577 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5578 | // .. .. |
| 5579 | EMIT_MASKWRITE(0XF8006184, 0x000FFFFFU ,0x000000D9U), |
| 5580 | // .. .. reg_phy_wr_data_slave_ratio = 0xea |
| 5581 | // .. .. ==> 0XF8006188[9:0] = 0x000000EAU |
| 5582 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000EAU |
| 5583 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 5584 | // .. .. ==> 0XF8006188[10:10] = 0x00000000U |
| 5585 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 5586 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 5587 | // .. .. ==> 0XF8006188[19:11] = 0x00000000U |
| 5588 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 5589 | // .. .. |
| 5590 | EMIT_MASKWRITE(0XF8006188, 0x000FFFFFU ,0x000000EAU), |
| 5591 | // .. .. reg_phy_loopback = 0x0 |
| 5592 | // .. .. ==> 0XF8006190[0:0] = 0x00000000U |
| 5593 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5594 | // .. .. reg_phy_bl2 = 0x0 |
| 5595 | // .. .. ==> 0XF8006190[1:1] = 0x00000000U |
| 5596 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5597 | // .. .. reg_phy_at_spd_atpg = 0x0 |
| 5598 | // .. .. ==> 0XF8006190[2:2] = 0x00000000U |
| 5599 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5600 | // .. .. reg_phy_bist_enable = 0x0 |
| 5601 | // .. .. ==> 0XF8006190[3:3] = 0x00000000U |
| 5602 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5603 | // .. .. reg_phy_bist_force_err = 0x0 |
| 5604 | // .. .. ==> 0XF8006190[4:4] = 0x00000000U |
| 5605 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5606 | // .. .. reg_phy_bist_mode = 0x0 |
| 5607 | // .. .. ==> 0XF8006190[6:5] = 0x00000000U |
| 5608 | // .. .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 5609 | // .. .. reg_phy_invert_clkout = 0x1 |
| 5610 | // .. .. ==> 0XF8006190[7:7] = 0x00000001U |
| 5611 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 5612 | // .. .. reg_phy_all_dq_mpr_rd_resp = 0x0 |
| 5613 | // .. .. ==> 0XF8006190[8:8] = 0x00000000U |
| 5614 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 5615 | // .. .. reg_phy_sel_logic = 0x0 |
| 5616 | // .. .. ==> 0XF8006190[9:9] = 0x00000000U |
| 5617 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 5618 | // .. .. reg_phy_ctrl_slave_ratio = 0x100 |
| 5619 | // .. .. ==> 0XF8006190[19:10] = 0x00000100U |
| 5620 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00040000U |
| 5621 | // .. .. reg_phy_ctrl_slave_force = 0x0 |
| 5622 | // .. .. ==> 0XF8006190[20:20] = 0x00000000U |
| 5623 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 5624 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 5625 | // .. .. ==> 0XF8006190[27:21] = 0x00000000U |
| 5626 | // .. .. ==> MASK : 0x0FE00000U VAL : 0x00000000U |
| 5627 | // .. .. reg_phy_use_rank0_delays = 0x1 |
| 5628 | // .. .. ==> 0XF8006190[28:28] = 0x00000001U |
| 5629 | // .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 5630 | // .. .. reg_phy_lpddr = 0x0 |
| 5631 | // .. .. ==> 0XF8006190[29:29] = 0x00000000U |
| 5632 | // .. .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 5633 | // .. .. reg_phy_cmd_latency = 0x0 |
| 5634 | // .. .. ==> 0XF8006190[30:30] = 0x00000000U |
| 5635 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 5636 | // .. .. reg_phy_int_lpbk = 0x0 |
| 5637 | // .. .. ==> 0XF8006190[31:31] = 0x00000000U |
| 5638 | // .. .. ==> MASK : 0x80000000U VAL : 0x00000000U |
| 5639 | // .. .. |
| 5640 | EMIT_MASKWRITE(0XF8006190, 0xFFFFFFFFU ,0x10040080U), |
| 5641 | // .. .. reg_phy_wr_rl_delay = 0x2 |
| 5642 | // .. .. ==> 0XF8006194[4:0] = 0x00000002U |
| 5643 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000002U |
| 5644 | // .. .. reg_phy_rd_rl_delay = 0x4 |
| 5645 | // .. .. ==> 0XF8006194[9:5] = 0x00000004U |
| 5646 | // .. .. ==> MASK : 0x000003E0U VAL : 0x00000080U |
| 5647 | // .. .. reg_phy_dll_lock_diff = 0xf |
| 5648 | // .. .. ==> 0XF8006194[13:10] = 0x0000000FU |
| 5649 | // .. .. ==> MASK : 0x00003C00U VAL : 0x00003C00U |
| 5650 | // .. .. reg_phy_use_wr_level = 0x1 |
| 5651 | // .. .. ==> 0XF8006194[14:14] = 0x00000001U |
| 5652 | // .. .. ==> MASK : 0x00004000U VAL : 0x00004000U |
| 5653 | // .. .. reg_phy_use_rd_dqs_gate_level = 0x1 |
| 5654 | // .. .. ==> 0XF8006194[15:15] = 0x00000001U |
| 5655 | // .. .. ==> MASK : 0x00008000U VAL : 0x00008000U |
| 5656 | // .. .. reg_phy_use_rd_data_eye_level = 0x1 |
| 5657 | // .. .. ==> 0XF8006194[16:16] = 0x00000001U |
| 5658 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 5659 | // .. .. reg_phy_dis_calib_rst = 0x0 |
| 5660 | // .. .. ==> 0XF8006194[17:17] = 0x00000000U |
| 5661 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5662 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 5663 | // .. .. ==> 0XF8006194[19:18] = 0x00000000U |
| 5664 | // .. .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 5665 | // .. .. |
| 5666 | EMIT_MASKWRITE(0XF8006194, 0x000FFFFFU ,0x0001FC82U), |
| 5667 | // .. .. reg_arb_page_addr_mask = 0x0 |
| 5668 | // .. .. ==> 0XF8006204[31:0] = 0x00000000U |
| 5669 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 5670 | // .. .. |
| 5671 | EMIT_MASKWRITE(0XF8006204, 0xFFFFFFFFU ,0x00000000U), |
| 5672 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 5673 | // .. .. ==> 0XF8006208[9:0] = 0x000003FFU |
| 5674 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5675 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 5676 | // .. .. ==> 0XF8006208[16:16] = 0x00000000U |
| 5677 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5678 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 5679 | // .. .. ==> 0XF8006208[17:17] = 0x00000000U |
| 5680 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5681 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 5682 | // .. .. ==> 0XF8006208[18:18] = 0x00000000U |
| 5683 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5684 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 5685 | // .. .. ==> 0XF8006208[19:19] = 0x00000001U |
| 5686 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 5687 | // .. .. |
| 5688 | EMIT_MASKWRITE(0XF8006208, 0x000F03FFU ,0x000803FFU), |
| 5689 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 5690 | // .. .. ==> 0XF800620C[9:0] = 0x000003FFU |
| 5691 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5692 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 5693 | // .. .. ==> 0XF800620C[16:16] = 0x00000000U |
| 5694 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5695 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 5696 | // .. .. ==> 0XF800620C[17:17] = 0x00000000U |
| 5697 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5698 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 5699 | // .. .. ==> 0XF800620C[18:18] = 0x00000000U |
| 5700 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5701 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 5702 | // .. .. ==> 0XF800620C[19:19] = 0x00000001U |
| 5703 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 5704 | // .. .. |
| 5705 | EMIT_MASKWRITE(0XF800620C, 0x000F03FFU ,0x000803FFU), |
| 5706 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 5707 | // .. .. ==> 0XF8006210[9:0] = 0x000003FFU |
| 5708 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5709 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 5710 | // .. .. ==> 0XF8006210[16:16] = 0x00000000U |
| 5711 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5712 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 5713 | // .. .. ==> 0XF8006210[17:17] = 0x00000000U |
| 5714 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5715 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 5716 | // .. .. ==> 0XF8006210[18:18] = 0x00000000U |
| 5717 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5718 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 5719 | // .. .. ==> 0XF8006210[19:19] = 0x00000001U |
| 5720 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 5721 | // .. .. |
| 5722 | EMIT_MASKWRITE(0XF8006210, 0x000F03FFU ,0x000803FFU), |
| 5723 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 5724 | // .. .. ==> 0XF8006214[9:0] = 0x000003FFU |
| 5725 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5726 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 5727 | // .. .. ==> 0XF8006214[16:16] = 0x00000000U |
| 5728 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5729 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 5730 | // .. .. ==> 0XF8006214[17:17] = 0x00000000U |
| 5731 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5732 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 5733 | // .. .. ==> 0XF8006214[18:18] = 0x00000000U |
| 5734 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5735 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 5736 | // .. .. ==> 0XF8006214[19:19] = 0x00000001U |
| 5737 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 5738 | // .. .. |
| 5739 | EMIT_MASKWRITE(0XF8006214, 0x000F03FFU ,0x000803FFU), |
| 5740 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 5741 | // .. .. ==> 0XF8006218[9:0] = 0x000003FFU |
| 5742 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5743 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 5744 | // .. .. ==> 0XF8006218[16:16] = 0x00000000U |
| 5745 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5746 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 5747 | // .. .. ==> 0XF8006218[17:17] = 0x00000000U |
| 5748 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5749 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 5750 | // .. .. ==> 0XF8006218[18:18] = 0x00000000U |
| 5751 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5752 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 5753 | // .. .. ==> 0XF8006218[19:19] = 0x00000000U |
| 5754 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 5755 | // .. .. |
| 5756 | EMIT_MASKWRITE(0XF8006218, 0x000F03FFU ,0x000003FFU), |
| 5757 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 5758 | // .. .. ==> 0XF800621C[9:0] = 0x000003FFU |
| 5759 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5760 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 5761 | // .. .. ==> 0XF800621C[16:16] = 0x00000000U |
| 5762 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5763 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 5764 | // .. .. ==> 0XF800621C[17:17] = 0x00000000U |
| 5765 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5766 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 5767 | // .. .. ==> 0XF800621C[18:18] = 0x00000000U |
| 5768 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5769 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 5770 | // .. .. ==> 0XF800621C[19:19] = 0x00000000U |
| 5771 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 5772 | // .. .. |
| 5773 | EMIT_MASKWRITE(0XF800621C, 0x000F03FFU ,0x000003FFU), |
| 5774 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 5775 | // .. .. ==> 0XF8006220[9:0] = 0x000003FFU |
| 5776 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5777 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 5778 | // .. .. ==> 0XF8006220[16:16] = 0x00000000U |
| 5779 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5780 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 5781 | // .. .. ==> 0XF8006220[17:17] = 0x00000000U |
| 5782 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5783 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 5784 | // .. .. ==> 0XF8006220[18:18] = 0x00000000U |
| 5785 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5786 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 5787 | // .. .. ==> 0XF8006220[19:19] = 0x00000000U |
| 5788 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 5789 | // .. .. |
| 5790 | EMIT_MASKWRITE(0XF8006220, 0x000F03FFU ,0x000003FFU), |
| 5791 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 5792 | // .. .. ==> 0XF8006224[9:0] = 0x000003FFU |
| 5793 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 5794 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 5795 | // .. .. ==> 0XF8006224[16:16] = 0x00000000U |
| 5796 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5797 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 5798 | // .. .. ==> 0XF8006224[17:17] = 0x00000000U |
| 5799 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 5800 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 5801 | // .. .. ==> 0XF8006224[18:18] = 0x00000000U |
| 5802 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 5803 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 5804 | // .. .. ==> 0XF8006224[19:19] = 0x00000000U |
| 5805 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 5806 | // .. .. |
| 5807 | EMIT_MASKWRITE(0XF8006224, 0x000F03FFU ,0x000003FFU), |
| 5808 | // .. .. reg_ddrc_lpddr2 = 0x0 |
| 5809 | // .. .. ==> 0XF80062A8[0:0] = 0x00000000U |
| 5810 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5811 | // .. .. reg_ddrc_per_bank_refresh = 0x0 |
| 5812 | // .. .. ==> 0XF80062A8[1:1] = 0x00000000U |
| 5813 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5814 | // .. .. reg_ddrc_derate_enable = 0x0 |
| 5815 | // .. .. ==> 0XF80062A8[2:2] = 0x00000000U |
| 5816 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 5817 | // .. .. reg_ddrc_mr4_margin = 0x0 |
| 5818 | // .. .. ==> 0XF80062A8[11:4] = 0x00000000U |
| 5819 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000000U |
| 5820 | // .. .. |
| 5821 | EMIT_MASKWRITE(0XF80062A8, 0x00000FF7U ,0x00000000U), |
| 5822 | // .. .. reg_ddrc_mr4_read_interval = 0x0 |
| 5823 | // .. .. ==> 0XF80062AC[31:0] = 0x00000000U |
| 5824 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 5825 | // .. .. |
| 5826 | EMIT_MASKWRITE(0XF80062AC, 0xFFFFFFFFU ,0x00000000U), |
| 5827 | // .. .. reg_ddrc_min_stable_clock_x1 = 0x5 |
| 5828 | // .. .. ==> 0XF80062B0[3:0] = 0x00000005U |
| 5829 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000005U |
| 5830 | // .. .. reg_ddrc_idle_after_reset_x32 = 0x12 |
| 5831 | // .. .. ==> 0XF80062B0[11:4] = 0x00000012U |
| 5832 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000120U |
| 5833 | // .. .. reg_ddrc_t_mrw = 0x5 |
| 5834 | // .. .. ==> 0XF80062B0[21:12] = 0x00000005U |
| 5835 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00005000U |
| 5836 | // .. .. |
| 5837 | EMIT_MASKWRITE(0XF80062B0, 0x003FFFFFU ,0x00005125U), |
| 5838 | // .. .. reg_ddrc_max_auto_init_x1024 = 0xa8 |
| 5839 | // .. .. ==> 0XF80062B4[7:0] = 0x000000A8U |
| 5840 | // .. .. ==> MASK : 0x000000FFU VAL : 0x000000A8U |
| 5841 | // .. .. reg_ddrc_dev_zqinit_x32 = 0x12 |
| 5842 | // .. .. ==> 0XF80062B4[17:8] = 0x00000012U |
| 5843 | // .. .. ==> MASK : 0x0003FF00U VAL : 0x00001200U |
| 5844 | // .. .. |
| 5845 | EMIT_MASKWRITE(0XF80062B4, 0x0003FFFFU ,0x000012A8U), |
| 5846 | // .. .. START: POLL ON DCI STATUS |
| 5847 | // .. .. DONE = 1 |
| 5848 | // .. .. ==> 0XF8000B74[13:13] = 0x00000001U |
| 5849 | // .. .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 5850 | // .. .. |
| 5851 | EMIT_MASKPOLL(0XF8000B74, 0x00002000U), |
| 5852 | // .. .. FINISH: POLL ON DCI STATUS |
| 5853 | // .. .. START: UNLOCK DDR |
| 5854 | // .. .. reg_ddrc_soft_rstb = 0x1 |
| 5855 | // .. .. ==> 0XF8006000[0:0] = 0x00000001U |
| 5856 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5857 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 5858 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 5859 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5860 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 5861 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 5862 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 5863 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 5864 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 5865 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 5866 | // .. .. reg_ddrc_rdwr_idle_gap = 1 |
| 5867 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 5868 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 5869 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 5870 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 5871 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 5872 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 5873 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 5874 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 5875 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 5876 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 5877 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 5878 | // .. .. |
| 5879 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000081U), |
| 5880 | // .. .. FINISH: UNLOCK DDR |
| 5881 | // .. .. START: CHECK DDR STATUS |
| 5882 | // .. .. ddrc_reg_operating_mode = 1 |
| 5883 | // .. .. ==> 0XF8006054[2:0] = 0x00000001U |
| 5884 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000001U |
| 5885 | // .. .. |
| 5886 | EMIT_MASKPOLL(0XF8006054, 0x00000007U), |
| 5887 | // .. .. FINISH: CHECK DDR STATUS |
| 5888 | // .. FINISH: DDR INITIALIZATION |
| 5889 | // FINISH: top |
| 5890 | // |
| 5891 | EMIT_EXIT(), |
| 5892 | |
| 5893 | // |
| 5894 | }; |
| 5895 | |
| 5896 | unsigned long ps7_mio_init_data_2_0[] = { |
| 5897 | // START: top |
| 5898 | // .. START: SLCR SETTINGS |
| 5899 | // .. UNLOCK_KEY = 0XDF0D |
| 5900 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 5901 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 5902 | // .. |
| 5903 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 5904 | // .. FINISH: SLCR SETTINGS |
| 5905 | // .. START: OCM REMAPPING |
| 5906 | // .. VREF_EN = 0x1 |
| 5907 | // .. ==> 0XF8000B00[0:0] = 0x00000001U |
| 5908 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 5909 | // .. VREF_PULLUP_EN = 0x0 |
| 5910 | // .. ==> 0XF8000B00[1:1] = 0x00000000U |
| 5911 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 5912 | // .. CLK_PULLUP_EN = 0x0 |
| 5913 | // .. ==> 0XF8000B00[8:8] = 0x00000000U |
| 5914 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 5915 | // .. SRSTN_PULLUP_EN = 0x0 |
| 5916 | // .. ==> 0XF8000B00[9:9] = 0x00000000U |
| 5917 | // .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 5918 | // .. |
| 5919 | EMIT_MASKWRITE(0XF8000B00, 0x00000303U ,0x00000001U), |
| 5920 | // .. FINISH: OCM REMAPPING |
| 5921 | // .. START: DDRIOB SETTINGS |
| 5922 | // .. INP_POWER = 0x0 |
| 5923 | // .. ==> 0XF8000B40[0:0] = 0x00000000U |
| 5924 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5925 | // .. INP_TYPE = 0x0 |
| 5926 | // .. ==> 0XF8000B40[2:1] = 0x00000000U |
| 5927 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 5928 | // .. DCI_UPDATE = 0x0 |
| 5929 | // .. ==> 0XF8000B40[3:3] = 0x00000000U |
| 5930 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5931 | // .. TERM_EN = 0x0 |
| 5932 | // .. ==> 0XF8000B40[4:4] = 0x00000000U |
| 5933 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5934 | // .. DCR_TYPE = 0x0 |
| 5935 | // .. ==> 0XF8000B40[6:5] = 0x00000000U |
| 5936 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 5937 | // .. IBUF_DISABLE_MODE = 0x0 |
| 5938 | // .. ==> 0XF8000B40[7:7] = 0x00000000U |
| 5939 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 5940 | // .. TERM_DISABLE_MODE = 0x0 |
| 5941 | // .. ==> 0XF8000B40[8:8] = 0x00000000U |
| 5942 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 5943 | // .. OUTPUT_EN = 0x3 |
| 5944 | // .. ==> 0XF8000B40[10:9] = 0x00000003U |
| 5945 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 5946 | // .. PULLUP_EN = 0x0 |
| 5947 | // .. ==> 0XF8000B40[11:11] = 0x00000000U |
| 5948 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5949 | // .. |
| 5950 | EMIT_MASKWRITE(0XF8000B40, 0x00000FFFU ,0x00000600U), |
| 5951 | // .. INP_POWER = 0x0 |
| 5952 | // .. ==> 0XF8000B44[0:0] = 0x00000000U |
| 5953 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5954 | // .. INP_TYPE = 0x0 |
| 5955 | // .. ==> 0XF8000B44[2:1] = 0x00000000U |
| 5956 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 5957 | // .. DCI_UPDATE = 0x0 |
| 5958 | // .. ==> 0XF8000B44[3:3] = 0x00000000U |
| 5959 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5960 | // .. TERM_EN = 0x0 |
| 5961 | // .. ==> 0XF8000B44[4:4] = 0x00000000U |
| 5962 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 5963 | // .. DCR_TYPE = 0x0 |
| 5964 | // .. ==> 0XF8000B44[6:5] = 0x00000000U |
| 5965 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 5966 | // .. IBUF_DISABLE_MODE = 0x0 |
| 5967 | // .. ==> 0XF8000B44[7:7] = 0x00000000U |
| 5968 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 5969 | // .. TERM_DISABLE_MODE = 0x0 |
| 5970 | // .. ==> 0XF8000B44[8:8] = 0x00000000U |
| 5971 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 5972 | // .. OUTPUT_EN = 0x3 |
| 5973 | // .. ==> 0XF8000B44[10:9] = 0x00000003U |
| 5974 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 5975 | // .. PULLUP_EN = 0x0 |
| 5976 | // .. ==> 0XF8000B44[11:11] = 0x00000000U |
| 5977 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 5978 | // .. |
| 5979 | EMIT_MASKWRITE(0XF8000B44, 0x00000FFFU ,0x00000600U), |
| 5980 | // .. INP_POWER = 0x0 |
| 5981 | // .. ==> 0XF8000B48[0:0] = 0x00000000U |
| 5982 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 5983 | // .. INP_TYPE = 0x1 |
| 5984 | // .. ==> 0XF8000B48[2:1] = 0x00000001U |
| 5985 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 5986 | // .. DCI_UPDATE = 0x0 |
| 5987 | // .. ==> 0XF8000B48[3:3] = 0x00000000U |
| 5988 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 5989 | // .. TERM_EN = 0x1 |
| 5990 | // .. ==> 0XF8000B48[4:4] = 0x00000001U |
| 5991 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 5992 | // .. DCR_TYPE = 0x3 |
| 5993 | // .. ==> 0XF8000B48[6:5] = 0x00000003U |
| 5994 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 5995 | // .. IBUF_DISABLE_MODE = 0 |
| 5996 | // .. ==> 0XF8000B48[7:7] = 0x00000000U |
| 5997 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 5998 | // .. TERM_DISABLE_MODE = 0 |
| 5999 | // .. ==> 0XF8000B48[8:8] = 0x00000000U |
| 6000 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6001 | // .. OUTPUT_EN = 0x3 |
| 6002 | // .. ==> 0XF8000B48[10:9] = 0x00000003U |
| 6003 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 6004 | // .. PULLUP_EN = 0x0 |
| 6005 | // .. ==> 0XF8000B48[11:11] = 0x00000000U |
| 6006 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 6007 | // .. |
| 6008 | EMIT_MASKWRITE(0XF8000B48, 0x00000FFFU ,0x00000672U), |
| 6009 | // .. INP_POWER = 0x0 |
| 6010 | // .. ==> 0XF8000B4C[0:0] = 0x00000000U |
| 6011 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6012 | // .. INP_TYPE = 0x1 |
| 6013 | // .. ==> 0XF8000B4C[2:1] = 0x00000001U |
| 6014 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 6015 | // .. DCI_UPDATE = 0x0 |
| 6016 | // .. ==> 0XF8000B4C[3:3] = 0x00000000U |
| 6017 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 6018 | // .. TERM_EN = 0x1 |
| 6019 | // .. ==> 0XF8000B4C[4:4] = 0x00000001U |
| 6020 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 6021 | // .. DCR_TYPE = 0x3 |
| 6022 | // .. ==> 0XF8000B4C[6:5] = 0x00000003U |
| 6023 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 6024 | // .. IBUF_DISABLE_MODE = 0 |
| 6025 | // .. ==> 0XF8000B4C[7:7] = 0x00000000U |
| 6026 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 6027 | // .. TERM_DISABLE_MODE = 0 |
| 6028 | // .. ==> 0XF8000B4C[8:8] = 0x00000000U |
| 6029 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6030 | // .. OUTPUT_EN = 0x3 |
| 6031 | // .. ==> 0XF8000B4C[10:9] = 0x00000003U |
| 6032 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 6033 | // .. PULLUP_EN = 0x0 |
| 6034 | // .. ==> 0XF8000B4C[11:11] = 0x00000000U |
| 6035 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 6036 | // .. |
| 6037 | EMIT_MASKWRITE(0XF8000B4C, 0x00000FFFU ,0x00000672U), |
| 6038 | // .. INP_POWER = 0x0 |
| 6039 | // .. ==> 0XF8000B50[0:0] = 0x00000000U |
| 6040 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6041 | // .. INP_TYPE = 0x2 |
| 6042 | // .. ==> 0XF8000B50[2:1] = 0x00000002U |
| 6043 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 6044 | // .. DCI_UPDATE = 0x0 |
| 6045 | // .. ==> 0XF8000B50[3:3] = 0x00000000U |
| 6046 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 6047 | // .. TERM_EN = 0x1 |
| 6048 | // .. ==> 0XF8000B50[4:4] = 0x00000001U |
| 6049 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 6050 | // .. DCR_TYPE = 0x3 |
| 6051 | // .. ==> 0XF8000B50[6:5] = 0x00000003U |
| 6052 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 6053 | // .. IBUF_DISABLE_MODE = 0 |
| 6054 | // .. ==> 0XF8000B50[7:7] = 0x00000000U |
| 6055 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 6056 | // .. TERM_DISABLE_MODE = 0 |
| 6057 | // .. ==> 0XF8000B50[8:8] = 0x00000000U |
| 6058 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6059 | // .. OUTPUT_EN = 0x3 |
| 6060 | // .. ==> 0XF8000B50[10:9] = 0x00000003U |
| 6061 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 6062 | // .. PULLUP_EN = 0x0 |
| 6063 | // .. ==> 0XF8000B50[11:11] = 0x00000000U |
| 6064 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 6065 | // .. |
| 6066 | EMIT_MASKWRITE(0XF8000B50, 0x00000FFFU ,0x00000674U), |
| 6067 | // .. INP_POWER = 0x0 |
| 6068 | // .. ==> 0XF8000B54[0:0] = 0x00000000U |
| 6069 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6070 | // .. INP_TYPE = 0x2 |
| 6071 | // .. ==> 0XF8000B54[2:1] = 0x00000002U |
| 6072 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 6073 | // .. DCI_UPDATE = 0x0 |
| 6074 | // .. ==> 0XF8000B54[3:3] = 0x00000000U |
| 6075 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 6076 | // .. TERM_EN = 0x1 |
| 6077 | // .. ==> 0XF8000B54[4:4] = 0x00000001U |
| 6078 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 6079 | // .. DCR_TYPE = 0x3 |
| 6080 | // .. ==> 0XF8000B54[6:5] = 0x00000003U |
| 6081 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 6082 | // .. IBUF_DISABLE_MODE = 0 |
| 6083 | // .. ==> 0XF8000B54[7:7] = 0x00000000U |
| 6084 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 6085 | // .. TERM_DISABLE_MODE = 0 |
| 6086 | // .. ==> 0XF8000B54[8:8] = 0x00000000U |
| 6087 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6088 | // .. OUTPUT_EN = 0x3 |
| 6089 | // .. ==> 0XF8000B54[10:9] = 0x00000003U |
| 6090 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 6091 | // .. PULLUP_EN = 0x0 |
| 6092 | // .. ==> 0XF8000B54[11:11] = 0x00000000U |
| 6093 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 6094 | // .. |
| 6095 | EMIT_MASKWRITE(0XF8000B54, 0x00000FFFU ,0x00000674U), |
| 6096 | // .. INP_POWER = 0x0 |
| 6097 | // .. ==> 0XF8000B58[0:0] = 0x00000000U |
| 6098 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6099 | // .. INP_TYPE = 0x0 |
| 6100 | // .. ==> 0XF8000B58[2:1] = 0x00000000U |
| 6101 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 6102 | // .. DCI_UPDATE = 0x0 |
| 6103 | // .. ==> 0XF8000B58[3:3] = 0x00000000U |
| 6104 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 6105 | // .. TERM_EN = 0x0 |
| 6106 | // .. ==> 0XF8000B58[4:4] = 0x00000000U |
| 6107 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 6108 | // .. DCR_TYPE = 0x0 |
| 6109 | // .. ==> 0XF8000B58[6:5] = 0x00000000U |
| 6110 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 6111 | // .. IBUF_DISABLE_MODE = 0x0 |
| 6112 | // .. ==> 0XF8000B58[7:7] = 0x00000000U |
| 6113 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 6114 | // .. TERM_DISABLE_MODE = 0x0 |
| 6115 | // .. ==> 0XF8000B58[8:8] = 0x00000000U |
| 6116 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6117 | // .. OUTPUT_EN = 0x3 |
| 6118 | // .. ==> 0XF8000B58[10:9] = 0x00000003U |
| 6119 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 6120 | // .. PULLUP_EN = 0x0 |
| 6121 | // .. ==> 0XF8000B58[11:11] = 0x00000000U |
| 6122 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 6123 | // .. |
| 6124 | EMIT_MASKWRITE(0XF8000B58, 0x00000FFFU ,0x00000600U), |
| 6125 | // .. DRIVE_P = 0x1c |
| 6126 | // .. ==> 0XF8000B5C[6:0] = 0x0000001CU |
| 6127 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 6128 | // .. DRIVE_N = 0xc |
| 6129 | // .. ==> 0XF8000B5C[13:7] = 0x0000000CU |
| 6130 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 6131 | // .. SLEW_P = 0x3 |
| 6132 | // .. ==> 0XF8000B5C[18:14] = 0x00000003U |
| 6133 | // .. ==> MASK : 0x0007C000U VAL : 0x0000C000U |
| 6134 | // .. SLEW_N = 0x3 |
| 6135 | // .. ==> 0XF8000B5C[23:19] = 0x00000003U |
| 6136 | // .. ==> MASK : 0x00F80000U VAL : 0x00180000U |
| 6137 | // .. GTL = 0x0 |
| 6138 | // .. ==> 0XF8000B5C[26:24] = 0x00000000U |
| 6139 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 6140 | // .. RTERM = 0x0 |
| 6141 | // .. ==> 0XF8000B5C[31:27] = 0x00000000U |
| 6142 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 6143 | // .. |
| 6144 | EMIT_MASKWRITE(0XF8000B5C, 0xFFFFFFFFU ,0x0018C61CU), |
| 6145 | // .. DRIVE_P = 0x1c |
| 6146 | // .. ==> 0XF8000B60[6:0] = 0x0000001CU |
| 6147 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 6148 | // .. DRIVE_N = 0xc |
| 6149 | // .. ==> 0XF8000B60[13:7] = 0x0000000CU |
| 6150 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 6151 | // .. SLEW_P = 0x6 |
| 6152 | // .. ==> 0XF8000B60[18:14] = 0x00000006U |
| 6153 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 6154 | // .. SLEW_N = 0x1f |
| 6155 | // .. ==> 0XF8000B60[23:19] = 0x0000001FU |
| 6156 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 6157 | // .. GTL = 0x0 |
| 6158 | // .. ==> 0XF8000B60[26:24] = 0x00000000U |
| 6159 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 6160 | // .. RTERM = 0x0 |
| 6161 | // .. ==> 0XF8000B60[31:27] = 0x00000000U |
| 6162 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 6163 | // .. |
| 6164 | EMIT_MASKWRITE(0XF8000B60, 0xFFFFFFFFU ,0x00F9861CU), |
| 6165 | // .. DRIVE_P = 0x1c |
| 6166 | // .. ==> 0XF8000B64[6:0] = 0x0000001CU |
| 6167 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 6168 | // .. DRIVE_N = 0xc |
| 6169 | // .. ==> 0XF8000B64[13:7] = 0x0000000CU |
| 6170 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 6171 | // .. SLEW_P = 0x6 |
| 6172 | // .. ==> 0XF8000B64[18:14] = 0x00000006U |
| 6173 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 6174 | // .. SLEW_N = 0x1f |
| 6175 | // .. ==> 0XF8000B64[23:19] = 0x0000001FU |
| 6176 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 6177 | // .. GTL = 0x0 |
| 6178 | // .. ==> 0XF8000B64[26:24] = 0x00000000U |
| 6179 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 6180 | // .. RTERM = 0x0 |
| 6181 | // .. ==> 0XF8000B64[31:27] = 0x00000000U |
| 6182 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 6183 | // .. |
| 6184 | EMIT_MASKWRITE(0XF8000B64, 0xFFFFFFFFU ,0x00F9861CU), |
| 6185 | // .. DRIVE_P = 0x1c |
| 6186 | // .. ==> 0XF8000B68[6:0] = 0x0000001CU |
| 6187 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 6188 | // .. DRIVE_N = 0xc |
| 6189 | // .. ==> 0XF8000B68[13:7] = 0x0000000CU |
| 6190 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 6191 | // .. SLEW_P = 0x6 |
| 6192 | // .. ==> 0XF8000B68[18:14] = 0x00000006U |
| 6193 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 6194 | // .. SLEW_N = 0x1f |
| 6195 | // .. ==> 0XF8000B68[23:19] = 0x0000001FU |
| 6196 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 6197 | // .. GTL = 0x0 |
| 6198 | // .. ==> 0XF8000B68[26:24] = 0x00000000U |
| 6199 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 6200 | // .. RTERM = 0x0 |
| 6201 | // .. ==> 0XF8000B68[31:27] = 0x00000000U |
| 6202 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 6203 | // .. |
| 6204 | EMIT_MASKWRITE(0XF8000B68, 0xFFFFFFFFU ,0x00F9861CU), |
| 6205 | // .. VREF_INT_EN = 0x1 |
| 6206 | // .. ==> 0XF8000B6C[0:0] = 0x00000001U |
| 6207 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6208 | // .. VREF_SEL = 0x4 |
| 6209 | // .. ==> 0XF8000B6C[4:1] = 0x00000004U |
| 6210 | // .. ==> MASK : 0x0000001EU VAL : 0x00000008U |
| 6211 | // .. VREF_EXT_EN = 0x0 |
| 6212 | // .. ==> 0XF8000B6C[6:5] = 0x00000000U |
| 6213 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 6214 | // .. VREF_PULLUP_EN = 0x0 |
| 6215 | // .. ==> 0XF8000B6C[8:7] = 0x00000000U |
| 6216 | // .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 6217 | // .. REFIO_EN = 0x1 |
| 6218 | // .. ==> 0XF8000B6C[9:9] = 0x00000001U |
| 6219 | // .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 6220 | // .. REFIO_TEST = 0x3 |
| 6221 | // .. ==> 0XF8000B6C[11:10] = 0x00000003U |
| 6222 | // .. ==> MASK : 0x00000C00U VAL : 0x00000C00U |
| 6223 | // .. REFIO_PULLUP_EN = 0x0 |
| 6224 | // .. ==> 0XF8000B6C[12:12] = 0x00000000U |
| 6225 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6226 | // .. DRST_B_PULLUP_EN = 0x0 |
| 6227 | // .. ==> 0XF8000B6C[13:13] = 0x00000000U |
| 6228 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6229 | // .. CKE_PULLUP_EN = 0x0 |
| 6230 | // .. ==> 0XF8000B6C[14:14] = 0x00000000U |
| 6231 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 6232 | // .. |
| 6233 | EMIT_MASKWRITE(0XF8000B6C, 0x00007FFFU ,0x00000E09U), |
| 6234 | // .. .. START: ASSERT RESET |
| 6235 | // .. .. RESET = 1 |
| 6236 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 6237 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6238 | // .. .. VRN_OUT = 0x1 |
| 6239 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 6240 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 6241 | // .. .. |
| 6242 | EMIT_MASKWRITE(0XF8000B70, 0x00000021U ,0x00000021U), |
| 6243 | // .. .. FINISH: ASSERT RESET |
| 6244 | // .. .. START: DEASSERT RESET |
| 6245 | // .. .. RESET = 0 |
| 6246 | // .. .. ==> 0XF8000B70[0:0] = 0x00000000U |
| 6247 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6248 | // .. .. VRN_OUT = 0x1 |
| 6249 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 6250 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 6251 | // .. .. |
| 6252 | EMIT_MASKWRITE(0XF8000B70, 0x00000021U ,0x00000020U), |
| 6253 | // .. .. FINISH: DEASSERT RESET |
| 6254 | // .. .. RESET = 0x1 |
| 6255 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 6256 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6257 | // .. .. ENABLE = 0x1 |
| 6258 | // .. .. ==> 0XF8000B70[1:1] = 0x00000001U |
| 6259 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6260 | // .. .. VRP_TRI = 0x0 |
| 6261 | // .. .. ==> 0XF8000B70[2:2] = 0x00000000U |
| 6262 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6263 | // .. .. VRN_TRI = 0x0 |
| 6264 | // .. .. ==> 0XF8000B70[3:3] = 0x00000000U |
| 6265 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 6266 | // .. .. VRP_OUT = 0x0 |
| 6267 | // .. .. ==> 0XF8000B70[4:4] = 0x00000000U |
| 6268 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 6269 | // .. .. VRN_OUT = 0x1 |
| 6270 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 6271 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 6272 | // .. .. NREF_OPT1 = 0x0 |
| 6273 | // .. .. ==> 0XF8000B70[7:6] = 0x00000000U |
| 6274 | // .. .. ==> MASK : 0x000000C0U VAL : 0x00000000U |
| 6275 | // .. .. NREF_OPT2 = 0x0 |
| 6276 | // .. .. ==> 0XF8000B70[10:8] = 0x00000000U |
| 6277 | // .. .. ==> MASK : 0x00000700U VAL : 0x00000000U |
| 6278 | // .. .. NREF_OPT4 = 0x1 |
| 6279 | // .. .. ==> 0XF8000B70[13:11] = 0x00000001U |
| 6280 | // .. .. ==> MASK : 0x00003800U VAL : 0x00000800U |
| 6281 | // .. .. PREF_OPT1 = 0x0 |
| 6282 | // .. .. ==> 0XF8000B70[16:14] = 0x00000000U |
| 6283 | // .. .. ==> MASK : 0x0001C000U VAL : 0x00000000U |
| 6284 | // .. .. PREF_OPT2 = 0x0 |
| 6285 | // .. .. ==> 0XF8000B70[19:17] = 0x00000000U |
| 6286 | // .. .. ==> MASK : 0x000E0000U VAL : 0x00000000U |
| 6287 | // .. .. UPDATE_CONTROL = 0x0 |
| 6288 | // .. .. ==> 0XF8000B70[20:20] = 0x00000000U |
| 6289 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 6290 | // .. .. INIT_COMPLETE = 0x0 |
| 6291 | // .. .. ==> 0XF8000B70[21:21] = 0x00000000U |
| 6292 | // .. .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 6293 | // .. .. TST_CLK = 0x0 |
| 6294 | // .. .. ==> 0XF8000B70[22:22] = 0x00000000U |
| 6295 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 6296 | // .. .. TST_HLN = 0x0 |
| 6297 | // .. .. ==> 0XF8000B70[23:23] = 0x00000000U |
| 6298 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 6299 | // .. .. TST_HLP = 0x0 |
| 6300 | // .. .. ==> 0XF8000B70[24:24] = 0x00000000U |
| 6301 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 6302 | // .. .. TST_RST = 0x0 |
| 6303 | // .. .. ==> 0XF8000B70[25:25] = 0x00000000U |
| 6304 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 6305 | // .. .. INT_DCI_EN = 0x0 |
| 6306 | // .. .. ==> 0XF8000B70[26:26] = 0x00000000U |
| 6307 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 6308 | // .. .. |
| 6309 | EMIT_MASKWRITE(0XF8000B70, 0x07FFFFFFU ,0x00000823U), |
| 6310 | // .. FINISH: DDRIOB SETTINGS |
| 6311 | // .. START: MIO PROGRAMMING |
| 6312 | // .. TRI_ENABLE = 0 |
| 6313 | // .. ==> 0XF8000700[0:0] = 0x00000000U |
| 6314 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6315 | // .. L0_SEL = 1 |
| 6316 | // .. ==> 0XF8000700[1:1] = 0x00000001U |
| 6317 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6318 | // .. L1_SEL = 0 |
| 6319 | // .. ==> 0XF8000700[2:2] = 0x00000000U |
| 6320 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6321 | // .. L2_SEL = 0 |
| 6322 | // .. ==> 0XF8000700[4:3] = 0x00000000U |
| 6323 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6324 | // .. L3_SEL = 0 |
| 6325 | // .. ==> 0XF8000700[7:5] = 0x00000000U |
| 6326 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6327 | // .. Speed = 0 |
| 6328 | // .. ==> 0XF8000700[8:8] = 0x00000000U |
| 6329 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6330 | // .. IO_Type = 1 |
| 6331 | // .. ==> 0XF8000700[11:9] = 0x00000001U |
| 6332 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6333 | // .. PULLUP = 1 |
| 6334 | // .. ==> 0XF8000700[12:12] = 0x00000001U |
| 6335 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6336 | // .. DisableRcvr = 0 |
| 6337 | // .. ==> 0XF8000700[13:13] = 0x00000000U |
| 6338 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6339 | // .. |
| 6340 | EMIT_MASKWRITE(0XF8000700, 0x00003FFFU ,0x00001202U), |
| 6341 | // .. TRI_ENABLE = 0 |
| 6342 | // .. ==> 0XF8000704[0:0] = 0x00000000U |
| 6343 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6344 | // .. L0_SEL = 1 |
| 6345 | // .. ==> 0XF8000704[1:1] = 0x00000001U |
| 6346 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6347 | // .. L1_SEL = 0 |
| 6348 | // .. ==> 0XF8000704[2:2] = 0x00000000U |
| 6349 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6350 | // .. L2_SEL = 0 |
| 6351 | // .. ==> 0XF8000704[4:3] = 0x00000000U |
| 6352 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6353 | // .. L3_SEL = 0 |
| 6354 | // .. ==> 0XF8000704[7:5] = 0x00000000U |
| 6355 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6356 | // .. Speed = 0 |
| 6357 | // .. ==> 0XF8000704[8:8] = 0x00000000U |
| 6358 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6359 | // .. IO_Type = 1 |
| 6360 | // .. ==> 0XF8000704[11:9] = 0x00000001U |
| 6361 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6362 | // .. PULLUP = 1 |
| 6363 | // .. ==> 0XF8000704[12:12] = 0x00000001U |
| 6364 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6365 | // .. DisableRcvr = 0 |
| 6366 | // .. ==> 0XF8000704[13:13] = 0x00000000U |
| 6367 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6368 | // .. |
| 6369 | EMIT_MASKWRITE(0XF8000704, 0x00003FFFU ,0x00001202U), |
| 6370 | // .. TRI_ENABLE = 0 |
| 6371 | // .. ==> 0XF8000708[0:0] = 0x00000000U |
| 6372 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6373 | // .. L0_SEL = 1 |
| 6374 | // .. ==> 0XF8000708[1:1] = 0x00000001U |
| 6375 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6376 | // .. L1_SEL = 0 |
| 6377 | // .. ==> 0XF8000708[2:2] = 0x00000000U |
| 6378 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6379 | // .. L2_SEL = 0 |
| 6380 | // .. ==> 0XF8000708[4:3] = 0x00000000U |
| 6381 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6382 | // .. L3_SEL = 0 |
| 6383 | // .. ==> 0XF8000708[7:5] = 0x00000000U |
| 6384 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6385 | // .. Speed = 0 |
| 6386 | // .. ==> 0XF8000708[8:8] = 0x00000000U |
| 6387 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6388 | // .. IO_Type = 1 |
| 6389 | // .. ==> 0XF8000708[11:9] = 0x00000001U |
| 6390 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6391 | // .. PULLUP = 0 |
| 6392 | // .. ==> 0XF8000708[12:12] = 0x00000000U |
| 6393 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6394 | // .. DisableRcvr = 0 |
| 6395 | // .. ==> 0XF8000708[13:13] = 0x00000000U |
| 6396 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6397 | // .. |
| 6398 | EMIT_MASKWRITE(0XF8000708, 0x00003FFFU ,0x00000202U), |
| 6399 | // .. TRI_ENABLE = 0 |
| 6400 | // .. ==> 0XF800070C[0:0] = 0x00000000U |
| 6401 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6402 | // .. L0_SEL = 1 |
| 6403 | // .. ==> 0XF800070C[1:1] = 0x00000001U |
| 6404 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6405 | // .. L1_SEL = 0 |
| 6406 | // .. ==> 0XF800070C[2:2] = 0x00000000U |
| 6407 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6408 | // .. L2_SEL = 0 |
| 6409 | // .. ==> 0XF800070C[4:3] = 0x00000000U |
| 6410 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6411 | // .. L3_SEL = 0 |
| 6412 | // .. ==> 0XF800070C[7:5] = 0x00000000U |
| 6413 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6414 | // .. Speed = 0 |
| 6415 | // .. ==> 0XF800070C[8:8] = 0x00000000U |
| 6416 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6417 | // .. IO_Type = 1 |
| 6418 | // .. ==> 0XF800070C[11:9] = 0x00000001U |
| 6419 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6420 | // .. PULLUP = 0 |
| 6421 | // .. ==> 0XF800070C[12:12] = 0x00000000U |
| 6422 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6423 | // .. DisableRcvr = 0 |
| 6424 | // .. ==> 0XF800070C[13:13] = 0x00000000U |
| 6425 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6426 | // .. |
| 6427 | EMIT_MASKWRITE(0XF800070C, 0x00003FFFU ,0x00000202U), |
| 6428 | // .. TRI_ENABLE = 0 |
| 6429 | // .. ==> 0XF8000710[0:0] = 0x00000000U |
| 6430 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6431 | // .. L0_SEL = 1 |
| 6432 | // .. ==> 0XF8000710[1:1] = 0x00000001U |
| 6433 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6434 | // .. L1_SEL = 0 |
| 6435 | // .. ==> 0XF8000710[2:2] = 0x00000000U |
| 6436 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6437 | // .. L2_SEL = 0 |
| 6438 | // .. ==> 0XF8000710[4:3] = 0x00000000U |
| 6439 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6440 | // .. L3_SEL = 0 |
| 6441 | // .. ==> 0XF8000710[7:5] = 0x00000000U |
| 6442 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6443 | // .. Speed = 0 |
| 6444 | // .. ==> 0XF8000710[8:8] = 0x00000000U |
| 6445 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6446 | // .. IO_Type = 1 |
| 6447 | // .. ==> 0XF8000710[11:9] = 0x00000001U |
| 6448 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6449 | // .. PULLUP = 0 |
| 6450 | // .. ==> 0XF8000710[12:12] = 0x00000000U |
| 6451 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6452 | // .. DisableRcvr = 0 |
| 6453 | // .. ==> 0XF8000710[13:13] = 0x00000000U |
| 6454 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6455 | // .. |
| 6456 | EMIT_MASKWRITE(0XF8000710, 0x00003FFFU ,0x00000202U), |
| 6457 | // .. TRI_ENABLE = 0 |
| 6458 | // .. ==> 0XF8000714[0:0] = 0x00000000U |
| 6459 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6460 | // .. L0_SEL = 1 |
| 6461 | // .. ==> 0XF8000714[1:1] = 0x00000001U |
| 6462 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6463 | // .. L1_SEL = 0 |
| 6464 | // .. ==> 0XF8000714[2:2] = 0x00000000U |
| 6465 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6466 | // .. L2_SEL = 0 |
| 6467 | // .. ==> 0XF8000714[4:3] = 0x00000000U |
| 6468 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6469 | // .. L3_SEL = 0 |
| 6470 | // .. ==> 0XF8000714[7:5] = 0x00000000U |
| 6471 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6472 | // .. Speed = 0 |
| 6473 | // .. ==> 0XF8000714[8:8] = 0x00000000U |
| 6474 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6475 | // .. IO_Type = 1 |
| 6476 | // .. ==> 0XF8000714[11:9] = 0x00000001U |
| 6477 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6478 | // .. PULLUP = 0 |
| 6479 | // .. ==> 0XF8000714[12:12] = 0x00000000U |
| 6480 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6481 | // .. DisableRcvr = 0 |
| 6482 | // .. ==> 0XF8000714[13:13] = 0x00000000U |
| 6483 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6484 | // .. |
| 6485 | EMIT_MASKWRITE(0XF8000714, 0x00003FFFU ,0x00000202U), |
| 6486 | // .. TRI_ENABLE = 0 |
| 6487 | // .. ==> 0XF8000718[0:0] = 0x00000000U |
| 6488 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6489 | // .. L0_SEL = 1 |
| 6490 | // .. ==> 0XF8000718[1:1] = 0x00000001U |
| 6491 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6492 | // .. L1_SEL = 0 |
| 6493 | // .. ==> 0XF8000718[2:2] = 0x00000000U |
| 6494 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6495 | // .. L2_SEL = 0 |
| 6496 | // .. ==> 0XF8000718[4:3] = 0x00000000U |
| 6497 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6498 | // .. L3_SEL = 0 |
| 6499 | // .. ==> 0XF8000718[7:5] = 0x00000000U |
| 6500 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6501 | // .. Speed = 0 |
| 6502 | // .. ==> 0XF8000718[8:8] = 0x00000000U |
| 6503 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6504 | // .. IO_Type = 1 |
| 6505 | // .. ==> 0XF8000718[11:9] = 0x00000001U |
| 6506 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6507 | // .. PULLUP = 0 |
| 6508 | // .. ==> 0XF8000718[12:12] = 0x00000000U |
| 6509 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6510 | // .. DisableRcvr = 0 |
| 6511 | // .. ==> 0XF8000718[13:13] = 0x00000000U |
| 6512 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6513 | // .. |
| 6514 | EMIT_MASKWRITE(0XF8000718, 0x00003FFFU ,0x00000202U), |
| 6515 | // .. TRI_ENABLE = 0 |
| 6516 | // .. ==> 0XF800071C[0:0] = 0x00000000U |
| 6517 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6518 | // .. L0_SEL = 0 |
| 6519 | // .. ==> 0XF800071C[1:1] = 0x00000000U |
| 6520 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 6521 | // .. L1_SEL = 0 |
| 6522 | // .. ==> 0XF800071C[2:2] = 0x00000000U |
| 6523 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6524 | // .. L2_SEL = 0 |
| 6525 | // .. ==> 0XF800071C[4:3] = 0x00000000U |
| 6526 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6527 | // .. L3_SEL = 0 |
| 6528 | // .. ==> 0XF800071C[7:5] = 0x00000000U |
| 6529 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6530 | // .. Speed = 0 |
| 6531 | // .. ==> 0XF800071C[8:8] = 0x00000000U |
| 6532 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6533 | // .. IO_Type = 1 |
| 6534 | // .. ==> 0XF800071C[11:9] = 0x00000001U |
| 6535 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6536 | // .. PULLUP = 0 |
| 6537 | // .. ==> 0XF800071C[12:12] = 0x00000000U |
| 6538 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6539 | // .. DisableRcvr = 0 |
| 6540 | // .. ==> 0XF800071C[13:13] = 0x00000000U |
| 6541 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6542 | // .. |
| 6543 | EMIT_MASKWRITE(0XF800071C, 0x00003FFFU ,0x00000200U), |
| 6544 | // .. TRI_ENABLE = 0 |
| 6545 | // .. ==> 0XF8000720[0:0] = 0x00000000U |
| 6546 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6547 | // .. L0_SEL = 1 |
| 6548 | // .. ==> 0XF8000720[1:1] = 0x00000001U |
| 6549 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6550 | // .. L1_SEL = 0 |
| 6551 | // .. ==> 0XF8000720[2:2] = 0x00000000U |
| 6552 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6553 | // .. L2_SEL = 0 |
| 6554 | // .. ==> 0XF8000720[4:3] = 0x00000000U |
| 6555 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6556 | // .. L3_SEL = 0 |
| 6557 | // .. ==> 0XF8000720[7:5] = 0x00000000U |
| 6558 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6559 | // .. Speed = 0 |
| 6560 | // .. ==> 0XF8000720[8:8] = 0x00000000U |
| 6561 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6562 | // .. IO_Type = 1 |
| 6563 | // .. ==> 0XF8000720[11:9] = 0x00000001U |
| 6564 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6565 | // .. PULLUP = 0 |
| 6566 | // .. ==> 0XF8000720[12:12] = 0x00000000U |
| 6567 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6568 | // .. DisableRcvr = 0 |
| 6569 | // .. ==> 0XF8000720[13:13] = 0x00000000U |
| 6570 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6571 | // .. |
| 6572 | EMIT_MASKWRITE(0XF8000720, 0x00003FFFU ,0x00000202U), |
| 6573 | // .. TRI_ENABLE = 0 |
| 6574 | // .. ==> 0XF8000724[0:0] = 0x00000000U |
| 6575 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6576 | // .. L0_SEL = 1 |
| 6577 | // .. ==> 0XF8000724[1:1] = 0x00000001U |
| 6578 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6579 | // .. L1_SEL = 0 |
| 6580 | // .. ==> 0XF8000724[2:2] = 0x00000000U |
| 6581 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6582 | // .. L2_SEL = 0 |
| 6583 | // .. ==> 0XF8000724[4:3] = 0x00000000U |
| 6584 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6585 | // .. L3_SEL = 0 |
| 6586 | // .. ==> 0XF8000724[7:5] = 0x00000000U |
| 6587 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6588 | // .. Speed = 0 |
| 6589 | // .. ==> 0XF8000724[8:8] = 0x00000000U |
| 6590 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6591 | // .. IO_Type = 1 |
| 6592 | // .. ==> 0XF8000724[11:9] = 0x00000001U |
| 6593 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6594 | // .. PULLUP = 1 |
| 6595 | // .. ==> 0XF8000724[12:12] = 0x00000001U |
| 6596 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6597 | // .. DisableRcvr = 0 |
| 6598 | // .. ==> 0XF8000724[13:13] = 0x00000000U |
| 6599 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6600 | // .. |
| 6601 | EMIT_MASKWRITE(0XF8000724, 0x00003FFFU ,0x00001202U), |
| 6602 | // .. TRI_ENABLE = 0 |
| 6603 | // .. ==> 0XF8000728[0:0] = 0x00000000U |
| 6604 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6605 | // .. L0_SEL = 1 |
| 6606 | // .. ==> 0XF8000728[1:1] = 0x00000001U |
| 6607 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6608 | // .. L1_SEL = 0 |
| 6609 | // .. ==> 0XF8000728[2:2] = 0x00000000U |
| 6610 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6611 | // .. L2_SEL = 0 |
| 6612 | // .. ==> 0XF8000728[4:3] = 0x00000000U |
| 6613 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6614 | // .. L3_SEL = 0 |
| 6615 | // .. ==> 0XF8000728[7:5] = 0x00000000U |
| 6616 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6617 | // .. Speed = 0 |
| 6618 | // .. ==> 0XF8000728[8:8] = 0x00000000U |
| 6619 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6620 | // .. IO_Type = 1 |
| 6621 | // .. ==> 0XF8000728[11:9] = 0x00000001U |
| 6622 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6623 | // .. PULLUP = 1 |
| 6624 | // .. ==> 0XF8000728[12:12] = 0x00000001U |
| 6625 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6626 | // .. DisableRcvr = 0 |
| 6627 | // .. ==> 0XF8000728[13:13] = 0x00000000U |
| 6628 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6629 | // .. |
| 6630 | EMIT_MASKWRITE(0XF8000728, 0x00003FFFU ,0x00001202U), |
| 6631 | // .. TRI_ENABLE = 0 |
| 6632 | // .. ==> 0XF800072C[0:0] = 0x00000000U |
| 6633 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6634 | // .. L0_SEL = 1 |
| 6635 | // .. ==> 0XF800072C[1:1] = 0x00000001U |
| 6636 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6637 | // .. L1_SEL = 0 |
| 6638 | // .. ==> 0XF800072C[2:2] = 0x00000000U |
| 6639 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6640 | // .. L2_SEL = 0 |
| 6641 | // .. ==> 0XF800072C[4:3] = 0x00000000U |
| 6642 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6643 | // .. L3_SEL = 0 |
| 6644 | // .. ==> 0XF800072C[7:5] = 0x00000000U |
| 6645 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6646 | // .. Speed = 0 |
| 6647 | // .. ==> 0XF800072C[8:8] = 0x00000000U |
| 6648 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6649 | // .. IO_Type = 1 |
| 6650 | // .. ==> 0XF800072C[11:9] = 0x00000001U |
| 6651 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6652 | // .. PULLUP = 1 |
| 6653 | // .. ==> 0XF800072C[12:12] = 0x00000001U |
| 6654 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6655 | // .. DisableRcvr = 0 |
| 6656 | // .. ==> 0XF800072C[13:13] = 0x00000000U |
| 6657 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6658 | // .. |
| 6659 | EMIT_MASKWRITE(0XF800072C, 0x00003FFFU ,0x00001202U), |
| 6660 | // .. TRI_ENABLE = 0 |
| 6661 | // .. ==> 0XF8000730[0:0] = 0x00000000U |
| 6662 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6663 | // .. L0_SEL = 1 |
| 6664 | // .. ==> 0XF8000730[1:1] = 0x00000001U |
| 6665 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6666 | // .. L1_SEL = 0 |
| 6667 | // .. ==> 0XF8000730[2:2] = 0x00000000U |
| 6668 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6669 | // .. L2_SEL = 0 |
| 6670 | // .. ==> 0XF8000730[4:3] = 0x00000000U |
| 6671 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6672 | // .. L3_SEL = 0 |
| 6673 | // .. ==> 0XF8000730[7:5] = 0x00000000U |
| 6674 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6675 | // .. Speed = 0 |
| 6676 | // .. ==> 0XF8000730[8:8] = 0x00000000U |
| 6677 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6678 | // .. IO_Type = 1 |
| 6679 | // .. ==> 0XF8000730[11:9] = 0x00000001U |
| 6680 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6681 | // .. PULLUP = 1 |
| 6682 | // .. ==> 0XF8000730[12:12] = 0x00000001U |
| 6683 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6684 | // .. DisableRcvr = 0 |
| 6685 | // .. ==> 0XF8000730[13:13] = 0x00000000U |
| 6686 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6687 | // .. |
| 6688 | EMIT_MASKWRITE(0XF8000730, 0x00003FFFU ,0x00001202U), |
| 6689 | // .. TRI_ENABLE = 0 |
| 6690 | // .. ==> 0XF8000734[0:0] = 0x00000000U |
| 6691 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6692 | // .. L0_SEL = 1 |
| 6693 | // .. ==> 0XF8000734[1:1] = 0x00000001U |
| 6694 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6695 | // .. L1_SEL = 0 |
| 6696 | // .. ==> 0XF8000734[2:2] = 0x00000000U |
| 6697 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6698 | // .. L2_SEL = 0 |
| 6699 | // .. ==> 0XF8000734[4:3] = 0x00000000U |
| 6700 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6701 | // .. L3_SEL = 0 |
| 6702 | // .. ==> 0XF8000734[7:5] = 0x00000000U |
| 6703 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6704 | // .. Speed = 0 |
| 6705 | // .. ==> 0XF8000734[8:8] = 0x00000000U |
| 6706 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6707 | // .. IO_Type = 1 |
| 6708 | // .. ==> 0XF8000734[11:9] = 0x00000001U |
| 6709 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6710 | // .. PULLUP = 1 |
| 6711 | // .. ==> 0XF8000734[12:12] = 0x00000001U |
| 6712 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6713 | // .. DisableRcvr = 0 |
| 6714 | // .. ==> 0XF8000734[13:13] = 0x00000000U |
| 6715 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6716 | // .. |
| 6717 | EMIT_MASKWRITE(0XF8000734, 0x00003FFFU ,0x00001202U), |
| 6718 | // .. TRI_ENABLE = 1 |
| 6719 | // .. ==> 0XF8000738[0:0] = 0x00000001U |
| 6720 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6721 | // .. Speed = 0 |
| 6722 | // .. ==> 0XF8000738[8:8] = 0x00000000U |
| 6723 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6724 | // .. IO_Type = 1 |
| 6725 | // .. ==> 0XF8000738[11:9] = 0x00000001U |
| 6726 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6727 | // .. PULLUP = 1 |
| 6728 | // .. ==> 0XF8000738[12:12] = 0x00000001U |
| 6729 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6730 | // .. DisableRcvr = 0 |
| 6731 | // .. ==> 0XF8000738[13:13] = 0x00000000U |
| 6732 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6733 | // .. |
| 6734 | EMIT_MASKWRITE(0XF8000738, 0x00003F01U ,0x00001201U), |
| 6735 | // .. TRI_ENABLE = 1 |
| 6736 | // .. ==> 0XF800073C[0:0] = 0x00000001U |
| 6737 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6738 | // .. Speed = 0 |
| 6739 | // .. ==> 0XF800073C[8:8] = 0x00000000U |
| 6740 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6741 | // .. IO_Type = 1 |
| 6742 | // .. ==> 0XF800073C[11:9] = 0x00000001U |
| 6743 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 6744 | // .. PULLUP = 1 |
| 6745 | // .. ==> 0XF800073C[12:12] = 0x00000001U |
| 6746 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 6747 | // .. DisableRcvr = 0 |
| 6748 | // .. ==> 0XF800073C[13:13] = 0x00000000U |
| 6749 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6750 | // .. |
| 6751 | EMIT_MASKWRITE(0XF800073C, 0x00003F01U ,0x00001201U), |
| 6752 | // .. TRI_ENABLE = 0 |
| 6753 | // .. ==> 0XF8000740[0:0] = 0x00000000U |
| 6754 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6755 | // .. L0_SEL = 1 |
| 6756 | // .. ==> 0XF8000740[1:1] = 0x00000001U |
| 6757 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6758 | // .. L1_SEL = 0 |
| 6759 | // .. ==> 0XF8000740[2:2] = 0x00000000U |
| 6760 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6761 | // .. L2_SEL = 0 |
| 6762 | // .. ==> 0XF8000740[4:3] = 0x00000000U |
| 6763 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6764 | // .. L3_SEL = 0 |
| 6765 | // .. ==> 0XF8000740[7:5] = 0x00000000U |
| 6766 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6767 | // .. Speed = 0 |
| 6768 | // .. ==> 0XF8000740[8:8] = 0x00000000U |
| 6769 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6770 | // .. IO_Type = 4 |
| 6771 | // .. ==> 0XF8000740[11:9] = 0x00000004U |
| 6772 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6773 | // .. PULLUP = 0 |
| 6774 | // .. ==> 0XF8000740[12:12] = 0x00000000U |
| 6775 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6776 | // .. DisableRcvr = 1 |
| 6777 | // .. ==> 0XF8000740[13:13] = 0x00000001U |
| 6778 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6779 | // .. |
| 6780 | EMIT_MASKWRITE(0XF8000740, 0x00003FFFU ,0x00002802U), |
| 6781 | // .. TRI_ENABLE = 0 |
| 6782 | // .. ==> 0XF8000744[0:0] = 0x00000000U |
| 6783 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6784 | // .. L0_SEL = 1 |
| 6785 | // .. ==> 0XF8000744[1:1] = 0x00000001U |
| 6786 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6787 | // .. L1_SEL = 0 |
| 6788 | // .. ==> 0XF8000744[2:2] = 0x00000000U |
| 6789 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6790 | // .. L2_SEL = 0 |
| 6791 | // .. ==> 0XF8000744[4:3] = 0x00000000U |
| 6792 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6793 | // .. L3_SEL = 0 |
| 6794 | // .. ==> 0XF8000744[7:5] = 0x00000000U |
| 6795 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6796 | // .. Speed = 0 |
| 6797 | // .. ==> 0XF8000744[8:8] = 0x00000000U |
| 6798 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6799 | // .. IO_Type = 4 |
| 6800 | // .. ==> 0XF8000744[11:9] = 0x00000004U |
| 6801 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6802 | // .. PULLUP = 0 |
| 6803 | // .. ==> 0XF8000744[12:12] = 0x00000000U |
| 6804 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6805 | // .. DisableRcvr = 1 |
| 6806 | // .. ==> 0XF8000744[13:13] = 0x00000001U |
| 6807 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6808 | // .. |
| 6809 | EMIT_MASKWRITE(0XF8000744, 0x00003FFFU ,0x00002802U), |
| 6810 | // .. TRI_ENABLE = 0 |
| 6811 | // .. ==> 0XF8000748[0:0] = 0x00000000U |
| 6812 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6813 | // .. L0_SEL = 1 |
| 6814 | // .. ==> 0XF8000748[1:1] = 0x00000001U |
| 6815 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6816 | // .. L1_SEL = 0 |
| 6817 | // .. ==> 0XF8000748[2:2] = 0x00000000U |
| 6818 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6819 | // .. L2_SEL = 0 |
| 6820 | // .. ==> 0XF8000748[4:3] = 0x00000000U |
| 6821 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6822 | // .. L3_SEL = 0 |
| 6823 | // .. ==> 0XF8000748[7:5] = 0x00000000U |
| 6824 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6825 | // .. Speed = 0 |
| 6826 | // .. ==> 0XF8000748[8:8] = 0x00000000U |
| 6827 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6828 | // .. IO_Type = 4 |
| 6829 | // .. ==> 0XF8000748[11:9] = 0x00000004U |
| 6830 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6831 | // .. PULLUP = 0 |
| 6832 | // .. ==> 0XF8000748[12:12] = 0x00000000U |
| 6833 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6834 | // .. DisableRcvr = 1 |
| 6835 | // .. ==> 0XF8000748[13:13] = 0x00000001U |
| 6836 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6837 | // .. |
| 6838 | EMIT_MASKWRITE(0XF8000748, 0x00003FFFU ,0x00002802U), |
| 6839 | // .. TRI_ENABLE = 0 |
| 6840 | // .. ==> 0XF800074C[0:0] = 0x00000000U |
| 6841 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6842 | // .. L0_SEL = 1 |
| 6843 | // .. ==> 0XF800074C[1:1] = 0x00000001U |
| 6844 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6845 | // .. L1_SEL = 0 |
| 6846 | // .. ==> 0XF800074C[2:2] = 0x00000000U |
| 6847 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6848 | // .. L2_SEL = 0 |
| 6849 | // .. ==> 0XF800074C[4:3] = 0x00000000U |
| 6850 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6851 | // .. L3_SEL = 0 |
| 6852 | // .. ==> 0XF800074C[7:5] = 0x00000000U |
| 6853 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6854 | // .. Speed = 0 |
| 6855 | // .. ==> 0XF800074C[8:8] = 0x00000000U |
| 6856 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6857 | // .. IO_Type = 4 |
| 6858 | // .. ==> 0XF800074C[11:9] = 0x00000004U |
| 6859 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6860 | // .. PULLUP = 0 |
| 6861 | // .. ==> 0XF800074C[12:12] = 0x00000000U |
| 6862 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6863 | // .. DisableRcvr = 1 |
| 6864 | // .. ==> 0XF800074C[13:13] = 0x00000001U |
| 6865 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6866 | // .. |
| 6867 | EMIT_MASKWRITE(0XF800074C, 0x00003FFFU ,0x00002802U), |
| 6868 | // .. TRI_ENABLE = 0 |
| 6869 | // .. ==> 0XF8000750[0:0] = 0x00000000U |
| 6870 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6871 | // .. L0_SEL = 1 |
| 6872 | // .. ==> 0XF8000750[1:1] = 0x00000001U |
| 6873 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6874 | // .. L1_SEL = 0 |
| 6875 | // .. ==> 0XF8000750[2:2] = 0x00000000U |
| 6876 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6877 | // .. L2_SEL = 0 |
| 6878 | // .. ==> 0XF8000750[4:3] = 0x00000000U |
| 6879 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6880 | // .. L3_SEL = 0 |
| 6881 | // .. ==> 0XF8000750[7:5] = 0x00000000U |
| 6882 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6883 | // .. Speed = 0 |
| 6884 | // .. ==> 0XF8000750[8:8] = 0x00000000U |
| 6885 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6886 | // .. IO_Type = 4 |
| 6887 | // .. ==> 0XF8000750[11:9] = 0x00000004U |
| 6888 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6889 | // .. PULLUP = 0 |
| 6890 | // .. ==> 0XF8000750[12:12] = 0x00000000U |
| 6891 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6892 | // .. DisableRcvr = 1 |
| 6893 | // .. ==> 0XF8000750[13:13] = 0x00000001U |
| 6894 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6895 | // .. |
| 6896 | EMIT_MASKWRITE(0XF8000750, 0x00003FFFU ,0x00002802U), |
| 6897 | // .. TRI_ENABLE = 0 |
| 6898 | // .. ==> 0XF8000754[0:0] = 0x00000000U |
| 6899 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 6900 | // .. L0_SEL = 1 |
| 6901 | // .. ==> 0XF8000754[1:1] = 0x00000001U |
| 6902 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6903 | // .. L1_SEL = 0 |
| 6904 | // .. ==> 0XF8000754[2:2] = 0x00000000U |
| 6905 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6906 | // .. L2_SEL = 0 |
| 6907 | // .. ==> 0XF8000754[4:3] = 0x00000000U |
| 6908 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6909 | // .. L3_SEL = 0 |
| 6910 | // .. ==> 0XF8000754[7:5] = 0x00000000U |
| 6911 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6912 | // .. Speed = 0 |
| 6913 | // .. ==> 0XF8000754[8:8] = 0x00000000U |
| 6914 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6915 | // .. IO_Type = 4 |
| 6916 | // .. ==> 0XF8000754[11:9] = 0x00000004U |
| 6917 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6918 | // .. PULLUP = 0 |
| 6919 | // .. ==> 0XF8000754[12:12] = 0x00000000U |
| 6920 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6921 | // .. DisableRcvr = 1 |
| 6922 | // .. ==> 0XF8000754[13:13] = 0x00000001U |
| 6923 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 6924 | // .. |
| 6925 | EMIT_MASKWRITE(0XF8000754, 0x00003FFFU ,0x00002802U), |
| 6926 | // .. TRI_ENABLE = 1 |
| 6927 | // .. ==> 0XF8000758[0:0] = 0x00000001U |
| 6928 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6929 | // .. L0_SEL = 1 |
| 6930 | // .. ==> 0XF8000758[1:1] = 0x00000001U |
| 6931 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6932 | // .. L1_SEL = 0 |
| 6933 | // .. ==> 0XF8000758[2:2] = 0x00000000U |
| 6934 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6935 | // .. L2_SEL = 0 |
| 6936 | // .. ==> 0XF8000758[4:3] = 0x00000000U |
| 6937 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6938 | // .. L3_SEL = 0 |
| 6939 | // .. ==> 0XF8000758[7:5] = 0x00000000U |
| 6940 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6941 | // .. Speed = 0 |
| 6942 | // .. ==> 0XF8000758[8:8] = 0x00000000U |
| 6943 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6944 | // .. IO_Type = 4 |
| 6945 | // .. ==> 0XF8000758[11:9] = 0x00000004U |
| 6946 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6947 | // .. PULLUP = 0 |
| 6948 | // .. ==> 0XF8000758[12:12] = 0x00000000U |
| 6949 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6950 | // .. DisableRcvr = 0 |
| 6951 | // .. ==> 0XF8000758[13:13] = 0x00000000U |
| 6952 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6953 | // .. |
| 6954 | EMIT_MASKWRITE(0XF8000758, 0x00003FFFU ,0x00000803U), |
| 6955 | // .. TRI_ENABLE = 1 |
| 6956 | // .. ==> 0XF800075C[0:0] = 0x00000001U |
| 6957 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6958 | // .. L0_SEL = 1 |
| 6959 | // .. ==> 0XF800075C[1:1] = 0x00000001U |
| 6960 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6961 | // .. L1_SEL = 0 |
| 6962 | // .. ==> 0XF800075C[2:2] = 0x00000000U |
| 6963 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6964 | // .. L2_SEL = 0 |
| 6965 | // .. ==> 0XF800075C[4:3] = 0x00000000U |
| 6966 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6967 | // .. L3_SEL = 0 |
| 6968 | // .. ==> 0XF800075C[7:5] = 0x00000000U |
| 6969 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6970 | // .. Speed = 0 |
| 6971 | // .. ==> 0XF800075C[8:8] = 0x00000000U |
| 6972 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 6973 | // .. IO_Type = 4 |
| 6974 | // .. ==> 0XF800075C[11:9] = 0x00000004U |
| 6975 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 6976 | // .. PULLUP = 0 |
| 6977 | // .. ==> 0XF800075C[12:12] = 0x00000000U |
| 6978 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 6979 | // .. DisableRcvr = 0 |
| 6980 | // .. ==> 0XF800075C[13:13] = 0x00000000U |
| 6981 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 6982 | // .. |
| 6983 | EMIT_MASKWRITE(0XF800075C, 0x00003FFFU ,0x00000803U), |
| 6984 | // .. TRI_ENABLE = 1 |
| 6985 | // .. ==> 0XF8000760[0:0] = 0x00000001U |
| 6986 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 6987 | // .. L0_SEL = 1 |
| 6988 | // .. ==> 0XF8000760[1:1] = 0x00000001U |
| 6989 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 6990 | // .. L1_SEL = 0 |
| 6991 | // .. ==> 0XF8000760[2:2] = 0x00000000U |
| 6992 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 6993 | // .. L2_SEL = 0 |
| 6994 | // .. ==> 0XF8000760[4:3] = 0x00000000U |
| 6995 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 6996 | // .. L3_SEL = 0 |
| 6997 | // .. ==> 0XF8000760[7:5] = 0x00000000U |
| 6998 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 6999 | // .. Speed = 0 |
| 7000 | // .. ==> 0XF8000760[8:8] = 0x00000000U |
| 7001 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7002 | // .. IO_Type = 4 |
| 7003 | // .. ==> 0XF8000760[11:9] = 0x00000004U |
| 7004 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 7005 | // .. PULLUP = 0 |
| 7006 | // .. ==> 0XF8000760[12:12] = 0x00000000U |
| 7007 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7008 | // .. DisableRcvr = 0 |
| 7009 | // .. ==> 0XF8000760[13:13] = 0x00000000U |
| 7010 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7011 | // .. |
| 7012 | EMIT_MASKWRITE(0XF8000760, 0x00003FFFU ,0x00000803U), |
| 7013 | // .. TRI_ENABLE = 1 |
| 7014 | // .. ==> 0XF8000764[0:0] = 0x00000001U |
| 7015 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7016 | // .. L0_SEL = 1 |
| 7017 | // .. ==> 0XF8000764[1:1] = 0x00000001U |
| 7018 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 7019 | // .. L1_SEL = 0 |
| 7020 | // .. ==> 0XF8000764[2:2] = 0x00000000U |
| 7021 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7022 | // .. L2_SEL = 0 |
| 7023 | // .. ==> 0XF8000764[4:3] = 0x00000000U |
| 7024 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7025 | // .. L3_SEL = 0 |
| 7026 | // .. ==> 0XF8000764[7:5] = 0x00000000U |
| 7027 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7028 | // .. Speed = 0 |
| 7029 | // .. ==> 0XF8000764[8:8] = 0x00000000U |
| 7030 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7031 | // .. IO_Type = 4 |
| 7032 | // .. ==> 0XF8000764[11:9] = 0x00000004U |
| 7033 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 7034 | // .. PULLUP = 0 |
| 7035 | // .. ==> 0XF8000764[12:12] = 0x00000000U |
| 7036 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7037 | // .. DisableRcvr = 0 |
| 7038 | // .. ==> 0XF8000764[13:13] = 0x00000000U |
| 7039 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7040 | // .. |
| 7041 | EMIT_MASKWRITE(0XF8000764, 0x00003FFFU ,0x00000803U), |
| 7042 | // .. TRI_ENABLE = 1 |
| 7043 | // .. ==> 0XF8000768[0:0] = 0x00000001U |
| 7044 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7045 | // .. L0_SEL = 1 |
| 7046 | // .. ==> 0XF8000768[1:1] = 0x00000001U |
| 7047 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 7048 | // .. L1_SEL = 0 |
| 7049 | // .. ==> 0XF8000768[2:2] = 0x00000000U |
| 7050 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7051 | // .. L2_SEL = 0 |
| 7052 | // .. ==> 0XF8000768[4:3] = 0x00000000U |
| 7053 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7054 | // .. L3_SEL = 0 |
| 7055 | // .. ==> 0XF8000768[7:5] = 0x00000000U |
| 7056 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7057 | // .. Speed = 0 |
| 7058 | // .. ==> 0XF8000768[8:8] = 0x00000000U |
| 7059 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7060 | // .. IO_Type = 4 |
| 7061 | // .. ==> 0XF8000768[11:9] = 0x00000004U |
| 7062 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 7063 | // .. PULLUP = 0 |
| 7064 | // .. ==> 0XF8000768[12:12] = 0x00000000U |
| 7065 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7066 | // .. DisableRcvr = 0 |
| 7067 | // .. ==> 0XF8000768[13:13] = 0x00000000U |
| 7068 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7069 | // .. |
| 7070 | EMIT_MASKWRITE(0XF8000768, 0x00003FFFU ,0x00000803U), |
| 7071 | // .. TRI_ENABLE = 1 |
| 7072 | // .. ==> 0XF800076C[0:0] = 0x00000001U |
| 7073 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7074 | // .. L0_SEL = 1 |
| 7075 | // .. ==> 0XF800076C[1:1] = 0x00000001U |
| 7076 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 7077 | // .. L1_SEL = 0 |
| 7078 | // .. ==> 0XF800076C[2:2] = 0x00000000U |
| 7079 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7080 | // .. L2_SEL = 0 |
| 7081 | // .. ==> 0XF800076C[4:3] = 0x00000000U |
| 7082 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7083 | // .. L3_SEL = 0 |
| 7084 | // .. ==> 0XF800076C[7:5] = 0x00000000U |
| 7085 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7086 | // .. Speed = 0 |
| 7087 | // .. ==> 0XF800076C[8:8] = 0x00000000U |
| 7088 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7089 | // .. IO_Type = 4 |
| 7090 | // .. ==> 0XF800076C[11:9] = 0x00000004U |
| 7091 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 7092 | // .. PULLUP = 0 |
| 7093 | // .. ==> 0XF800076C[12:12] = 0x00000000U |
| 7094 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7095 | // .. DisableRcvr = 0 |
| 7096 | // .. ==> 0XF800076C[13:13] = 0x00000000U |
| 7097 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7098 | // .. |
| 7099 | EMIT_MASKWRITE(0XF800076C, 0x00003FFFU ,0x00000803U), |
| 7100 | // .. TRI_ENABLE = 0 |
| 7101 | // .. ==> 0XF8000770[0:0] = 0x00000000U |
| 7102 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7103 | // .. L0_SEL = 0 |
| 7104 | // .. ==> 0XF8000770[1:1] = 0x00000000U |
| 7105 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7106 | // .. L1_SEL = 1 |
| 7107 | // .. ==> 0XF8000770[2:2] = 0x00000001U |
| 7108 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7109 | // .. L2_SEL = 0 |
| 7110 | // .. ==> 0XF8000770[4:3] = 0x00000000U |
| 7111 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7112 | // .. L3_SEL = 0 |
| 7113 | // .. ==> 0XF8000770[7:5] = 0x00000000U |
| 7114 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7115 | // .. Speed = 0 |
| 7116 | // .. ==> 0XF8000770[8:8] = 0x00000000U |
| 7117 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7118 | // .. IO_Type = 1 |
| 7119 | // .. ==> 0XF8000770[11:9] = 0x00000001U |
| 7120 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7121 | // .. PULLUP = 0 |
| 7122 | // .. ==> 0XF8000770[12:12] = 0x00000000U |
| 7123 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7124 | // .. DisableRcvr = 0 |
| 7125 | // .. ==> 0XF8000770[13:13] = 0x00000000U |
| 7126 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7127 | // .. |
| 7128 | EMIT_MASKWRITE(0XF8000770, 0x00003FFFU ,0x00000204U), |
| 7129 | // .. TRI_ENABLE = 1 |
| 7130 | // .. ==> 0XF8000774[0:0] = 0x00000001U |
| 7131 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7132 | // .. L0_SEL = 0 |
| 7133 | // .. ==> 0XF8000774[1:1] = 0x00000000U |
| 7134 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7135 | // .. L1_SEL = 1 |
| 7136 | // .. ==> 0XF8000774[2:2] = 0x00000001U |
| 7137 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7138 | // .. L2_SEL = 0 |
| 7139 | // .. ==> 0XF8000774[4:3] = 0x00000000U |
| 7140 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7141 | // .. L3_SEL = 0 |
| 7142 | // .. ==> 0XF8000774[7:5] = 0x00000000U |
| 7143 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7144 | // .. Speed = 0 |
| 7145 | // .. ==> 0XF8000774[8:8] = 0x00000000U |
| 7146 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7147 | // .. IO_Type = 1 |
| 7148 | // .. ==> 0XF8000774[11:9] = 0x00000001U |
| 7149 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7150 | // .. PULLUP = 0 |
| 7151 | // .. ==> 0XF8000774[12:12] = 0x00000000U |
| 7152 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7153 | // .. DisableRcvr = 0 |
| 7154 | // .. ==> 0XF8000774[13:13] = 0x00000000U |
| 7155 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7156 | // .. |
| 7157 | EMIT_MASKWRITE(0XF8000774, 0x00003FFFU ,0x00000205U), |
| 7158 | // .. TRI_ENABLE = 0 |
| 7159 | // .. ==> 0XF8000778[0:0] = 0x00000000U |
| 7160 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7161 | // .. L0_SEL = 0 |
| 7162 | // .. ==> 0XF8000778[1:1] = 0x00000000U |
| 7163 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7164 | // .. L1_SEL = 1 |
| 7165 | // .. ==> 0XF8000778[2:2] = 0x00000001U |
| 7166 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7167 | // .. L2_SEL = 0 |
| 7168 | // .. ==> 0XF8000778[4:3] = 0x00000000U |
| 7169 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7170 | // .. L3_SEL = 0 |
| 7171 | // .. ==> 0XF8000778[7:5] = 0x00000000U |
| 7172 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7173 | // .. Speed = 0 |
| 7174 | // .. ==> 0XF8000778[8:8] = 0x00000000U |
| 7175 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7176 | // .. IO_Type = 1 |
| 7177 | // .. ==> 0XF8000778[11:9] = 0x00000001U |
| 7178 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7179 | // .. PULLUP = 0 |
| 7180 | // .. ==> 0XF8000778[12:12] = 0x00000000U |
| 7181 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7182 | // .. DisableRcvr = 0 |
| 7183 | // .. ==> 0XF8000778[13:13] = 0x00000000U |
| 7184 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7185 | // .. |
| 7186 | EMIT_MASKWRITE(0XF8000778, 0x00003FFFU ,0x00000204U), |
| 7187 | // .. TRI_ENABLE = 1 |
| 7188 | // .. ==> 0XF800077C[0:0] = 0x00000001U |
| 7189 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7190 | // .. L0_SEL = 0 |
| 7191 | // .. ==> 0XF800077C[1:1] = 0x00000000U |
| 7192 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7193 | // .. L1_SEL = 1 |
| 7194 | // .. ==> 0XF800077C[2:2] = 0x00000001U |
| 7195 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7196 | // .. L2_SEL = 0 |
| 7197 | // .. ==> 0XF800077C[4:3] = 0x00000000U |
| 7198 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7199 | // .. L3_SEL = 0 |
| 7200 | // .. ==> 0XF800077C[7:5] = 0x00000000U |
| 7201 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7202 | // .. Speed = 0 |
| 7203 | // .. ==> 0XF800077C[8:8] = 0x00000000U |
| 7204 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7205 | // .. IO_Type = 1 |
| 7206 | // .. ==> 0XF800077C[11:9] = 0x00000001U |
| 7207 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7208 | // .. PULLUP = 0 |
| 7209 | // .. ==> 0XF800077C[12:12] = 0x00000000U |
| 7210 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7211 | // .. DisableRcvr = 0 |
| 7212 | // .. ==> 0XF800077C[13:13] = 0x00000000U |
| 7213 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7214 | // .. |
| 7215 | EMIT_MASKWRITE(0XF800077C, 0x00003FFFU ,0x00000205U), |
| 7216 | // .. TRI_ENABLE = 0 |
| 7217 | // .. ==> 0XF8000780[0:0] = 0x00000000U |
| 7218 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7219 | // .. L0_SEL = 0 |
| 7220 | // .. ==> 0XF8000780[1:1] = 0x00000000U |
| 7221 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7222 | // .. L1_SEL = 1 |
| 7223 | // .. ==> 0XF8000780[2:2] = 0x00000001U |
| 7224 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7225 | // .. L2_SEL = 0 |
| 7226 | // .. ==> 0XF8000780[4:3] = 0x00000000U |
| 7227 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7228 | // .. L3_SEL = 0 |
| 7229 | // .. ==> 0XF8000780[7:5] = 0x00000000U |
| 7230 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7231 | // .. Speed = 0 |
| 7232 | // .. ==> 0XF8000780[8:8] = 0x00000000U |
| 7233 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7234 | // .. IO_Type = 1 |
| 7235 | // .. ==> 0XF8000780[11:9] = 0x00000001U |
| 7236 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7237 | // .. PULLUP = 0 |
| 7238 | // .. ==> 0XF8000780[12:12] = 0x00000000U |
| 7239 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7240 | // .. DisableRcvr = 0 |
| 7241 | // .. ==> 0XF8000780[13:13] = 0x00000000U |
| 7242 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7243 | // .. |
| 7244 | EMIT_MASKWRITE(0XF8000780, 0x00003FFFU ,0x00000204U), |
| 7245 | // .. TRI_ENABLE = 0 |
| 7246 | // .. ==> 0XF8000784[0:0] = 0x00000000U |
| 7247 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7248 | // .. L0_SEL = 0 |
| 7249 | // .. ==> 0XF8000784[1:1] = 0x00000000U |
| 7250 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7251 | // .. L1_SEL = 1 |
| 7252 | // .. ==> 0XF8000784[2:2] = 0x00000001U |
| 7253 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7254 | // .. L2_SEL = 0 |
| 7255 | // .. ==> 0XF8000784[4:3] = 0x00000000U |
| 7256 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7257 | // .. L3_SEL = 0 |
| 7258 | // .. ==> 0XF8000784[7:5] = 0x00000000U |
| 7259 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7260 | // .. Speed = 0 |
| 7261 | // .. ==> 0XF8000784[8:8] = 0x00000000U |
| 7262 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7263 | // .. IO_Type = 1 |
| 7264 | // .. ==> 0XF8000784[11:9] = 0x00000001U |
| 7265 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7266 | // .. PULLUP = 0 |
| 7267 | // .. ==> 0XF8000784[12:12] = 0x00000000U |
| 7268 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7269 | // .. DisableRcvr = 0 |
| 7270 | // .. ==> 0XF8000784[13:13] = 0x00000000U |
| 7271 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7272 | // .. |
| 7273 | EMIT_MASKWRITE(0XF8000784, 0x00003FFFU ,0x00000204U), |
| 7274 | // .. TRI_ENABLE = 0 |
| 7275 | // .. ==> 0XF8000788[0:0] = 0x00000000U |
| 7276 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7277 | // .. L0_SEL = 0 |
| 7278 | // .. ==> 0XF8000788[1:1] = 0x00000000U |
| 7279 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7280 | // .. L1_SEL = 1 |
| 7281 | // .. ==> 0XF8000788[2:2] = 0x00000001U |
| 7282 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7283 | // .. L2_SEL = 0 |
| 7284 | // .. ==> 0XF8000788[4:3] = 0x00000000U |
| 7285 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7286 | // .. L3_SEL = 0 |
| 7287 | // .. ==> 0XF8000788[7:5] = 0x00000000U |
| 7288 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7289 | // .. Speed = 0 |
| 7290 | // .. ==> 0XF8000788[8:8] = 0x00000000U |
| 7291 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7292 | // .. IO_Type = 1 |
| 7293 | // .. ==> 0XF8000788[11:9] = 0x00000001U |
| 7294 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7295 | // .. PULLUP = 0 |
| 7296 | // .. ==> 0XF8000788[12:12] = 0x00000000U |
| 7297 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7298 | // .. DisableRcvr = 0 |
| 7299 | // .. ==> 0XF8000788[13:13] = 0x00000000U |
| 7300 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7301 | // .. |
| 7302 | EMIT_MASKWRITE(0XF8000788, 0x00003FFFU ,0x00000204U), |
| 7303 | // .. TRI_ENABLE = 0 |
| 7304 | // .. ==> 0XF800078C[0:0] = 0x00000000U |
| 7305 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7306 | // .. L0_SEL = 0 |
| 7307 | // .. ==> 0XF800078C[1:1] = 0x00000000U |
| 7308 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7309 | // .. L1_SEL = 1 |
| 7310 | // .. ==> 0XF800078C[2:2] = 0x00000001U |
| 7311 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7312 | // .. L2_SEL = 0 |
| 7313 | // .. ==> 0XF800078C[4:3] = 0x00000000U |
| 7314 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7315 | // .. L3_SEL = 0 |
| 7316 | // .. ==> 0XF800078C[7:5] = 0x00000000U |
| 7317 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7318 | // .. Speed = 0 |
| 7319 | // .. ==> 0XF800078C[8:8] = 0x00000000U |
| 7320 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7321 | // .. IO_Type = 1 |
| 7322 | // .. ==> 0XF800078C[11:9] = 0x00000001U |
| 7323 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7324 | // .. PULLUP = 0 |
| 7325 | // .. ==> 0XF800078C[12:12] = 0x00000000U |
| 7326 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7327 | // .. DisableRcvr = 0 |
| 7328 | // .. ==> 0XF800078C[13:13] = 0x00000000U |
| 7329 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7330 | // .. |
| 7331 | EMIT_MASKWRITE(0XF800078C, 0x00003FFFU ,0x00000204U), |
| 7332 | // .. TRI_ENABLE = 1 |
| 7333 | // .. ==> 0XF8000790[0:0] = 0x00000001U |
| 7334 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7335 | // .. L0_SEL = 0 |
| 7336 | // .. ==> 0XF8000790[1:1] = 0x00000000U |
| 7337 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7338 | // .. L1_SEL = 1 |
| 7339 | // .. ==> 0XF8000790[2:2] = 0x00000001U |
| 7340 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7341 | // .. L2_SEL = 0 |
| 7342 | // .. ==> 0XF8000790[4:3] = 0x00000000U |
| 7343 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7344 | // .. L3_SEL = 0 |
| 7345 | // .. ==> 0XF8000790[7:5] = 0x00000000U |
| 7346 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7347 | // .. Speed = 0 |
| 7348 | // .. ==> 0XF8000790[8:8] = 0x00000000U |
| 7349 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7350 | // .. IO_Type = 1 |
| 7351 | // .. ==> 0XF8000790[11:9] = 0x00000001U |
| 7352 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7353 | // .. PULLUP = 0 |
| 7354 | // .. ==> 0XF8000790[12:12] = 0x00000000U |
| 7355 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7356 | // .. DisableRcvr = 0 |
| 7357 | // .. ==> 0XF8000790[13:13] = 0x00000000U |
| 7358 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7359 | // .. |
| 7360 | EMIT_MASKWRITE(0XF8000790, 0x00003FFFU ,0x00000205U), |
| 7361 | // .. TRI_ENABLE = 0 |
| 7362 | // .. ==> 0XF8000794[0:0] = 0x00000000U |
| 7363 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7364 | // .. L0_SEL = 0 |
| 7365 | // .. ==> 0XF8000794[1:1] = 0x00000000U |
| 7366 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7367 | // .. L1_SEL = 1 |
| 7368 | // .. ==> 0XF8000794[2:2] = 0x00000001U |
| 7369 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7370 | // .. L2_SEL = 0 |
| 7371 | // .. ==> 0XF8000794[4:3] = 0x00000000U |
| 7372 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7373 | // .. L3_SEL = 0 |
| 7374 | // .. ==> 0XF8000794[7:5] = 0x00000000U |
| 7375 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7376 | // .. Speed = 0 |
| 7377 | // .. ==> 0XF8000794[8:8] = 0x00000000U |
| 7378 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7379 | // .. IO_Type = 1 |
| 7380 | // .. ==> 0XF8000794[11:9] = 0x00000001U |
| 7381 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7382 | // .. PULLUP = 0 |
| 7383 | // .. ==> 0XF8000794[12:12] = 0x00000000U |
| 7384 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7385 | // .. DisableRcvr = 0 |
| 7386 | // .. ==> 0XF8000794[13:13] = 0x00000000U |
| 7387 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7388 | // .. |
| 7389 | EMIT_MASKWRITE(0XF8000794, 0x00003FFFU ,0x00000204U), |
| 7390 | // .. TRI_ENABLE = 0 |
| 7391 | // .. ==> 0XF8000798[0:0] = 0x00000000U |
| 7392 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7393 | // .. L0_SEL = 0 |
| 7394 | // .. ==> 0XF8000798[1:1] = 0x00000000U |
| 7395 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7396 | // .. L1_SEL = 1 |
| 7397 | // .. ==> 0XF8000798[2:2] = 0x00000001U |
| 7398 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7399 | // .. L2_SEL = 0 |
| 7400 | // .. ==> 0XF8000798[4:3] = 0x00000000U |
| 7401 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7402 | // .. L3_SEL = 0 |
| 7403 | // .. ==> 0XF8000798[7:5] = 0x00000000U |
| 7404 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7405 | // .. Speed = 0 |
| 7406 | // .. ==> 0XF8000798[8:8] = 0x00000000U |
| 7407 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7408 | // .. IO_Type = 1 |
| 7409 | // .. ==> 0XF8000798[11:9] = 0x00000001U |
| 7410 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7411 | // .. PULLUP = 0 |
| 7412 | // .. ==> 0XF8000798[12:12] = 0x00000000U |
| 7413 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7414 | // .. DisableRcvr = 0 |
| 7415 | // .. ==> 0XF8000798[13:13] = 0x00000000U |
| 7416 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7417 | // .. |
| 7418 | EMIT_MASKWRITE(0XF8000798, 0x00003FFFU ,0x00000204U), |
| 7419 | // .. TRI_ENABLE = 0 |
| 7420 | // .. ==> 0XF800079C[0:0] = 0x00000000U |
| 7421 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7422 | // .. L0_SEL = 0 |
| 7423 | // .. ==> 0XF800079C[1:1] = 0x00000000U |
| 7424 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7425 | // .. L1_SEL = 1 |
| 7426 | // .. ==> 0XF800079C[2:2] = 0x00000001U |
| 7427 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 7428 | // .. L2_SEL = 0 |
| 7429 | // .. ==> 0XF800079C[4:3] = 0x00000000U |
| 7430 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7431 | // .. L3_SEL = 0 |
| 7432 | // .. ==> 0XF800079C[7:5] = 0x00000000U |
| 7433 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7434 | // .. Speed = 0 |
| 7435 | // .. ==> 0XF800079C[8:8] = 0x00000000U |
| 7436 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7437 | // .. IO_Type = 1 |
| 7438 | // .. ==> 0XF800079C[11:9] = 0x00000001U |
| 7439 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7440 | // .. PULLUP = 0 |
| 7441 | // .. ==> 0XF800079C[12:12] = 0x00000000U |
| 7442 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7443 | // .. DisableRcvr = 0 |
| 7444 | // .. ==> 0XF800079C[13:13] = 0x00000000U |
| 7445 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7446 | // .. |
| 7447 | EMIT_MASKWRITE(0XF800079C, 0x00003FFFU ,0x00000204U), |
| 7448 | // .. TRI_ENABLE = 0 |
| 7449 | // .. ==> 0XF80007A0[0:0] = 0x00000000U |
| 7450 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7451 | // .. L0_SEL = 0 |
| 7452 | // .. ==> 0XF80007A0[1:1] = 0x00000000U |
| 7453 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7454 | // .. L1_SEL = 0 |
| 7455 | // .. ==> 0XF80007A0[2:2] = 0x00000000U |
| 7456 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7457 | // .. L2_SEL = 0 |
| 7458 | // .. ==> 0XF80007A0[4:3] = 0x00000000U |
| 7459 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7460 | // .. L3_SEL = 4 |
| 7461 | // .. ==> 0XF80007A0[7:5] = 0x00000004U |
| 7462 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7463 | // .. Speed = 0 |
| 7464 | // .. ==> 0XF80007A0[8:8] = 0x00000000U |
| 7465 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7466 | // .. IO_Type = 1 |
| 7467 | // .. ==> 0XF80007A0[11:9] = 0x00000001U |
| 7468 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7469 | // .. PULLUP = 0 |
| 7470 | // .. ==> 0XF80007A0[12:12] = 0x00000000U |
| 7471 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7472 | // .. DisableRcvr = 0 |
| 7473 | // .. ==> 0XF80007A0[13:13] = 0x00000000U |
| 7474 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7475 | // .. |
| 7476 | EMIT_MASKWRITE(0XF80007A0, 0x00003FFFU ,0x00000280U), |
| 7477 | // .. TRI_ENABLE = 0 |
| 7478 | // .. ==> 0XF80007A4[0:0] = 0x00000000U |
| 7479 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7480 | // .. L0_SEL = 0 |
| 7481 | // .. ==> 0XF80007A4[1:1] = 0x00000000U |
| 7482 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7483 | // .. L1_SEL = 0 |
| 7484 | // .. ==> 0XF80007A4[2:2] = 0x00000000U |
| 7485 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7486 | // .. L2_SEL = 0 |
| 7487 | // .. ==> 0XF80007A4[4:3] = 0x00000000U |
| 7488 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7489 | // .. L3_SEL = 4 |
| 7490 | // .. ==> 0XF80007A4[7:5] = 0x00000004U |
| 7491 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7492 | // .. Speed = 0 |
| 7493 | // .. ==> 0XF80007A4[8:8] = 0x00000000U |
| 7494 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7495 | // .. IO_Type = 1 |
| 7496 | // .. ==> 0XF80007A4[11:9] = 0x00000001U |
| 7497 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7498 | // .. PULLUP = 0 |
| 7499 | // .. ==> 0XF80007A4[12:12] = 0x00000000U |
| 7500 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7501 | // .. DisableRcvr = 0 |
| 7502 | // .. ==> 0XF80007A4[13:13] = 0x00000000U |
| 7503 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7504 | // .. |
| 7505 | EMIT_MASKWRITE(0XF80007A4, 0x00003FFFU ,0x00000280U), |
| 7506 | // .. TRI_ENABLE = 0 |
| 7507 | // .. ==> 0XF80007A8[0:0] = 0x00000000U |
| 7508 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7509 | // .. L0_SEL = 0 |
| 7510 | // .. ==> 0XF80007A8[1:1] = 0x00000000U |
| 7511 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7512 | // .. L1_SEL = 0 |
| 7513 | // .. ==> 0XF80007A8[2:2] = 0x00000000U |
| 7514 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7515 | // .. L2_SEL = 0 |
| 7516 | // .. ==> 0XF80007A8[4:3] = 0x00000000U |
| 7517 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7518 | // .. L3_SEL = 4 |
| 7519 | // .. ==> 0XF80007A8[7:5] = 0x00000004U |
| 7520 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7521 | // .. Speed = 0 |
| 7522 | // .. ==> 0XF80007A8[8:8] = 0x00000000U |
| 7523 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7524 | // .. IO_Type = 1 |
| 7525 | // .. ==> 0XF80007A8[11:9] = 0x00000001U |
| 7526 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7527 | // .. PULLUP = 0 |
| 7528 | // .. ==> 0XF80007A8[12:12] = 0x00000000U |
| 7529 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7530 | // .. DisableRcvr = 0 |
| 7531 | // .. ==> 0XF80007A8[13:13] = 0x00000000U |
| 7532 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7533 | // .. |
| 7534 | EMIT_MASKWRITE(0XF80007A8, 0x00003FFFU ,0x00000280U), |
| 7535 | // .. TRI_ENABLE = 0 |
| 7536 | // .. ==> 0XF80007AC[0:0] = 0x00000000U |
| 7537 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7538 | // .. L0_SEL = 0 |
| 7539 | // .. ==> 0XF80007AC[1:1] = 0x00000000U |
| 7540 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7541 | // .. L1_SEL = 0 |
| 7542 | // .. ==> 0XF80007AC[2:2] = 0x00000000U |
| 7543 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7544 | // .. L2_SEL = 0 |
| 7545 | // .. ==> 0XF80007AC[4:3] = 0x00000000U |
| 7546 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7547 | // .. L3_SEL = 4 |
| 7548 | // .. ==> 0XF80007AC[7:5] = 0x00000004U |
| 7549 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7550 | // .. Speed = 0 |
| 7551 | // .. ==> 0XF80007AC[8:8] = 0x00000000U |
| 7552 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7553 | // .. IO_Type = 1 |
| 7554 | // .. ==> 0XF80007AC[11:9] = 0x00000001U |
| 7555 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7556 | // .. PULLUP = 0 |
| 7557 | // .. ==> 0XF80007AC[12:12] = 0x00000000U |
| 7558 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7559 | // .. DisableRcvr = 0 |
| 7560 | // .. ==> 0XF80007AC[13:13] = 0x00000000U |
| 7561 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7562 | // .. |
| 7563 | EMIT_MASKWRITE(0XF80007AC, 0x00003FFFU ,0x00000280U), |
| 7564 | // .. TRI_ENABLE = 0 |
| 7565 | // .. ==> 0XF80007B0[0:0] = 0x00000000U |
| 7566 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7567 | // .. L0_SEL = 0 |
| 7568 | // .. ==> 0XF80007B0[1:1] = 0x00000000U |
| 7569 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7570 | // .. L1_SEL = 0 |
| 7571 | // .. ==> 0XF80007B0[2:2] = 0x00000000U |
| 7572 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7573 | // .. L2_SEL = 0 |
| 7574 | // .. ==> 0XF80007B0[4:3] = 0x00000000U |
| 7575 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7576 | // .. L3_SEL = 4 |
| 7577 | // .. ==> 0XF80007B0[7:5] = 0x00000004U |
| 7578 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7579 | // .. Speed = 0 |
| 7580 | // .. ==> 0XF80007B0[8:8] = 0x00000000U |
| 7581 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7582 | // .. IO_Type = 1 |
| 7583 | // .. ==> 0XF80007B0[11:9] = 0x00000001U |
| 7584 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7585 | // .. PULLUP = 0 |
| 7586 | // .. ==> 0XF80007B0[12:12] = 0x00000000U |
| 7587 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7588 | // .. DisableRcvr = 0 |
| 7589 | // .. ==> 0XF80007B0[13:13] = 0x00000000U |
| 7590 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7591 | // .. |
| 7592 | EMIT_MASKWRITE(0XF80007B0, 0x00003FFFU ,0x00000280U), |
| 7593 | // .. TRI_ENABLE = 0 |
| 7594 | // .. ==> 0XF80007B4[0:0] = 0x00000000U |
| 7595 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7596 | // .. L0_SEL = 0 |
| 7597 | // .. ==> 0XF80007B4[1:1] = 0x00000000U |
| 7598 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7599 | // .. L1_SEL = 0 |
| 7600 | // .. ==> 0XF80007B4[2:2] = 0x00000000U |
| 7601 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7602 | // .. L2_SEL = 0 |
| 7603 | // .. ==> 0XF80007B4[4:3] = 0x00000000U |
| 7604 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7605 | // .. L3_SEL = 4 |
| 7606 | // .. ==> 0XF80007B4[7:5] = 0x00000004U |
| 7607 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7608 | // .. Speed = 0 |
| 7609 | // .. ==> 0XF80007B4[8:8] = 0x00000000U |
| 7610 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7611 | // .. IO_Type = 1 |
| 7612 | // .. ==> 0XF80007B4[11:9] = 0x00000001U |
| 7613 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7614 | // .. PULLUP = 0 |
| 7615 | // .. ==> 0XF80007B4[12:12] = 0x00000000U |
| 7616 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7617 | // .. DisableRcvr = 0 |
| 7618 | // .. ==> 0XF80007B4[13:13] = 0x00000000U |
| 7619 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7620 | // .. |
| 7621 | EMIT_MASKWRITE(0XF80007B4, 0x00003FFFU ,0x00000280U), |
| 7622 | // .. TRI_ENABLE = 0 |
| 7623 | // .. ==> 0XF80007B8[0:0] = 0x00000000U |
| 7624 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7625 | // .. L0_SEL = 0 |
| 7626 | // .. ==> 0XF80007B8[1:1] = 0x00000000U |
| 7627 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7628 | // .. L1_SEL = 0 |
| 7629 | // .. ==> 0XF80007B8[2:2] = 0x00000000U |
| 7630 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7631 | // .. L2_SEL = 0 |
| 7632 | // .. ==> 0XF80007B8[4:3] = 0x00000000U |
| 7633 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7634 | // .. L3_SEL = 0 |
| 7635 | // .. ==> 0XF80007B8[7:5] = 0x00000000U |
| 7636 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7637 | // .. Speed = 0 |
| 7638 | // .. ==> 0XF80007B8[8:8] = 0x00000000U |
| 7639 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7640 | // .. IO_Type = 1 |
| 7641 | // .. ==> 0XF80007B8[11:9] = 0x00000001U |
| 7642 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7643 | // .. PULLUP = 1 |
| 7644 | // .. ==> 0XF80007B8[12:12] = 0x00000001U |
| 7645 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 7646 | // .. DisableRcvr = 0 |
| 7647 | // .. ==> 0XF80007B8[13:13] = 0x00000000U |
| 7648 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7649 | // .. |
| 7650 | EMIT_MASKWRITE(0XF80007B8, 0x00003FFFU ,0x00001200U), |
| 7651 | // .. TRI_ENABLE = 0 |
| 7652 | // .. ==> 0XF80007BC[0:0] = 0x00000000U |
| 7653 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7654 | // .. L0_SEL = 0 |
| 7655 | // .. ==> 0XF80007BC[1:1] = 0x00000000U |
| 7656 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7657 | // .. L1_SEL = 0 |
| 7658 | // .. ==> 0XF80007BC[2:2] = 0x00000000U |
| 7659 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7660 | // .. L2_SEL = 0 |
| 7661 | // .. ==> 0XF80007BC[4:3] = 0x00000000U |
| 7662 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7663 | // .. L3_SEL = 0 |
| 7664 | // .. ==> 0XF80007BC[7:5] = 0x00000000U |
| 7665 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 7666 | // .. Speed = 0 |
| 7667 | // .. ==> 0XF80007BC[8:8] = 0x00000000U |
| 7668 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7669 | // .. IO_Type = 1 |
| 7670 | // .. ==> 0XF80007BC[11:9] = 0x00000001U |
| 7671 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7672 | // .. PULLUP = 1 |
| 7673 | // .. ==> 0XF80007BC[12:12] = 0x00000001U |
| 7674 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 7675 | // .. DisableRcvr = 0 |
| 7676 | // .. ==> 0XF80007BC[13:13] = 0x00000000U |
| 7677 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7678 | // .. |
| 7679 | EMIT_MASKWRITE(0XF80007BC, 0x00003FFFU ,0x00001200U), |
| 7680 | // .. TRI_ENABLE = 0 |
| 7681 | // .. ==> 0XF80007C0[0:0] = 0x00000000U |
| 7682 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7683 | // .. L0_SEL = 0 |
| 7684 | // .. ==> 0XF80007C0[1:1] = 0x00000000U |
| 7685 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7686 | // .. L1_SEL = 0 |
| 7687 | // .. ==> 0XF80007C0[2:2] = 0x00000000U |
| 7688 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7689 | // .. L2_SEL = 0 |
| 7690 | // .. ==> 0XF80007C0[4:3] = 0x00000000U |
| 7691 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7692 | // .. L3_SEL = 7 |
| 7693 | // .. ==> 0XF80007C0[7:5] = 0x00000007U |
| 7694 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 7695 | // .. Speed = 0 |
| 7696 | // .. ==> 0XF80007C0[8:8] = 0x00000000U |
| 7697 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7698 | // .. IO_Type = 1 |
| 7699 | // .. ==> 0XF80007C0[11:9] = 0x00000001U |
| 7700 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7701 | // .. PULLUP = 0 |
| 7702 | // .. ==> 0XF80007C0[12:12] = 0x00000000U |
| 7703 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7704 | // .. DisableRcvr = 0 |
| 7705 | // .. ==> 0XF80007C0[13:13] = 0x00000000U |
| 7706 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7707 | // .. |
| 7708 | EMIT_MASKWRITE(0XF80007C0, 0x00003FFFU ,0x000002E0U), |
| 7709 | // .. TRI_ENABLE = 1 |
| 7710 | // .. ==> 0XF80007C4[0:0] = 0x00000001U |
| 7711 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 7712 | // .. L0_SEL = 0 |
| 7713 | // .. ==> 0XF80007C4[1:1] = 0x00000000U |
| 7714 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7715 | // .. L1_SEL = 0 |
| 7716 | // .. ==> 0XF80007C4[2:2] = 0x00000000U |
| 7717 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7718 | // .. L2_SEL = 0 |
| 7719 | // .. ==> 0XF80007C4[4:3] = 0x00000000U |
| 7720 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7721 | // .. L3_SEL = 7 |
| 7722 | // .. ==> 0XF80007C4[7:5] = 0x00000007U |
| 7723 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 7724 | // .. Speed = 0 |
| 7725 | // .. ==> 0XF80007C4[8:8] = 0x00000000U |
| 7726 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7727 | // .. IO_Type = 1 |
| 7728 | // .. ==> 0XF80007C4[11:9] = 0x00000001U |
| 7729 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7730 | // .. PULLUP = 0 |
| 7731 | // .. ==> 0XF80007C4[12:12] = 0x00000000U |
| 7732 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7733 | // .. DisableRcvr = 0 |
| 7734 | // .. ==> 0XF80007C4[13:13] = 0x00000000U |
| 7735 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7736 | // .. |
| 7737 | EMIT_MASKWRITE(0XF80007C4, 0x00003FFFU ,0x000002E1U), |
| 7738 | // .. TRI_ENABLE = 0 |
| 7739 | // .. ==> 0XF80007C8[0:0] = 0x00000000U |
| 7740 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7741 | // .. L0_SEL = 0 |
| 7742 | // .. ==> 0XF80007C8[1:1] = 0x00000000U |
| 7743 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7744 | // .. L1_SEL = 0 |
| 7745 | // .. ==> 0XF80007C8[2:2] = 0x00000000U |
| 7746 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7747 | // .. L2_SEL = 0 |
| 7748 | // .. ==> 0XF80007C8[4:3] = 0x00000000U |
| 7749 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7750 | // .. L3_SEL = 2 |
| 7751 | // .. ==> 0XF80007C8[7:5] = 0x00000002U |
| 7752 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 7753 | // .. Speed = 0 |
| 7754 | // .. ==> 0XF80007C8[8:8] = 0x00000000U |
| 7755 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7756 | // .. IO_Type = 1 |
| 7757 | // .. ==> 0XF80007C8[11:9] = 0x00000001U |
| 7758 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7759 | // .. PULLUP = 1 |
| 7760 | // .. ==> 0XF80007C8[12:12] = 0x00000001U |
| 7761 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 7762 | // .. DisableRcvr = 0 |
| 7763 | // .. ==> 0XF80007C8[13:13] = 0x00000000U |
| 7764 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7765 | // .. |
| 7766 | EMIT_MASKWRITE(0XF80007C8, 0x00003FFFU ,0x00001240U), |
| 7767 | // .. TRI_ENABLE = 0 |
| 7768 | // .. ==> 0XF80007CC[0:0] = 0x00000000U |
| 7769 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7770 | // .. L0_SEL = 0 |
| 7771 | // .. ==> 0XF80007CC[1:1] = 0x00000000U |
| 7772 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7773 | // .. L1_SEL = 0 |
| 7774 | // .. ==> 0XF80007CC[2:2] = 0x00000000U |
| 7775 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7776 | // .. L2_SEL = 0 |
| 7777 | // .. ==> 0XF80007CC[4:3] = 0x00000000U |
| 7778 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7779 | // .. L3_SEL = 2 |
| 7780 | // .. ==> 0XF80007CC[7:5] = 0x00000002U |
| 7781 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 7782 | // .. Speed = 0 |
| 7783 | // .. ==> 0XF80007CC[8:8] = 0x00000000U |
| 7784 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7785 | // .. IO_Type = 1 |
| 7786 | // .. ==> 0XF80007CC[11:9] = 0x00000001U |
| 7787 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7788 | // .. PULLUP = 1 |
| 7789 | // .. ==> 0XF80007CC[12:12] = 0x00000001U |
| 7790 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 7791 | // .. DisableRcvr = 0 |
| 7792 | // .. ==> 0XF80007CC[13:13] = 0x00000000U |
| 7793 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7794 | // .. |
| 7795 | EMIT_MASKWRITE(0XF80007CC, 0x00003FFFU ,0x00001240U), |
| 7796 | // .. TRI_ENABLE = 0 |
| 7797 | // .. ==> 0XF80007D0[0:0] = 0x00000000U |
| 7798 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7799 | // .. L0_SEL = 0 |
| 7800 | // .. ==> 0XF80007D0[1:1] = 0x00000000U |
| 7801 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7802 | // .. L1_SEL = 0 |
| 7803 | // .. ==> 0XF80007D0[2:2] = 0x00000000U |
| 7804 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7805 | // .. L2_SEL = 0 |
| 7806 | // .. ==> 0XF80007D0[4:3] = 0x00000000U |
| 7807 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7808 | // .. L3_SEL = 4 |
| 7809 | // .. ==> 0XF80007D0[7:5] = 0x00000004U |
| 7810 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7811 | // .. Speed = 0 |
| 7812 | // .. ==> 0XF80007D0[8:8] = 0x00000000U |
| 7813 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7814 | // .. IO_Type = 1 |
| 7815 | // .. ==> 0XF80007D0[11:9] = 0x00000001U |
| 7816 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7817 | // .. PULLUP = 0 |
| 7818 | // .. ==> 0XF80007D0[12:12] = 0x00000000U |
| 7819 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7820 | // .. DisableRcvr = 0 |
| 7821 | // .. ==> 0XF80007D0[13:13] = 0x00000000U |
| 7822 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7823 | // .. |
| 7824 | EMIT_MASKWRITE(0XF80007D0, 0x00003FFFU ,0x00000280U), |
| 7825 | // .. TRI_ENABLE = 0 |
| 7826 | // .. ==> 0XF80007D4[0:0] = 0x00000000U |
| 7827 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 7828 | // .. L0_SEL = 0 |
| 7829 | // .. ==> 0XF80007D4[1:1] = 0x00000000U |
| 7830 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 7831 | // .. L1_SEL = 0 |
| 7832 | // .. ==> 0XF80007D4[2:2] = 0x00000000U |
| 7833 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 7834 | // .. L2_SEL = 0 |
| 7835 | // .. ==> 0XF80007D4[4:3] = 0x00000000U |
| 7836 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 7837 | // .. L3_SEL = 4 |
| 7838 | // .. ==> 0XF80007D4[7:5] = 0x00000004U |
| 7839 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 7840 | // .. Speed = 0 |
| 7841 | // .. ==> 0XF80007D4[8:8] = 0x00000000U |
| 7842 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 7843 | // .. IO_Type = 1 |
| 7844 | // .. ==> 0XF80007D4[11:9] = 0x00000001U |
| 7845 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 7846 | // .. PULLUP = 0 |
| 7847 | // .. ==> 0XF80007D4[12:12] = 0x00000000U |
| 7848 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 7849 | // .. DisableRcvr = 0 |
| 7850 | // .. ==> 0XF80007D4[13:13] = 0x00000000U |
| 7851 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 7852 | // .. |
| 7853 | EMIT_MASKWRITE(0XF80007D4, 0x00003FFFU ,0x00000280U), |
| 7854 | // .. SDIO0_WP_SEL = 15 |
| 7855 | // .. ==> 0XF8000830[5:0] = 0x0000000FU |
| 7856 | // .. ==> MASK : 0x0000003FU VAL : 0x0000000FU |
| 7857 | // .. SDIO0_CD_SEL = 14 |
| 7858 | // .. ==> 0XF8000830[21:16] = 0x0000000EU |
| 7859 | // .. ==> MASK : 0x003F0000U VAL : 0x000E0000U |
| 7860 | // .. |
| 7861 | EMIT_MASKWRITE(0XF8000830, 0x003F003FU ,0x000E000FU), |
| 7862 | // .. FINISH: MIO PROGRAMMING |
| 7863 | // .. START: LOCK IT BACK |
| 7864 | // .. LOCK_KEY = 0X767B |
| 7865 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 7866 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 7867 | // .. |
| 7868 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 7869 | // .. FINISH: LOCK IT BACK |
| 7870 | // FINISH: top |
| 7871 | // |
| 7872 | EMIT_EXIT(), |
| 7873 | |
| 7874 | // |
| 7875 | }; |
| 7876 | |
| 7877 | unsigned long ps7_peripherals_init_data_2_0[] = { |
| 7878 | // START: top |
| 7879 | // .. START: SLCR SETTINGS |
| 7880 | // .. UNLOCK_KEY = 0XDF0D |
| 7881 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 7882 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 7883 | // .. |
| 7884 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 7885 | // .. FINISH: SLCR SETTINGS |
| 7886 | // .. START: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 7887 | // .. IBUF_DISABLE_MODE = 0x1 |
| 7888 | // .. ==> 0XF8000B48[7:7] = 0x00000001U |
| 7889 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 7890 | // .. TERM_DISABLE_MODE = 0x1 |
| 7891 | // .. ==> 0XF8000B48[8:8] = 0x00000001U |
| 7892 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 7893 | // .. |
| 7894 | EMIT_MASKWRITE(0XF8000B48, 0x00000180U ,0x00000180U), |
| 7895 | // .. IBUF_DISABLE_MODE = 0x1 |
| 7896 | // .. ==> 0XF8000B4C[7:7] = 0x00000001U |
| 7897 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 7898 | // .. TERM_DISABLE_MODE = 0x1 |
| 7899 | // .. ==> 0XF8000B4C[8:8] = 0x00000001U |
| 7900 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 7901 | // .. |
| 7902 | EMIT_MASKWRITE(0XF8000B4C, 0x00000180U ,0x00000180U), |
| 7903 | // .. IBUF_DISABLE_MODE = 0x1 |
| 7904 | // .. ==> 0XF8000B50[7:7] = 0x00000001U |
| 7905 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 7906 | // .. TERM_DISABLE_MODE = 0x1 |
| 7907 | // .. ==> 0XF8000B50[8:8] = 0x00000001U |
| 7908 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 7909 | // .. |
| 7910 | EMIT_MASKWRITE(0XF8000B50, 0x00000180U ,0x00000180U), |
| 7911 | // .. IBUF_DISABLE_MODE = 0x1 |
| 7912 | // .. ==> 0XF8000B54[7:7] = 0x00000001U |
| 7913 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 7914 | // .. TERM_DISABLE_MODE = 0x1 |
| 7915 | // .. ==> 0XF8000B54[8:8] = 0x00000001U |
| 7916 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 7917 | // .. |
| 7918 | EMIT_MASKWRITE(0XF8000B54, 0x00000180U ,0x00000180U), |
| 7919 | // .. FINISH: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 7920 | // .. START: LOCK IT BACK |
| 7921 | // .. LOCK_KEY = 0X767B |
| 7922 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 7923 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 7924 | // .. |
| 7925 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 7926 | // .. FINISH: LOCK IT BACK |
| 7927 | // .. START: SRAM/NOR SET OPMODE |
| 7928 | // .. FINISH: SRAM/NOR SET OPMODE |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 7929 | // .. START: QSPI REGISTERS |
| 7930 | // .. Holdb_dr = 1 |
| 7931 | // .. ==> 0XE000D000[19:19] = 0x00000001U |
| 7932 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 7933 | // .. |
| 7934 | EMIT_MASKWRITE(0XE000D000, 0x00080000U ,0x00080000U), |
| 7935 | // .. FINISH: QSPI REGISTERS |
| 7936 | // .. START: PL POWER ON RESET REGISTERS |
| 7937 | // .. PCFG_POR_CNT_4K = 0 |
| 7938 | // .. ==> 0XF8007000[29:29] = 0x00000000U |
| 7939 | // .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 7940 | // .. |
| 7941 | EMIT_MASKWRITE(0XF8007000, 0x20000000U ,0x00000000U), |
| 7942 | // .. FINISH: PL POWER ON RESET REGISTERS |
| 7943 | // .. START: SMC TIMING CALCULATION REGISTER UPDATE |
| 7944 | // .. .. START: NAND SET CYCLE |
| 7945 | // .. .. FINISH: NAND SET CYCLE |
| 7946 | // .. .. START: OPMODE |
| 7947 | // .. .. FINISH: OPMODE |
| 7948 | // .. .. START: DIRECT COMMAND |
| 7949 | // .. .. FINISH: DIRECT COMMAND |
| 7950 | // .. .. START: SRAM/NOR CS0 SET CYCLE |
| 7951 | // .. .. FINISH: SRAM/NOR CS0 SET CYCLE |
| 7952 | // .. .. START: DIRECT COMMAND |
| 7953 | // .. .. FINISH: DIRECT COMMAND |
| 7954 | // .. .. START: NOR CS0 BASE ADDRESS |
| 7955 | // .. .. FINISH: NOR CS0 BASE ADDRESS |
| 7956 | // .. .. START: SRAM/NOR CS1 SET CYCLE |
| 7957 | // .. .. FINISH: SRAM/NOR CS1 SET CYCLE |
| 7958 | // .. .. START: DIRECT COMMAND |
| 7959 | // .. .. FINISH: DIRECT COMMAND |
| 7960 | // .. .. START: NOR CS1 BASE ADDRESS |
| 7961 | // .. .. FINISH: NOR CS1 BASE ADDRESS |
| 7962 | // .. .. START: USB RESET |
| 7963 | // .. .. .. START: USB0 RESET |
| 7964 | // .. .. .. .. START: DIR MODE BANK 0 |
| 7965 | // .. .. .. .. DIRECTION_0 = 0x80 |
| 7966 | // .. .. .. .. ==> 0XE000A204[31:0] = 0x00000080U |
| 7967 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 7968 | // .. .. .. .. |
| 7969 | EMIT_MASKWRITE(0XE000A204, 0xFFFFFFFFU ,0x00000080U), |
| 7970 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 7971 | // .. .. .. .. START: DIR MODE BANK 1 |
| 7972 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 7973 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 7974 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 7975 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 7976 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 7977 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 7978 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 7979 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 7980 | // .. .. .. .. |
| 7981 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 7982 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 7983 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 7984 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 7985 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 7986 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 7987 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 7988 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 7989 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 7990 | // .. .. .. .. OP_ENABLE_0 = 0x80 |
| 7991 | // .. .. .. .. ==> 0XE000A208[31:0] = 0x00000080U |
| 7992 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 7993 | // .. .. .. .. |
| 7994 | EMIT_MASKWRITE(0XE000A208, 0xFFFFFFFFU ,0x00000080U), |
| 7995 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 7996 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 7997 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 7998 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 7999 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 8000 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 8001 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 8002 | // .. .. .. .. DATA_0_LSW = 0x0 |
| 8003 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000000U |
| 8004 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 8005 | // .. .. .. .. |
| 8006 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0000U), |
| 8007 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8008 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8009 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8010 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8011 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8012 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8013 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8014 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8015 | // .. .. .. .. |
| 8016 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8017 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8018 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8019 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 8020 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 8021 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 8022 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 8023 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 8024 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 8025 | // .. .. .. .. |
| 8026 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 8027 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8028 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8029 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8030 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8031 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8032 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8033 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8034 | // .. .. .. FINISH: USB0 RESET |
| 8035 | // .. .. .. START: USB1 RESET |
| 8036 | // .. .. .. .. START: DIR MODE BANK 0 |
| 8037 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 8038 | // .. .. .. .. START: DIR MODE BANK 1 |
| 8039 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 8040 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8041 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8042 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8043 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8044 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8045 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8046 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8047 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8048 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 8049 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 8050 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 8051 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 8052 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8053 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8054 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8055 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8056 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8057 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8058 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8059 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8060 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8061 | // .. .. .. .. |
| 8062 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8063 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8064 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8065 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8066 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8067 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8068 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8069 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8070 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8071 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8072 | // .. .. .. FINISH: USB1 RESET |
| 8073 | // .. .. FINISH: USB RESET |
| 8074 | // .. .. START: ENET RESET |
| 8075 | // .. .. .. START: ENET0 RESET |
| 8076 | // .. .. .. .. START: DIR MODE BANK 0 |
| 8077 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 8078 | // .. .. .. .. START: DIR MODE BANK 1 |
| 8079 | // .. .. .. .. DIRECTION_1 = 0x8000 |
| 8080 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00008000U |
| 8081 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 8082 | // .. .. .. .. |
| 8083 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00008000U), |
| 8084 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 8085 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8086 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8087 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8088 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8089 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8090 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 8091 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 8092 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 8093 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 8094 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 8095 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 8096 | // .. .. .. .. |
| 8097 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 8098 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8099 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8100 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8101 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 8102 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 8103 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 8104 | // .. .. .. .. OP_ENABLE_1 = 0x8000 |
| 8105 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00008000U |
| 8106 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 8107 | // .. .. .. .. |
| 8108 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00008000U), |
| 8109 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 8110 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8111 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8112 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8113 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8114 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8115 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 8116 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 8117 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 8118 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 8119 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 8120 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 8121 | // .. .. .. .. |
| 8122 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF0000U), |
| 8123 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8124 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8125 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8126 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8127 | // .. .. .. .. |
| 8128 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8129 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8130 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8131 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8132 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8133 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8134 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8135 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 8136 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 8137 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 8138 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 8139 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 8140 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 8141 | // .. .. .. .. |
| 8142 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 8143 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8144 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8145 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8146 | // .. .. .. FINISH: ENET0 RESET |
| 8147 | // .. .. .. START: ENET1 RESET |
| 8148 | // .. .. .. .. START: DIR MODE BANK 0 |
| 8149 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 8150 | // .. .. .. .. START: DIR MODE BANK 1 |
| 8151 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 8152 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8153 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8154 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8155 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8156 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8157 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8158 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8159 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8160 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 8161 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 8162 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 8163 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 8164 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8165 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8166 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8167 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8168 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8169 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8170 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8171 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8172 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8173 | // .. .. .. .. |
| 8174 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8175 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8176 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8177 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8178 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8179 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8180 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8181 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8182 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8183 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8184 | // .. .. .. FINISH: ENET1 RESET |
| 8185 | // .. .. FINISH: ENET RESET |
| 8186 | // .. .. START: I2C RESET |
| 8187 | // .. .. .. START: I2C0 RESET |
| 8188 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 8189 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 8190 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 8191 | // .. .. .. .. DIRECTION_1 = 0x4000 |
| 8192 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00004000U |
| 8193 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 8194 | // .. .. .. .. |
| 8195 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00004000U), |
| 8196 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 8197 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8198 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8199 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8200 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8201 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8202 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 8203 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 8204 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 8205 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 8206 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 8207 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 8208 | // .. .. .. .. |
| 8209 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 8210 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8211 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8212 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8213 | // .. .. .. .. START: OUTPUT ENABLE |
| 8214 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 8215 | // .. .. .. .. START: OUTPUT ENABLE |
| 8216 | // .. .. .. .. OP_ENABLE_1 = 0x4000 |
| 8217 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00004000U |
| 8218 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 8219 | // .. .. .. .. |
| 8220 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00004000U), |
| 8221 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 8222 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8223 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8224 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8225 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8226 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8227 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 8228 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 8229 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 8230 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 8231 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 8232 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 8233 | // .. .. .. .. |
| 8234 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF0000U), |
| 8235 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8236 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8237 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8238 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8239 | // .. .. .. .. |
| 8240 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8241 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8242 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8243 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8244 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8245 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8246 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8247 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 8248 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 8249 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 8250 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 8251 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 8252 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 8253 | // .. .. .. .. |
| 8254 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 8255 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8256 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8257 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8258 | // .. .. .. FINISH: I2C0 RESET |
| 8259 | // .. .. .. START: I2C1 RESET |
| 8260 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 8261 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 8262 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 8263 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 8264 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8265 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8266 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8267 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8268 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8269 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8270 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8271 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8272 | // .. .. .. .. START: OUTPUT ENABLE |
| 8273 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 8274 | // .. .. .. .. START: OUTPUT ENABLE |
| 8275 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 8276 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8277 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 8278 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8279 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 8280 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8281 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 8282 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8283 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 8284 | // .. .. .. .. START: ADD 1 MS DELAY |
| 8285 | // .. .. .. .. |
| 8286 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 8287 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 8288 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8289 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8290 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8291 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 8292 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8293 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 8294 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8295 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 8296 | // .. .. .. FINISH: I2C1 RESET |
| 8297 | // .. .. FINISH: I2C RESET |
| 8298 | // .. .. START: NOR CHIP SELECT |
| 8299 | // .. .. .. START: DIR MODE BANK 0 |
| 8300 | // .. .. .. FINISH: DIR MODE BANK 0 |
| 8301 | // .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8302 | // .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 8303 | // .. .. .. START: OUTPUT ENABLE BANK 0 |
| 8304 | // .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 8305 | // .. .. FINISH: NOR CHIP SELECT |
| 8306 | // .. FINISH: SMC TIMING CALCULATION REGISTER UPDATE |
| 8307 | // FINISH: top |
| 8308 | // |
| 8309 | EMIT_EXIT(), |
| 8310 | |
| 8311 | // |
| 8312 | }; |
| 8313 | |
| 8314 | unsigned long ps7_post_config_2_0[] = { |
| 8315 | // START: top |
| 8316 | // .. START: SLCR SETTINGS |
| 8317 | // .. UNLOCK_KEY = 0XDF0D |
| 8318 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 8319 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 8320 | // .. |
| 8321 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 8322 | // .. FINISH: SLCR SETTINGS |
| 8323 | // .. START: ENABLING LEVEL SHIFTER |
| 8324 | // .. USER_INP_ICT_EN_0 = 3 |
| 8325 | // .. ==> 0XF8000900[1:0] = 0x00000003U |
| 8326 | // .. ==> MASK : 0x00000003U VAL : 0x00000003U |
| 8327 | // .. USER_INP_ICT_EN_1 = 3 |
| 8328 | // .. ==> 0XF8000900[3:2] = 0x00000003U |
| 8329 | // .. ==> MASK : 0x0000000CU VAL : 0x0000000CU |
| 8330 | // .. |
| 8331 | EMIT_MASKWRITE(0XF8000900, 0x0000000FU ,0x0000000FU), |
| 8332 | // .. FINISH: ENABLING LEVEL SHIFTER |
| 8333 | // .. START: FPGA RESETS TO 0 |
| 8334 | // .. reserved_3 = 0 |
| 8335 | // .. ==> 0XF8000240[31:25] = 0x00000000U |
| 8336 | // .. ==> MASK : 0xFE000000U VAL : 0x00000000U |
| 8337 | // .. FPGA_ACP_RST = 0 |
| 8338 | // .. ==> 0XF8000240[24:24] = 0x00000000U |
| 8339 | // .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 8340 | // .. FPGA_AXDS3_RST = 0 |
| 8341 | // .. ==> 0XF8000240[23:23] = 0x00000000U |
| 8342 | // .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 8343 | // .. FPGA_AXDS2_RST = 0 |
| 8344 | // .. ==> 0XF8000240[22:22] = 0x00000000U |
| 8345 | // .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 8346 | // .. FPGA_AXDS1_RST = 0 |
| 8347 | // .. ==> 0XF8000240[21:21] = 0x00000000U |
| 8348 | // .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 8349 | // .. FPGA_AXDS0_RST = 0 |
| 8350 | // .. ==> 0XF8000240[20:20] = 0x00000000U |
| 8351 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 8352 | // .. reserved_2 = 0 |
| 8353 | // .. ==> 0XF8000240[19:18] = 0x00000000U |
| 8354 | // .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 8355 | // .. FSSW1_FPGA_RST = 0 |
| 8356 | // .. ==> 0XF8000240[17:17] = 0x00000000U |
| 8357 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 8358 | // .. FSSW0_FPGA_RST = 0 |
| 8359 | // .. ==> 0XF8000240[16:16] = 0x00000000U |
| 8360 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 8361 | // .. reserved_1 = 0 |
| 8362 | // .. ==> 0XF8000240[15:14] = 0x00000000U |
| 8363 | // .. ==> MASK : 0x0000C000U VAL : 0x00000000U |
| 8364 | // .. FPGA_FMSW1_RST = 0 |
| 8365 | // .. ==> 0XF8000240[13:13] = 0x00000000U |
| 8366 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 8367 | // .. FPGA_FMSW0_RST = 0 |
| 8368 | // .. ==> 0XF8000240[12:12] = 0x00000000U |
| 8369 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 8370 | // .. FPGA_DMA3_RST = 0 |
| 8371 | // .. ==> 0XF8000240[11:11] = 0x00000000U |
| 8372 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 8373 | // .. FPGA_DMA2_RST = 0 |
| 8374 | // .. ==> 0XF8000240[10:10] = 0x00000000U |
| 8375 | // .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 8376 | // .. FPGA_DMA1_RST = 0 |
| 8377 | // .. ==> 0XF8000240[9:9] = 0x00000000U |
| 8378 | // .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 8379 | // .. FPGA_DMA0_RST = 0 |
| 8380 | // .. ==> 0XF8000240[8:8] = 0x00000000U |
| 8381 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 8382 | // .. reserved = 0 |
| 8383 | // .. ==> 0XF8000240[7:4] = 0x00000000U |
| 8384 | // .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 8385 | // .. FPGA3_OUT_RST = 0 |
| 8386 | // .. ==> 0XF8000240[3:3] = 0x00000000U |
| 8387 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 8388 | // .. FPGA2_OUT_RST = 0 |
| 8389 | // .. ==> 0XF8000240[2:2] = 0x00000000U |
| 8390 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 8391 | // .. FPGA1_OUT_RST = 0 |
| 8392 | // .. ==> 0XF8000240[1:1] = 0x00000000U |
| 8393 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 8394 | // .. FPGA0_OUT_RST = 0 |
| 8395 | // .. ==> 0XF8000240[0:0] = 0x00000000U |
| 8396 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8397 | // .. |
| 8398 | EMIT_MASKWRITE(0XF8000240, 0xFFFFFFFFU ,0x00000000U), |
| 8399 | // .. FINISH: FPGA RESETS TO 0 |
| 8400 | // .. START: AFI REGISTERS |
| 8401 | // .. .. START: AFI0 REGISTERS |
| 8402 | // .. .. FINISH: AFI0 REGISTERS |
| 8403 | // .. .. START: AFI1 REGISTERS |
| 8404 | // .. .. FINISH: AFI1 REGISTERS |
| 8405 | // .. .. START: AFI2 REGISTERS |
| 8406 | // .. .. FINISH: AFI2 REGISTERS |
| 8407 | // .. .. START: AFI3 REGISTERS |
| 8408 | // .. .. FINISH: AFI3 REGISTERS |
| 8409 | // .. FINISH: AFI REGISTERS |
| 8410 | // .. START: LOCK IT BACK |
| 8411 | // .. LOCK_KEY = 0X767B |
| 8412 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 8413 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 8414 | // .. |
| 8415 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 8416 | // .. FINISH: LOCK IT BACK |
| 8417 | // FINISH: top |
| 8418 | // |
| 8419 | EMIT_EXIT(), |
| 8420 | |
| 8421 | // |
| 8422 | }; |
| 8423 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 8424 | |
| 8425 | unsigned long ps7_pll_init_data_1_0[] = { |
| 8426 | // START: top |
| 8427 | // .. START: SLCR SETTINGS |
| 8428 | // .. UNLOCK_KEY = 0XDF0D |
| 8429 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 8430 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 8431 | // .. |
| 8432 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 8433 | // .. FINISH: SLCR SETTINGS |
| 8434 | // .. START: PLL SLCR REGISTERS |
| 8435 | // .. .. START: ARM PLL INIT |
| 8436 | // .. .. PLL_RES = 0x2 |
| 8437 | // .. .. ==> 0XF8000110[7:4] = 0x00000002U |
| 8438 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 8439 | // .. .. PLL_CP = 0x2 |
| 8440 | // .. .. ==> 0XF8000110[11:8] = 0x00000002U |
| 8441 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 8442 | // .. .. LOCK_CNT = 0xfa |
| 8443 | // .. .. ==> 0XF8000110[21:12] = 0x000000FAU |
| 8444 | // .. .. ==> MASK : 0x003FF000U VAL : 0x000FA000U |
| 8445 | // .. .. |
| 8446 | EMIT_MASKWRITE(0XF8000110, 0x003FFFF0U ,0x000FA220U), |
| 8447 | // .. .. .. START: UPDATE FB_DIV |
| 8448 | // .. .. .. PLL_FDIV = 0x28 |
| 8449 | // .. .. .. ==> 0XF8000100[18:12] = 0x00000028U |
| 8450 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00028000U |
| 8451 | // .. .. .. |
| 8452 | EMIT_MASKWRITE(0XF8000100, 0x0007F000U ,0x00028000U), |
| 8453 | // .. .. .. FINISH: UPDATE FB_DIV |
| 8454 | // .. .. .. START: BY PASS PLL |
| 8455 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 8456 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000001U |
| 8457 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 8458 | // .. .. .. |
| 8459 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000010U), |
| 8460 | // .. .. .. FINISH: BY PASS PLL |
| 8461 | // .. .. .. START: ASSERT RESET |
| 8462 | // .. .. .. PLL_RESET = 1 |
| 8463 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000001U |
| 8464 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8465 | // .. .. .. |
| 8466 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000001U), |
| 8467 | // .. .. .. FINISH: ASSERT RESET |
| 8468 | // .. .. .. START: DEASSERT RESET |
| 8469 | // .. .. .. PLL_RESET = 0 |
| 8470 | // .. .. .. ==> 0XF8000100[0:0] = 0x00000000U |
| 8471 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8472 | // .. .. .. |
| 8473 | EMIT_MASKWRITE(0XF8000100, 0x00000001U ,0x00000000U), |
| 8474 | // .. .. .. FINISH: DEASSERT RESET |
| 8475 | // .. .. .. START: CHECK PLL STATUS |
| 8476 | // .. .. .. ARM_PLL_LOCK = 1 |
| 8477 | // .. .. .. ==> 0XF800010C[0:0] = 0x00000001U |
| 8478 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8479 | // .. .. .. |
| 8480 | EMIT_MASKPOLL(0XF800010C, 0x00000001U), |
| 8481 | // .. .. .. FINISH: CHECK PLL STATUS |
| 8482 | // .. .. .. START: REMOVE PLL BY PASS |
| 8483 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 8484 | // .. .. .. ==> 0XF8000100[4:4] = 0x00000000U |
| 8485 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 8486 | // .. .. .. |
| 8487 | EMIT_MASKWRITE(0XF8000100, 0x00000010U ,0x00000000U), |
| 8488 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 8489 | // .. .. .. SRCSEL = 0x0 |
| 8490 | // .. .. .. ==> 0XF8000120[5:4] = 0x00000000U |
| 8491 | // .. .. .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8492 | // .. .. .. DIVISOR = 0x2 |
| 8493 | // .. .. .. ==> 0XF8000120[13:8] = 0x00000002U |
| 8494 | // .. .. .. ==> MASK : 0x00003F00U VAL : 0x00000200U |
| 8495 | // .. .. .. CPU_6OR4XCLKACT = 0x1 |
| 8496 | // .. .. .. ==> 0XF8000120[24:24] = 0x00000001U |
| 8497 | // .. .. .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 8498 | // .. .. .. CPU_3OR2XCLKACT = 0x1 |
| 8499 | // .. .. .. ==> 0XF8000120[25:25] = 0x00000001U |
| 8500 | // .. .. .. ==> MASK : 0x02000000U VAL : 0x02000000U |
| 8501 | // .. .. .. CPU_2XCLKACT = 0x1 |
| 8502 | // .. .. .. ==> 0XF8000120[26:26] = 0x00000001U |
| 8503 | // .. .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 8504 | // .. .. .. CPU_1XCLKACT = 0x1 |
| 8505 | // .. .. .. ==> 0XF8000120[27:27] = 0x00000001U |
| 8506 | // .. .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 8507 | // .. .. .. CPU_PERI_CLKACT = 0x1 |
| 8508 | // .. .. .. ==> 0XF8000120[28:28] = 0x00000001U |
| 8509 | // .. .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 8510 | // .. .. .. |
| 8511 | EMIT_MASKWRITE(0XF8000120, 0x1F003F30U ,0x1F000200U), |
| 8512 | // .. .. FINISH: ARM PLL INIT |
| 8513 | // .. .. START: DDR PLL INIT |
| 8514 | // .. .. PLL_RES = 0x2 |
| 8515 | // .. .. ==> 0XF8000114[7:4] = 0x00000002U |
| 8516 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000020U |
| 8517 | // .. .. PLL_CP = 0x2 |
| 8518 | // .. .. ==> 0XF8000114[11:8] = 0x00000002U |
| 8519 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 8520 | // .. .. LOCK_CNT = 0x12c |
| 8521 | // .. .. ==> 0XF8000114[21:12] = 0x0000012CU |
| 8522 | // .. .. ==> MASK : 0x003FF000U VAL : 0x0012C000U |
| 8523 | // .. .. |
| 8524 | EMIT_MASKWRITE(0XF8000114, 0x003FFFF0U ,0x0012C220U), |
| 8525 | // .. .. .. START: UPDATE FB_DIV |
| 8526 | // .. .. .. PLL_FDIV = 0x20 |
| 8527 | // .. .. .. ==> 0XF8000104[18:12] = 0x00000020U |
| 8528 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x00020000U |
| 8529 | // .. .. .. |
| 8530 | EMIT_MASKWRITE(0XF8000104, 0x0007F000U ,0x00020000U), |
| 8531 | // .. .. .. FINISH: UPDATE FB_DIV |
| 8532 | // .. .. .. START: BY PASS PLL |
| 8533 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 8534 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000001U |
| 8535 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 8536 | // .. .. .. |
| 8537 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000010U), |
| 8538 | // .. .. .. FINISH: BY PASS PLL |
| 8539 | // .. .. .. START: ASSERT RESET |
| 8540 | // .. .. .. PLL_RESET = 1 |
| 8541 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000001U |
| 8542 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8543 | // .. .. .. |
| 8544 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000001U), |
| 8545 | // .. .. .. FINISH: ASSERT RESET |
| 8546 | // .. .. .. START: DEASSERT RESET |
| 8547 | // .. .. .. PLL_RESET = 0 |
| 8548 | // .. .. .. ==> 0XF8000104[0:0] = 0x00000000U |
| 8549 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8550 | // .. .. .. |
| 8551 | EMIT_MASKWRITE(0XF8000104, 0x00000001U ,0x00000000U), |
| 8552 | // .. .. .. FINISH: DEASSERT RESET |
| 8553 | // .. .. .. START: CHECK PLL STATUS |
| 8554 | // .. .. .. DDR_PLL_LOCK = 1 |
| 8555 | // .. .. .. ==> 0XF800010C[1:1] = 0x00000001U |
| 8556 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 8557 | // .. .. .. |
| 8558 | EMIT_MASKPOLL(0XF800010C, 0x00000002U), |
| 8559 | // .. .. .. FINISH: CHECK PLL STATUS |
| 8560 | // .. .. .. START: REMOVE PLL BY PASS |
| 8561 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 8562 | // .. .. .. ==> 0XF8000104[4:4] = 0x00000000U |
| 8563 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 8564 | // .. .. .. |
| 8565 | EMIT_MASKWRITE(0XF8000104, 0x00000010U ,0x00000000U), |
| 8566 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 8567 | // .. .. .. DDR_3XCLKACT = 0x1 |
| 8568 | // .. .. .. ==> 0XF8000124[0:0] = 0x00000001U |
| 8569 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8570 | // .. .. .. DDR_2XCLKACT = 0x1 |
| 8571 | // .. .. .. ==> 0XF8000124[1:1] = 0x00000001U |
| 8572 | // .. .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 8573 | // .. .. .. DDR_3XCLK_DIVISOR = 0x2 |
| 8574 | // .. .. .. ==> 0XF8000124[25:20] = 0x00000002U |
| 8575 | // .. .. .. ==> MASK : 0x03F00000U VAL : 0x00200000U |
| 8576 | // .. .. .. DDR_2XCLK_DIVISOR = 0x3 |
| 8577 | // .. .. .. ==> 0XF8000124[31:26] = 0x00000003U |
| 8578 | // .. .. .. ==> MASK : 0xFC000000U VAL : 0x0C000000U |
| 8579 | // .. .. .. |
| 8580 | EMIT_MASKWRITE(0XF8000124, 0xFFF00003U ,0x0C200003U), |
| 8581 | // .. .. FINISH: DDR PLL INIT |
| 8582 | // .. .. START: IO PLL INIT |
| 8583 | // .. .. PLL_RES = 0xc |
| 8584 | // .. .. ==> 0XF8000118[7:4] = 0x0000000CU |
| 8585 | // .. .. ==> MASK : 0x000000F0U VAL : 0x000000C0U |
| 8586 | // .. .. PLL_CP = 0x2 |
| 8587 | // .. .. ==> 0XF8000118[11:8] = 0x00000002U |
| 8588 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 8589 | // .. .. LOCK_CNT = 0x145 |
| 8590 | // .. .. ==> 0XF8000118[21:12] = 0x00000145U |
| 8591 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00145000U |
| 8592 | // .. .. |
| 8593 | EMIT_MASKWRITE(0XF8000118, 0x003FFFF0U ,0x001452C0U), |
| 8594 | // .. .. .. START: UPDATE FB_DIV |
| 8595 | // .. .. .. PLL_FDIV = 0x1e |
| 8596 | // .. .. .. ==> 0XF8000108[18:12] = 0x0000001EU |
| 8597 | // .. .. .. ==> MASK : 0x0007F000U VAL : 0x0001E000U |
| 8598 | // .. .. .. |
| 8599 | EMIT_MASKWRITE(0XF8000108, 0x0007F000U ,0x0001E000U), |
| 8600 | // .. .. .. FINISH: UPDATE FB_DIV |
| 8601 | // .. .. .. START: BY PASS PLL |
| 8602 | // .. .. .. PLL_BYPASS_FORCE = 1 |
| 8603 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000001U |
| 8604 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 8605 | // .. .. .. |
| 8606 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000010U), |
| 8607 | // .. .. .. FINISH: BY PASS PLL |
| 8608 | // .. .. .. START: ASSERT RESET |
| 8609 | // .. .. .. PLL_RESET = 1 |
| 8610 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000001U |
| 8611 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8612 | // .. .. .. |
| 8613 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000001U), |
| 8614 | // .. .. .. FINISH: ASSERT RESET |
| 8615 | // .. .. .. START: DEASSERT RESET |
| 8616 | // .. .. .. PLL_RESET = 0 |
| 8617 | // .. .. .. ==> 0XF8000108[0:0] = 0x00000000U |
| 8618 | // .. .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8619 | // .. .. .. |
| 8620 | EMIT_MASKWRITE(0XF8000108, 0x00000001U ,0x00000000U), |
| 8621 | // .. .. .. FINISH: DEASSERT RESET |
| 8622 | // .. .. .. START: CHECK PLL STATUS |
| 8623 | // .. .. .. IO_PLL_LOCK = 1 |
| 8624 | // .. .. .. ==> 0XF800010C[2:2] = 0x00000001U |
| 8625 | // .. .. .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 8626 | // .. .. .. |
| 8627 | EMIT_MASKPOLL(0XF800010C, 0x00000004U), |
| 8628 | // .. .. .. FINISH: CHECK PLL STATUS |
| 8629 | // .. .. .. START: REMOVE PLL BY PASS |
| 8630 | // .. .. .. PLL_BYPASS_FORCE = 0 |
| 8631 | // .. .. .. ==> 0XF8000108[4:4] = 0x00000000U |
| 8632 | // .. .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 8633 | // .. .. .. |
| 8634 | EMIT_MASKWRITE(0XF8000108, 0x00000010U ,0x00000000U), |
| 8635 | // .. .. .. FINISH: REMOVE PLL BY PASS |
| 8636 | // .. .. FINISH: IO PLL INIT |
| 8637 | // .. FINISH: PLL SLCR REGISTERS |
| 8638 | // .. START: LOCK IT BACK |
| 8639 | // .. LOCK_KEY = 0X767B |
| 8640 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 8641 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 8642 | // .. |
| 8643 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 8644 | // .. FINISH: LOCK IT BACK |
| 8645 | // FINISH: top |
| 8646 | // |
| 8647 | EMIT_EXIT(), |
| 8648 | |
| 8649 | // |
| 8650 | }; |
| 8651 | |
| 8652 | unsigned long ps7_clock_init_data_1_0[] = { |
| 8653 | // START: top |
| 8654 | // .. START: SLCR SETTINGS |
| 8655 | // .. UNLOCK_KEY = 0XDF0D |
| 8656 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 8657 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 8658 | // .. |
| 8659 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 8660 | // .. FINISH: SLCR SETTINGS |
| 8661 | // .. START: CLOCK CONTROL SLCR REGISTERS |
| 8662 | // .. CLKACT = 0x1 |
| 8663 | // .. ==> 0XF8000128[0:0] = 0x00000001U |
| 8664 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8665 | // .. DIVISOR0 = 0x23 |
| 8666 | // .. ==> 0XF8000128[13:8] = 0x00000023U |
| 8667 | // .. ==> MASK : 0x00003F00U VAL : 0x00002300U |
| 8668 | // .. DIVISOR1 = 0x3 |
| 8669 | // .. ==> 0XF8000128[25:20] = 0x00000003U |
| 8670 | // .. ==> MASK : 0x03F00000U VAL : 0x00300000U |
| 8671 | // .. |
| 8672 | EMIT_MASKWRITE(0XF8000128, 0x03F03F01U ,0x00302301U), |
| 8673 | // .. CLKACT = 0x1 |
| 8674 | // .. ==> 0XF8000138[0:0] = 0x00000001U |
| 8675 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8676 | // .. SRCSEL = 0x0 |
| 8677 | // .. ==> 0XF8000138[4:4] = 0x00000000U |
| 8678 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 8679 | // .. |
| 8680 | EMIT_MASKWRITE(0XF8000138, 0x00000011U ,0x00000001U), |
| 8681 | // .. CLKACT = 0x1 |
| 8682 | // .. ==> 0XF8000140[0:0] = 0x00000001U |
| 8683 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8684 | // .. SRCSEL = 0x0 |
| 8685 | // .. ==> 0XF8000140[6:4] = 0x00000000U |
| 8686 | // .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 8687 | // .. DIVISOR = 0x8 |
| 8688 | // .. ==> 0XF8000140[13:8] = 0x00000008U |
| 8689 | // .. ==> MASK : 0x00003F00U VAL : 0x00000800U |
| 8690 | // .. DIVISOR1 = 0x5 |
| 8691 | // .. ==> 0XF8000140[25:20] = 0x00000005U |
| 8692 | // .. ==> MASK : 0x03F00000U VAL : 0x00500000U |
| 8693 | // .. |
| 8694 | EMIT_MASKWRITE(0XF8000140, 0x03F03F71U ,0x00500801U), |
| 8695 | // .. CLKACT = 0x1 |
| 8696 | // .. ==> 0XF800014C[0:0] = 0x00000001U |
| 8697 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8698 | // .. SRCSEL = 0x0 |
| 8699 | // .. ==> 0XF800014C[5:4] = 0x00000000U |
| 8700 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8701 | // .. DIVISOR = 0x5 |
| 8702 | // .. ==> 0XF800014C[13:8] = 0x00000005U |
| 8703 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 8704 | // .. |
| 8705 | EMIT_MASKWRITE(0XF800014C, 0x00003F31U ,0x00000501U), |
| 8706 | // .. CLKACT0 = 0x1 |
| 8707 | // .. ==> 0XF8000150[0:0] = 0x00000001U |
| 8708 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8709 | // .. CLKACT1 = 0x0 |
| 8710 | // .. ==> 0XF8000150[1:1] = 0x00000000U |
| 8711 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 8712 | // .. SRCSEL = 0x0 |
| 8713 | // .. ==> 0XF8000150[5:4] = 0x00000000U |
| 8714 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8715 | // .. DIVISOR = 0x14 |
| 8716 | // .. ==> 0XF8000150[13:8] = 0x00000014U |
| 8717 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8718 | // .. |
| 8719 | EMIT_MASKWRITE(0XF8000150, 0x00003F33U ,0x00001401U), |
| 8720 | // .. CLKACT0 = 0x0 |
| 8721 | // .. ==> 0XF8000154[0:0] = 0x00000000U |
| 8722 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8723 | // .. CLKACT1 = 0x1 |
| 8724 | // .. ==> 0XF8000154[1:1] = 0x00000001U |
| 8725 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 8726 | // .. SRCSEL = 0x0 |
| 8727 | // .. ==> 0XF8000154[5:4] = 0x00000000U |
| 8728 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8729 | // .. DIVISOR = 0x14 |
| 8730 | // .. ==> 0XF8000154[13:8] = 0x00000014U |
| 8731 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8732 | // .. |
| 8733 | EMIT_MASKWRITE(0XF8000154, 0x00003F33U ,0x00001402U), |
| 8734 | // .. CLKACT = 0x1 |
| 8735 | // .. ==> 0XF8000168[0:0] = 0x00000001U |
| 8736 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8737 | // .. SRCSEL = 0x0 |
| 8738 | // .. ==> 0XF8000168[5:4] = 0x00000000U |
| 8739 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8740 | // .. DIVISOR = 0x5 |
| 8741 | // .. ==> 0XF8000168[13:8] = 0x00000005U |
| 8742 | // .. ==> MASK : 0x00003F00U VAL : 0x00000500U |
| 8743 | // .. |
| 8744 | EMIT_MASKWRITE(0XF8000168, 0x00003F31U ,0x00000501U), |
| 8745 | // .. SRCSEL = 0x0 |
| 8746 | // .. ==> 0XF8000170[5:4] = 0x00000000U |
| 8747 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8748 | // .. DIVISOR0 = 0x14 |
| 8749 | // .. ==> 0XF8000170[13:8] = 0x00000014U |
| 8750 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8751 | // .. DIVISOR1 = 0x1 |
| 8752 | // .. ==> 0XF8000170[25:20] = 0x00000001U |
| 8753 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 8754 | // .. |
| 8755 | EMIT_MASKWRITE(0XF8000170, 0x03F03F30U ,0x00101400U), |
| 8756 | // .. SRCSEL = 0x0 |
| 8757 | // .. ==> 0XF8000180[5:4] = 0x00000000U |
| 8758 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8759 | // .. DIVISOR0 = 0x14 |
| 8760 | // .. ==> 0XF8000180[13:8] = 0x00000014U |
| 8761 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8762 | // .. DIVISOR1 = 0x1 |
| 8763 | // .. ==> 0XF8000180[25:20] = 0x00000001U |
| 8764 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 8765 | // .. |
| 8766 | EMIT_MASKWRITE(0XF8000180, 0x03F03F30U ,0x00101400U), |
| 8767 | // .. SRCSEL = 0x0 |
| 8768 | // .. ==> 0XF8000190[5:4] = 0x00000000U |
| 8769 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8770 | // .. DIVISOR0 = 0x14 |
| 8771 | // .. ==> 0XF8000190[13:8] = 0x00000014U |
| 8772 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8773 | // .. DIVISOR1 = 0x1 |
| 8774 | // .. ==> 0XF8000190[25:20] = 0x00000001U |
| 8775 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 8776 | // .. |
| 8777 | EMIT_MASKWRITE(0XF8000190, 0x03F03F30U ,0x00101400U), |
| 8778 | // .. SRCSEL = 0x0 |
| 8779 | // .. ==> 0XF80001A0[5:4] = 0x00000000U |
| 8780 | // .. ==> MASK : 0x00000030U VAL : 0x00000000U |
| 8781 | // .. DIVISOR0 = 0x14 |
| 8782 | // .. ==> 0XF80001A0[13:8] = 0x00000014U |
| 8783 | // .. ==> MASK : 0x00003F00U VAL : 0x00001400U |
| 8784 | // .. DIVISOR1 = 0x1 |
| 8785 | // .. ==> 0XF80001A0[25:20] = 0x00000001U |
| 8786 | // .. ==> MASK : 0x03F00000U VAL : 0x00100000U |
| 8787 | // .. |
| 8788 | EMIT_MASKWRITE(0XF80001A0, 0x03F03F30U ,0x00101400U), |
| 8789 | // .. CLK_621_TRUE = 0x1 |
| 8790 | // .. ==> 0XF80001C4[0:0] = 0x00000001U |
| 8791 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8792 | // .. |
| 8793 | EMIT_MASKWRITE(0XF80001C4, 0x00000001U ,0x00000001U), |
| 8794 | // .. DMA_CPU_2XCLKACT = 0x1 |
| 8795 | // .. ==> 0XF800012C[0:0] = 0x00000001U |
| 8796 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 8797 | // .. USB0_CPU_1XCLKACT = 0x1 |
| 8798 | // .. ==> 0XF800012C[2:2] = 0x00000001U |
| 8799 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 8800 | // .. USB1_CPU_1XCLKACT = 0x1 |
| 8801 | // .. ==> 0XF800012C[3:3] = 0x00000001U |
| 8802 | // .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 8803 | // .. GEM0_CPU_1XCLKACT = 0x1 |
| 8804 | // .. ==> 0XF800012C[6:6] = 0x00000001U |
| 8805 | // .. ==> MASK : 0x00000040U VAL : 0x00000040U |
| 8806 | // .. GEM1_CPU_1XCLKACT = 0x0 |
| 8807 | // .. ==> 0XF800012C[7:7] = 0x00000000U |
| 8808 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 8809 | // .. SDI0_CPU_1XCLKACT = 0x1 |
| 8810 | // .. ==> 0XF800012C[10:10] = 0x00000001U |
| 8811 | // .. ==> MASK : 0x00000400U VAL : 0x00000400U |
| 8812 | // .. SDI1_CPU_1XCLKACT = 0x0 |
| 8813 | // .. ==> 0XF800012C[11:11] = 0x00000000U |
| 8814 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 8815 | // .. SPI0_CPU_1XCLKACT = 0x0 |
| 8816 | // .. ==> 0XF800012C[14:14] = 0x00000000U |
| 8817 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 8818 | // .. SPI1_CPU_1XCLKACT = 0x0 |
| 8819 | // .. ==> 0XF800012C[15:15] = 0x00000000U |
| 8820 | // .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 8821 | // .. CAN0_CPU_1XCLKACT = 0x0 |
| 8822 | // .. ==> 0XF800012C[16:16] = 0x00000000U |
| 8823 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 8824 | // .. CAN1_CPU_1XCLKACT = 0x0 |
| 8825 | // .. ==> 0XF800012C[17:17] = 0x00000000U |
| 8826 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 8827 | // .. I2C0_CPU_1XCLKACT = 0x1 |
| 8828 | // .. ==> 0XF800012C[18:18] = 0x00000001U |
| 8829 | // .. ==> MASK : 0x00040000U VAL : 0x00040000U |
| 8830 | // .. I2C1_CPU_1XCLKACT = 0x1 |
| 8831 | // .. ==> 0XF800012C[19:19] = 0x00000001U |
| 8832 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 8833 | // .. UART0_CPU_1XCLKACT = 0x0 |
| 8834 | // .. ==> 0XF800012C[20:20] = 0x00000000U |
| 8835 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 8836 | // .. UART1_CPU_1XCLKACT = 0x1 |
| 8837 | // .. ==> 0XF800012C[21:21] = 0x00000001U |
| 8838 | // .. ==> MASK : 0x00200000U VAL : 0x00200000U |
| 8839 | // .. GPIO_CPU_1XCLKACT = 0x1 |
| 8840 | // .. ==> 0XF800012C[22:22] = 0x00000001U |
| 8841 | // .. ==> MASK : 0x00400000U VAL : 0x00400000U |
| 8842 | // .. LQSPI_CPU_1XCLKACT = 0x1 |
| 8843 | // .. ==> 0XF800012C[23:23] = 0x00000001U |
| 8844 | // .. ==> MASK : 0x00800000U VAL : 0x00800000U |
| 8845 | // .. SMC_CPU_1XCLKACT = 0x1 |
| 8846 | // .. ==> 0XF800012C[24:24] = 0x00000001U |
| 8847 | // .. ==> MASK : 0x01000000U VAL : 0x01000000U |
| 8848 | // .. |
| 8849 | EMIT_MASKWRITE(0XF800012C, 0x01FFCCCDU ,0x01EC044DU), |
| 8850 | // .. FINISH: CLOCK CONTROL SLCR REGISTERS |
| 8851 | // .. START: THIS SHOULD BE BLANK |
| 8852 | // .. FINISH: THIS SHOULD BE BLANK |
| 8853 | // .. START: LOCK IT BACK |
| 8854 | // .. LOCK_KEY = 0X767B |
| 8855 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 8856 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 8857 | // .. |
| 8858 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 8859 | // .. FINISH: LOCK IT BACK |
| 8860 | // FINISH: top |
| 8861 | // |
| 8862 | EMIT_EXIT(), |
| 8863 | |
| 8864 | // |
| 8865 | }; |
| 8866 | |
| 8867 | unsigned long ps7_ddr_init_data_1_0[] = { |
| 8868 | // START: top |
| 8869 | // .. START: DDR INITIALIZATION |
| 8870 | // .. .. START: LOCK DDR |
| 8871 | // .. .. reg_ddrc_soft_rstb = 0 |
| 8872 | // .. .. ==> 0XF8006000[0:0] = 0x00000000U |
| 8873 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 8874 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 8875 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 8876 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 8877 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 8878 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 8879 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 8880 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 8881 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 8882 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 8883 | // .. .. reg_ddrc_rdwr_idle_gap = 0x1 |
| 8884 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 8885 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 8886 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 8887 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 8888 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 8889 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 8890 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 8891 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 8892 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 8893 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 8894 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 8895 | // .. .. |
| 8896 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000080U), |
| 8897 | // .. .. FINISH: LOCK DDR |
| 8898 | // .. .. reg_ddrc_t_rfc_nom_x32 = 0x81 |
| 8899 | // .. .. ==> 0XF8006004[11:0] = 0x00000081U |
| 8900 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000081U |
| 8901 | // .. .. reg_ddrc_active_ranks = 0x1 |
| 8902 | // .. .. ==> 0XF8006004[13:12] = 0x00000001U |
| 8903 | // .. .. ==> MASK : 0x00003000U VAL : 0x00001000U |
| 8904 | // .. .. reg_ddrc_addrmap_cs_bit0 = 0x0 |
| 8905 | // .. .. ==> 0XF8006004[18:14] = 0x00000000U |
| 8906 | // .. .. ==> MASK : 0x0007C000U VAL : 0x00000000U |
| 8907 | // .. .. reg_ddrc_wr_odt_block = 0x1 |
| 8908 | // .. .. ==> 0XF8006004[20:19] = 0x00000001U |
| 8909 | // .. .. ==> MASK : 0x00180000U VAL : 0x00080000U |
| 8910 | // .. .. reg_ddrc_diff_rank_rd_2cycle_gap = 0x0 |
| 8911 | // .. .. ==> 0XF8006004[21:21] = 0x00000000U |
| 8912 | // .. .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 8913 | // .. .. reg_ddrc_addrmap_cs_bit1 = 0x0 |
| 8914 | // .. .. ==> 0XF8006004[26:22] = 0x00000000U |
| 8915 | // .. .. ==> MASK : 0x07C00000U VAL : 0x00000000U |
| 8916 | // .. .. reg_ddrc_addrmap_open_bank = 0x0 |
| 8917 | // .. .. ==> 0XF8006004[27:27] = 0x00000000U |
| 8918 | // .. .. ==> MASK : 0x08000000U VAL : 0x00000000U |
| 8919 | // .. .. reg_ddrc_addrmap_4bank_ram = 0x0 |
| 8920 | // .. .. ==> 0XF8006004[28:28] = 0x00000000U |
| 8921 | // .. .. ==> MASK : 0x10000000U VAL : 0x00000000U |
| 8922 | // .. .. |
| 8923 | EMIT_MASKWRITE(0XF8006004, 0x1FFFFFFFU ,0x00081081U), |
| 8924 | // .. .. reg_ddrc_hpr_min_non_critical_x32 = 0xf |
| 8925 | // .. .. ==> 0XF8006008[10:0] = 0x0000000FU |
| 8926 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000000FU |
| 8927 | // .. .. reg_ddrc_hpr_max_starve_x32 = 0xf |
| 8928 | // .. .. ==> 0XF8006008[21:11] = 0x0000000FU |
| 8929 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00007800U |
| 8930 | // .. .. reg_ddrc_hpr_xact_run_length = 0xf |
| 8931 | // .. .. ==> 0XF8006008[25:22] = 0x0000000FU |
| 8932 | // .. .. ==> MASK : 0x03C00000U VAL : 0x03C00000U |
| 8933 | // .. .. |
| 8934 | EMIT_MASKWRITE(0XF8006008, 0x03FFFFFFU ,0x03C0780FU), |
| 8935 | // .. .. reg_ddrc_lpr_min_non_critical_x32 = 0x1 |
| 8936 | // .. .. ==> 0XF800600C[10:0] = 0x00000001U |
| 8937 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 8938 | // .. .. reg_ddrc_lpr_max_starve_x32 = 0x2 |
| 8939 | // .. .. ==> 0XF800600C[21:11] = 0x00000002U |
| 8940 | // .. .. ==> MASK : 0x003FF800U VAL : 0x00001000U |
| 8941 | // .. .. reg_ddrc_lpr_xact_run_length = 0x8 |
| 8942 | // .. .. ==> 0XF800600C[25:22] = 0x00000008U |
| 8943 | // .. .. ==> MASK : 0x03C00000U VAL : 0x02000000U |
| 8944 | // .. .. |
| 8945 | EMIT_MASKWRITE(0XF800600C, 0x03FFFFFFU ,0x02001001U), |
| 8946 | // .. .. reg_ddrc_w_min_non_critical_x32 = 0x1 |
| 8947 | // .. .. ==> 0XF8006010[10:0] = 0x00000001U |
| 8948 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000001U |
| 8949 | // .. .. reg_ddrc_w_xact_run_length = 0x8 |
| 8950 | // .. .. ==> 0XF8006010[14:11] = 0x00000008U |
| 8951 | // .. .. ==> MASK : 0x00007800U VAL : 0x00004000U |
| 8952 | // .. .. reg_ddrc_w_max_starve_x32 = 0x2 |
| 8953 | // .. .. ==> 0XF8006010[25:15] = 0x00000002U |
| 8954 | // .. .. ==> MASK : 0x03FF8000U VAL : 0x00010000U |
| 8955 | // .. .. |
| 8956 | EMIT_MASKWRITE(0XF8006010, 0x03FFFFFFU ,0x00014001U), |
| 8957 | // .. .. reg_ddrc_t_rc = 0x1b |
| 8958 | // .. .. ==> 0XF8006014[5:0] = 0x0000001BU |
| 8959 | // .. .. ==> MASK : 0x0000003FU VAL : 0x0000001BU |
| 8960 | // .. .. reg_ddrc_t_rfc_min = 0x56 |
| 8961 | // .. .. ==> 0XF8006014[13:6] = 0x00000056U |
| 8962 | // .. .. ==> MASK : 0x00003FC0U VAL : 0x00001580U |
| 8963 | // .. .. reg_ddrc_post_selfref_gap_x32 = 0x10 |
| 8964 | // .. .. ==> 0XF8006014[20:14] = 0x00000010U |
| 8965 | // .. .. ==> MASK : 0x001FC000U VAL : 0x00040000U |
| 8966 | // .. .. |
| 8967 | EMIT_MASKWRITE(0XF8006014, 0x001FFFFFU ,0x0004159BU), |
| 8968 | // .. .. reg_ddrc_wr2pre = 0x12 |
| 8969 | // .. .. ==> 0XF8006018[4:0] = 0x00000012U |
| 8970 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000012U |
| 8971 | // .. .. reg_ddrc_powerdown_to_x32 = 0x6 |
| 8972 | // .. .. ==> 0XF8006018[9:5] = 0x00000006U |
| 8973 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000C0U |
| 8974 | // .. .. reg_ddrc_t_faw = 0x10 |
| 8975 | // .. .. ==> 0XF8006018[15:10] = 0x00000010U |
| 8976 | // .. .. ==> MASK : 0x0000FC00U VAL : 0x00004000U |
| 8977 | // .. .. reg_ddrc_t_ras_max = 0x24 |
| 8978 | // .. .. ==> 0XF8006018[21:16] = 0x00000024U |
| 8979 | // .. .. ==> MASK : 0x003F0000U VAL : 0x00240000U |
| 8980 | // .. .. reg_ddrc_t_ras_min = 0x14 |
| 8981 | // .. .. ==> 0XF8006018[26:22] = 0x00000014U |
| 8982 | // .. .. ==> MASK : 0x07C00000U VAL : 0x05000000U |
| 8983 | // .. .. reg_ddrc_t_cke = 0x4 |
| 8984 | // .. .. ==> 0XF8006018[31:28] = 0x00000004U |
| 8985 | // .. .. ==> MASK : 0xF0000000U VAL : 0x40000000U |
| 8986 | // .. .. |
| 8987 | EMIT_MASKWRITE(0XF8006018, 0xF7FFFFFFU ,0x452440D2U), |
| 8988 | // .. .. reg_ddrc_write_latency = 0x5 |
| 8989 | // .. .. ==> 0XF800601C[4:0] = 0x00000005U |
| 8990 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000005U |
| 8991 | // .. .. reg_ddrc_rd2wr = 0x7 |
| 8992 | // .. .. ==> 0XF800601C[9:5] = 0x00000007U |
| 8993 | // .. .. ==> MASK : 0x000003E0U VAL : 0x000000E0U |
| 8994 | // .. .. reg_ddrc_wr2rd = 0xe |
| 8995 | // .. .. ==> 0XF800601C[14:10] = 0x0000000EU |
| 8996 | // .. .. ==> MASK : 0x00007C00U VAL : 0x00003800U |
| 8997 | // .. .. reg_ddrc_t_xp = 0x4 |
| 8998 | // .. .. ==> 0XF800601C[19:15] = 0x00000004U |
| 8999 | // .. .. ==> MASK : 0x000F8000U VAL : 0x00020000U |
| 9000 | // .. .. reg_ddrc_pad_pd = 0x0 |
| 9001 | // .. .. ==> 0XF800601C[22:20] = 0x00000000U |
| 9002 | // .. .. ==> MASK : 0x00700000U VAL : 0x00000000U |
| 9003 | // .. .. reg_ddrc_rd2pre = 0x4 |
| 9004 | // .. .. ==> 0XF800601C[27:23] = 0x00000004U |
| 9005 | // .. .. ==> MASK : 0x0F800000U VAL : 0x02000000U |
| 9006 | // .. .. reg_ddrc_t_rcd = 0x7 |
| 9007 | // .. .. ==> 0XF800601C[31:28] = 0x00000007U |
| 9008 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 9009 | // .. .. |
| 9010 | EMIT_MASKWRITE(0XF800601C, 0xFFFFFFFFU ,0x720238E5U), |
| 9011 | // .. .. reg_ddrc_t_ccd = 0x4 |
| 9012 | // .. .. ==> 0XF8006020[4:2] = 0x00000004U |
| 9013 | // .. .. ==> MASK : 0x0000001CU VAL : 0x00000010U |
| 9014 | // .. .. reg_ddrc_t_rrd = 0x4 |
| 9015 | // .. .. ==> 0XF8006020[7:5] = 0x00000004U |
| 9016 | // .. .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 9017 | // .. .. reg_ddrc_refresh_margin = 0x2 |
| 9018 | // .. .. ==> 0XF8006020[11:8] = 0x00000002U |
| 9019 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000200U |
| 9020 | // .. .. reg_ddrc_t_rp = 0x7 |
| 9021 | // .. .. ==> 0XF8006020[15:12] = 0x00000007U |
| 9022 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00007000U |
| 9023 | // .. .. reg_ddrc_refresh_to_x32 = 0x8 |
| 9024 | // .. .. ==> 0XF8006020[20:16] = 0x00000008U |
| 9025 | // .. .. ==> MASK : 0x001F0000U VAL : 0x00080000U |
| 9026 | // .. .. reg_ddrc_sdram = 0x1 |
| 9027 | // .. .. ==> 0XF8006020[21:21] = 0x00000001U |
| 9028 | // .. .. ==> MASK : 0x00200000U VAL : 0x00200000U |
| 9029 | // .. .. reg_ddrc_mobile = 0x0 |
| 9030 | // .. .. ==> 0XF8006020[22:22] = 0x00000000U |
| 9031 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 9032 | // .. .. reg_ddrc_clock_stop_en = 0x0 |
| 9033 | // .. .. ==> 0XF8006020[23:23] = 0x00000000U |
| 9034 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 9035 | // .. .. reg_ddrc_read_latency = 0x7 |
| 9036 | // .. .. ==> 0XF8006020[28:24] = 0x00000007U |
| 9037 | // .. .. ==> MASK : 0x1F000000U VAL : 0x07000000U |
| 9038 | // .. .. reg_phy_mode_ddr1_ddr2 = 0x1 |
| 9039 | // .. .. ==> 0XF8006020[29:29] = 0x00000001U |
| 9040 | // .. .. ==> MASK : 0x20000000U VAL : 0x20000000U |
| 9041 | // .. .. reg_ddrc_dis_pad_pd = 0x0 |
| 9042 | // .. .. ==> 0XF8006020[30:30] = 0x00000000U |
| 9043 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 9044 | // .. .. reg_ddrc_loopback = 0x0 |
| 9045 | // .. .. ==> 0XF8006020[31:31] = 0x00000000U |
| 9046 | // .. .. ==> MASK : 0x80000000U VAL : 0x00000000U |
| 9047 | // .. .. |
| 9048 | EMIT_MASKWRITE(0XF8006020, 0xFFFFFFFCU ,0x27287290U), |
| 9049 | // .. .. reg_ddrc_en_2t_timing_mode = 0x0 |
| 9050 | // .. .. ==> 0XF8006024[0:0] = 0x00000000U |
| 9051 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9052 | // .. .. reg_ddrc_prefer_write = 0x0 |
| 9053 | // .. .. ==> 0XF8006024[1:1] = 0x00000000U |
| 9054 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9055 | // .. .. reg_ddrc_max_rank_rd = 0xf |
| 9056 | // .. .. ==> 0XF8006024[5:2] = 0x0000000FU |
| 9057 | // .. .. ==> MASK : 0x0000003CU VAL : 0x0000003CU |
| 9058 | // .. .. reg_ddrc_mr_wr = 0x0 |
| 9059 | // .. .. ==> 0XF8006024[6:6] = 0x00000000U |
| 9060 | // .. .. ==> MASK : 0x00000040U VAL : 0x00000000U |
| 9061 | // .. .. reg_ddrc_mr_addr = 0x0 |
| 9062 | // .. .. ==> 0XF8006024[8:7] = 0x00000000U |
| 9063 | // .. .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 9064 | // .. .. reg_ddrc_mr_data = 0x0 |
| 9065 | // .. .. ==> 0XF8006024[24:9] = 0x00000000U |
| 9066 | // .. .. ==> MASK : 0x01FFFE00U VAL : 0x00000000U |
| 9067 | // .. .. ddrc_reg_mr_wr_busy = 0x0 |
| 9068 | // .. .. ==> 0XF8006024[25:25] = 0x00000000U |
| 9069 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 9070 | // .. .. reg_ddrc_mr_type = 0x0 |
| 9071 | // .. .. ==> 0XF8006024[26:26] = 0x00000000U |
| 9072 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 9073 | // .. .. reg_ddrc_mr_rdata_valid = 0x0 |
| 9074 | // .. .. ==> 0XF8006024[27:27] = 0x00000000U |
| 9075 | // .. .. ==> MASK : 0x08000000U VAL : 0x00000000U |
| 9076 | // .. .. |
| 9077 | EMIT_MASKWRITE(0XF8006024, 0x0FFFFFFFU ,0x0000003CU), |
| 9078 | // .. .. reg_ddrc_final_wait_x32 = 0x7 |
| 9079 | // .. .. ==> 0XF8006028[6:0] = 0x00000007U |
| 9080 | // .. .. ==> MASK : 0x0000007FU VAL : 0x00000007U |
| 9081 | // .. .. reg_ddrc_pre_ocd_x32 = 0x0 |
| 9082 | // .. .. ==> 0XF8006028[10:7] = 0x00000000U |
| 9083 | // .. .. ==> MASK : 0x00000780U VAL : 0x00000000U |
| 9084 | // .. .. reg_ddrc_t_mrd = 0x4 |
| 9085 | // .. .. ==> 0XF8006028[13:11] = 0x00000004U |
| 9086 | // .. .. ==> MASK : 0x00003800U VAL : 0x00002000U |
| 9087 | // .. .. |
| 9088 | EMIT_MASKWRITE(0XF8006028, 0x00003FFFU ,0x00002007U), |
| 9089 | // .. .. reg_ddrc_emr2 = 0x8 |
| 9090 | // .. .. ==> 0XF800602C[15:0] = 0x00000008U |
| 9091 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000008U |
| 9092 | // .. .. reg_ddrc_emr3 = 0x0 |
| 9093 | // .. .. ==> 0XF800602C[31:16] = 0x00000000U |
| 9094 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00000000U |
| 9095 | // .. .. |
| 9096 | EMIT_MASKWRITE(0XF800602C, 0xFFFFFFFFU ,0x00000008U), |
| 9097 | // .. .. reg_ddrc_mr = 0x930 |
| 9098 | // .. .. ==> 0XF8006030[15:0] = 0x00000930U |
| 9099 | // .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000930U |
| 9100 | // .. .. reg_ddrc_emr = 0x4 |
| 9101 | // .. .. ==> 0XF8006030[31:16] = 0x00000004U |
| 9102 | // .. .. ==> MASK : 0xFFFF0000U VAL : 0x00040000U |
| 9103 | // .. .. |
| 9104 | EMIT_MASKWRITE(0XF8006030, 0xFFFFFFFFU ,0x00040930U), |
| 9105 | // .. .. reg_ddrc_burst_rdwr = 0x4 |
| 9106 | // .. .. ==> 0XF8006034[3:0] = 0x00000004U |
| 9107 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000004U |
| 9108 | // .. .. reg_ddrc_pre_cke_x1024 = 0x105 |
| 9109 | // .. .. ==> 0XF8006034[13:4] = 0x00000105U |
| 9110 | // .. .. ==> MASK : 0x00003FF0U VAL : 0x00001050U |
| 9111 | // .. .. reg_ddrc_post_cke_x1024 = 0x1 |
| 9112 | // .. .. ==> 0XF8006034[25:16] = 0x00000001U |
| 9113 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00010000U |
| 9114 | // .. .. reg_ddrc_burstchop = 0x0 |
| 9115 | // .. .. ==> 0XF8006034[28:28] = 0x00000000U |
| 9116 | // .. .. ==> MASK : 0x10000000U VAL : 0x00000000U |
| 9117 | // .. .. |
| 9118 | EMIT_MASKWRITE(0XF8006034, 0x13FF3FFFU ,0x00011054U), |
| 9119 | // .. .. reg_ddrc_force_low_pri_n = 0x0 |
| 9120 | // .. .. ==> 0XF8006038[0:0] = 0x00000000U |
| 9121 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9122 | // .. .. reg_ddrc_dis_dq = 0x0 |
| 9123 | // .. .. ==> 0XF8006038[1:1] = 0x00000000U |
| 9124 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9125 | // .. .. reg_phy_debug_mode = 0x0 |
| 9126 | // .. .. ==> 0XF8006038[6:6] = 0x00000000U |
| 9127 | // .. .. ==> MASK : 0x00000040U VAL : 0x00000000U |
| 9128 | // .. .. reg_phy_wr_level_start = 0x0 |
| 9129 | // .. .. ==> 0XF8006038[7:7] = 0x00000000U |
| 9130 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 9131 | // .. .. reg_phy_rd_level_start = 0x0 |
| 9132 | // .. .. ==> 0XF8006038[8:8] = 0x00000000U |
| 9133 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 9134 | // .. .. reg_phy_dq0_wait_t = 0x0 |
| 9135 | // .. .. ==> 0XF8006038[12:9] = 0x00000000U |
| 9136 | // .. .. ==> MASK : 0x00001E00U VAL : 0x00000000U |
| 9137 | // .. .. |
| 9138 | EMIT_MASKWRITE(0XF8006038, 0x00001FC3U ,0x00000000U), |
| 9139 | // .. .. reg_ddrc_addrmap_bank_b0 = 0x7 |
| 9140 | // .. .. ==> 0XF800603C[3:0] = 0x00000007U |
| 9141 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000007U |
| 9142 | // .. .. reg_ddrc_addrmap_bank_b1 = 0x7 |
| 9143 | // .. .. ==> 0XF800603C[7:4] = 0x00000007U |
| 9144 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000070U |
| 9145 | // .. .. reg_ddrc_addrmap_bank_b2 = 0x7 |
| 9146 | // .. .. ==> 0XF800603C[11:8] = 0x00000007U |
| 9147 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000700U |
| 9148 | // .. .. reg_ddrc_addrmap_col_b5 = 0x0 |
| 9149 | // .. .. ==> 0XF800603C[15:12] = 0x00000000U |
| 9150 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 9151 | // .. .. reg_ddrc_addrmap_col_b6 = 0x0 |
| 9152 | // .. .. ==> 0XF800603C[19:16] = 0x00000000U |
| 9153 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 9154 | // .. .. |
| 9155 | EMIT_MASKWRITE(0XF800603C, 0x000FFFFFU ,0x00000777U), |
| 9156 | // .. .. reg_ddrc_addrmap_col_b2 = 0x0 |
| 9157 | // .. .. ==> 0XF8006040[3:0] = 0x00000000U |
| 9158 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 9159 | // .. .. reg_ddrc_addrmap_col_b3 = 0x0 |
| 9160 | // .. .. ==> 0XF8006040[7:4] = 0x00000000U |
| 9161 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 9162 | // .. .. reg_ddrc_addrmap_col_b4 = 0x0 |
| 9163 | // .. .. ==> 0XF8006040[11:8] = 0x00000000U |
| 9164 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 9165 | // .. .. reg_ddrc_addrmap_col_b7 = 0x0 |
| 9166 | // .. .. ==> 0XF8006040[15:12] = 0x00000000U |
| 9167 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00000000U |
| 9168 | // .. .. reg_ddrc_addrmap_col_b8 = 0x0 |
| 9169 | // .. .. ==> 0XF8006040[19:16] = 0x00000000U |
| 9170 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00000000U |
| 9171 | // .. .. reg_ddrc_addrmap_col_b9 = 0xf |
| 9172 | // .. .. ==> 0XF8006040[23:20] = 0x0000000FU |
| 9173 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00F00000U |
| 9174 | // .. .. reg_ddrc_addrmap_col_b10 = 0xf |
| 9175 | // .. .. ==> 0XF8006040[27:24] = 0x0000000FU |
| 9176 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 9177 | // .. .. reg_ddrc_addrmap_col_b11 = 0xf |
| 9178 | // .. .. ==> 0XF8006040[31:28] = 0x0000000FU |
| 9179 | // .. .. ==> MASK : 0xF0000000U VAL : 0xF0000000U |
| 9180 | // .. .. |
| 9181 | EMIT_MASKWRITE(0XF8006040, 0xFFFFFFFFU ,0xFFF00000U), |
| 9182 | // .. .. reg_ddrc_addrmap_row_b0 = 0x6 |
| 9183 | // .. .. ==> 0XF8006044[3:0] = 0x00000006U |
| 9184 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000006U |
| 9185 | // .. .. reg_ddrc_addrmap_row_b1 = 0x6 |
| 9186 | // .. .. ==> 0XF8006044[7:4] = 0x00000006U |
| 9187 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000060U |
| 9188 | // .. .. reg_ddrc_addrmap_row_b2_11 = 0x6 |
| 9189 | // .. .. ==> 0XF8006044[11:8] = 0x00000006U |
| 9190 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000600U |
| 9191 | // .. .. reg_ddrc_addrmap_row_b12 = 0x6 |
| 9192 | // .. .. ==> 0XF8006044[15:12] = 0x00000006U |
| 9193 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00006000U |
| 9194 | // .. .. reg_ddrc_addrmap_row_b13 = 0x6 |
| 9195 | // .. .. ==> 0XF8006044[19:16] = 0x00000006U |
| 9196 | // .. .. ==> MASK : 0x000F0000U VAL : 0x00060000U |
| 9197 | // .. .. reg_ddrc_addrmap_row_b14 = 0x6 |
| 9198 | // .. .. ==> 0XF8006044[23:20] = 0x00000006U |
| 9199 | // .. .. ==> MASK : 0x00F00000U VAL : 0x00600000U |
| 9200 | // .. .. reg_ddrc_addrmap_row_b15 = 0xf |
| 9201 | // .. .. ==> 0XF8006044[27:24] = 0x0000000FU |
| 9202 | // .. .. ==> MASK : 0x0F000000U VAL : 0x0F000000U |
| 9203 | // .. .. |
| 9204 | EMIT_MASKWRITE(0XF8006044, 0x0FFFFFFFU ,0x0F666666U), |
| 9205 | // .. .. reg_ddrc_rank0_rd_odt = 0x0 |
| 9206 | // .. .. ==> 0XF8006048[2:0] = 0x00000000U |
| 9207 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000000U |
| 9208 | // .. .. reg_ddrc_rank0_wr_odt = 0x1 |
| 9209 | // .. .. ==> 0XF8006048[5:3] = 0x00000001U |
| 9210 | // .. .. ==> MASK : 0x00000038U VAL : 0x00000008U |
| 9211 | // .. .. reg_ddrc_rank1_rd_odt = 0x1 |
| 9212 | // .. .. ==> 0XF8006048[8:6] = 0x00000001U |
| 9213 | // .. .. ==> MASK : 0x000001C0U VAL : 0x00000040U |
| 9214 | // .. .. reg_ddrc_rank1_wr_odt = 0x1 |
| 9215 | // .. .. ==> 0XF8006048[11:9] = 0x00000001U |
| 9216 | // .. .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 9217 | // .. .. reg_phy_rd_local_odt = 0x0 |
| 9218 | // .. .. ==> 0XF8006048[13:12] = 0x00000000U |
| 9219 | // .. .. ==> MASK : 0x00003000U VAL : 0x00000000U |
| 9220 | // .. .. reg_phy_wr_local_odt = 0x3 |
| 9221 | // .. .. ==> 0XF8006048[15:14] = 0x00000003U |
| 9222 | // .. .. ==> MASK : 0x0000C000U VAL : 0x0000C000U |
| 9223 | // .. .. reg_phy_idle_local_odt = 0x3 |
| 9224 | // .. .. ==> 0XF8006048[17:16] = 0x00000003U |
| 9225 | // .. .. ==> MASK : 0x00030000U VAL : 0x00030000U |
| 9226 | // .. .. reg_ddrc_rank2_rd_odt = 0x0 |
| 9227 | // .. .. ==> 0XF8006048[20:18] = 0x00000000U |
| 9228 | // .. .. ==> MASK : 0x001C0000U VAL : 0x00000000U |
| 9229 | // .. .. reg_ddrc_rank2_wr_odt = 0x0 |
| 9230 | // .. .. ==> 0XF8006048[23:21] = 0x00000000U |
| 9231 | // .. .. ==> MASK : 0x00E00000U VAL : 0x00000000U |
| 9232 | // .. .. reg_ddrc_rank3_rd_odt = 0x0 |
| 9233 | // .. .. ==> 0XF8006048[26:24] = 0x00000000U |
| 9234 | // .. .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 9235 | // .. .. reg_ddrc_rank3_wr_odt = 0x0 |
| 9236 | // .. .. ==> 0XF8006048[29:27] = 0x00000000U |
| 9237 | // .. .. ==> MASK : 0x38000000U VAL : 0x00000000U |
| 9238 | // .. .. |
| 9239 | EMIT_MASKWRITE(0XF8006048, 0x3FFFFFFFU ,0x0003C248U), |
| 9240 | // .. .. reg_phy_rd_cmd_to_data = 0x0 |
| 9241 | // .. .. ==> 0XF8006050[3:0] = 0x00000000U |
| 9242 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 9243 | // .. .. reg_phy_wr_cmd_to_data = 0x0 |
| 9244 | // .. .. ==> 0XF8006050[7:4] = 0x00000000U |
| 9245 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 9246 | // .. .. reg_phy_rdc_we_to_re_delay = 0x8 |
| 9247 | // .. .. ==> 0XF8006050[11:8] = 0x00000008U |
| 9248 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000800U |
| 9249 | // .. .. reg_phy_rdc_fifo_rst_disable = 0x0 |
| 9250 | // .. .. ==> 0XF8006050[15:15] = 0x00000000U |
| 9251 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 9252 | // .. .. reg_phy_use_fixed_re = 0x1 |
| 9253 | // .. .. ==> 0XF8006050[16:16] = 0x00000001U |
| 9254 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 9255 | // .. .. reg_phy_rdc_fifo_rst_err_cnt_clr = 0x0 |
| 9256 | // .. .. ==> 0XF8006050[17:17] = 0x00000000U |
| 9257 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9258 | // .. .. reg_phy_dis_phy_ctrl_rstn = 0x0 |
| 9259 | // .. .. ==> 0XF8006050[18:18] = 0x00000000U |
| 9260 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9261 | // .. .. reg_phy_clk_stall_level = 0x0 |
| 9262 | // .. .. ==> 0XF8006050[19:19] = 0x00000000U |
| 9263 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 9264 | // .. .. reg_phy_gatelvl_num_of_dq0 = 0x7 |
| 9265 | // .. .. ==> 0XF8006050[27:24] = 0x00000007U |
| 9266 | // .. .. ==> MASK : 0x0F000000U VAL : 0x07000000U |
| 9267 | // .. .. reg_phy_wrlvl_num_of_dq0 = 0x7 |
| 9268 | // .. .. ==> 0XF8006050[31:28] = 0x00000007U |
| 9269 | // .. .. ==> MASK : 0xF0000000U VAL : 0x70000000U |
| 9270 | // .. .. |
| 9271 | EMIT_MASKWRITE(0XF8006050, 0xFF0F8FFFU ,0x77010800U), |
| 9272 | // .. .. reg_ddrc_dll_calib_to_min_x1024 = 0x1 |
| 9273 | // .. .. ==> 0XF8006058[7:0] = 0x00000001U |
| 9274 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000001U |
| 9275 | // .. .. reg_ddrc_dll_calib_to_max_x1024 = 0x1 |
| 9276 | // .. .. ==> 0XF8006058[15:8] = 0x00000001U |
| 9277 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00000100U |
| 9278 | // .. .. reg_ddrc_dis_dll_calib = 0x0 |
| 9279 | // .. .. ==> 0XF8006058[16:16] = 0x00000000U |
| 9280 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9281 | // .. .. |
| 9282 | EMIT_MASKWRITE(0XF8006058, 0x0001FFFFU ,0x00000101U), |
| 9283 | // .. .. reg_ddrc_rd_odt_delay = 0x3 |
| 9284 | // .. .. ==> 0XF800605C[3:0] = 0x00000003U |
| 9285 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000003U |
| 9286 | // .. .. reg_ddrc_wr_odt_delay = 0x0 |
| 9287 | // .. .. ==> 0XF800605C[7:4] = 0x00000000U |
| 9288 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 9289 | // .. .. reg_ddrc_rd_odt_hold = 0x0 |
| 9290 | // .. .. ==> 0XF800605C[11:8] = 0x00000000U |
| 9291 | // .. .. ==> MASK : 0x00000F00U VAL : 0x00000000U |
| 9292 | // .. .. reg_ddrc_wr_odt_hold = 0x5 |
| 9293 | // .. .. ==> 0XF800605C[15:12] = 0x00000005U |
| 9294 | // .. .. ==> MASK : 0x0000F000U VAL : 0x00005000U |
| 9295 | // .. .. |
| 9296 | EMIT_MASKWRITE(0XF800605C, 0x0000FFFFU ,0x00005003U), |
| 9297 | // .. .. reg_ddrc_pageclose = 0x0 |
| 9298 | // .. .. ==> 0XF8006060[0:0] = 0x00000000U |
| 9299 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9300 | // .. .. reg_ddrc_lpr_num_entries = 0x1f |
| 9301 | // .. .. ==> 0XF8006060[6:1] = 0x0000001FU |
| 9302 | // .. .. ==> MASK : 0x0000007EU VAL : 0x0000003EU |
| 9303 | // .. .. reg_ddrc_auto_pre_en = 0x0 |
| 9304 | // .. .. ==> 0XF8006060[7:7] = 0x00000000U |
| 9305 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 9306 | // .. .. reg_ddrc_refresh_update_level = 0x0 |
| 9307 | // .. .. ==> 0XF8006060[8:8] = 0x00000000U |
| 9308 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 9309 | // .. .. reg_ddrc_dis_wc = 0x0 |
| 9310 | // .. .. ==> 0XF8006060[9:9] = 0x00000000U |
| 9311 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 9312 | // .. .. reg_ddrc_dis_collision_page_opt = 0x0 |
| 9313 | // .. .. ==> 0XF8006060[10:10] = 0x00000000U |
| 9314 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9315 | // .. .. reg_ddrc_selfref_en = 0x0 |
| 9316 | // .. .. ==> 0XF8006060[12:12] = 0x00000000U |
| 9317 | // .. .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 9318 | // .. .. |
| 9319 | EMIT_MASKWRITE(0XF8006060, 0x000017FFU ,0x0000003EU), |
| 9320 | // .. .. reg_ddrc_go2critical_hysteresis = 0x0 |
| 9321 | // .. .. ==> 0XF8006064[12:5] = 0x00000000U |
| 9322 | // .. .. ==> MASK : 0x00001FE0U VAL : 0x00000000U |
| 9323 | // .. .. reg_arb_go2critical_en = 0x1 |
| 9324 | // .. .. ==> 0XF8006064[17:17] = 0x00000001U |
| 9325 | // .. .. ==> MASK : 0x00020000U VAL : 0x00020000U |
| 9326 | // .. .. |
| 9327 | EMIT_MASKWRITE(0XF8006064, 0x00021FE0U ,0x00020000U), |
| 9328 | // .. .. reg_ddrc_wrlvl_ww = 0x41 |
| 9329 | // .. .. ==> 0XF8006068[7:0] = 0x00000041U |
| 9330 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000041U |
| 9331 | // .. .. reg_ddrc_rdlvl_rr = 0x41 |
| 9332 | // .. .. ==> 0XF8006068[15:8] = 0x00000041U |
| 9333 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00004100U |
| 9334 | // .. .. reg_ddrc_dfi_t_wlmrd = 0x28 |
| 9335 | // .. .. ==> 0XF8006068[25:16] = 0x00000028U |
| 9336 | // .. .. ==> MASK : 0x03FF0000U VAL : 0x00280000U |
| 9337 | // .. .. |
| 9338 | EMIT_MASKWRITE(0XF8006068, 0x03FFFFFFU ,0x00284141U), |
| 9339 | // .. .. dfi_t_ctrlupd_interval_min_x1024 = 0x10 |
| 9340 | // .. .. ==> 0XF800606C[7:0] = 0x00000010U |
| 9341 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000010U |
| 9342 | // .. .. dfi_t_ctrlupd_interval_max_x1024 = 0x16 |
| 9343 | // .. .. ==> 0XF800606C[15:8] = 0x00000016U |
| 9344 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00001600U |
| 9345 | // .. .. |
| 9346 | EMIT_MASKWRITE(0XF800606C, 0x0000FFFFU ,0x00001610U), |
| 9347 | // .. .. refresh_timer0_start_value_x32 = 0x0 |
| 9348 | // .. .. ==> 0XF80060A0[11:0] = 0x00000000U |
| 9349 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000000U |
| 9350 | // .. .. refresh_timer1_start_value_x32 = 0x8 |
| 9351 | // .. .. ==> 0XF80060A0[23:12] = 0x00000008U |
| 9352 | // .. .. ==> MASK : 0x00FFF000U VAL : 0x00008000U |
| 9353 | // .. .. |
| 9354 | EMIT_MASKWRITE(0XF80060A0, 0x00FFFFFFU ,0x00008000U), |
| 9355 | // .. .. reg_ddrc_dis_auto_zq = 0x0 |
| 9356 | // .. .. ==> 0XF80060A4[0:0] = 0x00000000U |
| 9357 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9358 | // .. .. reg_ddrc_ddr3 = 0x1 |
| 9359 | // .. .. ==> 0XF80060A4[1:1] = 0x00000001U |
| 9360 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 9361 | // .. .. reg_ddrc_t_mod = 0x200 |
| 9362 | // .. .. ==> 0XF80060A4[11:2] = 0x00000200U |
| 9363 | // .. .. ==> MASK : 0x00000FFCU VAL : 0x00000800U |
| 9364 | // .. .. reg_ddrc_t_zq_long_nop = 0x200 |
| 9365 | // .. .. ==> 0XF80060A4[21:12] = 0x00000200U |
| 9366 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00200000U |
| 9367 | // .. .. reg_ddrc_t_zq_short_nop = 0x40 |
| 9368 | // .. .. ==> 0XF80060A4[31:22] = 0x00000040U |
| 9369 | // .. .. ==> MASK : 0xFFC00000U VAL : 0x10000000U |
| 9370 | // .. .. |
| 9371 | EMIT_MASKWRITE(0XF80060A4, 0xFFFFFFFFU ,0x10200802U), |
| 9372 | // .. .. t_zq_short_interval_x1024 = 0xcb73 |
| 9373 | // .. .. ==> 0XF80060A8[19:0] = 0x0000CB73U |
| 9374 | // .. .. ==> MASK : 0x000FFFFFU VAL : 0x0000CB73U |
| 9375 | // .. .. dram_rstn_x1024 = 0x69 |
| 9376 | // .. .. ==> 0XF80060A8[27:20] = 0x00000069U |
| 9377 | // .. .. ==> MASK : 0x0FF00000U VAL : 0x06900000U |
| 9378 | // .. .. |
| 9379 | EMIT_MASKWRITE(0XF80060A8, 0x0FFFFFFFU ,0x0690CB73U), |
| 9380 | // .. .. deeppowerdown_en = 0x0 |
| 9381 | // .. .. ==> 0XF80060AC[0:0] = 0x00000000U |
| 9382 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9383 | // .. .. deeppowerdown_to_x1024 = 0xff |
| 9384 | // .. .. ==> 0XF80060AC[8:1] = 0x000000FFU |
| 9385 | // .. .. ==> MASK : 0x000001FEU VAL : 0x000001FEU |
| 9386 | // .. .. |
| 9387 | EMIT_MASKWRITE(0XF80060AC, 0x000001FFU ,0x000001FEU), |
| 9388 | // .. .. dfi_wrlvl_max_x1024 = 0xfff |
| 9389 | // .. .. ==> 0XF80060B0[11:0] = 0x00000FFFU |
| 9390 | // .. .. ==> MASK : 0x00000FFFU VAL : 0x00000FFFU |
| 9391 | // .. .. dfi_rdlvl_max_x1024 = 0xfff |
| 9392 | // .. .. ==> 0XF80060B0[23:12] = 0x00000FFFU |
| 9393 | // .. .. ==> MASK : 0x00FFF000U VAL : 0x00FFF000U |
| 9394 | // .. .. ddrc_reg_twrlvl_max_error = 0x0 |
| 9395 | // .. .. ==> 0XF80060B0[24:24] = 0x00000000U |
| 9396 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 9397 | // .. .. ddrc_reg_trdlvl_max_error = 0x0 |
| 9398 | // .. .. ==> 0XF80060B0[25:25] = 0x00000000U |
| 9399 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 9400 | // .. .. reg_ddrc_dfi_wr_level_en = 0x1 |
| 9401 | // .. .. ==> 0XF80060B0[26:26] = 0x00000001U |
| 9402 | // .. .. ==> MASK : 0x04000000U VAL : 0x04000000U |
| 9403 | // .. .. reg_ddrc_dfi_rd_dqs_gate_level = 0x1 |
| 9404 | // .. .. ==> 0XF80060B0[27:27] = 0x00000001U |
| 9405 | // .. .. ==> MASK : 0x08000000U VAL : 0x08000000U |
| 9406 | // .. .. reg_ddrc_dfi_rd_data_eye_train = 0x1 |
| 9407 | // .. .. ==> 0XF80060B0[28:28] = 0x00000001U |
| 9408 | // .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 9409 | // .. .. |
| 9410 | EMIT_MASKWRITE(0XF80060B0, 0x1FFFFFFFU ,0x1CFFFFFFU), |
| 9411 | // .. .. reg_ddrc_2t_delay = 0x0 |
| 9412 | // .. .. ==> 0XF80060B4[8:0] = 0x00000000U |
| 9413 | // .. .. ==> MASK : 0x000001FFU VAL : 0x00000000U |
| 9414 | // .. .. reg_ddrc_skip_ocd = 0x1 |
| 9415 | // .. .. ==> 0XF80060B4[9:9] = 0x00000001U |
| 9416 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 9417 | // .. .. reg_ddrc_dis_pre_bypass = 0x0 |
| 9418 | // .. .. ==> 0XF80060B4[10:10] = 0x00000000U |
| 9419 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9420 | // .. .. |
| 9421 | EMIT_MASKWRITE(0XF80060B4, 0x000007FFU ,0x00000200U), |
| 9422 | // .. .. reg_ddrc_dfi_t_rddata_en = 0x6 |
| 9423 | // .. .. ==> 0XF80060B8[4:0] = 0x00000006U |
| 9424 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000006U |
| 9425 | // .. .. reg_ddrc_dfi_t_ctrlup_min = 0x3 |
| 9426 | // .. .. ==> 0XF80060B8[14:5] = 0x00000003U |
| 9427 | // .. .. ==> MASK : 0x00007FE0U VAL : 0x00000060U |
| 9428 | // .. .. reg_ddrc_dfi_t_ctrlup_max = 0x40 |
| 9429 | // .. .. ==> 0XF80060B8[24:15] = 0x00000040U |
| 9430 | // .. .. ==> MASK : 0x01FF8000U VAL : 0x00200000U |
| 9431 | // .. .. |
| 9432 | EMIT_MASKWRITE(0XF80060B8, 0x01FFFFFFU ,0x00200066U), |
| 9433 | // .. .. START: RESET ECC ERROR |
| 9434 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 1 |
| 9435 | // .. .. ==> 0XF80060C4[0:0] = 0x00000001U |
| 9436 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 9437 | // .. .. Clear_Correctable_DRAM_ECC_error = 1 |
| 9438 | // .. .. ==> 0XF80060C4[1:1] = 0x00000001U |
| 9439 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 9440 | // .. .. |
| 9441 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000003U), |
| 9442 | // .. .. FINISH: RESET ECC ERROR |
| 9443 | // .. .. Clear_Uncorrectable_DRAM_ECC_error = 0x0 |
| 9444 | // .. .. ==> 0XF80060C4[0:0] = 0x00000000U |
| 9445 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9446 | // .. .. Clear_Correctable_DRAM_ECC_error = 0x0 |
| 9447 | // .. .. ==> 0XF80060C4[1:1] = 0x00000000U |
| 9448 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9449 | // .. .. |
| 9450 | EMIT_MASKWRITE(0XF80060C4, 0x00000003U ,0x00000000U), |
| 9451 | // .. .. CORR_ECC_LOG_VALID = 0x0 |
| 9452 | // .. .. ==> 0XF80060C8[0:0] = 0x00000000U |
| 9453 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9454 | // .. .. ECC_CORRECTED_BIT_NUM = 0x0 |
| 9455 | // .. .. ==> 0XF80060C8[7:1] = 0x00000000U |
| 9456 | // .. .. ==> MASK : 0x000000FEU VAL : 0x00000000U |
| 9457 | // .. .. |
| 9458 | EMIT_MASKWRITE(0XF80060C8, 0x000000FFU ,0x00000000U), |
| 9459 | // .. .. UNCORR_ECC_LOG_VALID = 0x0 |
| 9460 | // .. .. ==> 0XF80060DC[0:0] = 0x00000000U |
| 9461 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9462 | // .. .. |
| 9463 | EMIT_MASKWRITE(0XF80060DC, 0x00000001U ,0x00000000U), |
| 9464 | // .. .. STAT_NUM_CORR_ERR = 0x0 |
| 9465 | // .. .. ==> 0XF80060F0[15:8] = 0x00000000U |
| 9466 | // .. .. ==> MASK : 0x0000FF00U VAL : 0x00000000U |
| 9467 | // .. .. STAT_NUM_UNCORR_ERR = 0x0 |
| 9468 | // .. .. ==> 0XF80060F0[7:0] = 0x00000000U |
| 9469 | // .. .. ==> MASK : 0x000000FFU VAL : 0x00000000U |
| 9470 | // .. .. |
| 9471 | EMIT_MASKWRITE(0XF80060F0, 0x0000FFFFU ,0x00000000U), |
| 9472 | // .. .. reg_ddrc_ecc_mode = 0x0 |
| 9473 | // .. .. ==> 0XF80060F4[2:0] = 0x00000000U |
| 9474 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000000U |
| 9475 | // .. .. reg_ddrc_dis_scrub = 0x1 |
| 9476 | // .. .. ==> 0XF80060F4[3:3] = 0x00000001U |
| 9477 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000008U |
| 9478 | // .. .. |
| 9479 | EMIT_MASKWRITE(0XF80060F4, 0x0000000FU ,0x00000008U), |
| 9480 | // .. .. reg_phy_dif_on = 0x0 |
| 9481 | // .. .. ==> 0XF8006114[3:0] = 0x00000000U |
| 9482 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000000U |
| 9483 | // .. .. reg_phy_dif_off = 0x0 |
| 9484 | // .. .. ==> 0XF8006114[7:4] = 0x00000000U |
| 9485 | // .. .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 9486 | // .. .. |
| 9487 | EMIT_MASKWRITE(0XF8006114, 0x000000FFU ,0x00000000U), |
| 9488 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 9489 | // .. .. ==> 0XF8006118[0:0] = 0x00000001U |
| 9490 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 9491 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 9492 | // .. .. ==> 0XF8006118[1:1] = 0x00000000U |
| 9493 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9494 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 9495 | // .. .. ==> 0XF8006118[2:2] = 0x00000000U |
| 9496 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 9497 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 9498 | // .. .. ==> 0XF8006118[3:3] = 0x00000000U |
| 9499 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 9500 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 9501 | // .. .. ==> 0XF8006118[4:4] = 0x00000000U |
| 9502 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 9503 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 9504 | // .. .. ==> 0XF8006118[5:5] = 0x00000000U |
| 9505 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 9506 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 9507 | // .. .. ==> 0XF8006118[14:6] = 0x00000000U |
| 9508 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 9509 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 9510 | // .. .. ==> 0XF8006118[23:15] = 0x00000000U |
| 9511 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 9512 | // .. .. reg_phy_dq_offset = 0x40 |
| 9513 | // .. .. ==> 0XF8006118[30:24] = 0x00000040U |
| 9514 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 9515 | // .. .. |
| 9516 | EMIT_MASKWRITE(0XF8006118, 0x7FFFFFFFU ,0x40000001U), |
| 9517 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 9518 | // .. .. ==> 0XF800611C[0:0] = 0x00000001U |
| 9519 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 9520 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 9521 | // .. .. ==> 0XF800611C[1:1] = 0x00000000U |
| 9522 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9523 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 9524 | // .. .. ==> 0XF800611C[2:2] = 0x00000000U |
| 9525 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 9526 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 9527 | // .. .. ==> 0XF800611C[3:3] = 0x00000000U |
| 9528 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 9529 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 9530 | // .. .. ==> 0XF800611C[4:4] = 0x00000000U |
| 9531 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 9532 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 9533 | // .. .. ==> 0XF800611C[5:5] = 0x00000000U |
| 9534 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 9535 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 9536 | // .. .. ==> 0XF800611C[14:6] = 0x00000000U |
| 9537 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 9538 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 9539 | // .. .. ==> 0XF800611C[23:15] = 0x00000000U |
| 9540 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 9541 | // .. .. reg_phy_dq_offset = 0x40 |
| 9542 | // .. .. ==> 0XF800611C[30:24] = 0x00000040U |
| 9543 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 9544 | // .. .. |
| 9545 | EMIT_MASKWRITE(0XF800611C, 0x7FFFFFFFU ,0x40000001U), |
| 9546 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 9547 | // .. .. ==> 0XF8006120[0:0] = 0x00000001U |
| 9548 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 9549 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 9550 | // .. .. ==> 0XF8006120[1:1] = 0x00000000U |
| 9551 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9552 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 9553 | // .. .. ==> 0XF8006120[2:2] = 0x00000000U |
| 9554 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 9555 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 9556 | // .. .. ==> 0XF8006120[3:3] = 0x00000000U |
| 9557 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 9558 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 9559 | // .. .. ==> 0XF8006120[4:4] = 0x00000000U |
| 9560 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 9561 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 9562 | // .. .. ==> 0XF8006120[5:5] = 0x00000000U |
| 9563 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 9564 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 9565 | // .. .. ==> 0XF8006120[14:6] = 0x00000000U |
| 9566 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 9567 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 9568 | // .. .. ==> 0XF8006120[23:15] = 0x00000000U |
| 9569 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 9570 | // .. .. reg_phy_dq_offset = 0x40 |
| 9571 | // .. .. ==> 0XF8006120[30:24] = 0x00000040U |
| 9572 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 9573 | // .. .. |
| 9574 | EMIT_MASKWRITE(0XF8006120, 0x7FFFFFFFU ,0x40000001U), |
| 9575 | // .. .. reg_phy_data_slice_in_use = 0x1 |
| 9576 | // .. .. ==> 0XF8006124[0:0] = 0x00000001U |
| 9577 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 9578 | // .. .. reg_phy_rdlvl_inc_mode = 0x0 |
| 9579 | // .. .. ==> 0XF8006124[1:1] = 0x00000000U |
| 9580 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9581 | // .. .. reg_phy_gatelvl_inc_mode = 0x0 |
| 9582 | // .. .. ==> 0XF8006124[2:2] = 0x00000000U |
| 9583 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 9584 | // .. .. reg_phy_wrlvl_inc_mode = 0x0 |
| 9585 | // .. .. ==> 0XF8006124[3:3] = 0x00000000U |
| 9586 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 9587 | // .. .. reg_phy_board_lpbk_tx = 0x0 |
| 9588 | // .. .. ==> 0XF8006124[4:4] = 0x00000000U |
| 9589 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 9590 | // .. .. reg_phy_board_lpbk_rx = 0x0 |
| 9591 | // .. .. ==> 0XF8006124[5:5] = 0x00000000U |
| 9592 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000000U |
| 9593 | // .. .. reg_phy_bist_shift_dq = 0x0 |
| 9594 | // .. .. ==> 0XF8006124[14:6] = 0x00000000U |
| 9595 | // .. .. ==> MASK : 0x00007FC0U VAL : 0x00000000U |
| 9596 | // .. .. reg_phy_bist_err_clr = 0x0 |
| 9597 | // .. .. ==> 0XF8006124[23:15] = 0x00000000U |
| 9598 | // .. .. ==> MASK : 0x00FF8000U VAL : 0x00000000U |
| 9599 | // .. .. reg_phy_dq_offset = 0x40 |
| 9600 | // .. .. ==> 0XF8006124[30:24] = 0x00000040U |
| 9601 | // .. .. ==> MASK : 0x7F000000U VAL : 0x40000000U |
| 9602 | // .. .. |
| 9603 | EMIT_MASKWRITE(0XF8006124, 0x7FFFFFFFU ,0x40000001U), |
| 9604 | // .. .. reg_phy_wrlvl_init_ratio = 0x1e |
| 9605 | // .. .. ==> 0XF800612C[9:0] = 0x0000001EU |
| 9606 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000001EU |
| 9607 | // .. .. reg_phy_gatelvl_init_ratio = 0xee |
| 9608 | // .. .. ==> 0XF800612C[19:10] = 0x000000EEU |
| 9609 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003B800U |
| 9610 | // .. .. |
| 9611 | EMIT_MASKWRITE(0XF800612C, 0x000FFFFFU ,0x0003B81EU), |
| 9612 | // .. .. reg_phy_wrlvl_init_ratio = 0x25 |
| 9613 | // .. .. ==> 0XF8006130[9:0] = 0x00000025U |
| 9614 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000025U |
| 9615 | // .. .. reg_phy_gatelvl_init_ratio = 0x10d |
| 9616 | // .. .. ==> 0XF8006130[19:10] = 0x0000010DU |
| 9617 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00043400U |
| 9618 | // .. .. |
| 9619 | EMIT_MASKWRITE(0XF8006130, 0x000FFFFFU ,0x00043425U), |
| 9620 | // .. .. reg_phy_wrlvl_init_ratio = 0x19 |
| 9621 | // .. .. ==> 0XF8006134[9:0] = 0x00000019U |
| 9622 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000019U |
| 9623 | // .. .. reg_phy_gatelvl_init_ratio = 0xf3 |
| 9624 | // .. .. ==> 0XF8006134[19:10] = 0x000000F3U |
| 9625 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x0003CC00U |
| 9626 | // .. .. |
| 9627 | EMIT_MASKWRITE(0XF8006134, 0x000FFFFFU ,0x0003CC19U), |
| 9628 | // .. .. reg_phy_wrlvl_init_ratio = 0x2a |
| 9629 | // .. .. ==> 0XF8006138[9:0] = 0x0000002AU |
| 9630 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000002AU |
| 9631 | // .. .. reg_phy_gatelvl_init_ratio = 0x109 |
| 9632 | // .. .. ==> 0XF8006138[19:10] = 0x00000109U |
| 9633 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00042400U |
| 9634 | // .. .. |
| 9635 | EMIT_MASKWRITE(0XF8006138, 0x000FFFFFU ,0x0004242AU), |
| 9636 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 9637 | // .. .. ==> 0XF8006140[9:0] = 0x00000035U |
| 9638 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 9639 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 9640 | // .. .. ==> 0XF8006140[10:10] = 0x00000000U |
| 9641 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9642 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 9643 | // .. .. ==> 0XF8006140[19:11] = 0x00000000U |
| 9644 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9645 | // .. .. |
| 9646 | EMIT_MASKWRITE(0XF8006140, 0x000FFFFFU ,0x00000035U), |
| 9647 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 9648 | // .. .. ==> 0XF8006144[9:0] = 0x00000035U |
| 9649 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 9650 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 9651 | // .. .. ==> 0XF8006144[10:10] = 0x00000000U |
| 9652 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9653 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 9654 | // .. .. ==> 0XF8006144[19:11] = 0x00000000U |
| 9655 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9656 | // .. .. |
| 9657 | EMIT_MASKWRITE(0XF8006144, 0x000FFFFFU ,0x00000035U), |
| 9658 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 9659 | // .. .. ==> 0XF8006148[9:0] = 0x00000035U |
| 9660 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 9661 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 9662 | // .. .. ==> 0XF8006148[10:10] = 0x00000000U |
| 9663 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9664 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 9665 | // .. .. ==> 0XF8006148[19:11] = 0x00000000U |
| 9666 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9667 | // .. .. |
| 9668 | EMIT_MASKWRITE(0XF8006148, 0x000FFFFFU ,0x00000035U), |
| 9669 | // .. .. reg_phy_rd_dqs_slave_ratio = 0x35 |
| 9670 | // .. .. ==> 0XF800614C[9:0] = 0x00000035U |
| 9671 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000035U |
| 9672 | // .. .. reg_phy_rd_dqs_slave_force = 0x0 |
| 9673 | // .. .. ==> 0XF800614C[10:10] = 0x00000000U |
| 9674 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9675 | // .. .. reg_phy_rd_dqs_slave_delay = 0x0 |
| 9676 | // .. .. ==> 0XF800614C[19:11] = 0x00000000U |
| 9677 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9678 | // .. .. |
| 9679 | EMIT_MASKWRITE(0XF800614C, 0x000FFFFFU ,0x00000035U), |
| 9680 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x9e |
| 9681 | // .. .. ==> 0XF8006154[9:0] = 0x0000009EU |
| 9682 | // .. .. ==> MASK : 0x000003FFU VAL : 0x0000009EU |
| 9683 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 9684 | // .. .. ==> 0XF8006154[10:10] = 0x00000000U |
| 9685 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9686 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 9687 | // .. .. ==> 0XF8006154[19:11] = 0x00000000U |
| 9688 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9689 | // .. .. |
| 9690 | EMIT_MASKWRITE(0XF8006154, 0x000FFFFFU ,0x0000009EU), |
| 9691 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xa5 |
| 9692 | // .. .. ==> 0XF8006158[9:0] = 0x000000A5U |
| 9693 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000A5U |
| 9694 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 9695 | // .. .. ==> 0XF8006158[10:10] = 0x00000000U |
| 9696 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9697 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 9698 | // .. .. ==> 0XF8006158[19:11] = 0x00000000U |
| 9699 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9700 | // .. .. |
| 9701 | EMIT_MASKWRITE(0XF8006158, 0x000FFFFFU ,0x000000A5U), |
| 9702 | // .. .. reg_phy_wr_dqs_slave_ratio = 0x99 |
| 9703 | // .. .. ==> 0XF800615C[9:0] = 0x00000099U |
| 9704 | // .. .. ==> MASK : 0x000003FFU VAL : 0x00000099U |
| 9705 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 9706 | // .. .. ==> 0XF800615C[10:10] = 0x00000000U |
| 9707 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9708 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 9709 | // .. .. ==> 0XF800615C[19:11] = 0x00000000U |
| 9710 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9711 | // .. .. |
| 9712 | EMIT_MASKWRITE(0XF800615C, 0x000FFFFFU ,0x00000099U), |
| 9713 | // .. .. reg_phy_wr_dqs_slave_ratio = 0xaa |
| 9714 | // .. .. ==> 0XF8006160[9:0] = 0x000000AAU |
| 9715 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000AAU |
| 9716 | // .. .. reg_phy_wr_dqs_slave_force = 0x0 |
| 9717 | // .. .. ==> 0XF8006160[10:10] = 0x00000000U |
| 9718 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9719 | // .. .. reg_phy_wr_dqs_slave_delay = 0x0 |
| 9720 | // .. .. ==> 0XF8006160[19:11] = 0x00000000U |
| 9721 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9722 | // .. .. |
| 9723 | EMIT_MASKWRITE(0XF8006160, 0x000FFFFFU ,0x000000AAU), |
| 9724 | // .. .. reg_phy_fifo_we_slave_ratio = 0x143 |
| 9725 | // .. .. ==> 0XF8006168[10:0] = 0x00000143U |
| 9726 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000143U |
| 9727 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 9728 | // .. .. ==> 0XF8006168[11:11] = 0x00000000U |
| 9729 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 9730 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 9731 | // .. .. ==> 0XF8006168[20:12] = 0x00000000U |
| 9732 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 9733 | // .. .. |
| 9734 | EMIT_MASKWRITE(0XF8006168, 0x001FFFFFU ,0x00000143U), |
| 9735 | // .. .. reg_phy_fifo_we_slave_ratio = 0x162 |
| 9736 | // .. .. ==> 0XF800616C[10:0] = 0x00000162U |
| 9737 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000162U |
| 9738 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 9739 | // .. .. ==> 0XF800616C[11:11] = 0x00000000U |
| 9740 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 9741 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 9742 | // .. .. ==> 0XF800616C[20:12] = 0x00000000U |
| 9743 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 9744 | // .. .. |
| 9745 | EMIT_MASKWRITE(0XF800616C, 0x001FFFFFU ,0x00000162U), |
| 9746 | // .. .. reg_phy_fifo_we_slave_ratio = 0x148 |
| 9747 | // .. .. ==> 0XF8006170[10:0] = 0x00000148U |
| 9748 | // .. .. ==> MASK : 0x000007FFU VAL : 0x00000148U |
| 9749 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 9750 | // .. .. ==> 0XF8006170[11:11] = 0x00000000U |
| 9751 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 9752 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 9753 | // .. .. ==> 0XF8006170[20:12] = 0x00000000U |
| 9754 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 9755 | // .. .. |
| 9756 | EMIT_MASKWRITE(0XF8006170, 0x001FFFFFU ,0x00000148U), |
| 9757 | // .. .. reg_phy_fifo_we_slave_ratio = 0x15e |
| 9758 | // .. .. ==> 0XF8006174[10:0] = 0x0000015EU |
| 9759 | // .. .. ==> MASK : 0x000007FFU VAL : 0x0000015EU |
| 9760 | // .. .. reg_phy_fifo_we_in_force = 0x0 |
| 9761 | // .. .. ==> 0XF8006174[11:11] = 0x00000000U |
| 9762 | // .. .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 9763 | // .. .. reg_phy_fifo_we_in_delay = 0x0 |
| 9764 | // .. .. ==> 0XF8006174[20:12] = 0x00000000U |
| 9765 | // .. .. ==> MASK : 0x001FF000U VAL : 0x00000000U |
| 9766 | // .. .. |
| 9767 | EMIT_MASKWRITE(0XF8006174, 0x001FFFFFU ,0x0000015EU), |
| 9768 | // .. .. reg_phy_wr_data_slave_ratio = 0xde |
| 9769 | // .. .. ==> 0XF800617C[9:0] = 0x000000DEU |
| 9770 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000DEU |
| 9771 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 9772 | // .. .. ==> 0XF800617C[10:10] = 0x00000000U |
| 9773 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9774 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 9775 | // .. .. ==> 0XF800617C[19:11] = 0x00000000U |
| 9776 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9777 | // .. .. |
| 9778 | EMIT_MASKWRITE(0XF800617C, 0x000FFFFFU ,0x000000DEU), |
| 9779 | // .. .. reg_phy_wr_data_slave_ratio = 0xe5 |
| 9780 | // .. .. ==> 0XF8006180[9:0] = 0x000000E5U |
| 9781 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000E5U |
| 9782 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 9783 | // .. .. ==> 0XF8006180[10:10] = 0x00000000U |
| 9784 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9785 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 9786 | // .. .. ==> 0XF8006180[19:11] = 0x00000000U |
| 9787 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9788 | // .. .. |
| 9789 | EMIT_MASKWRITE(0XF8006180, 0x000FFFFFU ,0x000000E5U), |
| 9790 | // .. .. reg_phy_wr_data_slave_ratio = 0xd9 |
| 9791 | // .. .. ==> 0XF8006184[9:0] = 0x000000D9U |
| 9792 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000D9U |
| 9793 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 9794 | // .. .. ==> 0XF8006184[10:10] = 0x00000000U |
| 9795 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9796 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 9797 | // .. .. ==> 0XF8006184[19:11] = 0x00000000U |
| 9798 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9799 | // .. .. |
| 9800 | EMIT_MASKWRITE(0XF8006184, 0x000FFFFFU ,0x000000D9U), |
| 9801 | // .. .. reg_phy_wr_data_slave_ratio = 0xea |
| 9802 | // .. .. ==> 0XF8006188[9:0] = 0x000000EAU |
| 9803 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000000EAU |
| 9804 | // .. .. reg_phy_wr_data_slave_force = 0x0 |
| 9805 | // .. .. ==> 0XF8006188[10:10] = 0x00000000U |
| 9806 | // .. .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 9807 | // .. .. reg_phy_wr_data_slave_delay = 0x0 |
| 9808 | // .. .. ==> 0XF8006188[19:11] = 0x00000000U |
| 9809 | // .. .. ==> MASK : 0x000FF800U VAL : 0x00000000U |
| 9810 | // .. .. |
| 9811 | EMIT_MASKWRITE(0XF8006188, 0x000FFFFFU ,0x000000EAU), |
| 9812 | // .. .. reg_phy_loopback = 0x0 |
| 9813 | // .. .. ==> 0XF8006190[0:0] = 0x00000000U |
| 9814 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 9815 | // .. .. reg_phy_bl2 = 0x0 |
| 9816 | // .. .. ==> 0XF8006190[1:1] = 0x00000000U |
| 9817 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 9818 | // .. .. reg_phy_at_spd_atpg = 0x0 |
| 9819 | // .. .. ==> 0XF8006190[2:2] = 0x00000000U |
| 9820 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 9821 | // .. .. reg_phy_bist_enable = 0x0 |
| 9822 | // .. .. ==> 0XF8006190[3:3] = 0x00000000U |
| 9823 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 9824 | // .. .. reg_phy_bist_force_err = 0x0 |
| 9825 | // .. .. ==> 0XF8006190[4:4] = 0x00000000U |
| 9826 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 9827 | // .. .. reg_phy_bist_mode = 0x0 |
| 9828 | // .. .. ==> 0XF8006190[6:5] = 0x00000000U |
| 9829 | // .. .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 9830 | // .. .. reg_phy_invert_clkout = 0x1 |
| 9831 | // .. .. ==> 0XF8006190[7:7] = 0x00000001U |
| 9832 | // .. .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 9833 | // .. .. reg_phy_all_dq_mpr_rd_resp = 0x0 |
| 9834 | // .. .. ==> 0XF8006190[8:8] = 0x00000000U |
| 9835 | // .. .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 9836 | // .. .. reg_phy_sel_logic = 0x0 |
| 9837 | // .. .. ==> 0XF8006190[9:9] = 0x00000000U |
| 9838 | // .. .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 9839 | // .. .. reg_phy_ctrl_slave_ratio = 0x100 |
| 9840 | // .. .. ==> 0XF8006190[19:10] = 0x00000100U |
| 9841 | // .. .. ==> MASK : 0x000FFC00U VAL : 0x00040000U |
| 9842 | // .. .. reg_phy_ctrl_slave_force = 0x0 |
| 9843 | // .. .. ==> 0XF8006190[20:20] = 0x00000000U |
| 9844 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 9845 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 9846 | // .. .. ==> 0XF8006190[27:21] = 0x00000000U |
| 9847 | // .. .. ==> MASK : 0x0FE00000U VAL : 0x00000000U |
| 9848 | // .. .. reg_phy_use_rank0_delays = 0x1 |
| 9849 | // .. .. ==> 0XF8006190[28:28] = 0x00000001U |
| 9850 | // .. .. ==> MASK : 0x10000000U VAL : 0x10000000U |
| 9851 | // .. .. reg_phy_lpddr = 0x0 |
| 9852 | // .. .. ==> 0XF8006190[29:29] = 0x00000000U |
| 9853 | // .. .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 9854 | // .. .. reg_phy_cmd_latency = 0x0 |
| 9855 | // .. .. ==> 0XF8006190[30:30] = 0x00000000U |
| 9856 | // .. .. ==> MASK : 0x40000000U VAL : 0x00000000U |
| 9857 | // .. .. reg_phy_int_lpbk = 0x0 |
| 9858 | // .. .. ==> 0XF8006190[31:31] = 0x00000000U |
| 9859 | // .. .. ==> MASK : 0x80000000U VAL : 0x00000000U |
| 9860 | // .. .. |
| 9861 | EMIT_MASKWRITE(0XF8006190, 0xFFFFFFFFU ,0x10040080U), |
| 9862 | // .. .. reg_phy_wr_rl_delay = 0x2 |
| 9863 | // .. .. ==> 0XF8006194[4:0] = 0x00000002U |
| 9864 | // .. .. ==> MASK : 0x0000001FU VAL : 0x00000002U |
| 9865 | // .. .. reg_phy_rd_rl_delay = 0x4 |
| 9866 | // .. .. ==> 0XF8006194[9:5] = 0x00000004U |
| 9867 | // .. .. ==> MASK : 0x000003E0U VAL : 0x00000080U |
| 9868 | // .. .. reg_phy_dll_lock_diff = 0xf |
| 9869 | // .. .. ==> 0XF8006194[13:10] = 0x0000000FU |
| 9870 | // .. .. ==> MASK : 0x00003C00U VAL : 0x00003C00U |
| 9871 | // .. .. reg_phy_use_wr_level = 0x1 |
| 9872 | // .. .. ==> 0XF8006194[14:14] = 0x00000001U |
| 9873 | // .. .. ==> MASK : 0x00004000U VAL : 0x00004000U |
| 9874 | // .. .. reg_phy_use_rd_dqs_gate_level = 0x1 |
| 9875 | // .. .. ==> 0XF8006194[15:15] = 0x00000001U |
| 9876 | // .. .. ==> MASK : 0x00008000U VAL : 0x00008000U |
| 9877 | // .. .. reg_phy_use_rd_data_eye_level = 0x1 |
| 9878 | // .. .. ==> 0XF8006194[16:16] = 0x00000001U |
| 9879 | // .. .. ==> MASK : 0x00010000U VAL : 0x00010000U |
| 9880 | // .. .. reg_phy_dis_calib_rst = 0x0 |
| 9881 | // .. .. ==> 0XF8006194[17:17] = 0x00000000U |
| 9882 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9883 | // .. .. reg_phy_ctrl_slave_delay = 0x0 |
| 9884 | // .. .. ==> 0XF8006194[19:18] = 0x00000000U |
| 9885 | // .. .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 9886 | // .. .. |
| 9887 | EMIT_MASKWRITE(0XF8006194, 0x000FFFFFU ,0x0001FC82U), |
| 9888 | // .. .. reg_arb_page_addr_mask = 0x0 |
| 9889 | // .. .. ==> 0XF8006204[31:0] = 0x00000000U |
| 9890 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 9891 | // .. .. |
| 9892 | EMIT_MASKWRITE(0XF8006204, 0xFFFFFFFFU ,0x00000000U), |
| 9893 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 9894 | // .. .. ==> 0XF8006208[9:0] = 0x000003FFU |
| 9895 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9896 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 9897 | // .. .. ==> 0XF8006208[16:16] = 0x00000000U |
| 9898 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9899 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 9900 | // .. .. ==> 0XF8006208[17:17] = 0x00000000U |
| 9901 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9902 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 9903 | // .. .. ==> 0XF8006208[18:18] = 0x00000000U |
| 9904 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9905 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 9906 | // .. .. ==> 0XF8006208[19:19] = 0x00000001U |
| 9907 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 9908 | // .. .. |
| 9909 | EMIT_MASKWRITE(0XF8006208, 0x000F03FFU ,0x000803FFU), |
| 9910 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 9911 | // .. .. ==> 0XF800620C[9:0] = 0x000003FFU |
| 9912 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9913 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 9914 | // .. .. ==> 0XF800620C[16:16] = 0x00000000U |
| 9915 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9916 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 9917 | // .. .. ==> 0XF800620C[17:17] = 0x00000000U |
| 9918 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9919 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 9920 | // .. .. ==> 0XF800620C[18:18] = 0x00000000U |
| 9921 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9922 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 9923 | // .. .. ==> 0XF800620C[19:19] = 0x00000001U |
| 9924 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 9925 | // .. .. |
| 9926 | EMIT_MASKWRITE(0XF800620C, 0x000F03FFU ,0x000803FFU), |
| 9927 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 9928 | // .. .. ==> 0XF8006210[9:0] = 0x000003FFU |
| 9929 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9930 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 9931 | // .. .. ==> 0XF8006210[16:16] = 0x00000000U |
| 9932 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9933 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 9934 | // .. .. ==> 0XF8006210[17:17] = 0x00000000U |
| 9935 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9936 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 9937 | // .. .. ==> 0XF8006210[18:18] = 0x00000000U |
| 9938 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9939 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 9940 | // .. .. ==> 0XF8006210[19:19] = 0x00000001U |
| 9941 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 9942 | // .. .. |
| 9943 | EMIT_MASKWRITE(0XF8006210, 0x000F03FFU ,0x000803FFU), |
| 9944 | // .. .. reg_arb_pri_wr_portn = 0x3ff |
| 9945 | // .. .. ==> 0XF8006214[9:0] = 0x000003FFU |
| 9946 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9947 | // .. .. reg_arb_disable_aging_wr_portn = 0x0 |
| 9948 | // .. .. ==> 0XF8006214[16:16] = 0x00000000U |
| 9949 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9950 | // .. .. reg_arb_disable_urgent_wr_portn = 0x0 |
| 9951 | // .. .. ==> 0XF8006214[17:17] = 0x00000000U |
| 9952 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9953 | // .. .. reg_arb_dis_page_match_wr_portn = 0x0 |
| 9954 | // .. .. ==> 0XF8006214[18:18] = 0x00000000U |
| 9955 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9956 | // .. .. reg_arb_dis_rmw_portn = 0x1 |
| 9957 | // .. .. ==> 0XF8006214[19:19] = 0x00000001U |
| 9958 | // .. .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 9959 | // .. .. |
| 9960 | EMIT_MASKWRITE(0XF8006214, 0x000F03FFU ,0x000803FFU), |
| 9961 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 9962 | // .. .. ==> 0XF8006218[9:0] = 0x000003FFU |
| 9963 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9964 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 9965 | // .. .. ==> 0XF8006218[16:16] = 0x00000000U |
| 9966 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9967 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 9968 | // .. .. ==> 0XF8006218[17:17] = 0x00000000U |
| 9969 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9970 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 9971 | // .. .. ==> 0XF8006218[18:18] = 0x00000000U |
| 9972 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9973 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 9974 | // .. .. ==> 0XF8006218[19:19] = 0x00000000U |
| 9975 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 9976 | // .. .. |
| 9977 | EMIT_MASKWRITE(0XF8006218, 0x000F03FFU ,0x000003FFU), |
| 9978 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 9979 | // .. .. ==> 0XF800621C[9:0] = 0x000003FFU |
| 9980 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9981 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 9982 | // .. .. ==> 0XF800621C[16:16] = 0x00000000U |
| 9983 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 9984 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 9985 | // .. .. ==> 0XF800621C[17:17] = 0x00000000U |
| 9986 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 9987 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 9988 | // .. .. ==> 0XF800621C[18:18] = 0x00000000U |
| 9989 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 9990 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 9991 | // .. .. ==> 0XF800621C[19:19] = 0x00000000U |
| 9992 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 9993 | // .. .. |
| 9994 | EMIT_MASKWRITE(0XF800621C, 0x000F03FFU ,0x000003FFU), |
| 9995 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 9996 | // .. .. ==> 0XF8006220[9:0] = 0x000003FFU |
| 9997 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 9998 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 9999 | // .. .. ==> 0XF8006220[16:16] = 0x00000000U |
| 10000 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 10001 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 10002 | // .. .. ==> 0XF8006220[17:17] = 0x00000000U |
| 10003 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 10004 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 10005 | // .. .. ==> 0XF8006220[18:18] = 0x00000000U |
| 10006 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 10007 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 10008 | // .. .. ==> 0XF8006220[19:19] = 0x00000000U |
| 10009 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 10010 | // .. .. |
| 10011 | EMIT_MASKWRITE(0XF8006220, 0x000F03FFU ,0x000003FFU), |
| 10012 | // .. .. reg_arb_pri_rd_portn = 0x3ff |
| 10013 | // .. .. ==> 0XF8006224[9:0] = 0x000003FFU |
| 10014 | // .. .. ==> MASK : 0x000003FFU VAL : 0x000003FFU |
| 10015 | // .. .. reg_arb_disable_aging_rd_portn = 0x0 |
| 10016 | // .. .. ==> 0XF8006224[16:16] = 0x00000000U |
| 10017 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 10018 | // .. .. reg_arb_disable_urgent_rd_portn = 0x0 |
| 10019 | // .. .. ==> 0XF8006224[17:17] = 0x00000000U |
| 10020 | // .. .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 10021 | // .. .. reg_arb_dis_page_match_rd_portn = 0x0 |
| 10022 | // .. .. ==> 0XF8006224[18:18] = 0x00000000U |
| 10023 | // .. .. ==> MASK : 0x00040000U VAL : 0x00000000U |
| 10024 | // .. .. reg_arb_set_hpr_rd_portn = 0x0 |
| 10025 | // .. .. ==> 0XF8006224[19:19] = 0x00000000U |
| 10026 | // .. .. ==> MASK : 0x00080000U VAL : 0x00000000U |
| 10027 | // .. .. |
| 10028 | EMIT_MASKWRITE(0XF8006224, 0x000F03FFU ,0x000003FFU), |
| 10029 | // .. .. reg_ddrc_lpddr2 = 0x0 |
| 10030 | // .. .. ==> 0XF80062A8[0:0] = 0x00000000U |
| 10031 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10032 | // .. .. reg_ddrc_per_bank_refresh = 0x0 |
| 10033 | // .. .. ==> 0XF80062A8[1:1] = 0x00000000U |
| 10034 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 10035 | // .. .. reg_ddrc_derate_enable = 0x0 |
| 10036 | // .. .. ==> 0XF80062A8[2:2] = 0x00000000U |
| 10037 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10038 | // .. .. reg_ddrc_mr4_margin = 0x0 |
| 10039 | // .. .. ==> 0XF80062A8[11:4] = 0x00000000U |
| 10040 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000000U |
| 10041 | // .. .. |
| 10042 | EMIT_MASKWRITE(0XF80062A8, 0x00000FF7U ,0x00000000U), |
| 10043 | // .. .. reg_ddrc_mr4_read_interval = 0x0 |
| 10044 | // .. .. ==> 0XF80062AC[31:0] = 0x00000000U |
| 10045 | // .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000000U |
| 10046 | // .. .. |
| 10047 | EMIT_MASKWRITE(0XF80062AC, 0xFFFFFFFFU ,0x00000000U), |
| 10048 | // .. .. reg_ddrc_min_stable_clock_x1 = 0x5 |
| 10049 | // .. .. ==> 0XF80062B0[3:0] = 0x00000005U |
| 10050 | // .. .. ==> MASK : 0x0000000FU VAL : 0x00000005U |
| 10051 | // .. .. reg_ddrc_idle_after_reset_x32 = 0x12 |
| 10052 | // .. .. ==> 0XF80062B0[11:4] = 0x00000012U |
| 10053 | // .. .. ==> MASK : 0x00000FF0U VAL : 0x00000120U |
| 10054 | // .. .. reg_ddrc_t_mrw = 0x5 |
| 10055 | // .. .. ==> 0XF80062B0[21:12] = 0x00000005U |
| 10056 | // .. .. ==> MASK : 0x003FF000U VAL : 0x00005000U |
| 10057 | // .. .. |
| 10058 | EMIT_MASKWRITE(0XF80062B0, 0x003FFFFFU ,0x00005125U), |
| 10059 | // .. .. reg_ddrc_max_auto_init_x1024 = 0xa8 |
| 10060 | // .. .. ==> 0XF80062B4[7:0] = 0x000000A8U |
| 10061 | // .. .. ==> MASK : 0x000000FFU VAL : 0x000000A8U |
| 10062 | // .. .. reg_ddrc_dev_zqinit_x32 = 0x12 |
| 10063 | // .. .. ==> 0XF80062B4[17:8] = 0x00000012U |
| 10064 | // .. .. ==> MASK : 0x0003FF00U VAL : 0x00001200U |
| 10065 | // .. .. |
| 10066 | EMIT_MASKWRITE(0XF80062B4, 0x0003FFFFU ,0x000012A8U), |
| 10067 | // .. .. START: POLL ON DCI STATUS |
| 10068 | // .. .. DONE = 1 |
| 10069 | // .. .. ==> 0XF8000B74[13:13] = 0x00000001U |
| 10070 | // .. .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 10071 | // .. .. |
| 10072 | EMIT_MASKPOLL(0XF8000B74, 0x00002000U), |
| 10073 | // .. .. FINISH: POLL ON DCI STATUS |
| 10074 | // .. .. START: UNLOCK DDR |
| 10075 | // .. .. reg_ddrc_soft_rstb = 0x1 |
| 10076 | // .. .. ==> 0XF8006000[0:0] = 0x00000001U |
| 10077 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10078 | // .. .. reg_ddrc_powerdown_en = 0x0 |
| 10079 | // .. .. ==> 0XF8006000[1:1] = 0x00000000U |
| 10080 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 10081 | // .. .. reg_ddrc_data_bus_width = 0x0 |
| 10082 | // .. .. ==> 0XF8006000[3:2] = 0x00000000U |
| 10083 | // .. .. ==> MASK : 0x0000000CU VAL : 0x00000000U |
| 10084 | // .. .. reg_ddrc_burst8_refresh = 0x0 |
| 10085 | // .. .. ==> 0XF8006000[6:4] = 0x00000000U |
| 10086 | // .. .. ==> MASK : 0x00000070U VAL : 0x00000000U |
| 10087 | // .. .. reg_ddrc_rdwr_idle_gap = 1 |
| 10088 | // .. .. ==> 0XF8006000[13:7] = 0x00000001U |
| 10089 | // .. .. ==> MASK : 0x00003F80U VAL : 0x00000080U |
| 10090 | // .. .. reg_ddrc_dis_rd_bypass = 0x0 |
| 10091 | // .. .. ==> 0XF8006000[14:14] = 0x00000000U |
| 10092 | // .. .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 10093 | // .. .. reg_ddrc_dis_act_bypass = 0x0 |
| 10094 | // .. .. ==> 0XF8006000[15:15] = 0x00000000U |
| 10095 | // .. .. ==> MASK : 0x00008000U VAL : 0x00000000U |
| 10096 | // .. .. reg_ddrc_dis_auto_refresh = 0x0 |
| 10097 | // .. .. ==> 0XF8006000[16:16] = 0x00000000U |
| 10098 | // .. .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 10099 | // .. .. |
| 10100 | EMIT_MASKWRITE(0XF8006000, 0x0001FFFFU ,0x00000081U), |
| 10101 | // .. .. FINISH: UNLOCK DDR |
| 10102 | // .. .. START: CHECK DDR STATUS |
| 10103 | // .. .. ddrc_reg_operating_mode = 1 |
| 10104 | // .. .. ==> 0XF8006054[2:0] = 0x00000001U |
| 10105 | // .. .. ==> MASK : 0x00000007U VAL : 0x00000001U |
| 10106 | // .. .. |
| 10107 | EMIT_MASKPOLL(0XF8006054, 0x00000007U), |
| 10108 | // .. .. FINISH: CHECK DDR STATUS |
| 10109 | // .. FINISH: DDR INITIALIZATION |
| 10110 | // FINISH: top |
| 10111 | // |
| 10112 | EMIT_EXIT(), |
| 10113 | |
| 10114 | // |
| 10115 | }; |
| 10116 | |
| 10117 | unsigned long ps7_mio_init_data_1_0[] = { |
| 10118 | // START: top |
| 10119 | // .. START: SLCR SETTINGS |
| 10120 | // .. UNLOCK_KEY = 0XDF0D |
| 10121 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 10122 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 10123 | // .. |
| 10124 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 10125 | // .. FINISH: SLCR SETTINGS |
| 10126 | // .. START: OCM REMAPPING |
| 10127 | // .. VREF_EN = 0x1 |
| 10128 | // .. ==> 0XF8000B00[0:0] = 0x00000001U |
| 10129 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10130 | // .. VREF_PULLUP_EN = 0x0 |
| 10131 | // .. ==> 0XF8000B00[1:1] = 0x00000000U |
| 10132 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 10133 | // .. CLK_PULLUP_EN = 0x0 |
| 10134 | // .. ==> 0XF8000B00[8:8] = 0x00000000U |
| 10135 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10136 | // .. SRSTN_PULLUP_EN = 0x0 |
| 10137 | // .. ==> 0XF8000B00[9:9] = 0x00000000U |
| 10138 | // .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 10139 | // .. |
| 10140 | EMIT_MASKWRITE(0XF8000B00, 0x00000303U ,0x00000001U), |
| 10141 | // .. FINISH: OCM REMAPPING |
| 10142 | // .. START: DDRIOB SETTINGS |
| 10143 | // .. INP_POWER = 0x0 |
| 10144 | // .. ==> 0XF8000B40[0:0] = 0x00000000U |
| 10145 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10146 | // .. INP_TYPE = 0x0 |
| 10147 | // .. ==> 0XF8000B40[2:1] = 0x00000000U |
| 10148 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 10149 | // .. DCI_UPDATE = 0x0 |
| 10150 | // .. ==> 0XF8000B40[3:3] = 0x00000000U |
| 10151 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10152 | // .. TERM_EN = 0x0 |
| 10153 | // .. ==> 0XF8000B40[4:4] = 0x00000000U |
| 10154 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 10155 | // .. DCR_TYPE = 0x0 |
| 10156 | // .. ==> 0XF8000B40[6:5] = 0x00000000U |
| 10157 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 10158 | // .. IBUF_DISABLE_MODE = 0x0 |
| 10159 | // .. ==> 0XF8000B40[7:7] = 0x00000000U |
| 10160 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10161 | // .. TERM_DISABLE_MODE = 0x0 |
| 10162 | // .. ==> 0XF8000B40[8:8] = 0x00000000U |
| 10163 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10164 | // .. OUTPUT_EN = 0x3 |
| 10165 | // .. ==> 0XF8000B40[10:9] = 0x00000003U |
| 10166 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10167 | // .. PULLUP_EN = 0x0 |
| 10168 | // .. ==> 0XF8000B40[11:11] = 0x00000000U |
| 10169 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10170 | // .. |
| 10171 | EMIT_MASKWRITE(0XF8000B40, 0x00000FFFU ,0x00000600U), |
| 10172 | // .. INP_POWER = 0x0 |
| 10173 | // .. ==> 0XF8000B44[0:0] = 0x00000000U |
| 10174 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10175 | // .. INP_TYPE = 0x0 |
| 10176 | // .. ==> 0XF8000B44[2:1] = 0x00000000U |
| 10177 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 10178 | // .. DCI_UPDATE = 0x0 |
| 10179 | // .. ==> 0XF8000B44[3:3] = 0x00000000U |
| 10180 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10181 | // .. TERM_EN = 0x0 |
| 10182 | // .. ==> 0XF8000B44[4:4] = 0x00000000U |
| 10183 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 10184 | // .. DCR_TYPE = 0x0 |
| 10185 | // .. ==> 0XF8000B44[6:5] = 0x00000000U |
| 10186 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 10187 | // .. IBUF_DISABLE_MODE = 0x0 |
| 10188 | // .. ==> 0XF8000B44[7:7] = 0x00000000U |
| 10189 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10190 | // .. TERM_DISABLE_MODE = 0x0 |
| 10191 | // .. ==> 0XF8000B44[8:8] = 0x00000000U |
| 10192 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10193 | // .. OUTPUT_EN = 0x3 |
| 10194 | // .. ==> 0XF8000B44[10:9] = 0x00000003U |
| 10195 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10196 | // .. PULLUP_EN = 0x0 |
| 10197 | // .. ==> 0XF8000B44[11:11] = 0x00000000U |
| 10198 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10199 | // .. |
| 10200 | EMIT_MASKWRITE(0XF8000B44, 0x00000FFFU ,0x00000600U), |
| 10201 | // .. INP_POWER = 0x0 |
| 10202 | // .. ==> 0XF8000B48[0:0] = 0x00000000U |
| 10203 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10204 | // .. INP_TYPE = 0x1 |
| 10205 | // .. ==> 0XF8000B48[2:1] = 0x00000001U |
| 10206 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 10207 | // .. DCI_UPDATE = 0x0 |
| 10208 | // .. ==> 0XF8000B48[3:3] = 0x00000000U |
| 10209 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10210 | // .. TERM_EN = 0x1 |
| 10211 | // .. ==> 0XF8000B48[4:4] = 0x00000001U |
| 10212 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 10213 | // .. DCR_TYPE = 0x3 |
| 10214 | // .. ==> 0XF8000B48[6:5] = 0x00000003U |
| 10215 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 10216 | // .. IBUF_DISABLE_MODE = 0 |
| 10217 | // .. ==> 0XF8000B48[7:7] = 0x00000000U |
| 10218 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10219 | // .. TERM_DISABLE_MODE = 0 |
| 10220 | // .. ==> 0XF8000B48[8:8] = 0x00000000U |
| 10221 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10222 | // .. OUTPUT_EN = 0x3 |
| 10223 | // .. ==> 0XF8000B48[10:9] = 0x00000003U |
| 10224 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10225 | // .. PULLUP_EN = 0x0 |
| 10226 | // .. ==> 0XF8000B48[11:11] = 0x00000000U |
| 10227 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10228 | // .. |
| 10229 | EMIT_MASKWRITE(0XF8000B48, 0x00000FFFU ,0x00000672U), |
| 10230 | // .. INP_POWER = 0x0 |
| 10231 | // .. ==> 0XF8000B4C[0:0] = 0x00000000U |
| 10232 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10233 | // .. INP_TYPE = 0x1 |
| 10234 | // .. ==> 0XF8000B4C[2:1] = 0x00000001U |
| 10235 | // .. ==> MASK : 0x00000006U VAL : 0x00000002U |
| 10236 | // .. DCI_UPDATE = 0x0 |
| 10237 | // .. ==> 0XF8000B4C[3:3] = 0x00000000U |
| 10238 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10239 | // .. TERM_EN = 0x1 |
| 10240 | // .. ==> 0XF8000B4C[4:4] = 0x00000001U |
| 10241 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 10242 | // .. DCR_TYPE = 0x3 |
| 10243 | // .. ==> 0XF8000B4C[6:5] = 0x00000003U |
| 10244 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 10245 | // .. IBUF_DISABLE_MODE = 0 |
| 10246 | // .. ==> 0XF8000B4C[7:7] = 0x00000000U |
| 10247 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10248 | // .. TERM_DISABLE_MODE = 0 |
| 10249 | // .. ==> 0XF8000B4C[8:8] = 0x00000000U |
| 10250 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10251 | // .. OUTPUT_EN = 0x3 |
| 10252 | // .. ==> 0XF8000B4C[10:9] = 0x00000003U |
| 10253 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10254 | // .. PULLUP_EN = 0x0 |
| 10255 | // .. ==> 0XF8000B4C[11:11] = 0x00000000U |
| 10256 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10257 | // .. |
| 10258 | EMIT_MASKWRITE(0XF8000B4C, 0x00000FFFU ,0x00000672U), |
| 10259 | // .. INP_POWER = 0x0 |
| 10260 | // .. ==> 0XF8000B50[0:0] = 0x00000000U |
| 10261 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10262 | // .. INP_TYPE = 0x2 |
| 10263 | // .. ==> 0XF8000B50[2:1] = 0x00000002U |
| 10264 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 10265 | // .. DCI_UPDATE = 0x0 |
| 10266 | // .. ==> 0XF8000B50[3:3] = 0x00000000U |
| 10267 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10268 | // .. TERM_EN = 0x1 |
| 10269 | // .. ==> 0XF8000B50[4:4] = 0x00000001U |
| 10270 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 10271 | // .. DCR_TYPE = 0x3 |
| 10272 | // .. ==> 0XF8000B50[6:5] = 0x00000003U |
| 10273 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 10274 | // .. IBUF_DISABLE_MODE = 0 |
| 10275 | // .. ==> 0XF8000B50[7:7] = 0x00000000U |
| 10276 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10277 | // .. TERM_DISABLE_MODE = 0 |
| 10278 | // .. ==> 0XF8000B50[8:8] = 0x00000000U |
| 10279 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10280 | // .. OUTPUT_EN = 0x3 |
| 10281 | // .. ==> 0XF8000B50[10:9] = 0x00000003U |
| 10282 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10283 | // .. PULLUP_EN = 0x0 |
| 10284 | // .. ==> 0XF8000B50[11:11] = 0x00000000U |
| 10285 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10286 | // .. |
| 10287 | EMIT_MASKWRITE(0XF8000B50, 0x00000FFFU ,0x00000674U), |
| 10288 | // .. INP_POWER = 0x0 |
| 10289 | // .. ==> 0XF8000B54[0:0] = 0x00000000U |
| 10290 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10291 | // .. INP_TYPE = 0x2 |
| 10292 | // .. ==> 0XF8000B54[2:1] = 0x00000002U |
| 10293 | // .. ==> MASK : 0x00000006U VAL : 0x00000004U |
| 10294 | // .. DCI_UPDATE = 0x0 |
| 10295 | // .. ==> 0XF8000B54[3:3] = 0x00000000U |
| 10296 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10297 | // .. TERM_EN = 0x1 |
| 10298 | // .. ==> 0XF8000B54[4:4] = 0x00000001U |
| 10299 | // .. ==> MASK : 0x00000010U VAL : 0x00000010U |
| 10300 | // .. DCR_TYPE = 0x3 |
| 10301 | // .. ==> 0XF8000B54[6:5] = 0x00000003U |
| 10302 | // .. ==> MASK : 0x00000060U VAL : 0x00000060U |
| 10303 | // .. IBUF_DISABLE_MODE = 0 |
| 10304 | // .. ==> 0XF8000B54[7:7] = 0x00000000U |
| 10305 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10306 | // .. TERM_DISABLE_MODE = 0 |
| 10307 | // .. ==> 0XF8000B54[8:8] = 0x00000000U |
| 10308 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10309 | // .. OUTPUT_EN = 0x3 |
| 10310 | // .. ==> 0XF8000B54[10:9] = 0x00000003U |
| 10311 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10312 | // .. PULLUP_EN = 0x0 |
| 10313 | // .. ==> 0XF8000B54[11:11] = 0x00000000U |
| 10314 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10315 | // .. |
| 10316 | EMIT_MASKWRITE(0XF8000B54, 0x00000FFFU ,0x00000674U), |
| 10317 | // .. INP_POWER = 0x0 |
| 10318 | // .. ==> 0XF8000B58[0:0] = 0x00000000U |
| 10319 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10320 | // .. INP_TYPE = 0x0 |
| 10321 | // .. ==> 0XF8000B58[2:1] = 0x00000000U |
| 10322 | // .. ==> MASK : 0x00000006U VAL : 0x00000000U |
| 10323 | // .. DCI_UPDATE = 0x0 |
| 10324 | // .. ==> 0XF8000B58[3:3] = 0x00000000U |
| 10325 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10326 | // .. TERM_EN = 0x0 |
| 10327 | // .. ==> 0XF8000B58[4:4] = 0x00000000U |
| 10328 | // .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 10329 | // .. DCR_TYPE = 0x0 |
| 10330 | // .. ==> 0XF8000B58[6:5] = 0x00000000U |
| 10331 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 10332 | // .. IBUF_DISABLE_MODE = 0x0 |
| 10333 | // .. ==> 0XF8000B58[7:7] = 0x00000000U |
| 10334 | // .. ==> MASK : 0x00000080U VAL : 0x00000000U |
| 10335 | // .. TERM_DISABLE_MODE = 0x0 |
| 10336 | // .. ==> 0XF8000B58[8:8] = 0x00000000U |
| 10337 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10338 | // .. OUTPUT_EN = 0x3 |
| 10339 | // .. ==> 0XF8000B58[10:9] = 0x00000003U |
| 10340 | // .. ==> MASK : 0x00000600U VAL : 0x00000600U |
| 10341 | // .. PULLUP_EN = 0x0 |
| 10342 | // .. ==> 0XF8000B58[11:11] = 0x00000000U |
| 10343 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 10344 | // .. |
| 10345 | EMIT_MASKWRITE(0XF8000B58, 0x00000FFFU ,0x00000600U), |
| 10346 | // .. DRIVE_P = 0x1c |
| 10347 | // .. ==> 0XF8000B5C[6:0] = 0x0000001CU |
| 10348 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 10349 | // .. DRIVE_N = 0xc |
| 10350 | // .. ==> 0XF8000B5C[13:7] = 0x0000000CU |
| 10351 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 10352 | // .. SLEW_P = 0x3 |
| 10353 | // .. ==> 0XF8000B5C[18:14] = 0x00000003U |
| 10354 | // .. ==> MASK : 0x0007C000U VAL : 0x0000C000U |
| 10355 | // .. SLEW_N = 0x3 |
| 10356 | // .. ==> 0XF8000B5C[23:19] = 0x00000003U |
| 10357 | // .. ==> MASK : 0x00F80000U VAL : 0x00180000U |
| 10358 | // .. GTL = 0x0 |
| 10359 | // .. ==> 0XF8000B5C[26:24] = 0x00000000U |
| 10360 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 10361 | // .. RTERM = 0x0 |
| 10362 | // .. ==> 0XF8000B5C[31:27] = 0x00000000U |
| 10363 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 10364 | // .. |
| 10365 | EMIT_MASKWRITE(0XF8000B5C, 0xFFFFFFFFU ,0x0018C61CU), |
| 10366 | // .. DRIVE_P = 0x1c |
| 10367 | // .. ==> 0XF8000B60[6:0] = 0x0000001CU |
| 10368 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 10369 | // .. DRIVE_N = 0xc |
| 10370 | // .. ==> 0XF8000B60[13:7] = 0x0000000CU |
| 10371 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 10372 | // .. SLEW_P = 0x6 |
| 10373 | // .. ==> 0XF8000B60[18:14] = 0x00000006U |
| 10374 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 10375 | // .. SLEW_N = 0x1f |
| 10376 | // .. ==> 0XF8000B60[23:19] = 0x0000001FU |
| 10377 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 10378 | // .. GTL = 0x0 |
| 10379 | // .. ==> 0XF8000B60[26:24] = 0x00000000U |
| 10380 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 10381 | // .. RTERM = 0x0 |
| 10382 | // .. ==> 0XF8000B60[31:27] = 0x00000000U |
| 10383 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 10384 | // .. |
| 10385 | EMIT_MASKWRITE(0XF8000B60, 0xFFFFFFFFU ,0x00F9861CU), |
| 10386 | // .. DRIVE_P = 0x1c |
| 10387 | // .. ==> 0XF8000B64[6:0] = 0x0000001CU |
| 10388 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 10389 | // .. DRIVE_N = 0xc |
| 10390 | // .. ==> 0XF8000B64[13:7] = 0x0000000CU |
| 10391 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 10392 | // .. SLEW_P = 0x6 |
| 10393 | // .. ==> 0XF8000B64[18:14] = 0x00000006U |
| 10394 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 10395 | // .. SLEW_N = 0x1f |
| 10396 | // .. ==> 0XF8000B64[23:19] = 0x0000001FU |
| 10397 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 10398 | // .. GTL = 0x0 |
| 10399 | // .. ==> 0XF8000B64[26:24] = 0x00000000U |
| 10400 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 10401 | // .. RTERM = 0x0 |
| 10402 | // .. ==> 0XF8000B64[31:27] = 0x00000000U |
| 10403 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 10404 | // .. |
| 10405 | EMIT_MASKWRITE(0XF8000B64, 0xFFFFFFFFU ,0x00F9861CU), |
| 10406 | // .. DRIVE_P = 0x1c |
| 10407 | // .. ==> 0XF8000B68[6:0] = 0x0000001CU |
| 10408 | // .. ==> MASK : 0x0000007FU VAL : 0x0000001CU |
| 10409 | // .. DRIVE_N = 0xc |
| 10410 | // .. ==> 0XF8000B68[13:7] = 0x0000000CU |
| 10411 | // .. ==> MASK : 0x00003F80U VAL : 0x00000600U |
| 10412 | // .. SLEW_P = 0x6 |
| 10413 | // .. ==> 0XF8000B68[18:14] = 0x00000006U |
| 10414 | // .. ==> MASK : 0x0007C000U VAL : 0x00018000U |
| 10415 | // .. SLEW_N = 0x1f |
| 10416 | // .. ==> 0XF8000B68[23:19] = 0x0000001FU |
| 10417 | // .. ==> MASK : 0x00F80000U VAL : 0x00F80000U |
| 10418 | // .. GTL = 0x0 |
| 10419 | // .. ==> 0XF8000B68[26:24] = 0x00000000U |
| 10420 | // .. ==> MASK : 0x07000000U VAL : 0x00000000U |
| 10421 | // .. RTERM = 0x0 |
| 10422 | // .. ==> 0XF8000B68[31:27] = 0x00000000U |
| 10423 | // .. ==> MASK : 0xF8000000U VAL : 0x00000000U |
| 10424 | // .. |
| 10425 | EMIT_MASKWRITE(0XF8000B68, 0xFFFFFFFFU ,0x00F9861CU), |
| 10426 | // .. VREF_INT_EN = 0x1 |
| 10427 | // .. ==> 0XF8000B6C[0:0] = 0x00000001U |
| 10428 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10429 | // .. VREF_SEL = 0x4 |
| 10430 | // .. ==> 0XF8000B6C[4:1] = 0x00000004U |
| 10431 | // .. ==> MASK : 0x0000001EU VAL : 0x00000008U |
| 10432 | // .. VREF_EXT_EN = 0x0 |
| 10433 | // .. ==> 0XF8000B6C[6:5] = 0x00000000U |
| 10434 | // .. ==> MASK : 0x00000060U VAL : 0x00000000U |
| 10435 | // .. VREF_PULLUP_EN = 0x0 |
| 10436 | // .. ==> 0XF8000B6C[8:7] = 0x00000000U |
| 10437 | // .. ==> MASK : 0x00000180U VAL : 0x00000000U |
| 10438 | // .. REFIO_EN = 0x1 |
| 10439 | // .. ==> 0XF8000B6C[9:9] = 0x00000001U |
| 10440 | // .. ==> MASK : 0x00000200U VAL : 0x00000200U |
| 10441 | // .. REFIO_PULLUP_EN = 0x0 |
| 10442 | // .. ==> 0XF8000B6C[12:12] = 0x00000000U |
| 10443 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10444 | // .. DRST_B_PULLUP_EN = 0x0 |
| 10445 | // .. ==> 0XF8000B6C[13:13] = 0x00000000U |
| 10446 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10447 | // .. CKE_PULLUP_EN = 0x0 |
| 10448 | // .. ==> 0XF8000B6C[14:14] = 0x00000000U |
| 10449 | // .. ==> MASK : 0x00004000U VAL : 0x00000000U |
| 10450 | // .. |
| 10451 | EMIT_MASKWRITE(0XF8000B6C, 0x000073FFU ,0x00000209U), |
| 10452 | // .. .. START: ASSERT RESET |
| 10453 | // .. .. RESET = 1 |
| 10454 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 10455 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10456 | // .. .. VRN_OUT = 0x1 |
| 10457 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 10458 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 10459 | // .. .. |
| 10460 | EMIT_MASKWRITE(0XF8000B70, 0x00000021U ,0x00000021U), |
| 10461 | // .. .. FINISH: ASSERT RESET |
| 10462 | // .. .. START: DEASSERT RESET |
| 10463 | // .. .. RESET = 0 |
| 10464 | // .. .. ==> 0XF8000B70[0:0] = 0x00000000U |
| 10465 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10466 | // .. .. VRN_OUT = 0x1 |
| 10467 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 10468 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 10469 | // .. .. |
| 10470 | EMIT_MASKWRITE(0XF8000B70, 0x00000021U ,0x00000020U), |
| 10471 | // .. .. FINISH: DEASSERT RESET |
| 10472 | // .. .. RESET = 0x1 |
| 10473 | // .. .. ==> 0XF8000B70[0:0] = 0x00000001U |
| 10474 | // .. .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10475 | // .. .. ENABLE = 0x1 |
| 10476 | // .. .. ==> 0XF8000B70[1:1] = 0x00000001U |
| 10477 | // .. .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10478 | // .. .. VRP_TRI = 0x0 |
| 10479 | // .. .. ==> 0XF8000B70[2:2] = 0x00000000U |
| 10480 | // .. .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10481 | // .. .. VRN_TRI = 0x0 |
| 10482 | // .. .. ==> 0XF8000B70[3:3] = 0x00000000U |
| 10483 | // .. .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 10484 | // .. .. VRP_OUT = 0x0 |
| 10485 | // .. .. ==> 0XF8000B70[4:4] = 0x00000000U |
| 10486 | // .. .. ==> MASK : 0x00000010U VAL : 0x00000000U |
| 10487 | // .. .. VRN_OUT = 0x1 |
| 10488 | // .. .. ==> 0XF8000B70[5:5] = 0x00000001U |
| 10489 | // .. .. ==> MASK : 0x00000020U VAL : 0x00000020U |
| 10490 | // .. .. NREF_OPT1 = 0x0 |
| 10491 | // .. .. ==> 0XF8000B70[7:6] = 0x00000000U |
| 10492 | // .. .. ==> MASK : 0x000000C0U VAL : 0x00000000U |
| 10493 | // .. .. NREF_OPT2 = 0x0 |
| 10494 | // .. .. ==> 0XF8000B70[10:8] = 0x00000000U |
| 10495 | // .. .. ==> MASK : 0x00000700U VAL : 0x00000000U |
| 10496 | // .. .. NREF_OPT4 = 0x1 |
| 10497 | // .. .. ==> 0XF8000B70[13:11] = 0x00000001U |
| 10498 | // .. .. ==> MASK : 0x00003800U VAL : 0x00000800U |
| 10499 | // .. .. PREF_OPT1 = 0x0 |
| 10500 | // .. .. ==> 0XF8000B70[16:14] = 0x00000000U |
| 10501 | // .. .. ==> MASK : 0x0001C000U VAL : 0x00000000U |
| 10502 | // .. .. PREF_OPT2 = 0x0 |
| 10503 | // .. .. ==> 0XF8000B70[19:17] = 0x00000000U |
| 10504 | // .. .. ==> MASK : 0x000E0000U VAL : 0x00000000U |
| 10505 | // .. .. UPDATE_CONTROL = 0x0 |
| 10506 | // .. .. ==> 0XF8000B70[20:20] = 0x00000000U |
| 10507 | // .. .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 10508 | // .. .. INIT_COMPLETE = 0x0 |
| 10509 | // .. .. ==> 0XF8000B70[21:21] = 0x00000000U |
| 10510 | // .. .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 10511 | // .. .. TST_CLK = 0x0 |
| 10512 | // .. .. ==> 0XF8000B70[22:22] = 0x00000000U |
| 10513 | // .. .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 10514 | // .. .. TST_HLN = 0x0 |
| 10515 | // .. .. ==> 0XF8000B70[23:23] = 0x00000000U |
| 10516 | // .. .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 10517 | // .. .. TST_HLP = 0x0 |
| 10518 | // .. .. ==> 0XF8000B70[24:24] = 0x00000000U |
| 10519 | // .. .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 10520 | // .. .. TST_RST = 0x0 |
| 10521 | // .. .. ==> 0XF8000B70[25:25] = 0x00000000U |
| 10522 | // .. .. ==> MASK : 0x02000000U VAL : 0x00000000U |
| 10523 | // .. .. INT_DCI_EN = 0x0 |
| 10524 | // .. .. ==> 0XF8000B70[26:26] = 0x00000000U |
| 10525 | // .. .. ==> MASK : 0x04000000U VAL : 0x00000000U |
| 10526 | // .. .. |
| 10527 | EMIT_MASKWRITE(0XF8000B70, 0x07FFFFFFU ,0x00000823U), |
| 10528 | // .. FINISH: DDRIOB SETTINGS |
| 10529 | // .. START: MIO PROGRAMMING |
| 10530 | // .. TRI_ENABLE = 0 |
| 10531 | // .. ==> 0XF8000700[0:0] = 0x00000000U |
| 10532 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10533 | // .. L0_SEL = 1 |
| 10534 | // .. ==> 0XF8000700[1:1] = 0x00000001U |
| 10535 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10536 | // .. L1_SEL = 0 |
| 10537 | // .. ==> 0XF8000700[2:2] = 0x00000000U |
| 10538 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10539 | // .. L2_SEL = 0 |
| 10540 | // .. ==> 0XF8000700[4:3] = 0x00000000U |
| 10541 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10542 | // .. L3_SEL = 0 |
| 10543 | // .. ==> 0XF8000700[7:5] = 0x00000000U |
| 10544 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10545 | // .. Speed = 0 |
| 10546 | // .. ==> 0XF8000700[8:8] = 0x00000000U |
| 10547 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10548 | // .. IO_Type = 1 |
| 10549 | // .. ==> 0XF8000700[11:9] = 0x00000001U |
| 10550 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10551 | // .. PULLUP = 1 |
| 10552 | // .. ==> 0XF8000700[12:12] = 0x00000001U |
| 10553 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10554 | // .. DisableRcvr = 0 |
| 10555 | // .. ==> 0XF8000700[13:13] = 0x00000000U |
| 10556 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10557 | // .. |
| 10558 | EMIT_MASKWRITE(0XF8000700, 0x00003FFFU ,0x00001202U), |
| 10559 | // .. TRI_ENABLE = 0 |
| 10560 | // .. ==> 0XF8000704[0:0] = 0x00000000U |
| 10561 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10562 | // .. L0_SEL = 1 |
| 10563 | // .. ==> 0XF8000704[1:1] = 0x00000001U |
| 10564 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10565 | // .. L1_SEL = 0 |
| 10566 | // .. ==> 0XF8000704[2:2] = 0x00000000U |
| 10567 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10568 | // .. L2_SEL = 0 |
| 10569 | // .. ==> 0XF8000704[4:3] = 0x00000000U |
| 10570 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10571 | // .. L3_SEL = 0 |
| 10572 | // .. ==> 0XF8000704[7:5] = 0x00000000U |
| 10573 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10574 | // .. Speed = 0 |
| 10575 | // .. ==> 0XF8000704[8:8] = 0x00000000U |
| 10576 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10577 | // .. IO_Type = 1 |
| 10578 | // .. ==> 0XF8000704[11:9] = 0x00000001U |
| 10579 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10580 | // .. PULLUP = 1 |
| 10581 | // .. ==> 0XF8000704[12:12] = 0x00000001U |
| 10582 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10583 | // .. DisableRcvr = 0 |
| 10584 | // .. ==> 0XF8000704[13:13] = 0x00000000U |
| 10585 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10586 | // .. |
| 10587 | EMIT_MASKWRITE(0XF8000704, 0x00003FFFU ,0x00001202U), |
| 10588 | // .. TRI_ENABLE = 0 |
| 10589 | // .. ==> 0XF8000708[0:0] = 0x00000000U |
| 10590 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10591 | // .. L0_SEL = 1 |
| 10592 | // .. ==> 0XF8000708[1:1] = 0x00000001U |
| 10593 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10594 | // .. L1_SEL = 0 |
| 10595 | // .. ==> 0XF8000708[2:2] = 0x00000000U |
| 10596 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10597 | // .. L2_SEL = 0 |
| 10598 | // .. ==> 0XF8000708[4:3] = 0x00000000U |
| 10599 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10600 | // .. L3_SEL = 0 |
| 10601 | // .. ==> 0XF8000708[7:5] = 0x00000000U |
| 10602 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10603 | // .. Speed = 0 |
| 10604 | // .. ==> 0XF8000708[8:8] = 0x00000000U |
| 10605 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10606 | // .. IO_Type = 1 |
| 10607 | // .. ==> 0XF8000708[11:9] = 0x00000001U |
| 10608 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10609 | // .. PULLUP = 0 |
| 10610 | // .. ==> 0XF8000708[12:12] = 0x00000000U |
| 10611 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10612 | // .. DisableRcvr = 0 |
| 10613 | // .. ==> 0XF8000708[13:13] = 0x00000000U |
| 10614 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10615 | // .. |
| 10616 | EMIT_MASKWRITE(0XF8000708, 0x00003FFFU ,0x00000202U), |
| 10617 | // .. TRI_ENABLE = 0 |
| 10618 | // .. ==> 0XF800070C[0:0] = 0x00000000U |
| 10619 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10620 | // .. L0_SEL = 1 |
| 10621 | // .. ==> 0XF800070C[1:1] = 0x00000001U |
| 10622 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10623 | // .. L1_SEL = 0 |
| 10624 | // .. ==> 0XF800070C[2:2] = 0x00000000U |
| 10625 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10626 | // .. L2_SEL = 0 |
| 10627 | // .. ==> 0XF800070C[4:3] = 0x00000000U |
| 10628 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10629 | // .. L3_SEL = 0 |
| 10630 | // .. ==> 0XF800070C[7:5] = 0x00000000U |
| 10631 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10632 | // .. Speed = 0 |
| 10633 | // .. ==> 0XF800070C[8:8] = 0x00000000U |
| 10634 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10635 | // .. IO_Type = 1 |
| 10636 | // .. ==> 0XF800070C[11:9] = 0x00000001U |
| 10637 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10638 | // .. PULLUP = 0 |
| 10639 | // .. ==> 0XF800070C[12:12] = 0x00000000U |
| 10640 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10641 | // .. DisableRcvr = 0 |
| 10642 | // .. ==> 0XF800070C[13:13] = 0x00000000U |
| 10643 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10644 | // .. |
| 10645 | EMIT_MASKWRITE(0XF800070C, 0x00003FFFU ,0x00000202U), |
| 10646 | // .. TRI_ENABLE = 0 |
| 10647 | // .. ==> 0XF8000710[0:0] = 0x00000000U |
| 10648 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10649 | // .. L0_SEL = 1 |
| 10650 | // .. ==> 0XF8000710[1:1] = 0x00000001U |
| 10651 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10652 | // .. L1_SEL = 0 |
| 10653 | // .. ==> 0XF8000710[2:2] = 0x00000000U |
| 10654 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10655 | // .. L2_SEL = 0 |
| 10656 | // .. ==> 0XF8000710[4:3] = 0x00000000U |
| 10657 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10658 | // .. L3_SEL = 0 |
| 10659 | // .. ==> 0XF8000710[7:5] = 0x00000000U |
| 10660 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10661 | // .. Speed = 0 |
| 10662 | // .. ==> 0XF8000710[8:8] = 0x00000000U |
| 10663 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10664 | // .. IO_Type = 1 |
| 10665 | // .. ==> 0XF8000710[11:9] = 0x00000001U |
| 10666 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10667 | // .. PULLUP = 0 |
| 10668 | // .. ==> 0XF8000710[12:12] = 0x00000000U |
| 10669 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10670 | // .. DisableRcvr = 0 |
| 10671 | // .. ==> 0XF8000710[13:13] = 0x00000000U |
| 10672 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10673 | // .. |
| 10674 | EMIT_MASKWRITE(0XF8000710, 0x00003FFFU ,0x00000202U), |
| 10675 | // .. TRI_ENABLE = 0 |
| 10676 | // .. ==> 0XF8000714[0:0] = 0x00000000U |
| 10677 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10678 | // .. L0_SEL = 1 |
| 10679 | // .. ==> 0XF8000714[1:1] = 0x00000001U |
| 10680 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10681 | // .. L1_SEL = 0 |
| 10682 | // .. ==> 0XF8000714[2:2] = 0x00000000U |
| 10683 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10684 | // .. L2_SEL = 0 |
| 10685 | // .. ==> 0XF8000714[4:3] = 0x00000000U |
| 10686 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10687 | // .. L3_SEL = 0 |
| 10688 | // .. ==> 0XF8000714[7:5] = 0x00000000U |
| 10689 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10690 | // .. Speed = 0 |
| 10691 | // .. ==> 0XF8000714[8:8] = 0x00000000U |
| 10692 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10693 | // .. IO_Type = 1 |
| 10694 | // .. ==> 0XF8000714[11:9] = 0x00000001U |
| 10695 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10696 | // .. PULLUP = 0 |
| 10697 | // .. ==> 0XF8000714[12:12] = 0x00000000U |
| 10698 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10699 | // .. DisableRcvr = 0 |
| 10700 | // .. ==> 0XF8000714[13:13] = 0x00000000U |
| 10701 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10702 | // .. |
| 10703 | EMIT_MASKWRITE(0XF8000714, 0x00003FFFU ,0x00000202U), |
| 10704 | // .. TRI_ENABLE = 0 |
| 10705 | // .. ==> 0XF8000718[0:0] = 0x00000000U |
| 10706 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10707 | // .. L0_SEL = 1 |
| 10708 | // .. ==> 0XF8000718[1:1] = 0x00000001U |
| 10709 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10710 | // .. L1_SEL = 0 |
| 10711 | // .. ==> 0XF8000718[2:2] = 0x00000000U |
| 10712 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10713 | // .. L2_SEL = 0 |
| 10714 | // .. ==> 0XF8000718[4:3] = 0x00000000U |
| 10715 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10716 | // .. L3_SEL = 0 |
| 10717 | // .. ==> 0XF8000718[7:5] = 0x00000000U |
| 10718 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10719 | // .. Speed = 0 |
| 10720 | // .. ==> 0XF8000718[8:8] = 0x00000000U |
| 10721 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10722 | // .. IO_Type = 1 |
| 10723 | // .. ==> 0XF8000718[11:9] = 0x00000001U |
| 10724 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10725 | // .. PULLUP = 0 |
| 10726 | // .. ==> 0XF8000718[12:12] = 0x00000000U |
| 10727 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10728 | // .. DisableRcvr = 0 |
| 10729 | // .. ==> 0XF8000718[13:13] = 0x00000000U |
| 10730 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10731 | // .. |
| 10732 | EMIT_MASKWRITE(0XF8000718, 0x00003FFFU ,0x00000202U), |
| 10733 | // .. TRI_ENABLE = 0 |
| 10734 | // .. ==> 0XF800071C[0:0] = 0x00000000U |
| 10735 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10736 | // .. L0_SEL = 0 |
| 10737 | // .. ==> 0XF800071C[1:1] = 0x00000000U |
| 10738 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 10739 | // .. L1_SEL = 0 |
| 10740 | // .. ==> 0XF800071C[2:2] = 0x00000000U |
| 10741 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10742 | // .. L2_SEL = 0 |
| 10743 | // .. ==> 0XF800071C[4:3] = 0x00000000U |
| 10744 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10745 | // .. L3_SEL = 0 |
| 10746 | // .. ==> 0XF800071C[7:5] = 0x00000000U |
| 10747 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10748 | // .. Speed = 0 |
| 10749 | // .. ==> 0XF800071C[8:8] = 0x00000000U |
| 10750 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10751 | // .. IO_Type = 1 |
| 10752 | // .. ==> 0XF800071C[11:9] = 0x00000001U |
| 10753 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10754 | // .. PULLUP = 0 |
| 10755 | // .. ==> 0XF800071C[12:12] = 0x00000000U |
| 10756 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10757 | // .. DisableRcvr = 0 |
| 10758 | // .. ==> 0XF800071C[13:13] = 0x00000000U |
| 10759 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10760 | // .. |
| 10761 | EMIT_MASKWRITE(0XF800071C, 0x00003FFFU ,0x00000200U), |
| 10762 | // .. TRI_ENABLE = 0 |
| 10763 | // .. ==> 0XF8000720[0:0] = 0x00000000U |
| 10764 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10765 | // .. L0_SEL = 1 |
| 10766 | // .. ==> 0XF8000720[1:1] = 0x00000001U |
| 10767 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10768 | // .. L1_SEL = 0 |
| 10769 | // .. ==> 0XF8000720[2:2] = 0x00000000U |
| 10770 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10771 | // .. L2_SEL = 0 |
| 10772 | // .. ==> 0XF8000720[4:3] = 0x00000000U |
| 10773 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10774 | // .. L3_SEL = 0 |
| 10775 | // .. ==> 0XF8000720[7:5] = 0x00000000U |
| 10776 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10777 | // .. Speed = 0 |
| 10778 | // .. ==> 0XF8000720[8:8] = 0x00000000U |
| 10779 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10780 | // .. IO_Type = 1 |
| 10781 | // .. ==> 0XF8000720[11:9] = 0x00000001U |
| 10782 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10783 | // .. PULLUP = 0 |
| 10784 | // .. ==> 0XF8000720[12:12] = 0x00000000U |
| 10785 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10786 | // .. DisableRcvr = 0 |
| 10787 | // .. ==> 0XF8000720[13:13] = 0x00000000U |
| 10788 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10789 | // .. |
| 10790 | EMIT_MASKWRITE(0XF8000720, 0x00003FFFU ,0x00000202U), |
| 10791 | // .. TRI_ENABLE = 0 |
| 10792 | // .. ==> 0XF8000724[0:0] = 0x00000000U |
| 10793 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10794 | // .. L0_SEL = 1 |
| 10795 | // .. ==> 0XF8000724[1:1] = 0x00000001U |
| 10796 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10797 | // .. L1_SEL = 0 |
| 10798 | // .. ==> 0XF8000724[2:2] = 0x00000000U |
| 10799 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10800 | // .. L2_SEL = 0 |
| 10801 | // .. ==> 0XF8000724[4:3] = 0x00000000U |
| 10802 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10803 | // .. L3_SEL = 0 |
| 10804 | // .. ==> 0XF8000724[7:5] = 0x00000000U |
| 10805 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10806 | // .. Speed = 0 |
| 10807 | // .. ==> 0XF8000724[8:8] = 0x00000000U |
| 10808 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10809 | // .. IO_Type = 1 |
| 10810 | // .. ==> 0XF8000724[11:9] = 0x00000001U |
| 10811 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10812 | // .. PULLUP = 1 |
| 10813 | // .. ==> 0XF8000724[12:12] = 0x00000001U |
| 10814 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10815 | // .. DisableRcvr = 0 |
| 10816 | // .. ==> 0XF8000724[13:13] = 0x00000000U |
| 10817 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10818 | // .. |
| 10819 | EMIT_MASKWRITE(0XF8000724, 0x00003FFFU ,0x00001202U), |
| 10820 | // .. TRI_ENABLE = 0 |
| 10821 | // .. ==> 0XF8000728[0:0] = 0x00000000U |
| 10822 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10823 | // .. L0_SEL = 1 |
| 10824 | // .. ==> 0XF8000728[1:1] = 0x00000001U |
| 10825 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10826 | // .. L1_SEL = 0 |
| 10827 | // .. ==> 0XF8000728[2:2] = 0x00000000U |
| 10828 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10829 | // .. L2_SEL = 0 |
| 10830 | // .. ==> 0XF8000728[4:3] = 0x00000000U |
| 10831 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10832 | // .. L3_SEL = 0 |
| 10833 | // .. ==> 0XF8000728[7:5] = 0x00000000U |
| 10834 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10835 | // .. Speed = 0 |
| 10836 | // .. ==> 0XF8000728[8:8] = 0x00000000U |
| 10837 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10838 | // .. IO_Type = 1 |
| 10839 | // .. ==> 0XF8000728[11:9] = 0x00000001U |
| 10840 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10841 | // .. PULLUP = 1 |
| 10842 | // .. ==> 0XF8000728[12:12] = 0x00000001U |
| 10843 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10844 | // .. DisableRcvr = 0 |
| 10845 | // .. ==> 0XF8000728[13:13] = 0x00000000U |
| 10846 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10847 | // .. |
| 10848 | EMIT_MASKWRITE(0XF8000728, 0x00003FFFU ,0x00001202U), |
| 10849 | // .. TRI_ENABLE = 0 |
| 10850 | // .. ==> 0XF800072C[0:0] = 0x00000000U |
| 10851 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10852 | // .. L0_SEL = 1 |
| 10853 | // .. ==> 0XF800072C[1:1] = 0x00000001U |
| 10854 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10855 | // .. L1_SEL = 0 |
| 10856 | // .. ==> 0XF800072C[2:2] = 0x00000000U |
| 10857 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10858 | // .. L2_SEL = 0 |
| 10859 | // .. ==> 0XF800072C[4:3] = 0x00000000U |
| 10860 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10861 | // .. L3_SEL = 0 |
| 10862 | // .. ==> 0XF800072C[7:5] = 0x00000000U |
| 10863 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10864 | // .. Speed = 0 |
| 10865 | // .. ==> 0XF800072C[8:8] = 0x00000000U |
| 10866 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10867 | // .. IO_Type = 1 |
| 10868 | // .. ==> 0XF800072C[11:9] = 0x00000001U |
| 10869 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10870 | // .. PULLUP = 1 |
| 10871 | // .. ==> 0XF800072C[12:12] = 0x00000001U |
| 10872 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10873 | // .. DisableRcvr = 0 |
| 10874 | // .. ==> 0XF800072C[13:13] = 0x00000000U |
| 10875 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10876 | // .. |
| 10877 | EMIT_MASKWRITE(0XF800072C, 0x00003FFFU ,0x00001202U), |
| 10878 | // .. TRI_ENABLE = 0 |
| 10879 | // .. ==> 0XF8000730[0:0] = 0x00000000U |
| 10880 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10881 | // .. L0_SEL = 1 |
| 10882 | // .. ==> 0XF8000730[1:1] = 0x00000001U |
| 10883 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10884 | // .. L1_SEL = 0 |
| 10885 | // .. ==> 0XF8000730[2:2] = 0x00000000U |
| 10886 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10887 | // .. L2_SEL = 0 |
| 10888 | // .. ==> 0XF8000730[4:3] = 0x00000000U |
| 10889 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10890 | // .. L3_SEL = 0 |
| 10891 | // .. ==> 0XF8000730[7:5] = 0x00000000U |
| 10892 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10893 | // .. Speed = 0 |
| 10894 | // .. ==> 0XF8000730[8:8] = 0x00000000U |
| 10895 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10896 | // .. IO_Type = 1 |
| 10897 | // .. ==> 0XF8000730[11:9] = 0x00000001U |
| 10898 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10899 | // .. PULLUP = 1 |
| 10900 | // .. ==> 0XF8000730[12:12] = 0x00000001U |
| 10901 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10902 | // .. DisableRcvr = 0 |
| 10903 | // .. ==> 0XF8000730[13:13] = 0x00000000U |
| 10904 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10905 | // .. |
| 10906 | EMIT_MASKWRITE(0XF8000730, 0x00003FFFU ,0x00001202U), |
| 10907 | // .. TRI_ENABLE = 0 |
| 10908 | // .. ==> 0XF8000734[0:0] = 0x00000000U |
| 10909 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10910 | // .. L0_SEL = 1 |
| 10911 | // .. ==> 0XF8000734[1:1] = 0x00000001U |
| 10912 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10913 | // .. L1_SEL = 0 |
| 10914 | // .. ==> 0XF8000734[2:2] = 0x00000000U |
| 10915 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10916 | // .. L2_SEL = 0 |
| 10917 | // .. ==> 0XF8000734[4:3] = 0x00000000U |
| 10918 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10919 | // .. L3_SEL = 0 |
| 10920 | // .. ==> 0XF8000734[7:5] = 0x00000000U |
| 10921 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10922 | // .. Speed = 0 |
| 10923 | // .. ==> 0XF8000734[8:8] = 0x00000000U |
| 10924 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10925 | // .. IO_Type = 1 |
| 10926 | // .. ==> 0XF8000734[11:9] = 0x00000001U |
| 10927 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10928 | // .. PULLUP = 1 |
| 10929 | // .. ==> 0XF8000734[12:12] = 0x00000001U |
| 10930 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10931 | // .. DisableRcvr = 0 |
| 10932 | // .. ==> 0XF8000734[13:13] = 0x00000000U |
| 10933 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10934 | // .. |
| 10935 | EMIT_MASKWRITE(0XF8000734, 0x00003FFFU ,0x00001202U), |
| 10936 | // .. TRI_ENABLE = 1 |
| 10937 | // .. ==> 0XF8000738[0:0] = 0x00000001U |
| 10938 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10939 | // .. Speed = 0 |
| 10940 | // .. ==> 0XF8000738[8:8] = 0x00000000U |
| 10941 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10942 | // .. IO_Type = 1 |
| 10943 | // .. ==> 0XF8000738[11:9] = 0x00000001U |
| 10944 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10945 | // .. PULLUP = 1 |
| 10946 | // .. ==> 0XF8000738[12:12] = 0x00000001U |
| 10947 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10948 | // .. DisableRcvr = 0 |
| 10949 | // .. ==> 0XF8000738[13:13] = 0x00000000U |
| 10950 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10951 | // .. |
| 10952 | EMIT_MASKWRITE(0XF8000738, 0x00003F01U ,0x00001201U), |
| 10953 | // .. TRI_ENABLE = 1 |
| 10954 | // .. ==> 0XF800073C[0:0] = 0x00000001U |
| 10955 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 10956 | // .. Speed = 0 |
| 10957 | // .. ==> 0XF800073C[8:8] = 0x00000000U |
| 10958 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10959 | // .. IO_Type = 1 |
| 10960 | // .. ==> 0XF800073C[11:9] = 0x00000001U |
| 10961 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 10962 | // .. PULLUP = 1 |
| 10963 | // .. ==> 0XF800073C[12:12] = 0x00000001U |
| 10964 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 10965 | // .. DisableRcvr = 0 |
| 10966 | // .. ==> 0XF800073C[13:13] = 0x00000000U |
| 10967 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 10968 | // .. |
| 10969 | EMIT_MASKWRITE(0XF800073C, 0x00003F01U ,0x00001201U), |
| 10970 | // .. TRI_ENABLE = 0 |
| 10971 | // .. ==> 0XF8000740[0:0] = 0x00000000U |
| 10972 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 10973 | // .. L0_SEL = 1 |
| 10974 | // .. ==> 0XF8000740[1:1] = 0x00000001U |
| 10975 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 10976 | // .. L1_SEL = 0 |
| 10977 | // .. ==> 0XF8000740[2:2] = 0x00000000U |
| 10978 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 10979 | // .. L2_SEL = 0 |
| 10980 | // .. ==> 0XF8000740[4:3] = 0x00000000U |
| 10981 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 10982 | // .. L3_SEL = 0 |
| 10983 | // .. ==> 0XF8000740[7:5] = 0x00000000U |
| 10984 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 10985 | // .. Speed = 0 |
| 10986 | // .. ==> 0XF8000740[8:8] = 0x00000000U |
| 10987 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 10988 | // .. IO_Type = 4 |
| 10989 | // .. ==> 0XF8000740[11:9] = 0x00000004U |
| 10990 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 10991 | // .. PULLUP = 0 |
| 10992 | // .. ==> 0XF8000740[12:12] = 0x00000000U |
| 10993 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 10994 | // .. DisableRcvr = 1 |
| 10995 | // .. ==> 0XF8000740[13:13] = 0x00000001U |
| 10996 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 10997 | // .. |
| 10998 | EMIT_MASKWRITE(0XF8000740, 0x00003FFFU ,0x00002802U), |
| 10999 | // .. TRI_ENABLE = 0 |
| 11000 | // .. ==> 0XF8000744[0:0] = 0x00000000U |
| 11001 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11002 | // .. L0_SEL = 1 |
| 11003 | // .. ==> 0XF8000744[1:1] = 0x00000001U |
| 11004 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11005 | // .. L1_SEL = 0 |
| 11006 | // .. ==> 0XF8000744[2:2] = 0x00000000U |
| 11007 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11008 | // .. L2_SEL = 0 |
| 11009 | // .. ==> 0XF8000744[4:3] = 0x00000000U |
| 11010 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11011 | // .. L3_SEL = 0 |
| 11012 | // .. ==> 0XF8000744[7:5] = 0x00000000U |
| 11013 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11014 | // .. Speed = 0 |
| 11015 | // .. ==> 0XF8000744[8:8] = 0x00000000U |
| 11016 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11017 | // .. IO_Type = 4 |
| 11018 | // .. ==> 0XF8000744[11:9] = 0x00000004U |
| 11019 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11020 | // .. PULLUP = 0 |
| 11021 | // .. ==> 0XF8000744[12:12] = 0x00000000U |
| 11022 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11023 | // .. DisableRcvr = 1 |
| 11024 | // .. ==> 0XF8000744[13:13] = 0x00000001U |
| 11025 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 11026 | // .. |
| 11027 | EMIT_MASKWRITE(0XF8000744, 0x00003FFFU ,0x00002802U), |
| 11028 | // .. TRI_ENABLE = 0 |
| 11029 | // .. ==> 0XF8000748[0:0] = 0x00000000U |
| 11030 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11031 | // .. L0_SEL = 1 |
| 11032 | // .. ==> 0XF8000748[1:1] = 0x00000001U |
| 11033 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11034 | // .. L1_SEL = 0 |
| 11035 | // .. ==> 0XF8000748[2:2] = 0x00000000U |
| 11036 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11037 | // .. L2_SEL = 0 |
| 11038 | // .. ==> 0XF8000748[4:3] = 0x00000000U |
| 11039 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11040 | // .. L3_SEL = 0 |
| 11041 | // .. ==> 0XF8000748[7:5] = 0x00000000U |
| 11042 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11043 | // .. Speed = 0 |
| 11044 | // .. ==> 0XF8000748[8:8] = 0x00000000U |
| 11045 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11046 | // .. IO_Type = 4 |
| 11047 | // .. ==> 0XF8000748[11:9] = 0x00000004U |
| 11048 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11049 | // .. PULLUP = 0 |
| 11050 | // .. ==> 0XF8000748[12:12] = 0x00000000U |
| 11051 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11052 | // .. DisableRcvr = 1 |
| 11053 | // .. ==> 0XF8000748[13:13] = 0x00000001U |
| 11054 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 11055 | // .. |
| 11056 | EMIT_MASKWRITE(0XF8000748, 0x00003FFFU ,0x00002802U), |
| 11057 | // .. TRI_ENABLE = 0 |
| 11058 | // .. ==> 0XF800074C[0:0] = 0x00000000U |
| 11059 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11060 | // .. L0_SEL = 1 |
| 11061 | // .. ==> 0XF800074C[1:1] = 0x00000001U |
| 11062 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11063 | // .. L1_SEL = 0 |
| 11064 | // .. ==> 0XF800074C[2:2] = 0x00000000U |
| 11065 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11066 | // .. L2_SEL = 0 |
| 11067 | // .. ==> 0XF800074C[4:3] = 0x00000000U |
| 11068 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11069 | // .. L3_SEL = 0 |
| 11070 | // .. ==> 0XF800074C[7:5] = 0x00000000U |
| 11071 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11072 | // .. Speed = 0 |
| 11073 | // .. ==> 0XF800074C[8:8] = 0x00000000U |
| 11074 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11075 | // .. IO_Type = 4 |
| 11076 | // .. ==> 0XF800074C[11:9] = 0x00000004U |
| 11077 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11078 | // .. PULLUP = 0 |
| 11079 | // .. ==> 0XF800074C[12:12] = 0x00000000U |
| 11080 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11081 | // .. DisableRcvr = 1 |
| 11082 | // .. ==> 0XF800074C[13:13] = 0x00000001U |
| 11083 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 11084 | // .. |
| 11085 | EMIT_MASKWRITE(0XF800074C, 0x00003FFFU ,0x00002802U), |
| 11086 | // .. TRI_ENABLE = 0 |
| 11087 | // .. ==> 0XF8000750[0:0] = 0x00000000U |
| 11088 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11089 | // .. L0_SEL = 1 |
| 11090 | // .. ==> 0XF8000750[1:1] = 0x00000001U |
| 11091 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11092 | // .. L1_SEL = 0 |
| 11093 | // .. ==> 0XF8000750[2:2] = 0x00000000U |
| 11094 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11095 | // .. L2_SEL = 0 |
| 11096 | // .. ==> 0XF8000750[4:3] = 0x00000000U |
| 11097 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11098 | // .. L3_SEL = 0 |
| 11099 | // .. ==> 0XF8000750[7:5] = 0x00000000U |
| 11100 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11101 | // .. Speed = 0 |
| 11102 | // .. ==> 0XF8000750[8:8] = 0x00000000U |
| 11103 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11104 | // .. IO_Type = 4 |
| 11105 | // .. ==> 0XF8000750[11:9] = 0x00000004U |
| 11106 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11107 | // .. PULLUP = 0 |
| 11108 | // .. ==> 0XF8000750[12:12] = 0x00000000U |
| 11109 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11110 | // .. DisableRcvr = 1 |
| 11111 | // .. ==> 0XF8000750[13:13] = 0x00000001U |
| 11112 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 11113 | // .. |
| 11114 | EMIT_MASKWRITE(0XF8000750, 0x00003FFFU ,0x00002802U), |
| 11115 | // .. TRI_ENABLE = 0 |
| 11116 | // .. ==> 0XF8000754[0:0] = 0x00000000U |
| 11117 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11118 | // .. L0_SEL = 1 |
| 11119 | // .. ==> 0XF8000754[1:1] = 0x00000001U |
| 11120 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11121 | // .. L1_SEL = 0 |
| 11122 | // .. ==> 0XF8000754[2:2] = 0x00000000U |
| 11123 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11124 | // .. L2_SEL = 0 |
| 11125 | // .. ==> 0XF8000754[4:3] = 0x00000000U |
| 11126 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11127 | // .. L3_SEL = 0 |
| 11128 | // .. ==> 0XF8000754[7:5] = 0x00000000U |
| 11129 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11130 | // .. Speed = 0 |
| 11131 | // .. ==> 0XF8000754[8:8] = 0x00000000U |
| 11132 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11133 | // .. IO_Type = 4 |
| 11134 | // .. ==> 0XF8000754[11:9] = 0x00000004U |
| 11135 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11136 | // .. PULLUP = 0 |
| 11137 | // .. ==> 0XF8000754[12:12] = 0x00000000U |
| 11138 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11139 | // .. DisableRcvr = 1 |
| 11140 | // .. ==> 0XF8000754[13:13] = 0x00000001U |
| 11141 | // .. ==> MASK : 0x00002000U VAL : 0x00002000U |
| 11142 | // .. |
| 11143 | EMIT_MASKWRITE(0XF8000754, 0x00003FFFU ,0x00002802U), |
| 11144 | // .. TRI_ENABLE = 1 |
| 11145 | // .. ==> 0XF8000758[0:0] = 0x00000001U |
| 11146 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11147 | // .. L0_SEL = 1 |
| 11148 | // .. ==> 0XF8000758[1:1] = 0x00000001U |
| 11149 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11150 | // .. L1_SEL = 0 |
| 11151 | // .. ==> 0XF8000758[2:2] = 0x00000000U |
| 11152 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11153 | // .. L2_SEL = 0 |
| 11154 | // .. ==> 0XF8000758[4:3] = 0x00000000U |
| 11155 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11156 | // .. L3_SEL = 0 |
| 11157 | // .. ==> 0XF8000758[7:5] = 0x00000000U |
| 11158 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11159 | // .. Speed = 0 |
| 11160 | // .. ==> 0XF8000758[8:8] = 0x00000000U |
| 11161 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11162 | // .. IO_Type = 4 |
| 11163 | // .. ==> 0XF8000758[11:9] = 0x00000004U |
| 11164 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11165 | // .. PULLUP = 0 |
| 11166 | // .. ==> 0XF8000758[12:12] = 0x00000000U |
| 11167 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11168 | // .. DisableRcvr = 0 |
| 11169 | // .. ==> 0XF8000758[13:13] = 0x00000000U |
| 11170 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11171 | // .. |
| 11172 | EMIT_MASKWRITE(0XF8000758, 0x00003FFFU ,0x00000803U), |
| 11173 | // .. TRI_ENABLE = 1 |
| 11174 | // .. ==> 0XF800075C[0:0] = 0x00000001U |
| 11175 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11176 | // .. L0_SEL = 1 |
| 11177 | // .. ==> 0XF800075C[1:1] = 0x00000001U |
| 11178 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11179 | // .. L1_SEL = 0 |
| 11180 | // .. ==> 0XF800075C[2:2] = 0x00000000U |
| 11181 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11182 | // .. L2_SEL = 0 |
| 11183 | // .. ==> 0XF800075C[4:3] = 0x00000000U |
| 11184 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11185 | // .. L3_SEL = 0 |
| 11186 | // .. ==> 0XF800075C[7:5] = 0x00000000U |
| 11187 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11188 | // .. Speed = 0 |
| 11189 | // .. ==> 0XF800075C[8:8] = 0x00000000U |
| 11190 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11191 | // .. IO_Type = 4 |
| 11192 | // .. ==> 0XF800075C[11:9] = 0x00000004U |
| 11193 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11194 | // .. PULLUP = 0 |
| 11195 | // .. ==> 0XF800075C[12:12] = 0x00000000U |
| 11196 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11197 | // .. DisableRcvr = 0 |
| 11198 | // .. ==> 0XF800075C[13:13] = 0x00000000U |
| 11199 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11200 | // .. |
| 11201 | EMIT_MASKWRITE(0XF800075C, 0x00003FFFU ,0x00000803U), |
| 11202 | // .. TRI_ENABLE = 1 |
| 11203 | // .. ==> 0XF8000760[0:0] = 0x00000001U |
| 11204 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11205 | // .. L0_SEL = 1 |
| 11206 | // .. ==> 0XF8000760[1:1] = 0x00000001U |
| 11207 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11208 | // .. L1_SEL = 0 |
| 11209 | // .. ==> 0XF8000760[2:2] = 0x00000000U |
| 11210 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11211 | // .. L2_SEL = 0 |
| 11212 | // .. ==> 0XF8000760[4:3] = 0x00000000U |
| 11213 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11214 | // .. L3_SEL = 0 |
| 11215 | // .. ==> 0XF8000760[7:5] = 0x00000000U |
| 11216 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11217 | // .. Speed = 0 |
| 11218 | // .. ==> 0XF8000760[8:8] = 0x00000000U |
| 11219 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11220 | // .. IO_Type = 4 |
| 11221 | // .. ==> 0XF8000760[11:9] = 0x00000004U |
| 11222 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11223 | // .. PULLUP = 0 |
| 11224 | // .. ==> 0XF8000760[12:12] = 0x00000000U |
| 11225 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11226 | // .. DisableRcvr = 0 |
| 11227 | // .. ==> 0XF8000760[13:13] = 0x00000000U |
| 11228 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11229 | // .. |
| 11230 | EMIT_MASKWRITE(0XF8000760, 0x00003FFFU ,0x00000803U), |
| 11231 | // .. TRI_ENABLE = 1 |
| 11232 | // .. ==> 0XF8000764[0:0] = 0x00000001U |
| 11233 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11234 | // .. L0_SEL = 1 |
| 11235 | // .. ==> 0XF8000764[1:1] = 0x00000001U |
| 11236 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11237 | // .. L1_SEL = 0 |
| 11238 | // .. ==> 0XF8000764[2:2] = 0x00000000U |
| 11239 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11240 | // .. L2_SEL = 0 |
| 11241 | // .. ==> 0XF8000764[4:3] = 0x00000000U |
| 11242 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11243 | // .. L3_SEL = 0 |
| 11244 | // .. ==> 0XF8000764[7:5] = 0x00000000U |
| 11245 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11246 | // .. Speed = 0 |
| 11247 | // .. ==> 0XF8000764[8:8] = 0x00000000U |
| 11248 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11249 | // .. IO_Type = 4 |
| 11250 | // .. ==> 0XF8000764[11:9] = 0x00000004U |
| 11251 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11252 | // .. PULLUP = 0 |
| 11253 | // .. ==> 0XF8000764[12:12] = 0x00000000U |
| 11254 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11255 | // .. DisableRcvr = 0 |
| 11256 | // .. ==> 0XF8000764[13:13] = 0x00000000U |
| 11257 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11258 | // .. |
| 11259 | EMIT_MASKWRITE(0XF8000764, 0x00003FFFU ,0x00000803U), |
| 11260 | // .. TRI_ENABLE = 1 |
| 11261 | // .. ==> 0XF8000768[0:0] = 0x00000001U |
| 11262 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11263 | // .. L0_SEL = 1 |
| 11264 | // .. ==> 0XF8000768[1:1] = 0x00000001U |
| 11265 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11266 | // .. L1_SEL = 0 |
| 11267 | // .. ==> 0XF8000768[2:2] = 0x00000000U |
| 11268 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11269 | // .. L2_SEL = 0 |
| 11270 | // .. ==> 0XF8000768[4:3] = 0x00000000U |
| 11271 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11272 | // .. L3_SEL = 0 |
| 11273 | // .. ==> 0XF8000768[7:5] = 0x00000000U |
| 11274 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11275 | // .. Speed = 0 |
| 11276 | // .. ==> 0XF8000768[8:8] = 0x00000000U |
| 11277 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11278 | // .. IO_Type = 4 |
| 11279 | // .. ==> 0XF8000768[11:9] = 0x00000004U |
| 11280 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11281 | // .. PULLUP = 0 |
| 11282 | // .. ==> 0XF8000768[12:12] = 0x00000000U |
| 11283 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11284 | // .. DisableRcvr = 0 |
| 11285 | // .. ==> 0XF8000768[13:13] = 0x00000000U |
| 11286 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11287 | // .. |
| 11288 | EMIT_MASKWRITE(0XF8000768, 0x00003FFFU ,0x00000803U), |
| 11289 | // .. TRI_ENABLE = 1 |
| 11290 | // .. ==> 0XF800076C[0:0] = 0x00000001U |
| 11291 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11292 | // .. L0_SEL = 1 |
| 11293 | // .. ==> 0XF800076C[1:1] = 0x00000001U |
| 11294 | // .. ==> MASK : 0x00000002U VAL : 0x00000002U |
| 11295 | // .. L1_SEL = 0 |
| 11296 | // .. ==> 0XF800076C[2:2] = 0x00000000U |
| 11297 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11298 | // .. L2_SEL = 0 |
| 11299 | // .. ==> 0XF800076C[4:3] = 0x00000000U |
| 11300 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11301 | // .. L3_SEL = 0 |
| 11302 | // .. ==> 0XF800076C[7:5] = 0x00000000U |
| 11303 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11304 | // .. Speed = 0 |
| 11305 | // .. ==> 0XF800076C[8:8] = 0x00000000U |
| 11306 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11307 | // .. IO_Type = 4 |
| 11308 | // .. ==> 0XF800076C[11:9] = 0x00000004U |
| 11309 | // .. ==> MASK : 0x00000E00U VAL : 0x00000800U |
| 11310 | // .. PULLUP = 0 |
| 11311 | // .. ==> 0XF800076C[12:12] = 0x00000000U |
| 11312 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11313 | // .. DisableRcvr = 0 |
| 11314 | // .. ==> 0XF800076C[13:13] = 0x00000000U |
| 11315 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11316 | // .. |
| 11317 | EMIT_MASKWRITE(0XF800076C, 0x00003FFFU ,0x00000803U), |
| 11318 | // .. TRI_ENABLE = 0 |
| 11319 | // .. ==> 0XF8000770[0:0] = 0x00000000U |
| 11320 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11321 | // .. L0_SEL = 0 |
| 11322 | // .. ==> 0XF8000770[1:1] = 0x00000000U |
| 11323 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11324 | // .. L1_SEL = 1 |
| 11325 | // .. ==> 0XF8000770[2:2] = 0x00000001U |
| 11326 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11327 | // .. L2_SEL = 0 |
| 11328 | // .. ==> 0XF8000770[4:3] = 0x00000000U |
| 11329 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11330 | // .. L3_SEL = 0 |
| 11331 | // .. ==> 0XF8000770[7:5] = 0x00000000U |
| 11332 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11333 | // .. Speed = 0 |
| 11334 | // .. ==> 0XF8000770[8:8] = 0x00000000U |
| 11335 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11336 | // .. IO_Type = 1 |
| 11337 | // .. ==> 0XF8000770[11:9] = 0x00000001U |
| 11338 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11339 | // .. PULLUP = 0 |
| 11340 | // .. ==> 0XF8000770[12:12] = 0x00000000U |
| 11341 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11342 | // .. DisableRcvr = 0 |
| 11343 | // .. ==> 0XF8000770[13:13] = 0x00000000U |
| 11344 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11345 | // .. |
| 11346 | EMIT_MASKWRITE(0XF8000770, 0x00003FFFU ,0x00000204U), |
| 11347 | // .. TRI_ENABLE = 1 |
| 11348 | // .. ==> 0XF8000774[0:0] = 0x00000001U |
| 11349 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11350 | // .. L0_SEL = 0 |
| 11351 | // .. ==> 0XF8000774[1:1] = 0x00000000U |
| 11352 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11353 | // .. L1_SEL = 1 |
| 11354 | // .. ==> 0XF8000774[2:2] = 0x00000001U |
| 11355 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11356 | // .. L2_SEL = 0 |
| 11357 | // .. ==> 0XF8000774[4:3] = 0x00000000U |
| 11358 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11359 | // .. L3_SEL = 0 |
| 11360 | // .. ==> 0XF8000774[7:5] = 0x00000000U |
| 11361 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11362 | // .. Speed = 0 |
| 11363 | // .. ==> 0XF8000774[8:8] = 0x00000000U |
| 11364 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11365 | // .. IO_Type = 1 |
| 11366 | // .. ==> 0XF8000774[11:9] = 0x00000001U |
| 11367 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11368 | // .. PULLUP = 0 |
| 11369 | // .. ==> 0XF8000774[12:12] = 0x00000000U |
| 11370 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11371 | // .. DisableRcvr = 0 |
| 11372 | // .. ==> 0XF8000774[13:13] = 0x00000000U |
| 11373 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11374 | // .. |
| 11375 | EMIT_MASKWRITE(0XF8000774, 0x00003FFFU ,0x00000205U), |
| 11376 | // .. TRI_ENABLE = 0 |
| 11377 | // .. ==> 0XF8000778[0:0] = 0x00000000U |
| 11378 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11379 | // .. L0_SEL = 0 |
| 11380 | // .. ==> 0XF8000778[1:1] = 0x00000000U |
| 11381 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11382 | // .. L1_SEL = 1 |
| 11383 | // .. ==> 0XF8000778[2:2] = 0x00000001U |
| 11384 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11385 | // .. L2_SEL = 0 |
| 11386 | // .. ==> 0XF8000778[4:3] = 0x00000000U |
| 11387 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11388 | // .. L3_SEL = 0 |
| 11389 | // .. ==> 0XF8000778[7:5] = 0x00000000U |
| 11390 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11391 | // .. Speed = 0 |
| 11392 | // .. ==> 0XF8000778[8:8] = 0x00000000U |
| 11393 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11394 | // .. IO_Type = 1 |
| 11395 | // .. ==> 0XF8000778[11:9] = 0x00000001U |
| 11396 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11397 | // .. PULLUP = 0 |
| 11398 | // .. ==> 0XF8000778[12:12] = 0x00000000U |
| 11399 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11400 | // .. DisableRcvr = 0 |
| 11401 | // .. ==> 0XF8000778[13:13] = 0x00000000U |
| 11402 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11403 | // .. |
| 11404 | EMIT_MASKWRITE(0XF8000778, 0x00003FFFU ,0x00000204U), |
| 11405 | // .. TRI_ENABLE = 1 |
| 11406 | // .. ==> 0XF800077C[0:0] = 0x00000001U |
| 11407 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11408 | // .. L0_SEL = 0 |
| 11409 | // .. ==> 0XF800077C[1:1] = 0x00000000U |
| 11410 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11411 | // .. L1_SEL = 1 |
| 11412 | // .. ==> 0XF800077C[2:2] = 0x00000001U |
| 11413 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11414 | // .. L2_SEL = 0 |
| 11415 | // .. ==> 0XF800077C[4:3] = 0x00000000U |
| 11416 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11417 | // .. L3_SEL = 0 |
| 11418 | // .. ==> 0XF800077C[7:5] = 0x00000000U |
| 11419 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11420 | // .. Speed = 0 |
| 11421 | // .. ==> 0XF800077C[8:8] = 0x00000000U |
| 11422 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11423 | // .. IO_Type = 1 |
| 11424 | // .. ==> 0XF800077C[11:9] = 0x00000001U |
| 11425 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11426 | // .. PULLUP = 0 |
| 11427 | // .. ==> 0XF800077C[12:12] = 0x00000000U |
| 11428 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11429 | // .. DisableRcvr = 0 |
| 11430 | // .. ==> 0XF800077C[13:13] = 0x00000000U |
| 11431 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11432 | // .. |
| 11433 | EMIT_MASKWRITE(0XF800077C, 0x00003FFFU ,0x00000205U), |
| 11434 | // .. TRI_ENABLE = 0 |
| 11435 | // .. ==> 0XF8000780[0:0] = 0x00000000U |
| 11436 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11437 | // .. L0_SEL = 0 |
| 11438 | // .. ==> 0XF8000780[1:1] = 0x00000000U |
| 11439 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11440 | // .. L1_SEL = 1 |
| 11441 | // .. ==> 0XF8000780[2:2] = 0x00000001U |
| 11442 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11443 | // .. L2_SEL = 0 |
| 11444 | // .. ==> 0XF8000780[4:3] = 0x00000000U |
| 11445 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11446 | // .. L3_SEL = 0 |
| 11447 | // .. ==> 0XF8000780[7:5] = 0x00000000U |
| 11448 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11449 | // .. Speed = 0 |
| 11450 | // .. ==> 0XF8000780[8:8] = 0x00000000U |
| 11451 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11452 | // .. IO_Type = 1 |
| 11453 | // .. ==> 0XF8000780[11:9] = 0x00000001U |
| 11454 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11455 | // .. PULLUP = 0 |
| 11456 | // .. ==> 0XF8000780[12:12] = 0x00000000U |
| 11457 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11458 | // .. DisableRcvr = 0 |
| 11459 | // .. ==> 0XF8000780[13:13] = 0x00000000U |
| 11460 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11461 | // .. |
| 11462 | EMIT_MASKWRITE(0XF8000780, 0x00003FFFU ,0x00000204U), |
| 11463 | // .. TRI_ENABLE = 0 |
| 11464 | // .. ==> 0XF8000784[0:0] = 0x00000000U |
| 11465 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11466 | // .. L0_SEL = 0 |
| 11467 | // .. ==> 0XF8000784[1:1] = 0x00000000U |
| 11468 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11469 | // .. L1_SEL = 1 |
| 11470 | // .. ==> 0XF8000784[2:2] = 0x00000001U |
| 11471 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11472 | // .. L2_SEL = 0 |
| 11473 | // .. ==> 0XF8000784[4:3] = 0x00000000U |
| 11474 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11475 | // .. L3_SEL = 0 |
| 11476 | // .. ==> 0XF8000784[7:5] = 0x00000000U |
| 11477 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11478 | // .. Speed = 0 |
| 11479 | // .. ==> 0XF8000784[8:8] = 0x00000000U |
| 11480 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11481 | // .. IO_Type = 1 |
| 11482 | // .. ==> 0XF8000784[11:9] = 0x00000001U |
| 11483 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11484 | // .. PULLUP = 0 |
| 11485 | // .. ==> 0XF8000784[12:12] = 0x00000000U |
| 11486 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11487 | // .. DisableRcvr = 0 |
| 11488 | // .. ==> 0XF8000784[13:13] = 0x00000000U |
| 11489 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11490 | // .. |
| 11491 | EMIT_MASKWRITE(0XF8000784, 0x00003FFFU ,0x00000204U), |
| 11492 | // .. TRI_ENABLE = 0 |
| 11493 | // .. ==> 0XF8000788[0:0] = 0x00000000U |
| 11494 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11495 | // .. L0_SEL = 0 |
| 11496 | // .. ==> 0XF8000788[1:1] = 0x00000000U |
| 11497 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11498 | // .. L1_SEL = 1 |
| 11499 | // .. ==> 0XF8000788[2:2] = 0x00000001U |
| 11500 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11501 | // .. L2_SEL = 0 |
| 11502 | // .. ==> 0XF8000788[4:3] = 0x00000000U |
| 11503 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11504 | // .. L3_SEL = 0 |
| 11505 | // .. ==> 0XF8000788[7:5] = 0x00000000U |
| 11506 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11507 | // .. Speed = 0 |
| 11508 | // .. ==> 0XF8000788[8:8] = 0x00000000U |
| 11509 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11510 | // .. IO_Type = 1 |
| 11511 | // .. ==> 0XF8000788[11:9] = 0x00000001U |
| 11512 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11513 | // .. PULLUP = 0 |
| 11514 | // .. ==> 0XF8000788[12:12] = 0x00000000U |
| 11515 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11516 | // .. DisableRcvr = 0 |
| 11517 | // .. ==> 0XF8000788[13:13] = 0x00000000U |
| 11518 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11519 | // .. |
| 11520 | EMIT_MASKWRITE(0XF8000788, 0x00003FFFU ,0x00000204U), |
| 11521 | // .. TRI_ENABLE = 0 |
| 11522 | // .. ==> 0XF800078C[0:0] = 0x00000000U |
| 11523 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11524 | // .. L0_SEL = 0 |
| 11525 | // .. ==> 0XF800078C[1:1] = 0x00000000U |
| 11526 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11527 | // .. L1_SEL = 1 |
| 11528 | // .. ==> 0XF800078C[2:2] = 0x00000001U |
| 11529 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11530 | // .. L2_SEL = 0 |
| 11531 | // .. ==> 0XF800078C[4:3] = 0x00000000U |
| 11532 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11533 | // .. L3_SEL = 0 |
| 11534 | // .. ==> 0XF800078C[7:5] = 0x00000000U |
| 11535 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11536 | // .. Speed = 0 |
| 11537 | // .. ==> 0XF800078C[8:8] = 0x00000000U |
| 11538 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11539 | // .. IO_Type = 1 |
| 11540 | // .. ==> 0XF800078C[11:9] = 0x00000001U |
| 11541 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11542 | // .. PULLUP = 0 |
| 11543 | // .. ==> 0XF800078C[12:12] = 0x00000000U |
| 11544 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11545 | // .. DisableRcvr = 0 |
| 11546 | // .. ==> 0XF800078C[13:13] = 0x00000000U |
| 11547 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11548 | // .. |
| 11549 | EMIT_MASKWRITE(0XF800078C, 0x00003FFFU ,0x00000204U), |
| 11550 | // .. TRI_ENABLE = 1 |
| 11551 | // .. ==> 0XF8000790[0:0] = 0x00000001U |
| 11552 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11553 | // .. L0_SEL = 0 |
| 11554 | // .. ==> 0XF8000790[1:1] = 0x00000000U |
| 11555 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11556 | // .. L1_SEL = 1 |
| 11557 | // .. ==> 0XF8000790[2:2] = 0x00000001U |
| 11558 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11559 | // .. L2_SEL = 0 |
| 11560 | // .. ==> 0XF8000790[4:3] = 0x00000000U |
| 11561 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11562 | // .. L3_SEL = 0 |
| 11563 | // .. ==> 0XF8000790[7:5] = 0x00000000U |
| 11564 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11565 | // .. Speed = 0 |
| 11566 | // .. ==> 0XF8000790[8:8] = 0x00000000U |
| 11567 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11568 | // .. IO_Type = 1 |
| 11569 | // .. ==> 0XF8000790[11:9] = 0x00000001U |
| 11570 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11571 | // .. PULLUP = 0 |
| 11572 | // .. ==> 0XF8000790[12:12] = 0x00000000U |
| 11573 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11574 | // .. DisableRcvr = 0 |
| 11575 | // .. ==> 0XF8000790[13:13] = 0x00000000U |
| 11576 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11577 | // .. |
| 11578 | EMIT_MASKWRITE(0XF8000790, 0x00003FFFU ,0x00000205U), |
| 11579 | // .. TRI_ENABLE = 0 |
| 11580 | // .. ==> 0XF8000794[0:0] = 0x00000000U |
| 11581 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11582 | // .. L0_SEL = 0 |
| 11583 | // .. ==> 0XF8000794[1:1] = 0x00000000U |
| 11584 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11585 | // .. L1_SEL = 1 |
| 11586 | // .. ==> 0XF8000794[2:2] = 0x00000001U |
| 11587 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11588 | // .. L2_SEL = 0 |
| 11589 | // .. ==> 0XF8000794[4:3] = 0x00000000U |
| 11590 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11591 | // .. L3_SEL = 0 |
| 11592 | // .. ==> 0XF8000794[7:5] = 0x00000000U |
| 11593 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11594 | // .. Speed = 0 |
| 11595 | // .. ==> 0XF8000794[8:8] = 0x00000000U |
| 11596 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11597 | // .. IO_Type = 1 |
| 11598 | // .. ==> 0XF8000794[11:9] = 0x00000001U |
| 11599 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11600 | // .. PULLUP = 0 |
| 11601 | // .. ==> 0XF8000794[12:12] = 0x00000000U |
| 11602 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11603 | // .. DisableRcvr = 0 |
| 11604 | // .. ==> 0XF8000794[13:13] = 0x00000000U |
| 11605 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11606 | // .. |
| 11607 | EMIT_MASKWRITE(0XF8000794, 0x00003FFFU ,0x00000204U), |
| 11608 | // .. TRI_ENABLE = 0 |
| 11609 | // .. ==> 0XF8000798[0:0] = 0x00000000U |
| 11610 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11611 | // .. L0_SEL = 0 |
| 11612 | // .. ==> 0XF8000798[1:1] = 0x00000000U |
| 11613 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11614 | // .. L1_SEL = 1 |
| 11615 | // .. ==> 0XF8000798[2:2] = 0x00000001U |
| 11616 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11617 | // .. L2_SEL = 0 |
| 11618 | // .. ==> 0XF8000798[4:3] = 0x00000000U |
| 11619 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11620 | // .. L3_SEL = 0 |
| 11621 | // .. ==> 0XF8000798[7:5] = 0x00000000U |
| 11622 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11623 | // .. Speed = 0 |
| 11624 | // .. ==> 0XF8000798[8:8] = 0x00000000U |
| 11625 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11626 | // .. IO_Type = 1 |
| 11627 | // .. ==> 0XF8000798[11:9] = 0x00000001U |
| 11628 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11629 | // .. PULLUP = 0 |
| 11630 | // .. ==> 0XF8000798[12:12] = 0x00000000U |
| 11631 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11632 | // .. DisableRcvr = 0 |
| 11633 | // .. ==> 0XF8000798[13:13] = 0x00000000U |
| 11634 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11635 | // .. |
| 11636 | EMIT_MASKWRITE(0XF8000798, 0x00003FFFU ,0x00000204U), |
| 11637 | // .. TRI_ENABLE = 0 |
| 11638 | // .. ==> 0XF800079C[0:0] = 0x00000000U |
| 11639 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11640 | // .. L0_SEL = 0 |
| 11641 | // .. ==> 0XF800079C[1:1] = 0x00000000U |
| 11642 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11643 | // .. L1_SEL = 1 |
| 11644 | // .. ==> 0XF800079C[2:2] = 0x00000001U |
| 11645 | // .. ==> MASK : 0x00000004U VAL : 0x00000004U |
| 11646 | // .. L2_SEL = 0 |
| 11647 | // .. ==> 0XF800079C[4:3] = 0x00000000U |
| 11648 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11649 | // .. L3_SEL = 0 |
| 11650 | // .. ==> 0XF800079C[7:5] = 0x00000000U |
| 11651 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11652 | // .. Speed = 0 |
| 11653 | // .. ==> 0XF800079C[8:8] = 0x00000000U |
| 11654 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11655 | // .. IO_Type = 1 |
| 11656 | // .. ==> 0XF800079C[11:9] = 0x00000001U |
| 11657 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11658 | // .. PULLUP = 0 |
| 11659 | // .. ==> 0XF800079C[12:12] = 0x00000000U |
| 11660 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11661 | // .. DisableRcvr = 0 |
| 11662 | // .. ==> 0XF800079C[13:13] = 0x00000000U |
| 11663 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11664 | // .. |
| 11665 | EMIT_MASKWRITE(0XF800079C, 0x00003FFFU ,0x00000204U), |
| 11666 | // .. TRI_ENABLE = 0 |
| 11667 | // .. ==> 0XF80007A0[0:0] = 0x00000000U |
| 11668 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11669 | // .. L0_SEL = 0 |
| 11670 | // .. ==> 0XF80007A0[1:1] = 0x00000000U |
| 11671 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11672 | // .. L1_SEL = 0 |
| 11673 | // .. ==> 0XF80007A0[2:2] = 0x00000000U |
| 11674 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11675 | // .. L2_SEL = 0 |
| 11676 | // .. ==> 0XF80007A0[4:3] = 0x00000000U |
| 11677 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11678 | // .. L3_SEL = 4 |
| 11679 | // .. ==> 0XF80007A0[7:5] = 0x00000004U |
| 11680 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11681 | // .. Speed = 0 |
| 11682 | // .. ==> 0XF80007A0[8:8] = 0x00000000U |
| 11683 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11684 | // .. IO_Type = 1 |
| 11685 | // .. ==> 0XF80007A0[11:9] = 0x00000001U |
| 11686 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11687 | // .. PULLUP = 0 |
| 11688 | // .. ==> 0XF80007A0[12:12] = 0x00000000U |
| 11689 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11690 | // .. DisableRcvr = 0 |
| 11691 | // .. ==> 0XF80007A0[13:13] = 0x00000000U |
| 11692 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11693 | // .. |
| 11694 | EMIT_MASKWRITE(0XF80007A0, 0x00003FFFU ,0x00000280U), |
| 11695 | // .. TRI_ENABLE = 0 |
| 11696 | // .. ==> 0XF80007A4[0:0] = 0x00000000U |
| 11697 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11698 | // .. L0_SEL = 0 |
| 11699 | // .. ==> 0XF80007A4[1:1] = 0x00000000U |
| 11700 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11701 | // .. L1_SEL = 0 |
| 11702 | // .. ==> 0XF80007A4[2:2] = 0x00000000U |
| 11703 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11704 | // .. L2_SEL = 0 |
| 11705 | // .. ==> 0XF80007A4[4:3] = 0x00000000U |
| 11706 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11707 | // .. L3_SEL = 4 |
| 11708 | // .. ==> 0XF80007A4[7:5] = 0x00000004U |
| 11709 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11710 | // .. Speed = 0 |
| 11711 | // .. ==> 0XF80007A4[8:8] = 0x00000000U |
| 11712 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11713 | // .. IO_Type = 1 |
| 11714 | // .. ==> 0XF80007A4[11:9] = 0x00000001U |
| 11715 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11716 | // .. PULLUP = 0 |
| 11717 | // .. ==> 0XF80007A4[12:12] = 0x00000000U |
| 11718 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11719 | // .. DisableRcvr = 0 |
| 11720 | // .. ==> 0XF80007A4[13:13] = 0x00000000U |
| 11721 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11722 | // .. |
| 11723 | EMIT_MASKWRITE(0XF80007A4, 0x00003FFFU ,0x00000280U), |
| 11724 | // .. TRI_ENABLE = 0 |
| 11725 | // .. ==> 0XF80007A8[0:0] = 0x00000000U |
| 11726 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11727 | // .. L0_SEL = 0 |
| 11728 | // .. ==> 0XF80007A8[1:1] = 0x00000000U |
| 11729 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11730 | // .. L1_SEL = 0 |
| 11731 | // .. ==> 0XF80007A8[2:2] = 0x00000000U |
| 11732 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11733 | // .. L2_SEL = 0 |
| 11734 | // .. ==> 0XF80007A8[4:3] = 0x00000000U |
| 11735 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11736 | // .. L3_SEL = 4 |
| 11737 | // .. ==> 0XF80007A8[7:5] = 0x00000004U |
| 11738 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11739 | // .. Speed = 0 |
| 11740 | // .. ==> 0XF80007A8[8:8] = 0x00000000U |
| 11741 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11742 | // .. IO_Type = 1 |
| 11743 | // .. ==> 0XF80007A8[11:9] = 0x00000001U |
| 11744 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11745 | // .. PULLUP = 0 |
| 11746 | // .. ==> 0XF80007A8[12:12] = 0x00000000U |
| 11747 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11748 | // .. DisableRcvr = 0 |
| 11749 | // .. ==> 0XF80007A8[13:13] = 0x00000000U |
| 11750 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11751 | // .. |
| 11752 | EMIT_MASKWRITE(0XF80007A8, 0x00003FFFU ,0x00000280U), |
| 11753 | // .. TRI_ENABLE = 0 |
| 11754 | // .. ==> 0XF80007AC[0:0] = 0x00000000U |
| 11755 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11756 | // .. L0_SEL = 0 |
| 11757 | // .. ==> 0XF80007AC[1:1] = 0x00000000U |
| 11758 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11759 | // .. L1_SEL = 0 |
| 11760 | // .. ==> 0XF80007AC[2:2] = 0x00000000U |
| 11761 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11762 | // .. L2_SEL = 0 |
| 11763 | // .. ==> 0XF80007AC[4:3] = 0x00000000U |
| 11764 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11765 | // .. L3_SEL = 4 |
| 11766 | // .. ==> 0XF80007AC[7:5] = 0x00000004U |
| 11767 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11768 | // .. Speed = 0 |
| 11769 | // .. ==> 0XF80007AC[8:8] = 0x00000000U |
| 11770 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11771 | // .. IO_Type = 1 |
| 11772 | // .. ==> 0XF80007AC[11:9] = 0x00000001U |
| 11773 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11774 | // .. PULLUP = 0 |
| 11775 | // .. ==> 0XF80007AC[12:12] = 0x00000000U |
| 11776 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11777 | // .. DisableRcvr = 0 |
| 11778 | // .. ==> 0XF80007AC[13:13] = 0x00000000U |
| 11779 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11780 | // .. |
| 11781 | EMIT_MASKWRITE(0XF80007AC, 0x00003FFFU ,0x00000280U), |
| 11782 | // .. TRI_ENABLE = 0 |
| 11783 | // .. ==> 0XF80007B0[0:0] = 0x00000000U |
| 11784 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11785 | // .. L0_SEL = 0 |
| 11786 | // .. ==> 0XF80007B0[1:1] = 0x00000000U |
| 11787 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11788 | // .. L1_SEL = 0 |
| 11789 | // .. ==> 0XF80007B0[2:2] = 0x00000000U |
| 11790 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11791 | // .. L2_SEL = 0 |
| 11792 | // .. ==> 0XF80007B0[4:3] = 0x00000000U |
| 11793 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11794 | // .. L3_SEL = 4 |
| 11795 | // .. ==> 0XF80007B0[7:5] = 0x00000004U |
| 11796 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11797 | // .. Speed = 0 |
| 11798 | // .. ==> 0XF80007B0[8:8] = 0x00000000U |
| 11799 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11800 | // .. IO_Type = 1 |
| 11801 | // .. ==> 0XF80007B0[11:9] = 0x00000001U |
| 11802 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11803 | // .. PULLUP = 0 |
| 11804 | // .. ==> 0XF80007B0[12:12] = 0x00000000U |
| 11805 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11806 | // .. DisableRcvr = 0 |
| 11807 | // .. ==> 0XF80007B0[13:13] = 0x00000000U |
| 11808 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11809 | // .. |
| 11810 | EMIT_MASKWRITE(0XF80007B0, 0x00003FFFU ,0x00000280U), |
| 11811 | // .. TRI_ENABLE = 0 |
| 11812 | // .. ==> 0XF80007B4[0:0] = 0x00000000U |
| 11813 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11814 | // .. L0_SEL = 0 |
| 11815 | // .. ==> 0XF80007B4[1:1] = 0x00000000U |
| 11816 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11817 | // .. L1_SEL = 0 |
| 11818 | // .. ==> 0XF80007B4[2:2] = 0x00000000U |
| 11819 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11820 | // .. L2_SEL = 0 |
| 11821 | // .. ==> 0XF80007B4[4:3] = 0x00000000U |
| 11822 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11823 | // .. L3_SEL = 4 |
| 11824 | // .. ==> 0XF80007B4[7:5] = 0x00000004U |
| 11825 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 11826 | // .. Speed = 0 |
| 11827 | // .. ==> 0XF80007B4[8:8] = 0x00000000U |
| 11828 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11829 | // .. IO_Type = 1 |
| 11830 | // .. ==> 0XF80007B4[11:9] = 0x00000001U |
| 11831 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11832 | // .. PULLUP = 0 |
| 11833 | // .. ==> 0XF80007B4[12:12] = 0x00000000U |
| 11834 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11835 | // .. DisableRcvr = 0 |
| 11836 | // .. ==> 0XF80007B4[13:13] = 0x00000000U |
| 11837 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11838 | // .. |
| 11839 | EMIT_MASKWRITE(0XF80007B4, 0x00003FFFU ,0x00000280U), |
| 11840 | // .. TRI_ENABLE = 0 |
| 11841 | // .. ==> 0XF80007B8[0:0] = 0x00000000U |
| 11842 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11843 | // .. L0_SEL = 0 |
| 11844 | // .. ==> 0XF80007B8[1:1] = 0x00000000U |
| 11845 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11846 | // .. L1_SEL = 0 |
| 11847 | // .. ==> 0XF80007B8[2:2] = 0x00000000U |
| 11848 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11849 | // .. L2_SEL = 0 |
| 11850 | // .. ==> 0XF80007B8[4:3] = 0x00000000U |
| 11851 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11852 | // .. L3_SEL = 0 |
| 11853 | // .. ==> 0XF80007B8[7:5] = 0x00000000U |
| 11854 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11855 | // .. Speed = 0 |
| 11856 | // .. ==> 0XF80007B8[8:8] = 0x00000000U |
| 11857 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11858 | // .. IO_Type = 1 |
| 11859 | // .. ==> 0XF80007B8[11:9] = 0x00000001U |
| 11860 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11861 | // .. PULLUP = 1 |
| 11862 | // .. ==> 0XF80007B8[12:12] = 0x00000001U |
| 11863 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 11864 | // .. DisableRcvr = 0 |
| 11865 | // .. ==> 0XF80007B8[13:13] = 0x00000000U |
| 11866 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11867 | // .. |
| 11868 | EMIT_MASKWRITE(0XF80007B8, 0x00003FFFU ,0x00001200U), |
| 11869 | // .. TRI_ENABLE = 0 |
| 11870 | // .. ==> 0XF80007BC[0:0] = 0x00000000U |
| 11871 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11872 | // .. L0_SEL = 0 |
| 11873 | // .. ==> 0XF80007BC[1:1] = 0x00000000U |
| 11874 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11875 | // .. L1_SEL = 0 |
| 11876 | // .. ==> 0XF80007BC[2:2] = 0x00000000U |
| 11877 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11878 | // .. L2_SEL = 0 |
| 11879 | // .. ==> 0XF80007BC[4:3] = 0x00000000U |
| 11880 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11881 | // .. L3_SEL = 0 |
| 11882 | // .. ==> 0XF80007BC[7:5] = 0x00000000U |
| 11883 | // .. ==> MASK : 0x000000E0U VAL : 0x00000000U |
| 11884 | // .. Speed = 0 |
| 11885 | // .. ==> 0XF80007BC[8:8] = 0x00000000U |
| 11886 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11887 | // .. IO_Type = 1 |
| 11888 | // .. ==> 0XF80007BC[11:9] = 0x00000001U |
| 11889 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11890 | // .. PULLUP = 1 |
| 11891 | // .. ==> 0XF80007BC[12:12] = 0x00000001U |
| 11892 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 11893 | // .. DisableRcvr = 0 |
| 11894 | // .. ==> 0XF80007BC[13:13] = 0x00000000U |
| 11895 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11896 | // .. |
| 11897 | EMIT_MASKWRITE(0XF80007BC, 0x00003FFFU ,0x00001200U), |
| 11898 | // .. TRI_ENABLE = 0 |
| 11899 | // .. ==> 0XF80007C0[0:0] = 0x00000000U |
| 11900 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11901 | // .. L0_SEL = 0 |
| 11902 | // .. ==> 0XF80007C0[1:1] = 0x00000000U |
| 11903 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11904 | // .. L1_SEL = 0 |
| 11905 | // .. ==> 0XF80007C0[2:2] = 0x00000000U |
| 11906 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11907 | // .. L2_SEL = 0 |
| 11908 | // .. ==> 0XF80007C0[4:3] = 0x00000000U |
| 11909 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11910 | // .. L3_SEL = 7 |
| 11911 | // .. ==> 0XF80007C0[7:5] = 0x00000007U |
| 11912 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 11913 | // .. Speed = 0 |
| 11914 | // .. ==> 0XF80007C0[8:8] = 0x00000000U |
| 11915 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11916 | // .. IO_Type = 1 |
| 11917 | // .. ==> 0XF80007C0[11:9] = 0x00000001U |
| 11918 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11919 | // .. PULLUP = 0 |
| 11920 | // .. ==> 0XF80007C0[12:12] = 0x00000000U |
| 11921 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11922 | // .. DisableRcvr = 0 |
| 11923 | // .. ==> 0XF80007C0[13:13] = 0x00000000U |
| 11924 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11925 | // .. |
| 11926 | EMIT_MASKWRITE(0XF80007C0, 0x00003FFFU ,0x000002E0U), |
| 11927 | // .. TRI_ENABLE = 1 |
| 11928 | // .. ==> 0XF80007C4[0:0] = 0x00000001U |
| 11929 | // .. ==> MASK : 0x00000001U VAL : 0x00000001U |
| 11930 | // .. L0_SEL = 0 |
| 11931 | // .. ==> 0XF80007C4[1:1] = 0x00000000U |
| 11932 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11933 | // .. L1_SEL = 0 |
| 11934 | // .. ==> 0XF80007C4[2:2] = 0x00000000U |
| 11935 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11936 | // .. L2_SEL = 0 |
| 11937 | // .. ==> 0XF80007C4[4:3] = 0x00000000U |
| 11938 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11939 | // .. L3_SEL = 7 |
| 11940 | // .. ==> 0XF80007C4[7:5] = 0x00000007U |
| 11941 | // .. ==> MASK : 0x000000E0U VAL : 0x000000E0U |
| 11942 | // .. Speed = 0 |
| 11943 | // .. ==> 0XF80007C4[8:8] = 0x00000000U |
| 11944 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11945 | // .. IO_Type = 1 |
| 11946 | // .. ==> 0XF80007C4[11:9] = 0x00000001U |
| 11947 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11948 | // .. PULLUP = 0 |
| 11949 | // .. ==> 0XF80007C4[12:12] = 0x00000000U |
| 11950 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 11951 | // .. DisableRcvr = 0 |
| 11952 | // .. ==> 0XF80007C4[13:13] = 0x00000000U |
| 11953 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11954 | // .. |
| 11955 | EMIT_MASKWRITE(0XF80007C4, 0x00003FFFU ,0x000002E1U), |
| 11956 | // .. TRI_ENABLE = 0 |
| 11957 | // .. ==> 0XF80007C8[0:0] = 0x00000000U |
| 11958 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11959 | // .. L0_SEL = 0 |
| 11960 | // .. ==> 0XF80007C8[1:1] = 0x00000000U |
| 11961 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11962 | // .. L1_SEL = 0 |
| 11963 | // .. ==> 0XF80007C8[2:2] = 0x00000000U |
| 11964 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11965 | // .. L2_SEL = 0 |
| 11966 | // .. ==> 0XF80007C8[4:3] = 0x00000000U |
| 11967 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11968 | // .. L3_SEL = 2 |
| 11969 | // .. ==> 0XF80007C8[7:5] = 0x00000002U |
| 11970 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 11971 | // .. Speed = 0 |
| 11972 | // .. ==> 0XF80007C8[8:8] = 0x00000000U |
| 11973 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 11974 | // .. IO_Type = 1 |
| 11975 | // .. ==> 0XF80007C8[11:9] = 0x00000001U |
| 11976 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 11977 | // .. PULLUP = 1 |
| 11978 | // .. ==> 0XF80007C8[12:12] = 0x00000001U |
| 11979 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 11980 | // .. DisableRcvr = 0 |
| 11981 | // .. ==> 0XF80007C8[13:13] = 0x00000000U |
| 11982 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 11983 | // .. |
| 11984 | EMIT_MASKWRITE(0XF80007C8, 0x00003FFFU ,0x00001240U), |
| 11985 | // .. TRI_ENABLE = 0 |
| 11986 | // .. ==> 0XF80007CC[0:0] = 0x00000000U |
| 11987 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 11988 | // .. L0_SEL = 0 |
| 11989 | // .. ==> 0XF80007CC[1:1] = 0x00000000U |
| 11990 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 11991 | // .. L1_SEL = 0 |
| 11992 | // .. ==> 0XF80007CC[2:2] = 0x00000000U |
| 11993 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 11994 | // .. L2_SEL = 0 |
| 11995 | // .. ==> 0XF80007CC[4:3] = 0x00000000U |
| 11996 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 11997 | // .. L3_SEL = 2 |
| 11998 | // .. ==> 0XF80007CC[7:5] = 0x00000002U |
| 11999 | // .. ==> MASK : 0x000000E0U VAL : 0x00000040U |
| 12000 | // .. Speed = 0 |
| 12001 | // .. ==> 0XF80007CC[8:8] = 0x00000000U |
| 12002 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 12003 | // .. IO_Type = 1 |
| 12004 | // .. ==> 0XF80007CC[11:9] = 0x00000001U |
| 12005 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 12006 | // .. PULLUP = 1 |
| 12007 | // .. ==> 0XF80007CC[12:12] = 0x00000001U |
| 12008 | // .. ==> MASK : 0x00001000U VAL : 0x00001000U |
| 12009 | // .. DisableRcvr = 0 |
| 12010 | // .. ==> 0XF80007CC[13:13] = 0x00000000U |
| 12011 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 12012 | // .. |
| 12013 | EMIT_MASKWRITE(0XF80007CC, 0x00003FFFU ,0x00001240U), |
| 12014 | // .. TRI_ENABLE = 0 |
| 12015 | // .. ==> 0XF80007D0[0:0] = 0x00000000U |
| 12016 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 12017 | // .. L0_SEL = 0 |
| 12018 | // .. ==> 0XF80007D0[1:1] = 0x00000000U |
| 12019 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 12020 | // .. L1_SEL = 0 |
| 12021 | // .. ==> 0XF80007D0[2:2] = 0x00000000U |
| 12022 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 12023 | // .. L2_SEL = 0 |
| 12024 | // .. ==> 0XF80007D0[4:3] = 0x00000000U |
| 12025 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 12026 | // .. L3_SEL = 4 |
| 12027 | // .. ==> 0XF80007D0[7:5] = 0x00000004U |
| 12028 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 12029 | // .. Speed = 0 |
| 12030 | // .. ==> 0XF80007D0[8:8] = 0x00000000U |
| 12031 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 12032 | // .. IO_Type = 1 |
| 12033 | // .. ==> 0XF80007D0[11:9] = 0x00000001U |
| 12034 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 12035 | // .. PULLUP = 0 |
| 12036 | // .. ==> 0XF80007D0[12:12] = 0x00000000U |
| 12037 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 12038 | // .. DisableRcvr = 0 |
| 12039 | // .. ==> 0XF80007D0[13:13] = 0x00000000U |
| 12040 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 12041 | // .. |
| 12042 | EMIT_MASKWRITE(0XF80007D0, 0x00003FFFU ,0x00000280U), |
| 12043 | // .. TRI_ENABLE = 0 |
| 12044 | // .. ==> 0XF80007D4[0:0] = 0x00000000U |
| 12045 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 12046 | // .. L0_SEL = 0 |
| 12047 | // .. ==> 0XF80007D4[1:1] = 0x00000000U |
| 12048 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 12049 | // .. L1_SEL = 0 |
| 12050 | // .. ==> 0XF80007D4[2:2] = 0x00000000U |
| 12051 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 12052 | // .. L2_SEL = 0 |
| 12053 | // .. ==> 0XF80007D4[4:3] = 0x00000000U |
| 12054 | // .. ==> MASK : 0x00000018U VAL : 0x00000000U |
| 12055 | // .. L3_SEL = 4 |
| 12056 | // .. ==> 0XF80007D4[7:5] = 0x00000004U |
| 12057 | // .. ==> MASK : 0x000000E0U VAL : 0x00000080U |
| 12058 | // .. Speed = 0 |
| 12059 | // .. ==> 0XF80007D4[8:8] = 0x00000000U |
| 12060 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 12061 | // .. IO_Type = 1 |
| 12062 | // .. ==> 0XF80007D4[11:9] = 0x00000001U |
| 12063 | // .. ==> MASK : 0x00000E00U VAL : 0x00000200U |
| 12064 | // .. PULLUP = 0 |
| 12065 | // .. ==> 0XF80007D4[12:12] = 0x00000000U |
| 12066 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 12067 | // .. DisableRcvr = 0 |
| 12068 | // .. ==> 0XF80007D4[13:13] = 0x00000000U |
| 12069 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 12070 | // .. |
| 12071 | EMIT_MASKWRITE(0XF80007D4, 0x00003FFFU ,0x00000280U), |
| 12072 | // .. SDIO0_WP_SEL = 15 |
| 12073 | // .. ==> 0XF8000830[5:0] = 0x0000000FU |
| 12074 | // .. ==> MASK : 0x0000003FU VAL : 0x0000000FU |
| 12075 | // .. SDIO0_CD_SEL = 14 |
| 12076 | // .. ==> 0XF8000830[21:16] = 0x0000000EU |
| 12077 | // .. ==> MASK : 0x003F0000U VAL : 0x000E0000U |
| 12078 | // .. |
| 12079 | EMIT_MASKWRITE(0XF8000830, 0x003F003FU ,0x000E000FU), |
| 12080 | // .. FINISH: MIO PROGRAMMING |
| 12081 | // .. START: LOCK IT BACK |
| 12082 | // .. LOCK_KEY = 0X767B |
| 12083 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 12084 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 12085 | // .. |
| 12086 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 12087 | // .. FINISH: LOCK IT BACK |
| 12088 | // FINISH: top |
| 12089 | // |
| 12090 | EMIT_EXIT(), |
| 12091 | |
| 12092 | // |
| 12093 | }; |
| 12094 | |
| 12095 | unsigned long ps7_peripherals_init_data_1_0[] = { |
| 12096 | // START: top |
| 12097 | // .. START: SLCR SETTINGS |
| 12098 | // .. UNLOCK_KEY = 0XDF0D |
| 12099 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 12100 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 12101 | // .. |
| 12102 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 12103 | // .. FINISH: SLCR SETTINGS |
| 12104 | // .. START: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 12105 | // .. IBUF_DISABLE_MODE = 0x1 |
| 12106 | // .. ==> 0XF8000B48[7:7] = 0x00000001U |
| 12107 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 12108 | // .. TERM_DISABLE_MODE = 0x1 |
| 12109 | // .. ==> 0XF8000B48[8:8] = 0x00000001U |
| 12110 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 12111 | // .. |
| 12112 | EMIT_MASKWRITE(0XF8000B48, 0x00000180U ,0x00000180U), |
| 12113 | // .. IBUF_DISABLE_MODE = 0x1 |
| 12114 | // .. ==> 0XF8000B4C[7:7] = 0x00000001U |
| 12115 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 12116 | // .. TERM_DISABLE_MODE = 0x1 |
| 12117 | // .. ==> 0XF8000B4C[8:8] = 0x00000001U |
| 12118 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 12119 | // .. |
| 12120 | EMIT_MASKWRITE(0XF8000B4C, 0x00000180U ,0x00000180U), |
| 12121 | // .. IBUF_DISABLE_MODE = 0x1 |
| 12122 | // .. ==> 0XF8000B50[7:7] = 0x00000001U |
| 12123 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 12124 | // .. TERM_DISABLE_MODE = 0x1 |
| 12125 | // .. ==> 0XF8000B50[8:8] = 0x00000001U |
| 12126 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 12127 | // .. |
| 12128 | EMIT_MASKWRITE(0XF8000B50, 0x00000180U ,0x00000180U), |
| 12129 | // .. IBUF_DISABLE_MODE = 0x1 |
| 12130 | // .. ==> 0XF8000B54[7:7] = 0x00000001U |
| 12131 | // .. ==> MASK : 0x00000080U VAL : 0x00000080U |
| 12132 | // .. TERM_DISABLE_MODE = 0x1 |
| 12133 | // .. ==> 0XF8000B54[8:8] = 0x00000001U |
| 12134 | // .. ==> MASK : 0x00000100U VAL : 0x00000100U |
| 12135 | // .. |
| 12136 | EMIT_MASKWRITE(0XF8000B54, 0x00000180U ,0x00000180U), |
| 12137 | // .. FINISH: DDR TERM/IBUF_DISABLE_MODE SETTINGS |
| 12138 | // .. START: LOCK IT BACK |
| 12139 | // .. LOCK_KEY = 0X767B |
| 12140 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 12141 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 12142 | // .. |
| 12143 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 12144 | // .. FINISH: LOCK IT BACK |
| 12145 | // .. START: SRAM/NOR SET OPMODE |
| 12146 | // .. FINISH: SRAM/NOR SET OPMODE |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12147 | // .. START: QSPI REGISTERS |
| 12148 | // .. Holdb_dr = 1 |
| 12149 | // .. ==> 0XE000D000[19:19] = 0x00000001U |
| 12150 | // .. ==> MASK : 0x00080000U VAL : 0x00080000U |
| 12151 | // .. |
| 12152 | EMIT_MASKWRITE(0XE000D000, 0x00080000U ,0x00080000U), |
| 12153 | // .. FINISH: QSPI REGISTERS |
| 12154 | // .. START: PL POWER ON RESET REGISTERS |
| 12155 | // .. PCFG_POR_CNT_4K = 0 |
| 12156 | // .. ==> 0XF8007000[29:29] = 0x00000000U |
| 12157 | // .. ==> MASK : 0x20000000U VAL : 0x00000000U |
| 12158 | // .. |
| 12159 | EMIT_MASKWRITE(0XF8007000, 0x20000000U ,0x00000000U), |
| 12160 | // .. FINISH: PL POWER ON RESET REGISTERS |
| 12161 | // .. START: SMC TIMING CALCULATION REGISTER UPDATE |
| 12162 | // .. .. START: NAND SET CYCLE |
| 12163 | // .. .. FINISH: NAND SET CYCLE |
| 12164 | // .. .. START: OPMODE |
| 12165 | // .. .. FINISH: OPMODE |
| 12166 | // .. .. START: DIRECT COMMAND |
| 12167 | // .. .. FINISH: DIRECT COMMAND |
| 12168 | // .. .. START: SRAM/NOR CS0 SET CYCLE |
| 12169 | // .. .. FINISH: SRAM/NOR CS0 SET CYCLE |
| 12170 | // .. .. START: DIRECT COMMAND |
| 12171 | // .. .. FINISH: DIRECT COMMAND |
| 12172 | // .. .. START: NOR CS0 BASE ADDRESS |
| 12173 | // .. .. FINISH: NOR CS0 BASE ADDRESS |
| 12174 | // .. .. START: SRAM/NOR CS1 SET CYCLE |
| 12175 | // .. .. FINISH: SRAM/NOR CS1 SET CYCLE |
| 12176 | // .. .. START: DIRECT COMMAND |
| 12177 | // .. .. FINISH: DIRECT COMMAND |
| 12178 | // .. .. START: NOR CS1 BASE ADDRESS |
| 12179 | // .. .. FINISH: NOR CS1 BASE ADDRESS |
| 12180 | // .. .. START: USB RESET |
| 12181 | // .. .. .. START: USB0 RESET |
| 12182 | // .. .. .. .. START: DIR MODE BANK 0 |
| 12183 | // .. .. .. .. DIRECTION_0 = 0x80 |
| 12184 | // .. .. .. .. ==> 0XE000A204[31:0] = 0x00000080U |
| 12185 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 12186 | // .. .. .. .. |
| 12187 | EMIT_MASKWRITE(0XE000A204, 0xFFFFFFFFU ,0x00000080U), |
| 12188 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 12189 | // .. .. .. .. START: DIR MODE BANK 1 |
| 12190 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 12191 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12192 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 12193 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 12194 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 12195 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 12196 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 12197 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 12198 | // .. .. .. .. |
| 12199 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 12200 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12201 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12202 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12203 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12204 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12205 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12206 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12207 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 12208 | // .. .. .. .. OP_ENABLE_0 = 0x80 |
| 12209 | // .. .. .. .. ==> 0XE000A208[31:0] = 0x00000080U |
| 12210 | // .. .. .. .. ==> MASK : 0xFFFFFFFFU VAL : 0x00000080U |
| 12211 | // .. .. .. .. |
| 12212 | EMIT_MASKWRITE(0XE000A208, 0xFFFFFFFFU ,0x00000080U), |
| 12213 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 12214 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 12215 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 12216 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12217 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 12218 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 12219 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 12220 | // .. .. .. .. DATA_0_LSW = 0x0 |
| 12221 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000000U |
| 12222 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 12223 | // .. .. .. .. |
| 12224 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0000U), |
| 12225 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12226 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12227 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12228 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12229 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12230 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12231 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12232 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12233 | // .. .. .. .. |
| 12234 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12235 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12236 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12237 | // .. .. .. .. MASK_0_LSW = 0xff7f |
| 12238 | // .. .. .. .. ==> 0XE000A000[31:16] = 0x0000FF7FU |
| 12239 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xFF7F0000U |
| 12240 | // .. .. .. .. DATA_0_LSW = 0x80 |
| 12241 | // .. .. .. .. ==> 0XE000A000[15:0] = 0x00000080U |
| 12242 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000080U |
| 12243 | // .. .. .. .. |
| 12244 | EMIT_MASKWRITE(0XE000A000, 0xFFFFFFFFU ,0xFF7F0080U), |
| 12245 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12246 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12247 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12248 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12249 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12250 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12251 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12252 | // .. .. .. FINISH: USB0 RESET |
| 12253 | // .. .. .. START: USB1 RESET |
| 12254 | // .. .. .. .. START: DIR MODE BANK 0 |
| 12255 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 12256 | // .. .. .. .. START: DIR MODE BANK 1 |
| 12257 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 12258 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12259 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12260 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12261 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12262 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12263 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12264 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12265 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12266 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 12267 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 12268 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 12269 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 12270 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12271 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12272 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12273 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12274 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12275 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12276 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12277 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12278 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12279 | // .. .. .. .. |
| 12280 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12281 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12282 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12283 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12284 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12285 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12286 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12287 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12288 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12289 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12290 | // .. .. .. FINISH: USB1 RESET |
| 12291 | // .. .. FINISH: USB RESET |
| 12292 | // .. .. START: ENET RESET |
| 12293 | // .. .. .. START: ENET0 RESET |
| 12294 | // .. .. .. .. START: DIR MODE BANK 0 |
| 12295 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 12296 | // .. .. .. .. START: DIR MODE BANK 1 |
| 12297 | // .. .. .. .. DIRECTION_1 = 0x8000 |
| 12298 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00008000U |
| 12299 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 12300 | // .. .. .. .. |
| 12301 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00008000U), |
| 12302 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 12303 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12304 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12305 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12306 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12307 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12308 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 12309 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 12310 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 12311 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 12312 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 12313 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 12314 | // .. .. .. .. |
| 12315 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 12316 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12317 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12318 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12319 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 12320 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 12321 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 12322 | // .. .. .. .. OP_ENABLE_1 = 0x8000 |
| 12323 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00008000U |
| 12324 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00008000U |
| 12325 | // .. .. .. .. |
| 12326 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00008000U), |
| 12327 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 12328 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12329 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12330 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12331 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12332 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12333 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 12334 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 12335 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 12336 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 12337 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 12338 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 12339 | // .. .. .. .. |
| 12340 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF0000U), |
| 12341 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12342 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12343 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12344 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12345 | // .. .. .. .. |
| 12346 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12347 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12348 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12349 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12350 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12351 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12352 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12353 | // .. .. .. .. MASK_1_LSW = 0x7fff |
| 12354 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x00007FFFU |
| 12355 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0x7FFF0000U |
| 12356 | // .. .. .. .. DATA_1_LSW = 0x8000 |
| 12357 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00008000U |
| 12358 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00008000U |
| 12359 | // .. .. .. .. |
| 12360 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0x7FFF8000U), |
| 12361 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12362 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12363 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12364 | // .. .. .. FINISH: ENET0 RESET |
| 12365 | // .. .. .. START: ENET1 RESET |
| 12366 | // .. .. .. .. START: DIR MODE BANK 0 |
| 12367 | // .. .. .. .. FINISH: DIR MODE BANK 0 |
| 12368 | // .. .. .. .. START: DIR MODE BANK 1 |
| 12369 | // .. .. .. .. FINISH: DIR MODE BANK 1 |
| 12370 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12371 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12372 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12373 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12374 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12375 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12376 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12377 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12378 | // .. .. .. .. START: OUTPUT ENABLE BANK 0 |
| 12379 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 12380 | // .. .. .. .. START: OUTPUT ENABLE BANK 1 |
| 12381 | // .. .. .. .. FINISH: OUTPUT ENABLE BANK 1 |
| 12382 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12383 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12384 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12385 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12386 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12387 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12388 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12389 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12390 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12391 | // .. .. .. .. |
| 12392 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12393 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12394 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12395 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12396 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12397 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12398 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12399 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12400 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12401 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12402 | // .. .. .. FINISH: ENET1 RESET |
| 12403 | // .. .. FINISH: ENET RESET |
| 12404 | // .. .. START: I2C RESET |
| 12405 | // .. .. .. START: I2C0 RESET |
| 12406 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 12407 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 12408 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 12409 | // .. .. .. .. DIRECTION_1 = 0x4000 |
| 12410 | // .. .. .. .. ==> 0XE000A244[21:0] = 0x00004000U |
| 12411 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 12412 | // .. .. .. .. |
| 12413 | EMIT_MASKWRITE(0XE000A244, 0x003FFFFFU ,0x00004000U), |
| 12414 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 12415 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12416 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12417 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12418 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12419 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12420 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 12421 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 12422 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 12423 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 12424 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 12425 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 12426 | // .. .. .. .. |
| 12427 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 12428 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12429 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12430 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12431 | // .. .. .. .. START: OUTPUT ENABLE |
| 12432 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 12433 | // .. .. .. .. START: OUTPUT ENABLE |
| 12434 | // .. .. .. .. OP_ENABLE_1 = 0x4000 |
| 12435 | // .. .. .. .. ==> 0XE000A248[21:0] = 0x00004000U |
| 12436 | // .. .. .. .. ==> MASK : 0x003FFFFFU VAL : 0x00004000U |
| 12437 | // .. .. .. .. |
| 12438 | EMIT_MASKWRITE(0XE000A248, 0x003FFFFFU ,0x00004000U), |
| 12439 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 12440 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12441 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12442 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12443 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12444 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12445 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 12446 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 12447 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 12448 | // .. .. .. .. DATA_1_LSW = 0x0 |
| 12449 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00000000U |
| 12450 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00000000U |
| 12451 | // .. .. .. .. |
| 12452 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF0000U), |
| 12453 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12454 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12455 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12456 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12457 | // .. .. .. .. |
| 12458 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12459 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12460 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12461 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12462 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12463 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12464 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12465 | // .. .. .. .. MASK_1_LSW = 0xbfff |
| 12466 | // .. .. .. .. ==> 0XE000A008[31:16] = 0x0000BFFFU |
| 12467 | // .. .. .. .. ==> MASK : 0xFFFF0000U VAL : 0xBFFF0000U |
| 12468 | // .. .. .. .. DATA_1_LSW = 0x4000 |
| 12469 | // .. .. .. .. ==> 0XE000A008[15:0] = 0x00004000U |
| 12470 | // .. .. .. .. ==> MASK : 0x0000FFFFU VAL : 0x00004000U |
| 12471 | // .. .. .. .. |
| 12472 | EMIT_MASKWRITE(0XE000A008, 0xFFFFFFFFU ,0xBFFF4000U), |
| 12473 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12474 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12475 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12476 | // .. .. .. FINISH: I2C0 RESET |
| 12477 | // .. .. .. START: I2C1 RESET |
| 12478 | // .. .. .. .. START: DIR MODE GPIO BANK0 |
| 12479 | // .. .. .. .. FINISH: DIR MODE GPIO BANK0 |
| 12480 | // .. .. .. .. START: DIR MODE GPIO BANK1 |
| 12481 | // .. .. .. .. FINISH: DIR MODE GPIO BANK1 |
| 12482 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12483 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12484 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12485 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12486 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12487 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12488 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12489 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12490 | // .. .. .. .. START: OUTPUT ENABLE |
| 12491 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 12492 | // .. .. .. .. START: OUTPUT ENABLE |
| 12493 | // .. .. .. .. FINISH: OUTPUT ENABLE |
| 12494 | // .. .. .. .. START: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12495 | // .. .. .. .. FINISH: MASK_DATA_0_LSW LOW BANK [15:0] |
| 12496 | // .. .. .. .. START: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12497 | // .. .. .. .. FINISH: MASK_DATA_0_MSW LOW BANK [31:16] |
| 12498 | // .. .. .. .. START: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12499 | // .. .. .. .. FINISH: MASK_DATA_1_LSW LOW BANK [47:32] |
| 12500 | // .. .. .. .. START: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12501 | // .. .. .. .. FINISH: MASK_DATA_1_MSW LOW BANK [53:48] |
| 12502 | // .. .. .. .. START: ADD 1 MS DELAY |
| 12503 | // .. .. .. .. |
| 12504 | EMIT_MASKDELAY(0XF8F00200, 1), |
| 12505 | // .. .. .. .. FINISH: ADD 1 MS DELAY |
| 12506 | // .. .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12507 | // .. .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12508 | // .. .. .. .. START: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12509 | // .. .. .. .. FINISH: MASK_DATA_0_MSW HIGH BANK [31:16] |
| 12510 | // .. .. .. .. START: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12511 | // .. .. .. .. FINISH: MASK_DATA_1_LSW HIGH BANK [47:32] |
| 12512 | // .. .. .. .. START: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12513 | // .. .. .. .. FINISH: MASK_DATA_1_MSW HIGH BANK [53:48] |
| 12514 | // .. .. .. FINISH: I2C1 RESET |
| 12515 | // .. .. FINISH: I2C RESET |
| 12516 | // .. .. START: NOR CHIP SELECT |
| 12517 | // .. .. .. START: DIR MODE BANK 0 |
| 12518 | // .. .. .. FINISH: DIR MODE BANK 0 |
| 12519 | // .. .. .. START: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12520 | // .. .. .. FINISH: MASK_DATA_0_LSW HIGH BANK [15:0] |
| 12521 | // .. .. .. START: OUTPUT ENABLE BANK 0 |
| 12522 | // .. .. .. FINISH: OUTPUT ENABLE BANK 0 |
| 12523 | // .. .. FINISH: NOR CHIP SELECT |
| 12524 | // .. FINISH: SMC TIMING CALCULATION REGISTER UPDATE |
| 12525 | // FINISH: top |
| 12526 | // |
| 12527 | EMIT_EXIT(), |
| 12528 | |
| 12529 | // |
| 12530 | }; |
| 12531 | |
| 12532 | unsigned long ps7_post_config_1_0[] = { |
| 12533 | // START: top |
| 12534 | // .. START: SLCR SETTINGS |
| 12535 | // .. UNLOCK_KEY = 0XDF0D |
| 12536 | // .. ==> 0XF8000008[15:0] = 0x0000DF0DU |
| 12537 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000DF0DU |
| 12538 | // .. |
| 12539 | EMIT_MASKWRITE(0XF8000008, 0x0000FFFFU ,0x0000DF0DU), |
| 12540 | // .. FINISH: SLCR SETTINGS |
| 12541 | // .. START: ENABLING LEVEL SHIFTER |
| 12542 | // .. USER_INP_ICT_EN_0 = 3 |
| 12543 | // .. ==> 0XF8000900[1:0] = 0x00000003U |
| 12544 | // .. ==> MASK : 0x00000003U VAL : 0x00000003U |
| 12545 | // .. USER_INP_ICT_EN_1 = 3 |
| 12546 | // .. ==> 0XF8000900[3:2] = 0x00000003U |
| 12547 | // .. ==> MASK : 0x0000000CU VAL : 0x0000000CU |
| 12548 | // .. |
| 12549 | EMIT_MASKWRITE(0XF8000900, 0x0000000FU ,0x0000000FU), |
| 12550 | // .. FINISH: ENABLING LEVEL SHIFTER |
| 12551 | // .. START: FPGA RESETS TO 0 |
| 12552 | // .. reserved_3 = 0 |
| 12553 | // .. ==> 0XF8000240[31:25] = 0x00000000U |
| 12554 | // .. ==> MASK : 0xFE000000U VAL : 0x00000000U |
| 12555 | // .. FPGA_ACP_RST = 0 |
| 12556 | // .. ==> 0XF8000240[24:24] = 0x00000000U |
| 12557 | // .. ==> MASK : 0x01000000U VAL : 0x00000000U |
| 12558 | // .. FPGA_AXDS3_RST = 0 |
| 12559 | // .. ==> 0XF8000240[23:23] = 0x00000000U |
| 12560 | // .. ==> MASK : 0x00800000U VAL : 0x00000000U |
| 12561 | // .. FPGA_AXDS2_RST = 0 |
| 12562 | // .. ==> 0XF8000240[22:22] = 0x00000000U |
| 12563 | // .. ==> MASK : 0x00400000U VAL : 0x00000000U |
| 12564 | // .. FPGA_AXDS1_RST = 0 |
| 12565 | // .. ==> 0XF8000240[21:21] = 0x00000000U |
| 12566 | // .. ==> MASK : 0x00200000U VAL : 0x00000000U |
| 12567 | // .. FPGA_AXDS0_RST = 0 |
| 12568 | // .. ==> 0XF8000240[20:20] = 0x00000000U |
| 12569 | // .. ==> MASK : 0x00100000U VAL : 0x00000000U |
| 12570 | // .. reserved_2 = 0 |
| 12571 | // .. ==> 0XF8000240[19:18] = 0x00000000U |
| 12572 | // .. ==> MASK : 0x000C0000U VAL : 0x00000000U |
| 12573 | // .. FSSW1_FPGA_RST = 0 |
| 12574 | // .. ==> 0XF8000240[17:17] = 0x00000000U |
| 12575 | // .. ==> MASK : 0x00020000U VAL : 0x00000000U |
| 12576 | // .. FSSW0_FPGA_RST = 0 |
| 12577 | // .. ==> 0XF8000240[16:16] = 0x00000000U |
| 12578 | // .. ==> MASK : 0x00010000U VAL : 0x00000000U |
| 12579 | // .. reserved_1 = 0 |
| 12580 | // .. ==> 0XF8000240[15:14] = 0x00000000U |
| 12581 | // .. ==> MASK : 0x0000C000U VAL : 0x00000000U |
| 12582 | // .. FPGA_FMSW1_RST = 0 |
| 12583 | // .. ==> 0XF8000240[13:13] = 0x00000000U |
| 12584 | // .. ==> MASK : 0x00002000U VAL : 0x00000000U |
| 12585 | // .. FPGA_FMSW0_RST = 0 |
| 12586 | // .. ==> 0XF8000240[12:12] = 0x00000000U |
| 12587 | // .. ==> MASK : 0x00001000U VAL : 0x00000000U |
| 12588 | // .. FPGA_DMA3_RST = 0 |
| 12589 | // .. ==> 0XF8000240[11:11] = 0x00000000U |
| 12590 | // .. ==> MASK : 0x00000800U VAL : 0x00000000U |
| 12591 | // .. FPGA_DMA2_RST = 0 |
| 12592 | // .. ==> 0XF8000240[10:10] = 0x00000000U |
| 12593 | // .. ==> MASK : 0x00000400U VAL : 0x00000000U |
| 12594 | // .. FPGA_DMA1_RST = 0 |
| 12595 | // .. ==> 0XF8000240[9:9] = 0x00000000U |
| 12596 | // .. ==> MASK : 0x00000200U VAL : 0x00000000U |
| 12597 | // .. FPGA_DMA0_RST = 0 |
| 12598 | // .. ==> 0XF8000240[8:8] = 0x00000000U |
| 12599 | // .. ==> MASK : 0x00000100U VAL : 0x00000000U |
| 12600 | // .. reserved = 0 |
| 12601 | // .. ==> 0XF8000240[7:4] = 0x00000000U |
| 12602 | // .. ==> MASK : 0x000000F0U VAL : 0x00000000U |
| 12603 | // .. FPGA3_OUT_RST = 0 |
| 12604 | // .. ==> 0XF8000240[3:3] = 0x00000000U |
| 12605 | // .. ==> MASK : 0x00000008U VAL : 0x00000000U |
| 12606 | // .. FPGA2_OUT_RST = 0 |
| 12607 | // .. ==> 0XF8000240[2:2] = 0x00000000U |
| 12608 | // .. ==> MASK : 0x00000004U VAL : 0x00000000U |
| 12609 | // .. FPGA1_OUT_RST = 0 |
| 12610 | // .. ==> 0XF8000240[1:1] = 0x00000000U |
| 12611 | // .. ==> MASK : 0x00000002U VAL : 0x00000000U |
| 12612 | // .. FPGA0_OUT_RST = 0 |
| 12613 | // .. ==> 0XF8000240[0:0] = 0x00000000U |
| 12614 | // .. ==> MASK : 0x00000001U VAL : 0x00000000U |
| 12615 | // .. |
| 12616 | EMIT_MASKWRITE(0XF8000240, 0xFFFFFFFFU ,0x00000000U), |
| 12617 | // .. FINISH: FPGA RESETS TO 0 |
| 12618 | // .. START: AFI REGISTERS |
| 12619 | // .. .. START: AFI0 REGISTERS |
| 12620 | // .. .. FINISH: AFI0 REGISTERS |
| 12621 | // .. .. START: AFI1 REGISTERS |
| 12622 | // .. .. FINISH: AFI1 REGISTERS |
| 12623 | // .. .. START: AFI2 REGISTERS |
| 12624 | // .. .. FINISH: AFI2 REGISTERS |
| 12625 | // .. .. START: AFI3 REGISTERS |
| 12626 | // .. .. FINISH: AFI3 REGISTERS |
| 12627 | // .. FINISH: AFI REGISTERS |
| 12628 | // .. START: LOCK IT BACK |
| 12629 | // .. LOCK_KEY = 0X767B |
| 12630 | // .. ==> 0XF8000004[15:0] = 0x0000767BU |
| 12631 | // .. ==> MASK : 0x0000FFFFU VAL : 0x0000767BU |
| 12632 | // .. |
| 12633 | EMIT_MASKWRITE(0XF8000004, 0x0000FFFFU ,0x0000767BU), |
| 12634 | // .. FINISH: LOCK IT BACK |
| 12635 | // FINISH: top |
| 12636 | // |
| 12637 | EMIT_EXIT(), |
| 12638 | |
| 12639 | // |
| 12640 | }; |
| 12641 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12642 | |
| 12643 | |
| 12644 | #include "xil_io.h" |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12645 | |
| 12646 | unsigned long *ps7_mio_init_data = ps7_mio_init_data_3_0; |
| 12647 | unsigned long *ps7_pll_init_data = ps7_pll_init_data_3_0; |
| 12648 | unsigned long *ps7_clock_init_data = ps7_clock_init_data_3_0; |
| 12649 | unsigned long *ps7_ddr_init_data = ps7_ddr_init_data_3_0; |
| 12650 | unsigned long *ps7_peripherals_init_data = ps7_peripherals_init_data_3_0; |
| 12651 | |
| 12652 | int |
| 12653 | ps7_post_config() |
| 12654 | { |
| 12655 | // Get the PS_VERSION on run time |
| 12656 | unsigned long si_ver = ps7GetSiliconVersion (); |
| 12657 | int ret = -1; |
| 12658 | if (si_ver == PCW_SILICON_VERSION_1) { |
| 12659 | ret = ps7_config (ps7_post_config_1_0); |
| 12660 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12661 | } else if (si_ver == PCW_SILICON_VERSION_2) { |
| 12662 | ret = ps7_config (ps7_post_config_2_0); |
| 12663 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12664 | } else { |
| 12665 | ret = ps7_config (ps7_post_config_3_0); |
| 12666 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12667 | } |
| 12668 | return PS7_INIT_SUCCESS; |
| 12669 | } |
| 12670 | |
| 12671 | int |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12672 | ps7_init() |
| 12673 | { |
| 12674 | // Get the PS_VERSION on run time |
| 12675 | unsigned long si_ver = ps7GetSiliconVersion (); |
| 12676 | int ret; |
| 12677 | //int pcw_ver = 0; |
| 12678 | |
| 12679 | if (si_ver == PCW_SILICON_VERSION_1) { |
| 12680 | ps7_mio_init_data = ps7_mio_init_data_1_0; |
| 12681 | ps7_pll_init_data = ps7_pll_init_data_1_0; |
| 12682 | ps7_clock_init_data = ps7_clock_init_data_1_0; |
| 12683 | ps7_ddr_init_data = ps7_ddr_init_data_1_0; |
| 12684 | ps7_peripherals_init_data = ps7_peripherals_init_data_1_0; |
| 12685 | //pcw_ver = 1; |
| 12686 | |
| 12687 | } else if (si_ver == PCW_SILICON_VERSION_2) { |
| 12688 | ps7_mio_init_data = ps7_mio_init_data_2_0; |
| 12689 | ps7_pll_init_data = ps7_pll_init_data_2_0; |
| 12690 | ps7_clock_init_data = ps7_clock_init_data_2_0; |
| 12691 | ps7_ddr_init_data = ps7_ddr_init_data_2_0; |
| 12692 | ps7_peripherals_init_data = ps7_peripherals_init_data_2_0; |
| 12693 | //pcw_ver = 2; |
| 12694 | |
| 12695 | } else { |
| 12696 | ps7_mio_init_data = ps7_mio_init_data_3_0; |
| 12697 | ps7_pll_init_data = ps7_pll_init_data_3_0; |
| 12698 | ps7_clock_init_data = ps7_clock_init_data_3_0; |
| 12699 | ps7_ddr_init_data = ps7_ddr_init_data_3_0; |
| 12700 | ps7_peripherals_init_data = ps7_peripherals_init_data_3_0; |
| 12701 | //pcw_ver = 3; |
| 12702 | } |
| 12703 | |
| 12704 | // MIO init |
| 12705 | ret = ps7_config (ps7_mio_init_data); |
| 12706 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12707 | |
| 12708 | // PLL init |
| 12709 | ret = ps7_config (ps7_pll_init_data); |
| 12710 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12711 | |
| 12712 | // Clock init |
| 12713 | ret = ps7_config (ps7_clock_init_data); |
| 12714 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12715 | |
| 12716 | // DDR init |
| 12717 | ret = ps7_config (ps7_ddr_init_data); |
| 12718 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12719 | |
| 12720 | |
| 12721 | |
| 12722 | // Peripherals init |
| 12723 | ret = ps7_config (ps7_peripherals_init_data); |
| 12724 | if (ret != PS7_INIT_SUCCESS) return ret; |
| 12725 | //xil_printf ("\n PCW Silicon Version : %d.0", pcw_ver); |
| 12726 | return PS7_INIT_SUCCESS; |
| 12727 | } |
| 12728 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12729 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12730 | |
Masahiro Yamada | 2ab28d1 | 2015-05-18 15:31:52 +0900 | [diff] [blame] | 12731 | |