Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | /* |
| 3 | * Copyright 2021 NXP |
| 4 | * |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 5 | * Generated code from MX8ULP_DDR_tool |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 6 | * |
| 7 | */ |
| 8 | |
| 9 | #include <linux/kernel.h> |
| 10 | #include <asm/arch/ddr.h> |
| 11 | |
| 12 | /** CTL settings **/ |
| 13 | struct dram_cfg_param ddr_ctl_cfg[] = { |
| 14 | { 0x2e060000, 0xb00 }, /* 0 */ |
| 15 | { 0x2e060028, 0x258100 }, /* 10 */ |
| 16 | { 0x2e06002c, 0x17702 }, /* 11 */ |
| 17 | { 0x2e060030, 0x5 }, /* 12 */ |
| 18 | { 0x2e060034, 0x61 }, /* 13 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 19 | { 0x2e060038, 0x4b00 }, /* 14 */ |
| 20 | { 0x2e06003c, 0x2edfa }, /* 15 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 21 | { 0x2e060040, 0x5 }, /* 16 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 22 | { 0x2e060044, 0xc0 }, /* 17 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 23 | { 0x2e060048, 0x19c7d }, /* 18 */ |
| 24 | { 0x2e06004c, 0x101cdf }, /* 19 */ |
| 25 | { 0x2e060050, 0x5 }, /* 20 */ |
| 26 | { 0x2e060054, 0x420 }, /* 21 */ |
| 27 | { 0x2e060058, 0x1010000 }, /* 22 */ |
| 28 | { 0x2e06005c, 0x2011001 }, /* 23 */ |
| 29 | { 0x2e060060, 0x2010000 }, /* 24 */ |
| 30 | { 0x2e060064, 0x102 }, /* 25 */ |
| 31 | { 0x2e060068, 0xa }, /* 26 */ |
| 32 | { 0x2e06006c, 0x19 }, /* 27 */ |
| 33 | { 0x2e060078, 0x2020200 }, /* 30 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 34 | { 0x2e06007c, 0x1604 }, /* 31 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 35 | { 0x2e060090, 0x10 }, /* 36 */ |
| 36 | { 0x2e0600a4, 0x40c040c }, /* 41 */ |
| 37 | { 0x2e0600a8, 0x8040614 }, /* 42 */ |
| 38 | { 0x2e0600ac, 0x604 }, /* 43 */ |
| 39 | { 0x2e0600b0, 0x3090003 }, /* 44 */ |
| 40 | { 0x2e0600b4, 0x40002 }, /* 45 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 41 | { 0x2e0600b8, 0x50008 }, /* 46 */ |
| 42 | { 0x2e0600bc, 0x40309 }, /* 47 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 43 | { 0x2e0600c0, 0x2106 }, /* 48 */ |
| 44 | { 0x2e0600c4, 0xa090017 }, /* 49 */ |
| 45 | { 0x2e0600c8, 0x8200016 }, /* 50 */ |
| 46 | { 0x2e0600cc, 0xa0a }, /* 51 */ |
| 47 | { 0x2e0600d0, 0x4000694 }, /* 52 */ |
| 48 | { 0x2e0600d4, 0xa0a0804 }, /* 53 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 49 | { 0x2e0600d8, 0x4000d29 }, /* 54 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 50 | { 0x2e0600dc, 0xa0a0804 }, /* 55 */ |
| 51 | { 0x2e0600e0, 0x4004864 }, /* 56 */ |
| 52 | { 0x2e0600e4, 0x2030404 }, /* 57 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 53 | { 0x2e0600e8, 0x4040400 }, /* 58 */ |
| 54 | { 0x2e0600ec, 0x80b0a04 }, /* 59 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 55 | { 0x2e0600f0, 0x7010100 }, /* 60 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 56 | { 0x2e0600f4, 0x41507 }, /* 61 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 57 | { 0x2e0600fc, 0x1010000 }, /* 63 */ |
| 58 | { 0x2e060100, 0x1000000 }, /* 64 */ |
| 59 | { 0x2e060104, 0xe0403 }, /* 65 */ |
| 60 | { 0x2e060108, 0xb3 }, /* 66 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 61 | { 0x2e06010c, 0x1b }, /* 67 */ |
| 62 | { 0x2e060110, 0x16e }, /* 68 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 63 | { 0x2e060114, 0x94 }, /* 69 */ |
| 64 | { 0x2e060118, 0x803 }, /* 70 */ |
| 65 | { 0x2e06011c, 0x5 }, /* 71 */ |
| 66 | { 0x2e060120, 0x70000 }, /* 72 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 67 | { 0x2e060124, 0xe000f }, /* 73 */ |
| 68 | { 0x2e060128, 0x4a0026 }, /* 74 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 69 | { 0x2e06012c, 0x4000f9 }, /* 75 */ |
| 70 | { 0x2e060130, 0x120103 }, /* 76 */ |
| 71 | { 0x2e060134, 0x50005 }, /* 77 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 72 | { 0x2e060138, 0x7070005 }, /* 78 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 73 | { 0x2e06013c, 0x505010d }, /* 79 */ |
| 74 | { 0x2e060140, 0x101030a }, /* 80 */ |
| 75 | { 0x2e060144, 0x30a0505 }, /* 81 */ |
| 76 | { 0x2e060148, 0x5050101 }, /* 82 */ |
| 77 | { 0x2e06014c, 0x1030a }, /* 83 */ |
| 78 | { 0x2e060150, 0xe000e }, /* 84 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 79 | { 0x2e060154, 0x1c001c }, /* 85 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 80 | { 0x2e060158, 0x980098 }, /* 86 */ |
| 81 | { 0x2e06015c, 0x3050505 }, /* 87 */ |
| 82 | { 0x2e060160, 0x3010403 }, /* 88 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 83 | { 0x2e060164, 0x3050505 }, /* 89 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 84 | { 0x2e060168, 0x3010403 }, /* 90 */ |
| 85 | { 0x2e06016c, 0x8050505 }, /* 91 */ |
| 86 | { 0x2e060170, 0x3010403 }, /* 92 */ |
| 87 | { 0x2e060174, 0x3010000 }, /* 93 */ |
| 88 | { 0x2e060178, 0x10000 }, /* 94 */ |
| 89 | { 0x2e060180, 0x1000000 }, /* 96 */ |
| 90 | { 0x2e060184, 0x80104002 }, /* 97 */ |
| 91 | { 0x2e060188, 0x40003 }, /* 98 */ |
| 92 | { 0x2e06018c, 0x40005 }, /* 99 */ |
| 93 | { 0x2e060190, 0x30000 }, /* 100 */ |
| 94 | { 0x2e060194, 0x50004 }, /* 101 */ |
| 95 | { 0x2e060198, 0x4 }, /* 102 */ |
| 96 | { 0x2e06019c, 0x40003 }, /* 103 */ |
| 97 | { 0x2e0601a0, 0x40005 }, /* 104 */ |
| 98 | { 0x2e0601a8, 0x2cc0 }, /* 106 */ |
| 99 | { 0x2e0601ac, 0x2cc0 }, /* 107 */ |
| 100 | { 0x2e0601b0, 0x2cc0 }, /* 108 */ |
| 101 | { 0x2e0601b4, 0x2cc0 }, /* 109 */ |
| 102 | { 0x2e0601b8, 0x2cc0 }, /* 110 */ |
| 103 | { 0x2e0601c0, 0x4e5 }, /* 112 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 104 | { 0x2e0601c4, 0x5b80 }, /* 113 */ |
| 105 | { 0x2e0601c8, 0x5b80 }, /* 114 */ |
| 106 | { 0x2e0601cc, 0x5b80 }, /* 115 */ |
| 107 | { 0x2e0601d0, 0x5b80 }, /* 116 */ |
| 108 | { 0x2e0601d4, 0x5b80 }, /* 117 */ |
| 109 | { 0x2e0601dc, 0xa02 }, /* 119 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 110 | { 0x2e0601e0, 0x200c0 }, /* 120 */ |
| 111 | { 0x2e0601e4, 0x200c0 }, /* 121 */ |
| 112 | { 0x2e0601e8, 0x200c0 }, /* 122 */ |
| 113 | { 0x2e0601ec, 0x200c0 }, /* 123 */ |
| 114 | { 0x2e0601f0, 0x200c0 }, /* 124 */ |
| 115 | { 0x2e0601f8, 0x3815 }, /* 126 */ |
| 116 | { 0x2e06021c, 0x5000000 }, /* 135 */ |
| 117 | { 0x2e060220, 0x5030503 }, /* 136 */ |
| 118 | { 0x2e060224, 0x3 }, /* 137 */ |
| 119 | { 0x2e060228, 0x7010a09 }, /* 138 */ |
| 120 | { 0x2e06022c, 0xe0a09 }, /* 139 */ |
| 121 | { 0x2e060230, 0x10a0900 }, /* 140 */ |
| 122 | { 0x2e060234, 0xe0a0907 }, /* 141 */ |
| 123 | { 0x2e060238, 0xa090000 }, /* 142 */ |
| 124 | { 0x2e06023c, 0xa090701 }, /* 143 */ |
| 125 | { 0x2e060240, 0x101000e }, /* 144 */ |
| 126 | { 0x2e060244, 0x40003 }, /* 145 */ |
| 127 | { 0x2e060248, 0x7 }, /* 146 */ |
| 128 | { 0x2e060264, 0x4040100 }, /* 153 */ |
| 129 | { 0x2e060268, 0x1000000 }, /* 154 */ |
| 130 | { 0x2e06026c, 0x100000c0 }, /* 155 */ |
| 131 | { 0x2e060270, 0x100000c0 }, /* 156 */ |
| 132 | { 0x2e060274, 0x100000c0 }, /* 157 */ |
| 133 | { 0x2e06027c, 0x1600 }, /* 159 */ |
| 134 | { 0x2e060284, 0x1 }, /* 161 */ |
| 135 | { 0x2e060288, 0x2 }, /* 162 */ |
| 136 | { 0x2e06028c, 0x100e }, /* 163 */ |
| 137 | { 0x2e0602a4, 0xa0000 }, /* 169 */ |
| 138 | { 0x2e0602a8, 0xd0005 }, /* 170 */ |
| 139 | { 0x2e0602ac, 0x404 }, /* 171 */ |
| 140 | { 0x2e0602b0, 0xd }, /* 172 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 141 | { 0x2e0602b4, 0xa0014 }, /* 173 */ |
| 142 | { 0x2e0602b8, 0x4040018 }, /* 174 */ |
| 143 | { 0x2e0602bc, 0x18 }, /* 175 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 144 | { 0x2e0602c0, 0x35006a }, /* 176 */ |
| 145 | { 0x2e0602c4, 0x4040084 }, /* 177 */ |
| 146 | { 0x2e0602c8, 0x84 }, /* 178 */ |
| 147 | { 0x2e0602d8, 0x40004 }, /* 182 */ |
| 148 | { 0x2e0602dc, 0x30000914 }, /* 183 */ |
| 149 | { 0x2e0602e0, 0x3030 }, /* 184 */ |
| 150 | { 0x2e0602e4, 0x44440000 }, /* 185 */ |
| 151 | { 0x2e0602e8, 0x19191944 }, /* 186 */ |
| 152 | { 0x2e0602ec, 0x19191908 }, /* 187 */ |
| 153 | { 0x2e0602f0, 0x4000000 }, /* 188 */ |
| 154 | { 0x2e0602f4, 0x40404 }, /* 189 */ |
| 155 | { 0x2e0602f8, 0x9140004 }, /* 190 */ |
| 156 | { 0x2e0602fc, 0x30303000 }, /* 191 */ |
| 157 | { 0x2e060304, 0x19444444 }, /* 193 */ |
| 158 | { 0x2e060308, 0x19081919 }, /* 194 */ |
| 159 | { 0x2e06030c, 0x1919 }, /* 195 */ |
| 160 | { 0x2e060310, 0x4040400 }, /* 196 */ |
| 161 | { 0x2e060314, 0x1010120 }, /* 197 */ |
| 162 | { 0x2e060318, 0x1000100 }, /* 198 */ |
| 163 | { 0x2e06031c, 0x1 }, /* 199 */ |
| 164 | { 0x2e060324, 0x1000000 }, /* 201 */ |
| 165 | { 0x2e060328, 0x1 }, /* 202 */ |
| 166 | { 0x2e060354, 0x11000000 }, /* 213 */ |
| 167 | { 0x2e060358, 0x40c1815 }, /* 214 */ |
| 168 | { 0x2e060390, 0x30000 }, /* 228 */ |
| 169 | { 0x2e060394, 0x1000200 }, /* 229 */ |
| 170 | { 0x2e060398, 0x310040 }, /* 230 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 171 | { 0x2e06039c, 0x20008 }, /* 231 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 172 | { 0x2e0603a0, 0x400100 }, /* 232 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 173 | { 0x2e0603a4, 0x80060 }, /* 233 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 174 | { 0x2e0603a8, 0x1000200 }, /* 234 */ |
| 175 | { 0x2e0603ac, 0x2100040 }, /* 235 */ |
| 176 | { 0x2e0603b0, 0x10 }, /* 236 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 177 | { 0x2e0603b4, 0x50003 }, /* 237 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 178 | { 0x2e0603b8, 0x100001b }, /* 238 */ |
| 179 | { 0x2e0603d8, 0xffff0b00 }, /* 246 */ |
| 180 | { 0x2e0603dc, 0x1010001 }, /* 247 */ |
| 181 | { 0x2e0603e0, 0x1010101 }, /* 248 */ |
| 182 | { 0x2e0603e4, 0x10b0101 }, /* 249 */ |
| 183 | { 0x2e0603e8, 0x10000 }, /* 250 */ |
| 184 | { 0x2e0603ec, 0x4010101 }, /* 251 */ |
| 185 | { 0x2e0603f0, 0x1010000 }, /* 252 */ |
| 186 | { 0x2e0603f4, 0x4 }, /* 253 */ |
| 187 | { 0x2e0603fc, 0x3030101 }, /* 255 */ |
| 188 | { 0x2e060400, 0x103 }, /* 256 */ |
| 189 | { 0x2e0604a4, 0x2020101 }, /* 297 */ |
| 190 | { 0x2e0604a8, 0x10100 }, /* 298 */ |
| 191 | { 0x2e0604ac, 0x1000101 }, /* 299 */ |
| 192 | { 0x2e0604b0, 0x1010101 }, /* 300 */ |
| 193 | { 0x2e0604b4, 0x4030300 }, /* 301 */ |
| 194 | { 0x2e0604b8, 0x8080505 }, /* 302 */ |
| 195 | { 0x2e0604bc, 0x8020808 }, /* 303 */ |
| 196 | { 0x2e0604c0, 0x8020e00 }, /* 304 */ |
| 197 | { 0x2e0604c4, 0xa020e00 }, /* 305 */ |
| 198 | { 0x2e0604c8, 0x8000f00 }, /* 306 */ |
| 199 | { 0x2e0604cc, 0xa08 }, /* 307 */ |
| 200 | { 0x2e0604d0, 0x1010101 }, /* 308 */ |
Ye Li | 144e2b3 | 2023-01-31 16:42:32 +0800 | [diff] [blame^] | 201 | { 0x2e0604d4, 0x01000102 }, /* 309 */ |
| 202 | { 0x2e0604d8, 0x00000101 }, /* 310 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 203 | { 0x2e0604dc, 0x40400 }, /* 311 */ |
| 204 | { 0x2e0604e0, 0x4040000 }, /* 312 */ |
| 205 | { 0x2e0604e4, 0x4000000 }, /* 313 */ |
| 206 | { 0x2e0604e8, 0x10004 }, /* 314 */ |
| 207 | { 0x2e0604f0, 0xfffff }, /* 316 */ |
| 208 | { 0x2e0604f8, 0xfffff }, /* 318 */ |
| 209 | { 0x2e060500, 0xfffff }, /* 320 */ |
| 210 | { 0x2e060508, 0xfffff }, /* 322 */ |
| 211 | { 0x2e060510, 0xfffff }, /* 324 */ |
| 212 | { 0x2e060518, 0xfffff }, /* 326 */ |
| 213 | { 0x2e060520, 0xfffff }, /* 328 */ |
| 214 | { 0x2e060528, 0xfffff }, /* 330 */ |
| 215 | { 0x2e060530, 0xfffff }, /* 332 */ |
| 216 | { 0x2e060538, 0xfffff }, /* 334 */ |
| 217 | { 0x2e060540, 0xfffff }, /* 336 */ |
| 218 | { 0x2e060548, 0xfffff }, /* 338 */ |
| 219 | { 0x2e060550, 0xfffff }, /* 340 */ |
| 220 | { 0x2e060558, 0xfffff }, /* 342 */ |
| 221 | { 0x2e060560, 0xfffff }, /* 344 */ |
| 222 | { 0x2e060568, 0xfffff }, /* 346 */ |
| 223 | { 0x2e060570, 0xfffff }, /* 348 */ |
| 224 | { 0x2e060578, 0xfffff }, /* 350 */ |
| 225 | { 0x2e060580, 0xfffff }, /* 352 */ |
| 226 | { 0x2e060588, 0xfffff }, /* 354 */ |
| 227 | { 0x2e060590, 0xfffff }, /* 356 */ |
| 228 | { 0x2e060598, 0xfffff }, /* 358 */ |
| 229 | { 0x2e0605a0, 0xfffff }, /* 360 */ |
| 230 | { 0x2e0605a8, 0xfffff }, /* 362 */ |
| 231 | { 0x2e0605b0, 0xfffff }, /* 364 */ |
| 232 | { 0x2e0605b8, 0xfffff }, /* 366 */ |
| 233 | { 0x2e0605c0, 0xfffff }, /* 368 */ |
| 234 | { 0x2e0605c8, 0xfffff }, /* 370 */ |
| 235 | { 0x2e0605d0, 0xfffff }, /* 372 */ |
| 236 | { 0x2e0605d8, 0xfffff }, /* 374 */ |
| 237 | { 0x2e0605e0, 0xfffff }, /* 376 */ |
| 238 | { 0x2e0605e8, 0xfffff }, /* 378 */ |
| 239 | { 0x2e0605f0, 0xfffff }, /* 380 */ |
| 240 | { 0x2e0605f8, 0xfffff }, /* 382 */ |
| 241 | { 0x2e060600, 0xfffff }, /* 384 */ |
| 242 | { 0x2e060608, 0xfffff }, /* 386 */ |
| 243 | { 0x2e060610, 0xfffff }, /* 388 */ |
| 244 | { 0x2e060618, 0xfffff }, /* 390 */ |
| 245 | { 0x2e060620, 0xfffff }, /* 392 */ |
| 246 | { 0x2e060628, 0xfffff }, /* 394 */ |
| 247 | { 0x2e060630, 0xfffff }, /* 396 */ |
| 248 | { 0x2e060638, 0xfffff }, /* 398 */ |
| 249 | { 0x2e060640, 0xfffff }, /* 400 */ |
| 250 | { 0x2e060648, 0xfffff }, /* 402 */ |
| 251 | { 0x2e060650, 0xfffff }, /* 404 */ |
| 252 | { 0x2e060658, 0xfffff }, /* 406 */ |
| 253 | { 0x2e060660, 0xfffff }, /* 408 */ |
| 254 | { 0x2e060668, 0xfffff }, /* 410 */ |
| 255 | { 0x2e060670, 0xfffff }, /* 412 */ |
| 256 | { 0x2e060678, 0xfffff }, /* 414 */ |
| 257 | { 0x2e060680, 0xfffff }, /* 416 */ |
| 258 | { 0x2e060688, 0xfffff }, /* 418 */ |
| 259 | { 0x2e060690, 0xfffff }, /* 420 */ |
| 260 | { 0x2e060698, 0xfffff }, /* 422 */ |
| 261 | { 0x2e0606a0, 0xfffff }, /* 424 */ |
| 262 | { 0x2e0606a8, 0xfffff }, /* 426 */ |
| 263 | { 0x2e0606b0, 0xfffff }, /* 428 */ |
| 264 | { 0x2e0606b8, 0xfffff }, /* 430 */ |
| 265 | { 0x2e0606c0, 0xfffff }, /* 432 */ |
| 266 | { 0x2e0606c8, 0xfffff }, /* 434 */ |
| 267 | { 0x2e0606d0, 0xfffff }, /* 436 */ |
| 268 | { 0x2e0606d8, 0xfffff }, /* 438 */ |
| 269 | { 0x2e0606e0, 0xfffff }, /* 440 */ |
| 270 | { 0x2e0606e8, 0x30fffff }, /* 442 */ |
| 271 | { 0x2e0606ec, 0xffffffff }, /* 443 */ |
| 272 | { 0x2e0606f0, 0x30f0f }, /* 444 */ |
| 273 | { 0x2e0606f4, 0xffffffff }, /* 445 */ |
| 274 | { 0x2e0606f8, 0x30f0f }, /* 446 */ |
| 275 | { 0x2e0606fc, 0xffffffff }, /* 447 */ |
| 276 | { 0x2e060700, 0x30f0f }, /* 448 */ |
| 277 | { 0x2e060704, 0xffffffff }, /* 449 */ |
| 278 | { 0x2e060708, 0x30f0f }, /* 450 */ |
| 279 | { 0x2e06070c, 0xffffffff }, /* 451 */ |
| 280 | { 0x2e060710, 0x30f0f }, /* 452 */ |
| 281 | { 0x2e060714, 0xffffffff }, /* 453 */ |
| 282 | { 0x2e060718, 0x30f0f }, /* 454 */ |
| 283 | { 0x2e06071c, 0xffffffff }, /* 455 */ |
| 284 | { 0x2e060720, 0x30f0f }, /* 456 */ |
| 285 | { 0x2e060724, 0xffffffff }, /* 457 */ |
| 286 | { 0x2e060728, 0x30f0f }, /* 458 */ |
| 287 | { 0x2e06072c, 0xffffffff }, /* 459 */ |
| 288 | { 0x2e060730, 0x30f0f }, /* 460 */ |
| 289 | { 0x2e060734, 0xffffffff }, /* 461 */ |
| 290 | { 0x2e060738, 0x30f0f }, /* 462 */ |
| 291 | { 0x2e06073c, 0xffffffff }, /* 463 */ |
| 292 | { 0x2e060740, 0x30f0f }, /* 464 */ |
| 293 | { 0x2e060744, 0xffffffff }, /* 465 */ |
| 294 | { 0x2e060748, 0x30f0f }, /* 466 */ |
| 295 | { 0x2e06074c, 0xffffffff }, /* 467 */ |
| 296 | { 0x2e060750, 0x30f0f }, /* 468 */ |
| 297 | { 0x2e060754, 0xffffffff }, /* 469 */ |
| 298 | { 0x2e060758, 0x30f0f }, /* 470 */ |
| 299 | { 0x2e06075c, 0xffffffff }, /* 471 */ |
| 300 | { 0x2e060760, 0x30f0f }, /* 472 */ |
| 301 | { 0x2e060764, 0xffffffff }, /* 473 */ |
| 302 | { 0x2e060768, 0x30f0f }, /* 474 */ |
| 303 | { 0x2e06076c, 0xffffffff }, /* 475 */ |
| 304 | { 0x2e060770, 0x30f0f }, /* 476 */ |
| 305 | { 0x2e060774, 0xffffffff }, /* 477 */ |
| 306 | { 0x2e060778, 0x30f0f }, /* 478 */ |
| 307 | { 0x2e06077c, 0xffffffff }, /* 479 */ |
| 308 | { 0x2e060780, 0x30f0f }, /* 480 */ |
| 309 | { 0x2e060784, 0xffffffff }, /* 481 */ |
| 310 | { 0x2e060788, 0x30f0f }, /* 482 */ |
| 311 | { 0x2e06078c, 0xffffffff }, /* 483 */ |
| 312 | { 0x2e060790, 0x30f0f }, /* 484 */ |
| 313 | { 0x2e060794, 0xffffffff }, /* 485 */ |
| 314 | { 0x2e060798, 0x30f0f }, /* 486 */ |
| 315 | { 0x2e06079c, 0xffffffff }, /* 487 */ |
| 316 | { 0x2e0607a0, 0x30f0f }, /* 488 */ |
| 317 | { 0x2e0607a4, 0xffffffff }, /* 489 */ |
| 318 | { 0x2e0607a8, 0x30f0f }, /* 490 */ |
| 319 | { 0x2e0607ac, 0xffffffff }, /* 491 */ |
| 320 | { 0x2e0607b0, 0x30f0f }, /* 492 */ |
| 321 | { 0x2e0607b4, 0xffffffff }, /* 493 */ |
| 322 | { 0x2e0607b8, 0x30f0f }, /* 494 */ |
| 323 | { 0x2e0607bc, 0xffffffff }, /* 495 */ |
| 324 | { 0x2e0607c0, 0x30f0f }, /* 496 */ |
| 325 | { 0x2e0607c4, 0xffffffff }, /* 497 */ |
| 326 | { 0x2e0607c8, 0x30f0f }, /* 498 */ |
| 327 | { 0x2e0607cc, 0xffffffff }, /* 499 */ |
| 328 | { 0x2e0607d0, 0x30f0f }, /* 500 */ |
| 329 | { 0x2e0607d4, 0xffffffff }, /* 501 */ |
| 330 | { 0x2e0607d8, 0x30f0f }, /* 502 */ |
| 331 | { 0x2e0607dc, 0xffffffff }, /* 503 */ |
| 332 | { 0x2e0607e0, 0x30f0f }, /* 504 */ |
| 333 | { 0x2e0607e4, 0xffffffff }, /* 505 */ |
| 334 | { 0x2e0607e8, 0x30f0f }, /* 506 */ |
| 335 | { 0x2e0607ec, 0xffffffff }, /* 507 */ |
| 336 | { 0x2e0607f0, 0x30f0f }, /* 508 */ |
| 337 | { 0x2e0607f4, 0xffffffff }, /* 509 */ |
| 338 | { 0x2e0607f8, 0x30f0f }, /* 510 */ |
| 339 | { 0x2e0607fc, 0xffffffff }, /* 511 */ |
| 340 | { 0x2e060800, 0x30f0f }, /* 512 */ |
| 341 | { 0x2e060804, 0xffffffff }, /* 513 */ |
| 342 | { 0x2e060808, 0x30f0f }, /* 514 */ |
| 343 | { 0x2e06080c, 0xffffffff }, /* 515 */ |
| 344 | { 0x2e060810, 0x30f0f }, /* 516 */ |
| 345 | { 0x2e060814, 0xffffffff }, /* 517 */ |
| 346 | { 0x2e060818, 0x30f0f }, /* 518 */ |
| 347 | { 0x2e06081c, 0xffffffff }, /* 519 */ |
| 348 | { 0x2e060820, 0x30f0f }, /* 520 */ |
| 349 | { 0x2e060824, 0xffffffff }, /* 521 */ |
| 350 | { 0x2e060828, 0x30f0f }, /* 522 */ |
| 351 | { 0x2e06082c, 0xffffffff }, /* 523 */ |
| 352 | { 0x2e060830, 0x30f0f }, /* 524 */ |
| 353 | { 0x2e060834, 0xffffffff }, /* 525 */ |
| 354 | { 0x2e060838, 0x30f0f }, /* 526 */ |
| 355 | { 0x2e06083c, 0xffffffff }, /* 527 */ |
| 356 | { 0x2e060840, 0x30f0f }, /* 528 */ |
| 357 | { 0x2e060844, 0xffffffff }, /* 529 */ |
| 358 | { 0x2e060848, 0x30f0f }, /* 530 */ |
| 359 | { 0x2e06084c, 0xffffffff }, /* 531 */ |
| 360 | { 0x2e060850, 0x30f0f }, /* 532 */ |
| 361 | { 0x2e060854, 0xffffffff }, /* 533 */ |
| 362 | { 0x2e060858, 0x30f0f }, /* 534 */ |
| 363 | { 0x2e06085c, 0xffffffff }, /* 535 */ |
| 364 | { 0x2e060860, 0x30f0f }, /* 536 */ |
| 365 | { 0x2e060864, 0xffffffff }, /* 537 */ |
| 366 | { 0x2e060868, 0x30f0f }, /* 538 */ |
| 367 | { 0x2e06086c, 0xffffffff }, /* 539 */ |
| 368 | { 0x2e060870, 0x30f0f }, /* 540 */ |
| 369 | { 0x2e060874, 0xffffffff }, /* 541 */ |
| 370 | { 0x2e060878, 0x30f0f }, /* 542 */ |
| 371 | { 0x2e06087c, 0xffffffff }, /* 543 */ |
| 372 | { 0x2e060880, 0x30f0f }, /* 544 */ |
| 373 | { 0x2e060884, 0xffffffff }, /* 545 */ |
| 374 | { 0x2e060888, 0x30f0f }, /* 546 */ |
| 375 | { 0x2e06088c, 0xffffffff }, /* 547 */ |
| 376 | { 0x2e060890, 0x30f0f }, /* 548 */ |
| 377 | { 0x2e060894, 0xffffffff }, /* 549 */ |
| 378 | { 0x2e060898, 0x30f0f }, /* 550 */ |
| 379 | { 0x2e06089c, 0xffffffff }, /* 551 */ |
| 380 | { 0x2e0608a0, 0x30f0f }, /* 552 */ |
| 381 | { 0x2e0608a4, 0xffffffff }, /* 553 */ |
| 382 | { 0x2e0608a8, 0x30f0f }, /* 554 */ |
| 383 | { 0x2e0608ac, 0xffffffff }, /* 555 */ |
| 384 | { 0x2e0608b0, 0x30f0f }, /* 556 */ |
| 385 | { 0x2e0608b4, 0xffffffff }, /* 557 */ |
| 386 | { 0x2e0608b8, 0x30f0f }, /* 558 */ |
| 387 | { 0x2e0608bc, 0xffffffff }, /* 559 */ |
| 388 | { 0x2e0608c0, 0x30f0f }, /* 560 */ |
| 389 | { 0x2e0608c4, 0xffffffff }, /* 561 */ |
| 390 | { 0x2e0608c8, 0x30f0f }, /* 562 */ |
| 391 | { 0x2e0608cc, 0xffffffff }, /* 563 */ |
| 392 | { 0x2e0608d0, 0x30f0f }, /* 564 */ |
| 393 | { 0x2e0608d4, 0xffffffff }, /* 565 */ |
| 394 | { 0x2e0608d8, 0x30f0f }, /* 566 */ |
| 395 | { 0x2e0608dc, 0xffffffff }, /* 567 */ |
| 396 | { 0x2e0608e0, 0x30f0f }, /* 568 */ |
| 397 | { 0x2e0608e4, 0xffffffff }, /* 569 */ |
| 398 | { 0x2e0608e8, 0x32070f0f }, /* 570 */ |
| 399 | { 0x2e0608ec, 0x1320001 }, /* 571 */ |
| 400 | { 0x2e0608f0, 0x13200 }, /* 572 */ |
| 401 | { 0x2e0608f4, 0x132 }, /* 573 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 402 | { 0x2e0608fc, 0x1b1b0000 }, /* 575 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 403 | { 0x2e060900, 0x21 }, /* 576 */ |
| 404 | { 0x2e060904, 0xa }, /* 577 */ |
| 405 | { 0x2e060908, 0x166 }, /* 578 */ |
| 406 | { 0x2e06090c, 0x200 }, /* 579 */ |
| 407 | { 0x2e060910, 0x200 }, /* 580 */ |
| 408 | { 0x2e060914, 0x200 }, /* 581 */ |
| 409 | { 0x2e060918, 0x200 }, /* 582 */ |
| 410 | { 0x2e06091c, 0x432 }, /* 583 */ |
| 411 | { 0x2e060920, 0xdfc }, /* 584 */ |
| 412 | { 0x2e060924, 0x204 }, /* 585 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 413 | { 0x2e060928, 0x2dc }, /* 586 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 414 | { 0x2e06092c, 0x200 }, /* 587 */ |
| 415 | { 0x2e060930, 0x200 }, /* 588 */ |
| 416 | { 0x2e060934, 0x200 }, /* 589 */ |
| 417 | { 0x2e060938, 0x200 }, /* 590 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 418 | { 0x2e06093c, 0x894 }, /* 591 */ |
| 419 | { 0x2e060940, 0x1c98 }, /* 592 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 420 | { 0x2e060944, 0x204 }, /* 593 */ |
| 421 | { 0x2e060948, 0x1006 }, /* 594 */ |
| 422 | { 0x2e06094c, 0x200 }, /* 595 */ |
| 423 | { 0x2e060950, 0x200 }, /* 596 */ |
| 424 | { 0x2e060954, 0x200 }, /* 597 */ |
| 425 | { 0x2e060958, 0x200 }, /* 598 */ |
| 426 | { 0x2e06095c, 0x3012 }, /* 599 */ |
| 427 | { 0x2e060960, 0xa03c }, /* 600 */ |
| 428 | { 0x2e060964, 0x2020406 }, /* 601 */ |
| 429 | { 0x2e060968, 0x2030202 }, /* 602 */ |
| 430 | { 0x2e06096c, 0x1000202 }, /* 603 */ |
| 431 | { 0x2e060970, 0x3040100 }, /* 604 */ |
| 432 | { 0x2e060974, 0x10105 }, /* 605 */ |
| 433 | { 0x2e060978, 0x10101 }, /* 606 */ |
| 434 | { 0x2e06097c, 0x10101 }, /* 607 */ |
| 435 | { 0x2e060980, 0x10001 }, /* 608 */ |
| 436 | { 0x2e060984, 0x101 }, /* 609 */ |
| 437 | { 0x2e060988, 0x2000201 }, /* 610 */ |
| 438 | { 0x2e06098c, 0x2010000 }, /* 611 */ |
| 439 | { 0x2e060990, 0x6000200 }, /* 612 */ |
| 440 | { 0x2e060994, 0x3000a06 }, /* 613 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 441 | { 0x2e060998, 0x2000c03 }, /* 614 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 442 | }; |
| 443 | |
| 444 | /** PI settings **/ |
| 445 | struct dram_cfg_param ddr_pi_cfg[] = { |
| 446 | { 0x2e062000, 0xb00 }, /* 0 */ |
| 447 | { 0x2e062004, 0xbeedb66f }, /* 1 */ |
| 448 | { 0x2e062008, 0xabef6bd }, /* 2 */ |
| 449 | { 0x2e06200c, 0x1001387 }, /* 3 */ |
| 450 | { 0x2e062010, 0x1 }, /* 4 */ |
| 451 | { 0x2e062014, 0x10064 }, /* 5 */ |
| 452 | { 0x2e06202c, 0x201 }, /* 11 */ |
| 453 | { 0x2e062030, 0x7 }, /* 12 */ |
| 454 | { 0x2e062034, 0x50001 }, /* 13 */ |
| 455 | { 0x2e062038, 0x3030800 }, /* 14 */ |
| 456 | { 0x2e06203c, 0x1 }, /* 15 */ |
| 457 | { 0x2e062040, 0x5 }, /* 16 */ |
| 458 | { 0x2e062064, 0x1000000 }, /* 25 */ |
| 459 | { 0x2e062068, 0xa000001 }, /* 26 */ |
| 460 | { 0x2e06206c, 0x28 }, /* 27 */ |
| 461 | { 0x2e062070, 0x1 }, /* 28 */ |
| 462 | { 0x2e062074, 0x320005 }, /* 29 */ |
| 463 | { 0x2e062080, 0x10102 }, /* 32 */ |
| 464 | { 0x2e062084, 0x1 }, /* 33 */ |
| 465 | { 0x2e062088, 0xaa }, /* 34 */ |
| 466 | { 0x2e06208c, 0x55 }, /* 35 */ |
| 467 | { 0x2e062090, 0xb5 }, /* 36 */ |
| 468 | { 0x2e062094, 0x4a }, /* 37 */ |
| 469 | { 0x2e062098, 0x56 }, /* 38 */ |
| 470 | { 0x2e06209c, 0xa9 }, /* 39 */ |
| 471 | { 0x2e0620a0, 0xa9 }, /* 40 */ |
| 472 | { 0x2e0620a4, 0xb5 }, /* 41 */ |
| 473 | { 0x2e0620a8, 0x10000 }, /* 42 */ |
| 474 | { 0x2e0620ac, 0x100 }, /* 43 */ |
| 475 | { 0x2e0620b0, 0x5050000 }, /* 44 */ |
| 476 | { 0x2e0620b4, 0x13 }, /* 45 */ |
| 477 | { 0x2e0620b8, 0x7d0 }, /* 46 */ |
| 478 | { 0x2e0620bc, 0x300 }, /* 47 */ |
| 479 | { 0x2e0620c8, 0x1000000 }, /* 50 */ |
| 480 | { 0x2e0620cc, 0x10101 }, /* 51 */ |
| 481 | { 0x2e0620d8, 0x10003 }, /* 54 */ |
| 482 | { 0x2e0620dc, 0x170500 }, /* 55 */ |
| 483 | { 0x2e0620ec, 0xa140a01 }, /* 59 */ |
| 484 | { 0x2e0620f0, 0x204010a }, /* 60 */ |
| 485 | { 0x2e0620f4, 0x21010 }, /* 61 */ |
| 486 | { 0x2e0620f8, 0x40401 }, /* 62 */ |
| 487 | { 0x2e0620fc, 0x10e0005 }, /* 63 */ |
| 488 | { 0x2e062100, 0x5000001 }, /* 64 */ |
| 489 | { 0x2e062104, 0x204 }, /* 65 */ |
| 490 | { 0x2e062108, 0x34 }, /* 66 */ |
| 491 | { 0x2e062114, 0x1000000 }, /* 69 */ |
| 492 | { 0x2e062118, 0x1000000 }, /* 70 */ |
| 493 | { 0x2e06211c, 0x80200 }, /* 71 */ |
| 494 | { 0x2e062120, 0x2000200 }, /* 72 */ |
| 495 | { 0x2e062124, 0x1000100 }, /* 73 */ |
| 496 | { 0x2e062128, 0x1000000 }, /* 74 */ |
| 497 | { 0x2e06212c, 0x2000200 }, /* 75 */ |
| 498 | { 0x2e062130, 0x200 }, /* 76 */ |
| 499 | { 0x2e062164, 0x400 }, /* 89 */ |
| 500 | { 0x2e062168, 0x2010000 }, /* 90 */ |
| 501 | { 0x2e06216c, 0x80103 }, /* 91 */ |
| 502 | { 0x2e062174, 0x10008 }, /* 93 */ |
| 503 | { 0x2e06217c, 0xaa00 }, /* 95 */ |
| 504 | { 0x2e062188, 0x10000 }, /* 98 */ |
| 505 | { 0x2e0621ec, 0x8 }, /* 123 */ |
| 506 | { 0x2e062218, 0xf0000 }, /* 134 */ |
| 507 | { 0x2e06221c, 0xa }, /* 135 */ |
| 508 | { 0x2e062220, 0x19 }, /* 136 */ |
| 509 | { 0x2e062224, 0x100 }, /* 137 */ |
| 510 | { 0x2e062228, 0x100 }, /* 138 */ |
| 511 | { 0x2e062238, 0x1000000 }, /* 142 */ |
| 512 | { 0x2e06223c, 0x10003 }, /* 143 */ |
| 513 | { 0x2e062240, 0x2000101 }, /* 144 */ |
| 514 | { 0x2e062244, 0x1030001 }, /* 145 */ |
| 515 | { 0x2e062248, 0x10400 }, /* 146 */ |
| 516 | { 0x2e06224c, 0x6000105 }, /* 147 */ |
| 517 | { 0x2e062250, 0x1070001 }, /* 148 */ |
| 518 | { 0x2e062260, 0x10001 }, /* 152 */ |
| 519 | { 0x2e062274, 0x401 }, /* 157 */ |
| 520 | { 0x2e06227c, 0x10000 }, /* 159 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 521 | { 0x2e062284, 0x2010000 }, /* 161 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 522 | { 0x2e062288, 0xb }, /* 162 */ |
| 523 | { 0x2e06228c, 0x34 }, /* 163 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 524 | { 0x2e062290, 0x34 }, /* 164 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 525 | { 0x2e062294, 0x2003c }, /* 165 */ |
| 526 | { 0x2e062298, 0x2000200 }, /* 166 */ |
| 527 | { 0x2e06229c, 0xc040c04 }, /* 167 */ |
| 528 | { 0x2e0622a0, 0xe1406 }, /* 168 */ |
| 529 | { 0x2e0622a4, 0xb3 }, /* 169 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 530 | { 0x2e0622a8, 0x1b }, /* 170 */ |
| 531 | { 0x2e0622ac, 0x16e }, /* 171 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 532 | { 0x2e0622b0, 0x94 }, /* 172 */ |
| 533 | { 0x2e0622b4, 0x4000803 }, /* 173 */ |
| 534 | { 0x2e0622b8, 0x1010404 }, /* 174 */ |
| 535 | { 0x2e0622bc, 0x1501 }, /* 175 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 536 | { 0x2e0622c0, 0x1a0016 }, /* 176 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 537 | { 0x2e0622c4, 0x1000100 }, /* 177 */ |
| 538 | { 0x2e0622c8, 0x100 }, /* 178 */ |
| 539 | { 0x2e0622d0, 0x5040303 }, /* 180 */ |
| 540 | { 0x2e0622d4, 0x1010805 }, /* 181 */ |
| 541 | { 0x2e0622d8, 0x1010101 }, /* 182 */ |
| 542 | { 0x2e0622e8, 0x2060404 }, /* 186 */ |
| 543 | { 0x2e0622ec, 0x2020402 }, /* 187 */ |
| 544 | { 0x2e0622f0, 0x3102 }, /* 188 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 545 | { 0x2e0622f4, 0x320009 }, /* 189 */ |
| 546 | { 0x2e0622f8, 0x36000a }, /* 190 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 547 | { 0x2e0622fc, 0x101000e }, /* 191 */ |
| 548 | { 0x2e062300, 0xd0101 }, /* 192 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 549 | { 0x2e062304, 0x1001801 }, /* 193 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 550 | { 0x2e062308, 0x1000084 }, /* 194 */ |
| 551 | { 0x2e06230c, 0xe000e }, /* 195 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 552 | { 0x2e062310, 0x190100 }, /* 196 */ |
| 553 | { 0x2e062314, 0x1000019 }, /* 197 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 554 | { 0x2e062318, 0x850085 }, /* 198 */ |
| 555 | { 0x2e06231c, 0x220f220f }, /* 199 */ |
| 556 | { 0x2e062320, 0x101220f }, /* 200 */ |
| 557 | { 0x2e062324, 0xa070601 }, /* 201 */ |
| 558 | { 0x2e062328, 0xa07060d }, /* 202 */ |
| 559 | { 0x2e06232c, 0xa07070d }, /* 203 */ |
| 560 | { 0x2e062330, 0xc00d }, /* 204 */ |
| 561 | { 0x2e062334, 0xc01000 }, /* 205 */ |
| 562 | { 0x2e062338, 0xc01000 }, /* 206 */ |
| 563 | { 0x2e06233c, 0x21000 }, /* 207 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 564 | { 0x2e062340, 0x2000d }, /* 208 */ |
| 565 | { 0x2e062344, 0x140018 }, /* 209 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 566 | { 0x2e062348, 0x190084 }, /* 210 */ |
| 567 | { 0x2e06234c, 0x220f0056 }, /* 211 */ |
| 568 | { 0x2e062350, 0x101 }, /* 212 */ |
| 569 | { 0x2e062354, 0x560019 }, /* 213 */ |
| 570 | { 0x2e062358, 0x101220f }, /* 214 */ |
| 571 | { 0x2e06235c, 0x1b00 }, /* 215 */ |
| 572 | { 0x2e062360, 0x220f0056 }, /* 216 */ |
| 573 | { 0x2e062364, 0x8000101 }, /* 217 */ |
| 574 | { 0x2e062368, 0x4090403 }, /* 218 */ |
| 575 | { 0x2e06236c, 0x5eb }, /* 219 */ |
| 576 | { 0x2e062370, 0x20010003 }, /* 220 */ |
| 577 | { 0x2e062374, 0x80a0a03 }, /* 221 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 578 | { 0x2e062378, 0x4090403 }, /* 222 */ |
| 579 | { 0x2e06237c, 0xbd8 }, /* 223 */ |
| 580 | { 0x2e062380, 0x20010005 }, /* 224 */ |
| 581 | { 0x2e062384, 0x80a0a03 }, /* 225 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 582 | { 0x2e062388, 0xb090a0c }, /* 226 */ |
| 583 | { 0x2e06238c, 0x4126 }, /* 227 */ |
| 584 | { 0x2e062390, 0x20020017 }, /* 228 */ |
| 585 | { 0x2e062394, 0xa0a08 }, /* 229 */ |
| 586 | { 0x2e062398, 0x166 }, /* 230 */ |
| 587 | { 0x2e06239c, 0xdfc }, /* 231 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 588 | { 0x2e0623a0, 0x2dc }, /* 232 */ |
| 589 | { 0x2e0623a4, 0x1c98 }, /* 233 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 590 | { 0x2e0623a8, 0x1006 }, /* 234 */ |
| 591 | { 0x2e0623ac, 0xa03c }, /* 235 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 592 | { 0x2e0623b0, 0x1c000e }, /* 236 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 593 | { 0x2e0623b4, 0x3030098 }, /* 237 */ |
| 594 | { 0x2e0623b8, 0x258103 }, /* 238 */ |
| 595 | { 0x2e0623bc, 0x17702 }, /* 239 */ |
| 596 | { 0x2e0623c0, 0x5 }, /* 240 */ |
| 597 | { 0x2e0623c4, 0x61 }, /* 241 */ |
| 598 | { 0x2e0623c8, 0xe }, /* 242 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 599 | { 0x2e0623cc, 0x4b00 }, /* 243 */ |
| 600 | { 0x2e0623d0, 0x17702 }, /* 244 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 601 | { 0x2e0623d4, 0x5 }, /* 245 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 602 | { 0x2e0623d8, 0xc0 }, /* 246 */ |
| 603 | { 0x2e0623dc, 0x1c }, /* 247 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 604 | { 0x2e0623e0, 0x19c7d }, /* 248 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 605 | { 0x2e0623e4, 0x17702 }, /* 249 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 606 | { 0x2e0623e8, 0x5 }, /* 250 */ |
| 607 | { 0x2e0623ec, 0x420 }, /* 251 */ |
| 608 | { 0x2e0623f0, 0x1000098 }, /* 252 */ |
| 609 | { 0x2e0623f4, 0x310040 }, /* 253 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 610 | { 0x2e0623f8, 0x10008 }, /* 254 */ |
| 611 | { 0x2e0623fc, 0x600040 }, /* 255 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 612 | { 0x2e062400, 0x10008 }, /* 256 */ |
| 613 | { 0x2e062404, 0x2100040 }, /* 257 */ |
| 614 | { 0x2e062408, 0x310 }, /* 258 */ |
| 615 | { 0x2e06240c, 0x1b000e }, /* 259 */ |
| 616 | { 0x2e062410, 0x1010101 }, /* 260 */ |
| 617 | { 0x2e062414, 0x2020101 }, /* 261 */ |
| 618 | { 0x2e062418, 0x8080404 }, /* 262 */ |
| 619 | { 0x2e06241c, 0x5508 }, /* 263 */ |
| 620 | { 0x2e062420, 0x83c5a00 }, /* 264 */ |
| 621 | { 0x2e062424, 0x55 }, /* 265 */ |
| 622 | { 0x2e062428, 0x55083c5a }, /* 266 */ |
| 623 | { 0x2e06242c, 0x5a000000 }, /* 267 */ |
| 624 | { 0x2e062430, 0x55083c }, /* 268 */ |
| 625 | { 0x2e062434, 0x3c5a0000 }, /* 269 */ |
| 626 | { 0x2e062438, 0xf0e0d0c }, /* 270 */ |
| 627 | { 0x2e06243c, 0xb0a0908 }, /* 271 */ |
| 628 | { 0x2e062440, 0x7060504 }, /* 272 */ |
| 629 | { 0x2e062444, 0x3020100 }, /* 273 */ |
| 630 | { 0x2e06244c, 0x2020101 }, /* 275 */ |
| 631 | { 0x2e062450, 0x8080404 }, /* 276 */ |
| 632 | { 0x2e062454, 0x44300004 }, /* 277 */ |
| 633 | { 0x2e062458, 0x4041919 }, /* 278 */ |
| 634 | { 0x2e06245c, 0x19443000 }, /* 279 */ |
| 635 | { 0x2e062460, 0x9140419 }, /* 280 */ |
| 636 | { 0x2e062464, 0x19194430 }, /* 281 */ |
| 637 | { 0x2e062468, 0x30000404 }, /* 282 */ |
| 638 | { 0x2e06246c, 0x4191944 }, /* 283 */ |
| 639 | { 0x2e062470, 0x44300004 }, /* 284 */ |
| 640 | { 0x2e062474, 0x14041919 }, /* 285 */ |
| 641 | { 0x2e062478, 0x19443009 }, /* 286 */ |
| 642 | { 0x2e06247c, 0x40419 }, /* 287 */ |
| 643 | { 0x2e062480, 0x19194430 }, /* 288 */ |
| 644 | { 0x2e062484, 0x30000404 }, /* 289 */ |
| 645 | { 0x2e062488, 0x4191944 }, /* 290 */ |
| 646 | { 0x2e06248c, 0x44300914 }, /* 291 */ |
| 647 | { 0x2e062490, 0x44041919 }, /* 292 */ |
| 648 | { 0x2e062494, 0x19443000 }, /* 293 */ |
| 649 | { 0x2e062498, 0x40419 }, /* 294 */ |
| 650 | { 0x2e06249c, 0x19194430 }, /* 295 */ |
| 651 | { 0x2e0624a0, 0x30091404 }, /* 296 */ |
| 652 | { 0x2e0624a4, 0x4191944 }, /* 297 */ |
| 653 | }; |
| 654 | |
| 655 | /** PHY_F1 settings **/ |
| 656 | struct dram_cfg_param ddr_phy_f1_cfg[] = { |
| 657 | { 0x2e064000, 0x4f0 }, /* 0 */ |
| 658 | { 0x2e064008, 0x1030200 }, /* 2 */ |
| 659 | { 0x2e064014, 0x3000000 }, /* 5 */ |
| 660 | { 0x2e064018, 0x1000001 }, /* 6 */ |
| 661 | { 0x2e06401c, 0x3000400 }, /* 7 */ |
| 662 | { 0x2e064020, 0x1 }, /* 8 */ |
| 663 | { 0x2e064024, 0x1 }, /* 9 */ |
| 664 | { 0x2e064030, 0x10000 }, /* 12 */ |
| 665 | { 0x2e064038, 0xc00004 }, /* 14 */ |
| 666 | { 0x2e06403c, 0xcc0008 }, /* 15 */ |
| 667 | { 0x2e064040, 0x660601 }, /* 16 */ |
| 668 | { 0x2e064044, 0x3 }, /* 17 */ |
| 669 | { 0x2e06404c, 0x1 }, /* 19 */ |
| 670 | { 0x2e064050, 0xaaaa }, /* 20 */ |
| 671 | { 0x2e064054, 0x5555 }, /* 21 */ |
| 672 | { 0x2e064058, 0xb5b5 }, /* 22 */ |
| 673 | { 0x2e06405c, 0x4a4a }, /* 23 */ |
| 674 | { 0x2e064060, 0x5656 }, /* 24 */ |
| 675 | { 0x2e064064, 0xa9a9 }, /* 25 */ |
| 676 | { 0x2e064068, 0xb7b7 }, /* 26 */ |
| 677 | { 0x2e06406c, 0x4848 }, /* 27 */ |
| 678 | { 0x2e064078, 0x8000000 }, /* 30 */ |
| 679 | { 0x2e06407c, 0x4010008 }, /* 31 */ |
| 680 | { 0x2e064080, 0x408 }, /* 32 */ |
| 681 | { 0x2e064084, 0x3102000 }, /* 33 */ |
| 682 | { 0x2e064088, 0xc0020 }, /* 34 */ |
| 683 | { 0x2e06408c, 0x10000 }, /* 35 */ |
| 684 | { 0x2e064090, 0x55555555 }, /* 36 */ |
| 685 | { 0x2e064094, 0xaaaaaaaa }, /* 37 */ |
| 686 | { 0x2e064098, 0x55555555 }, /* 38 */ |
| 687 | { 0x2e06409c, 0xaaaaaaaa }, /* 39 */ |
| 688 | { 0x2e0640a0, 0x5555 }, /* 40 */ |
| 689 | { 0x2e0640a4, 0x1000100 }, /* 41 */ |
| 690 | { 0x2e0640a8, 0x800180 }, /* 42 */ |
| 691 | { 0x2e0640ac, 0x1 }, /* 43 */ |
| 692 | { 0x2e064100, 0x4 }, /* 64 */ |
| 693 | { 0x2e06411c, 0x41f07ff }, /* 71 */ |
| 694 | { 0x2e064120, 0x1 }, /* 72 */ |
| 695 | { 0x2e064124, 0x1cc0800 }, /* 73 */ |
| 696 | { 0x2e064128, 0x3003cc08 }, /* 74 */ |
| 697 | { 0x2e06412c, 0x2000014e }, /* 75 */ |
| 698 | { 0x2e064130, 0x7ff0200 }, /* 76 */ |
| 699 | { 0x2e064134, 0x301 }, /* 77 */ |
| 700 | { 0x2e064140, 0x30000 }, /* 80 */ |
| 701 | { 0x2e064154, 0x2000000 }, /* 85 */ |
| 702 | { 0x2e064158, 0x51515042 }, /* 86 */ |
| 703 | { 0x2e06415c, 0x31c06000 }, /* 87 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 704 | { 0x2e064160, 0x6bf000a }, /* 88 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 705 | { 0x2e064164, 0xc0c000 }, /* 89 */ |
| 706 | { 0x2e064168, 0x1000000 }, /* 90 */ |
| 707 | { 0x2e06416c, 0x10001000 }, /* 91 */ |
| 708 | { 0x2e064170, 0xc043242 }, /* 92 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 709 | { 0x2e064174, 0xf0c0e01 }, /* 93 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 710 | { 0x2e064178, 0x1000140 }, /* 94 */ |
| 711 | { 0x2e06417c, 0xc000120 }, /* 95 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 712 | { 0x2e064180, 0x118 }, /* 96 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 713 | { 0x2e064184, 0x1000203 }, /* 97 */ |
| 714 | { 0x2e064188, 0x56417032 }, /* 98 */ |
| 715 | { 0x2e06418c, 0x8 }, /* 99 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 716 | { 0x2e064190, 0x2980298 }, /* 100 */ |
| 717 | { 0x2e064194, 0x2980298 }, /* 101 */ |
| 718 | { 0x2e064198, 0x2980298 }, /* 102 */ |
| 719 | { 0x2e06419c, 0x2980298 }, /* 103 */ |
| 720 | { 0x2e0641a0, 0x298 }, /* 104 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 721 | { 0x2e0641a4, 0x8000 }, /* 105 */ |
| 722 | { 0x2e0641a8, 0x800080 }, /* 106 */ |
| 723 | { 0x2e0641ac, 0x800080 }, /* 107 */ |
| 724 | { 0x2e0641b0, 0x800080 }, /* 108 */ |
| 725 | { 0x2e0641b4, 0x800080 }, /* 109 */ |
| 726 | { 0x2e0641b8, 0x800080 }, /* 110 */ |
| 727 | { 0x2e0641bc, 0x800080 }, /* 111 */ |
| 728 | { 0x2e0641c0, 0x800080 }, /* 112 */ |
| 729 | { 0x2e0641c4, 0x800080 }, /* 113 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 730 | { 0x2e0641c8, 0x1940080 }, /* 114 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 731 | { 0x2e0641cc, 0x1a00001 }, /* 115 */ |
| 732 | { 0x2e0641d4, 0x10000 }, /* 117 */ |
| 733 | { 0x2e0641d8, 0x80200 }, /* 118 */ |
| 734 | { 0x2e064400, 0x4f0 }, /* 256 */ |
| 735 | { 0x2e064408, 0x1030200 }, /* 258 */ |
| 736 | { 0x2e064414, 0x3000000 }, /* 261 */ |
| 737 | { 0x2e064418, 0x1000001 }, /* 262 */ |
| 738 | { 0x2e06441c, 0x3000400 }, /* 263 */ |
| 739 | { 0x2e064420, 0x1 }, /* 264 */ |
| 740 | { 0x2e064424, 0x1 }, /* 265 */ |
| 741 | { 0x2e064430, 0x10000 }, /* 268 */ |
| 742 | { 0x2e064438, 0xc00004 }, /* 270 */ |
| 743 | { 0x2e06443c, 0xcc0008 }, /* 271 */ |
| 744 | { 0x2e064440, 0x660601 }, /* 272 */ |
| 745 | { 0x2e064444, 0x3 }, /* 273 */ |
| 746 | { 0x2e06444c, 0x1 }, /* 275 */ |
| 747 | { 0x2e064450, 0xaaaa }, /* 276 */ |
| 748 | { 0x2e064454, 0x5555 }, /* 277 */ |
| 749 | { 0x2e064458, 0xb5b5 }, /* 278 */ |
| 750 | { 0x2e06445c, 0x4a4a }, /* 279 */ |
| 751 | { 0x2e064460, 0x5656 }, /* 280 */ |
| 752 | { 0x2e064464, 0xa9a9 }, /* 281 */ |
| 753 | { 0x2e064468, 0xb7b7 }, /* 282 */ |
| 754 | { 0x2e06446c, 0x4848 }, /* 283 */ |
| 755 | { 0x2e064478, 0x8000000 }, /* 286 */ |
| 756 | { 0x2e06447c, 0x4010008 }, /* 287 */ |
| 757 | { 0x2e064480, 0x408 }, /* 288 */ |
| 758 | { 0x2e064484, 0x3102000 }, /* 289 */ |
| 759 | { 0x2e064488, 0xc0020 }, /* 290 */ |
| 760 | { 0x2e06448c, 0x10000 }, /* 291 */ |
| 761 | { 0x2e064490, 0x55555555 }, /* 292 */ |
| 762 | { 0x2e064494, 0xaaaaaaaa }, /* 293 */ |
| 763 | { 0x2e064498, 0x55555555 }, /* 294 */ |
| 764 | { 0x2e06449c, 0xaaaaaaaa }, /* 295 */ |
| 765 | { 0x2e0644a0, 0x5555 }, /* 296 */ |
| 766 | { 0x2e0644a4, 0x1000100 }, /* 297 */ |
| 767 | { 0x2e0644a8, 0x800180 }, /* 298 */ |
| 768 | { 0x2e064500, 0x4 }, /* 320 */ |
| 769 | { 0x2e06451c, 0x41f07ff }, /* 327 */ |
| 770 | { 0x2e064520, 0x1 }, /* 328 */ |
| 771 | { 0x2e064524, 0x1cc0800 }, /* 329 */ |
| 772 | { 0x2e064528, 0x3003cc08 }, /* 330 */ |
| 773 | { 0x2e06452c, 0x2000014e }, /* 331 */ |
| 774 | { 0x2e064530, 0x7ff0200 }, /* 332 */ |
| 775 | { 0x2e064534, 0x301 }, /* 333 */ |
| 776 | { 0x2e064540, 0x30000 }, /* 336 */ |
| 777 | { 0x2e064554, 0x2000000 }, /* 341 */ |
| 778 | { 0x2e064558, 0x51515042 }, /* 342 */ |
| 779 | { 0x2e06455c, 0x31c06000 }, /* 343 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 780 | { 0x2e064560, 0x6bf000a }, /* 344 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 781 | { 0x2e064564, 0xc0c000 }, /* 345 */ |
| 782 | { 0x2e064568, 0x1000000 }, /* 346 */ |
| 783 | { 0x2e06456c, 0x10001000 }, /* 347 */ |
| 784 | { 0x2e064570, 0xc043242 }, /* 348 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 785 | { 0x2e064574, 0xf0c0e01 }, /* 349 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 786 | { 0x2e064578, 0x1000140 }, /* 350 */ |
| 787 | { 0x2e06457c, 0xc000120 }, /* 351 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 788 | { 0x2e064580, 0x118 }, /* 352 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 789 | { 0x2e064584, 0x1000203 }, /* 353 */ |
| 790 | { 0x2e064588, 0x30217465 }, /* 354 */ |
| 791 | { 0x2e06458c, 0x8 }, /* 355 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 792 | { 0x2e064590, 0x2980298 }, /* 356 */ |
| 793 | { 0x2e064594, 0x2980298 }, /* 357 */ |
| 794 | { 0x2e064598, 0x2980298 }, /* 358 */ |
| 795 | { 0x2e06459c, 0x2980298 }, /* 359 */ |
| 796 | { 0x2e0645a0, 0x298 }, /* 360 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 797 | { 0x2e0645a4, 0x8000 }, /* 361 */ |
| 798 | { 0x2e0645a8, 0x800080 }, /* 362 */ |
| 799 | { 0x2e0645ac, 0x800080 }, /* 363 */ |
| 800 | { 0x2e0645b0, 0x800080 }, /* 364 */ |
| 801 | { 0x2e0645b4, 0x800080 }, /* 365 */ |
| 802 | { 0x2e0645b8, 0x800080 }, /* 366 */ |
| 803 | { 0x2e0645bc, 0x800080 }, /* 367 */ |
| 804 | { 0x2e0645c0, 0x800080 }, /* 368 */ |
| 805 | { 0x2e0645c4, 0x800080 }, /* 369 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 806 | { 0x2e0645c8, 0x1940080 }, /* 370 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 807 | { 0x2e0645cc, 0x1a00001 }, /* 371 */ |
| 808 | { 0x2e0645d4, 0x10000 }, /* 373 */ |
| 809 | { 0x2e0645d8, 0x80200 }, /* 374 */ |
| 810 | { 0x2e064800, 0x4f0 }, /* 512 */ |
| 811 | { 0x2e064808, 0x1030200 }, /* 514 */ |
| 812 | { 0x2e064814, 0x3000000 }, /* 517 */ |
| 813 | { 0x2e064818, 0x1000001 }, /* 518 */ |
| 814 | { 0x2e06481c, 0x3000400 }, /* 519 */ |
| 815 | { 0x2e064820, 0x1 }, /* 520 */ |
| 816 | { 0x2e064824, 0x1 }, /* 521 */ |
| 817 | { 0x2e064830, 0x10000 }, /* 524 */ |
| 818 | { 0x2e064838, 0xc00004 }, /* 526 */ |
| 819 | { 0x2e06483c, 0xcc0008 }, /* 527 */ |
| 820 | { 0x2e064840, 0x660601 }, /* 528 */ |
| 821 | { 0x2e064844, 0x3 }, /* 529 */ |
| 822 | { 0x2e06484c, 0x1 }, /* 531 */ |
| 823 | { 0x2e064850, 0xaaaa }, /* 532 */ |
| 824 | { 0x2e064854, 0x5555 }, /* 533 */ |
| 825 | { 0x2e064858, 0xb5b5 }, /* 534 */ |
| 826 | { 0x2e06485c, 0x4a4a }, /* 535 */ |
| 827 | { 0x2e064860, 0x5656 }, /* 536 */ |
| 828 | { 0x2e064864, 0xa9a9 }, /* 537 */ |
| 829 | { 0x2e064868, 0xb7b7 }, /* 538 */ |
| 830 | { 0x2e06486c, 0x4848 }, /* 539 */ |
| 831 | { 0x2e064878, 0x8000000 }, /* 542 */ |
| 832 | { 0x2e06487c, 0x4010008 }, /* 543 */ |
| 833 | { 0x2e064880, 0x408 }, /* 544 */ |
| 834 | { 0x2e064884, 0x3102000 }, /* 545 */ |
| 835 | { 0x2e064888, 0xc0020 }, /* 546 */ |
| 836 | { 0x2e06488c, 0x10000 }, /* 547 */ |
| 837 | { 0x2e064890, 0x55555555 }, /* 548 */ |
| 838 | { 0x2e064894, 0xaaaaaaaa }, /* 549 */ |
| 839 | { 0x2e064898, 0x55555555 }, /* 550 */ |
| 840 | { 0x2e06489c, 0xaaaaaaaa }, /* 551 */ |
| 841 | { 0x2e0648a0, 0x5555 }, /* 552 */ |
| 842 | { 0x2e0648a4, 0x1000100 }, /* 553 */ |
| 843 | { 0x2e0648a8, 0x800180 }, /* 554 */ |
| 844 | { 0x2e0648ac, 0x1 }, /* 555 */ |
| 845 | { 0x2e064900, 0x4 }, /* 576 */ |
| 846 | { 0x2e06491c, 0x41f07ff }, /* 583 */ |
| 847 | { 0x2e064920, 0x1 }, /* 584 */ |
| 848 | { 0x2e064924, 0x1cc0800 }, /* 585 */ |
| 849 | { 0x2e064928, 0x3003cc08 }, /* 586 */ |
| 850 | { 0x2e06492c, 0x2000014e }, /* 587 */ |
| 851 | { 0x2e064930, 0x7ff0200 }, /* 588 */ |
| 852 | { 0x2e064934, 0x301 }, /* 589 */ |
| 853 | { 0x2e064940, 0x30000 }, /* 592 */ |
| 854 | { 0x2e064954, 0x2000000 }, /* 597 */ |
| 855 | { 0x2e064958, 0x51515042 }, /* 598 */ |
| 856 | { 0x2e06495c, 0x31c06000 }, /* 599 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 857 | { 0x2e064960, 0x6bf000a }, /* 600 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 858 | { 0x2e064964, 0xc0c000 }, /* 601 */ |
| 859 | { 0x2e064968, 0x1000000 }, /* 602 */ |
| 860 | { 0x2e06496c, 0x10001000 }, /* 603 */ |
| 861 | { 0x2e064970, 0xc043242 }, /* 604 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 862 | { 0x2e064974, 0xf0c0e01 }, /* 605 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 863 | { 0x2e064978, 0x1000140 }, /* 606 */ |
| 864 | { 0x2e06497c, 0xc000120 }, /* 607 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 865 | { 0x2e064980, 0x118 }, /* 608 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 866 | { 0x2e064984, 0x1000203 }, /* 609 */ |
| 867 | { 0x2e064988, 0x75436012 }, /* 610 */ |
| 868 | { 0x2e06498c, 0x8 }, /* 611 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 869 | { 0x2e064990, 0x2980298 }, /* 612 */ |
| 870 | { 0x2e064994, 0x2980298 }, /* 613 */ |
| 871 | { 0x2e064998, 0x2980298 }, /* 614 */ |
| 872 | { 0x2e06499c, 0x2980298 }, /* 615 */ |
| 873 | { 0x2e0649a0, 0x298 }, /* 616 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 874 | { 0x2e0649a4, 0x8000 }, /* 617 */ |
| 875 | { 0x2e0649a8, 0x800080 }, /* 618 */ |
| 876 | { 0x2e0649ac, 0x800080 }, /* 619 */ |
| 877 | { 0x2e0649b0, 0x800080 }, /* 620 */ |
| 878 | { 0x2e0649b4, 0x800080 }, /* 621 */ |
| 879 | { 0x2e0649b8, 0x800080 }, /* 622 */ |
| 880 | { 0x2e0649bc, 0x800080 }, /* 623 */ |
| 881 | { 0x2e0649c0, 0x800080 }, /* 624 */ |
| 882 | { 0x2e0649c4, 0x800080 }, /* 625 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 883 | { 0x2e0649c8, 0x1940080 }, /* 626 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 884 | { 0x2e0649cc, 0x1a00001 }, /* 627 */ |
| 885 | { 0x2e0649d4, 0x10000 }, /* 629 */ |
| 886 | { 0x2e0649d8, 0x80200 }, /* 630 */ |
| 887 | { 0x2e064c00, 0x4f0 }, /* 768 */ |
| 888 | { 0x2e064c08, 0x1030200 }, /* 770 */ |
| 889 | { 0x2e064c14, 0x3000000 }, /* 773 */ |
| 890 | { 0x2e064c18, 0x1000001 }, /* 774 */ |
| 891 | { 0x2e064c1c, 0x3000400 }, /* 775 */ |
| 892 | { 0x2e064c20, 0x1 }, /* 776 */ |
| 893 | { 0x2e064c24, 0x1 }, /* 777 */ |
| 894 | { 0x2e064c30, 0x10000 }, /* 780 */ |
| 895 | { 0x2e064c38, 0xc00004 }, /* 782 */ |
| 896 | { 0x2e064c3c, 0xcc0008 }, /* 783 */ |
| 897 | { 0x2e064c40, 0x660601 }, /* 784 */ |
| 898 | { 0x2e064c44, 0x3 }, /* 785 */ |
| 899 | { 0x2e064c4c, 0x1 }, /* 787 */ |
| 900 | { 0x2e064c50, 0xaaaa }, /* 788 */ |
| 901 | { 0x2e064c54, 0x5555 }, /* 789 */ |
| 902 | { 0x2e064c58, 0xb5b5 }, /* 790 */ |
| 903 | { 0x2e064c5c, 0x4a4a }, /* 791 */ |
| 904 | { 0x2e064c60, 0x5656 }, /* 792 */ |
| 905 | { 0x2e064c64, 0xa9a9 }, /* 793 */ |
| 906 | { 0x2e064c68, 0xb7b7 }, /* 794 */ |
| 907 | { 0x2e064c6c, 0x4848 }, /* 795 */ |
| 908 | { 0x2e064c78, 0x8000000 }, /* 798 */ |
| 909 | { 0x2e064c7c, 0x4010008 }, /* 799 */ |
| 910 | { 0x2e064c80, 0x408 }, /* 800 */ |
| 911 | { 0x2e064c84, 0x3102000 }, /* 801 */ |
| 912 | { 0x2e064c88, 0xc0020 }, /* 802 */ |
| 913 | { 0x2e064c8c, 0x10000 }, /* 803 */ |
| 914 | { 0x2e064c90, 0x55555555 }, /* 804 */ |
| 915 | { 0x2e064c94, 0xaaaaaaaa }, /* 805 */ |
| 916 | { 0x2e064c98, 0x55555555 }, /* 806 */ |
| 917 | { 0x2e064c9c, 0xaaaaaaaa }, /* 807 */ |
| 918 | { 0x2e064ca0, 0x5555 }, /* 808 */ |
| 919 | { 0x2e064ca4, 0x1000100 }, /* 809 */ |
| 920 | { 0x2e064ca8, 0x800180 }, /* 810 */ |
| 921 | { 0x2e064d00, 0x4 }, /* 832 */ |
| 922 | { 0x2e064d1c, 0x41f07ff }, /* 839 */ |
| 923 | { 0x2e064d20, 0x1 }, /* 840 */ |
| 924 | { 0x2e064d24, 0x1cc0800 }, /* 841 */ |
| 925 | { 0x2e064d28, 0x3003cc08 }, /* 842 */ |
| 926 | { 0x2e064d2c, 0x2000014e }, /* 843 */ |
| 927 | { 0x2e064d30, 0x7ff0200 }, /* 844 */ |
| 928 | { 0x2e064d34, 0x301 }, /* 845 */ |
| 929 | { 0x2e064d40, 0x30000 }, /* 848 */ |
| 930 | { 0x2e064d54, 0x2000000 }, /* 853 */ |
| 931 | { 0x2e064d58, 0x51515042 }, /* 854 */ |
| 932 | { 0x2e064d5c, 0x31c06000 }, /* 855 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 933 | { 0x2e064d60, 0x6bf000a }, /* 856 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 934 | { 0x2e064d64, 0xc0c000 }, /* 857 */ |
| 935 | { 0x2e064d68, 0x1000000 }, /* 858 */ |
| 936 | { 0x2e064d6c, 0x10001000 }, /* 859 */ |
| 937 | { 0x2e064d70, 0xc043242 }, /* 860 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 938 | { 0x2e064d74, 0xf0c0e01 }, /* 861 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 939 | { 0x2e064d78, 0x1000140 }, /* 862 */ |
| 940 | { 0x2e064d7c, 0xc000120 }, /* 863 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 941 | { 0x2e064d80, 0x118 }, /* 864 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 942 | { 0x2e064d84, 0x1000203 }, /* 865 */ |
| 943 | { 0x2e064d88, 0x32017465 }, /* 866 */ |
| 944 | { 0x2e064d8c, 0x8 }, /* 867 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 945 | { 0x2e064d90, 0x2980298 }, /* 868 */ |
| 946 | { 0x2e064d94, 0x2980298 }, /* 869 */ |
| 947 | { 0x2e064d98, 0x2980298 }, /* 870 */ |
| 948 | { 0x2e064d9c, 0x2980298 }, /* 871 */ |
| 949 | { 0x2e064da0, 0x298 }, /* 872 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 950 | { 0x2e064da4, 0x8000 }, /* 873 */ |
| 951 | { 0x2e064da8, 0x800080 }, /* 874 */ |
| 952 | { 0x2e064dac, 0x800080 }, /* 875 */ |
| 953 | { 0x2e064db0, 0x800080 }, /* 876 */ |
| 954 | { 0x2e064db4, 0x800080 }, /* 877 */ |
| 955 | { 0x2e064db8, 0x800080 }, /* 878 */ |
| 956 | { 0x2e064dbc, 0x800080 }, /* 879 */ |
| 957 | { 0x2e064dc0, 0x800080 }, /* 880 */ |
| 958 | { 0x2e064dc4, 0x800080 }, /* 881 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 959 | { 0x2e064dc8, 0x1940080 }, /* 882 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 960 | { 0x2e064dcc, 0x1a00001 }, /* 883 */ |
| 961 | { 0x2e064dd4, 0x10000 }, /* 885 */ |
| 962 | { 0x2e064dd8, 0x80200 }, /* 886 */ |
| 963 | { 0x2e065014, 0x100 }, /* 1029 */ |
| 964 | { 0x2e065018, 0x201 }, /* 1030 */ |
| 965 | { 0x2e06502c, 0x400000 }, /* 1035 */ |
| 966 | { 0x2e065030, 0x80 }, /* 1036 */ |
| 967 | { 0x2e065034, 0xdcba98 }, /* 1037 */ |
| 968 | { 0x2e065038, 0x3000000 }, /* 1038 */ |
| 969 | { 0x2e06504c, 0x2a }, /* 1043 */ |
| 970 | { 0x2e065050, 0x15 }, /* 1044 */ |
| 971 | { 0x2e065054, 0x15 }, /* 1045 */ |
| 972 | { 0x2e065058, 0x2a }, /* 1046 */ |
| 973 | { 0x2e06505c, 0x33 }, /* 1047 */ |
| 974 | { 0x2e065060, 0xc }, /* 1048 */ |
| 975 | { 0x2e065064, 0xc }, /* 1049 */ |
| 976 | { 0x2e065068, 0x33 }, /* 1050 */ |
| 977 | { 0x2e06506c, 0x543210 }, /* 1051 */ |
| 978 | { 0x2e065070, 0x3f0000 }, /* 1052 */ |
| 979 | { 0x2e065074, 0xf013f }, /* 1053 */ |
| 980 | { 0x2e065078, 0xf }, /* 1054 */ |
| 981 | { 0x2e06507c, 0x3cc }, /* 1055 */ |
| 982 | { 0x2e065080, 0x30000 }, /* 1056 */ |
| 983 | { 0x2e065084, 0x300 }, /* 1057 */ |
| 984 | { 0x2e065088, 0x300 }, /* 1058 */ |
| 985 | { 0x2e06508c, 0x300 }, /* 1059 */ |
| 986 | { 0x2e065090, 0x300 }, /* 1060 */ |
| 987 | { 0x2e065094, 0x300 }, /* 1061 */ |
| 988 | { 0x2e065098, 0x42080010 }, /* 1062 */ |
| 989 | { 0x2e06509c, 0x332 }, /* 1063 */ |
| 990 | { 0x2e0650a0, 0x2 }, /* 1064 */ |
| 991 | { 0x2e065414, 0x100 }, /* 1285 */ |
| 992 | { 0x2e065418, 0x201 }, /* 1286 */ |
| 993 | { 0x2e06542c, 0x400000 }, /* 1291 */ |
| 994 | { 0x2e065430, 0x80 }, /* 1292 */ |
| 995 | { 0x2e065434, 0xdcba98 }, /* 1293 */ |
| 996 | { 0x2e065438, 0x3000000 }, /* 1294 */ |
| 997 | { 0x2e06544c, 0x2a }, /* 1299 */ |
| 998 | { 0x2e065450, 0x15 }, /* 1300 */ |
| 999 | { 0x2e065454, 0x15 }, /* 1301 */ |
| 1000 | { 0x2e065458, 0x2a }, /* 1302 */ |
| 1001 | { 0x2e06545c, 0x33 }, /* 1303 */ |
| 1002 | { 0x2e065460, 0xc }, /* 1304 */ |
| 1003 | { 0x2e065464, 0xc }, /* 1305 */ |
| 1004 | { 0x2e065468, 0x33 }, /* 1306 */ |
| 1005 | { 0x2e06546c, 0x543210 }, /* 1307 */ |
| 1006 | { 0x2e065470, 0x3f0000 }, /* 1308 */ |
| 1007 | { 0x2e065474, 0xf013f }, /* 1309 */ |
| 1008 | { 0x2e065478, 0xf }, /* 1310 */ |
| 1009 | { 0x2e06547c, 0x3cc }, /* 1311 */ |
| 1010 | { 0x2e065480, 0x30000 }, /* 1312 */ |
| 1011 | { 0x2e065484, 0x300 }, /* 1313 */ |
| 1012 | { 0x2e065488, 0x300 }, /* 1314 */ |
| 1013 | { 0x2e06548c, 0x300 }, /* 1315 */ |
| 1014 | { 0x2e065490, 0x300 }, /* 1316 */ |
| 1015 | { 0x2e065494, 0x300 }, /* 1317 */ |
| 1016 | { 0x2e065498, 0x42080010 }, /* 1318 */ |
| 1017 | { 0x2e06549c, 0x332 }, /* 1319 */ |
| 1018 | { 0x2e0654a0, 0x2 }, /* 1320 */ |
| 1019 | { 0x2e065804, 0x100 }, /* 1537 */ |
| 1020 | { 0x2e065814, 0x50000 }, /* 1541 */ |
| 1021 | { 0x2e065818, 0x4000100 }, /* 1542 */ |
| 1022 | { 0x2e06581c, 0x55 }, /* 1543 */ |
| 1023 | { 0x2e06582c, 0xf0001 }, /* 1547 */ |
| 1024 | { 0x2e065830, 0x280040 }, /* 1548 */ |
| 1025 | { 0x2e065834, 0x5002 }, /* 1549 */ |
| 1026 | { 0x2e065838, 0x10101 }, /* 1550 */ |
| 1027 | { 0x2e065840, 0x90e0000 }, /* 1552 */ |
| 1028 | { 0x2e065844, 0x101010f }, /* 1553 */ |
| 1029 | { 0x2e065848, 0x10f0004 }, /* 1554 */ |
| 1030 | { 0x2e065854, 0x64 }, /* 1557 */ |
| 1031 | { 0x2e06585c, 0x1000000 }, /* 1559 */ |
| 1032 | { 0x2e065860, 0x8040201 }, /* 1560 */ |
| 1033 | { 0x2e065864, 0x2010201 }, /* 1561 */ |
| 1034 | { 0x2e065868, 0xf0f0f }, /* 1562 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1035 | { 0x2e06586c, 0x241342 }, /* 1563 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1036 | { 0x2e065874, 0x1020000 }, /* 1565 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1037 | { 0x2e065878, 0x10701 }, /* 1566 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1038 | { 0x2e06587c, 0x54 }, /* 1567 */ |
| 1039 | { 0x2e065880, 0x4102000 }, /* 1568 */ |
| 1040 | { 0x2e065884, 0x24410 }, /* 1569 */ |
| 1041 | { 0x2e065888, 0x4410 }, /* 1570 */ |
| 1042 | { 0x2e06588c, 0x4410 }, /* 1571 */ |
| 1043 | { 0x2e065890, 0x4410 }, /* 1572 */ |
| 1044 | { 0x2e065894, 0x4410 }, /* 1573 */ |
| 1045 | { 0x2e065898, 0x4410 }, /* 1574 */ |
| 1046 | { 0x2e06589c, 0x4410 }, /* 1575 */ |
| 1047 | { 0x2e0658a0, 0x4410 }, /* 1576 */ |
| 1048 | { 0x2e0658a4, 0x4410 }, /* 1577 */ |
| 1049 | { 0x2e0658b0, 0x60000 }, /* 1580 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1050 | { 0x2e0658b8, 0x64 }, /* 1582 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1051 | { 0x2e0658bc, 0x10000 }, /* 1583 */ |
| 1052 | { 0x2e0658c0, 0x8 }, /* 1584 */ |
| 1053 | { 0x2e0658d8, 0x3000000 }, /* 1590 */ |
| 1054 | { 0x2e0658e8, 0x4102006 }, /* 1594 */ |
| 1055 | { 0x2e0658ec, 0x41020 }, /* 1595 */ |
| 1056 | { 0x2e0658f0, 0x1c98c98 }, /* 1596 */ |
| 1057 | { 0x2e0658f4, 0x3f400000 }, /* 1597 */ |
| 1058 | { 0x2e0658f8, 0x3f3f1f3f }, /* 1598 */ |
| 1059 | { 0x2e0658fc, 0x1f }, /* 1599 */ |
| 1060 | { 0x2e06590c, 0x1 }, /* 1603 */ |
| 1061 | { 0x2e06591c, 0x1 }, /* 1607 */ |
| 1062 | { 0x2e065920, 0x76543210 }, /* 1608 */ |
| 1063 | { 0x2e065924, 0x10198 }, /* 1609 */ |
| 1064 | { 0x2e065934, 0x40700 }, /* 1613 */ |
| 1065 | { 0x2e06594c, 0x2 }, /* 1619 */ |
| 1066 | { 0x2e065958, 0xf3c3 }, /* 1622 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1067 | { 0x2e065964, 0x11742 }, /* 1625 */ |
| 1068 | { 0x2e065968, 0x3020600 }, /* 1626 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1069 | { 0x2e06596c, 0x30000 }, /* 1627 */ |
| 1070 | { 0x2e065970, 0x3000300 }, /* 1628 */ |
| 1071 | { 0x2e065974, 0x3000300 }, /* 1629 */ |
| 1072 | { 0x2e065978, 0x3000300 }, /* 1630 */ |
| 1073 | { 0x2e06597c, 0x3000300 }, /* 1631 */ |
| 1074 | { 0x2e065980, 0x300 }, /* 1632 */ |
| 1075 | { 0x2e065984, 0x300 }, /* 1633 */ |
| 1076 | { 0x2e065988, 0x300 }, /* 1634 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1077 | { 0x2e06598c, 0x337cc }, /* 1635 */ |
| 1078 | { 0x2e065990, 0x8 }, /* 1636 */ |
| 1079 | { 0x2e065994, 0x1b7 }, /* 1637 */ |
| 1080 | { 0x2e06599c, 0x1b7 }, /* 1639 */ |
| 1081 | { 0x2e0659a4, 0x1b700 }, /* 1641 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1082 | { 0x2e0659a8, 0x1980000 }, /* 1642 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1083 | { 0x2e0659ac, 0x1b7cc }, /* 1643 */ |
| 1084 | { 0x2e0659b4, 0x1b700 }, /* 1645 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1085 | { 0x2e0659b8, 0x1980000 }, /* 1646 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1086 | { 0x2e0659bc, 0x1b700 }, /* 1647 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1087 | { 0x2e0659c0, 0x1980000 }, /* 1648 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1088 | { 0x2e0659c4, 0x1b700 }, /* 1649 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1089 | { 0x2e0659c8, 0x1980000 }, /* 1650 */ |
Ye Li | 5e80148 | 2022-04-06 14:30:22 +0800 | [diff] [blame] | 1090 | { 0x2e0659cc, 0x1b700 }, /* 1651 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1091 | { 0x2e0659d0, 0x1980000 }, /* 1652 */ |
| 1092 | { 0x2e0659d4, 0x20040003 }, /* 1653 */ |
| 1093 | }; |
| 1094 | |
| 1095 | /** PHY_F2 settings **/ |
| 1096 | struct dram_cfg_param ddr_phy_f2_cfg[] = { |
| 1097 | { 0x2e064168, 0x3020000 }, /* 90 */ |
| 1098 | { 0x2e064170, 0xc043e42 }, /* 92 */ |
| 1099 | { 0x2e064174, 0xf0c1701 }, /* 93 */ |
| 1100 | { 0x2e064180, 0x187 }, /* 96 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1101 | { 0x2e064184, 0x3200203 }, /* 97 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1102 | { 0x2e064190, 0x3070307 }, /* 100 */ |
| 1103 | { 0x2e064194, 0x3070307 }, /* 101 */ |
| 1104 | { 0x2e064198, 0x3070307 }, /* 102 */ |
| 1105 | { 0x2e06419c, 0x3070307 }, /* 103 */ |
| 1106 | { 0x2e0641a0, 0x307 }, /* 104 */ |
| 1107 | { 0x2e0641c8, 0x1bd0080 }, /* 114 */ |
| 1108 | { 0x2e064568, 0x3020000 }, /* 346 */ |
| 1109 | { 0x2e064570, 0xc043e42 }, /* 348 */ |
| 1110 | { 0x2e064574, 0xf0c1701 }, /* 349 */ |
| 1111 | { 0x2e064580, 0x187 }, /* 352 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1112 | { 0x2e064584, 0x3200203 }, /* 353 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1113 | { 0x2e064590, 0x3070307 }, /* 356 */ |
| 1114 | { 0x2e064594, 0x3070307 }, /* 357 */ |
| 1115 | { 0x2e064598, 0x3070307 }, /* 358 */ |
| 1116 | { 0x2e06459c, 0x3070307 }, /* 359 */ |
| 1117 | { 0x2e0645a0, 0x307 }, /* 360 */ |
| 1118 | { 0x2e0645c8, 0x1bd0080 }, /* 370 */ |
| 1119 | { 0x2e064968, 0x3020000 }, /* 602 */ |
| 1120 | { 0x2e064970, 0xc043e42 }, /* 604 */ |
| 1121 | { 0x2e064974, 0xf0c1701 }, /* 605 */ |
| 1122 | { 0x2e064980, 0x187 }, /* 608 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1123 | { 0x2e064984, 0x3200203 }, /* 609 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1124 | { 0x2e064990, 0x3070307 }, /* 612 */ |
| 1125 | { 0x2e064994, 0x3070307 }, /* 613 */ |
| 1126 | { 0x2e064998, 0x3070307 }, /* 614 */ |
| 1127 | { 0x2e06499c, 0x3070307 }, /* 615 */ |
| 1128 | { 0x2e0649a0, 0x307 }, /* 616 */ |
| 1129 | { 0x2e0649c8, 0x1bd0080 }, /* 626 */ |
| 1130 | { 0x2e064d68, 0x3020000 }, /* 858 */ |
| 1131 | { 0x2e064d70, 0xc043e42 }, /* 860 */ |
| 1132 | { 0x2e064d74, 0xf0c1701 }, /* 861 */ |
| 1133 | { 0x2e064d80, 0x187 }, /* 864 */ |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1134 | { 0x2e064d84, 0x3200203 }, /* 865 */ |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1135 | { 0x2e064d90, 0x3070307 }, /* 868 */ |
| 1136 | { 0x2e064d94, 0x3070307 }, /* 869 */ |
| 1137 | { 0x2e064d98, 0x3070307 }, /* 870 */ |
| 1138 | { 0x2e064d9c, 0x3070307 }, /* 871 */ |
| 1139 | { 0x2e064da0, 0x307 }, /* 872 */ |
| 1140 | { 0x2e064dc8, 0x1bd0080 }, /* 882 */ |
| 1141 | { 0x2e06509c, 0x33e }, /* 1063 */ |
| 1142 | { 0x2e06549c, 0x33e }, /* 1319 */ |
| 1143 | { 0x2e065878, 0x10703 }, /* 1566 */ |
| 1144 | { 0x2e065964, 0x1342 }, /* 1625 */ |
| 1145 | }; |
| 1146 | |
| 1147 | /* ddr timing config params */ |
| 1148 | struct dram_timing_info2 dram_timing = { |
| 1149 | .ctl_cfg = ddr_ctl_cfg, |
| 1150 | .ctl_cfg_num = ARRAY_SIZE(ddr_ctl_cfg), |
| 1151 | .pi_cfg = ddr_pi_cfg, |
| 1152 | .pi_cfg_num = ARRAY_SIZE(ddr_pi_cfg), |
| 1153 | .phy_f1_cfg = ddr_phy_f1_cfg, |
| 1154 | .phy_f1_cfg_num = ARRAY_SIZE(ddr_phy_f1_cfg), |
| 1155 | .phy_f2_cfg = ddr_phy_f2_cfg, |
| 1156 | .phy_f2_cfg_num = ARRAY_SIZE(ddr_phy_f2_cfg), |
Jacky Bai | 6a2c906 | 2023-01-31 16:42:30 +0800 | [diff] [blame] | 1157 | .fsp_table = { 96, 192, 1056 }, |
Peng Fan | cbe5d38 | 2021-08-07 16:01:13 +0800 | [diff] [blame] | 1158 | }; |