Lines Matching +full:0 +full:xff0f0000
9 #define MV_78XX0_Z1_REV 0x0
10 #define MV_78XX0_A0_REV 0x1
11 #define MV_78XX0_B0_REV 0x2
13 #define SAR_DDR3_FREQ_MASK 0xFE00000
14 #define SAR_CPU_FAB_GET(cpu, fab) (((cpu & 0x7) << 21) | ((fab & 0xF) << 24))
18 #define MIN_DIMM_ADDR 0x50
19 #define FAR_END_DIMM_ADDR 0x50
20 #define MAX_DIMM_ADDR 0x60
23 #define SDRAM_CS_SIZE 0xFFFFFFF
27 #define SDRAM_CS_BASE 0x0
28 #define SDRAM_DIMM_SIZE 0x80000000
30 #define CPU_CONFIGURATION_REG(id) (0x21800 + (id * 0x100))
31 #define CPU_MRVL_ID_OFFSET 0x10
32 #define SAR1_CPU_CORE_MASK 0x00000018
39 #define NEW_FABRIC_TWSI_ADDR 0x4E
41 #define BUS_WIDTH_ECC_TWSI_ADDR 0x4E
43 #define BUS_WIDTH_ECC_TWSI_ADDR 0x4F
48 #define RESUME_RL_PATTERNS_ADDR (0xFE0000)
49 #define RESUME_RL_PATTERNS_SIZE (0x100)
51 #define RESUME_TRAINING_VALUES_MAX (0xCD0)
52 #define BOOT_INFO_ADDR (RESUME_RL_PATTERNS_ADDR + 0x1000)
53 #define CHECKSUM_RESULT_ADDR (BOOT_INFO_ADDR + 0x1000)
55 #define SUSPEND_MAGIC_WORD (0xDEADB002)
56 #define REGISTER_LIST_END (0xFFFFFFFF)
62 #define REG_SAMPLE_RESET_LOW_ADDR 0x18230
63 #define REG_SAMPLE_RESET_HIGH_ADDR 0x18234
65 #define REG_SAMPLE_RESET_CPU_FREQ_MASK 0x00E00000
67 #define REG_SAMPLE_RESET_FAB_MASK 0xF000000
75 * register to 0xf1000000. So need to use this value for the DDR
81 #define REG_SDRAM_CONFIG_ADDR 0x1400
82 #define REG_SDRAM_CONFIG_MASK 0x9FFFFFFF
83 #define REG_SDRAM_CONFIG_RFRS_MASK 0x3FFF
91 #define REG_DUNIT_CTRL_LOW_ADDR 0x1404
93 #define REG_DUNIT_CTRL_LOW_2T_MASK 0x3
96 #define REG_SDRAM_TIMING_LOW_ADDR 0x1408
98 #define REG_SDRAM_TIMING_HIGH_ADDR 0x140C
100 #define REG_SDRAM_TIMING_H_R2R_MASK 0x3
102 #define REG_SDRAM_TIMING_H_R2W_W2R_MASK 0x3
104 #define REG_SDRAM_TIMING_H_W2W_MASK 0x1F
106 #define REG_SDRAM_TIMING_H_R2R_H_MASK 0x7
108 #define REG_SDRAM_TIMING_H_R2W_W2R_H_MASK 0x7
110 #define REG_SDRAM_ADDRESS_CTRL_ADDR 0x1410
115 #define REG_SDRAM_OPEN_PAGES_ADDR 0x1414
118 #define REG_SDRAM_OPERATION_ADDR 0x1418
121 #define REG_SDRAM_OPERATION_CWA_DATA_MASK 0xF
123 #define REG_SDRAM_OPERATION_CWA_RC_MASK 0xF
124 #define REG_SDRAM_OPERATION_CMD_MR0 0xF03
125 #define REG_SDRAM_OPERATION_CMD_MR1 0xF04
126 #define REG_SDRAM_OPERATION_CMD_MR2 0xF08
127 #define REG_SDRAM_OPERATION_CMD_MR3 0xF09
128 #define REG_SDRAM_OPERATION_CMD_RFRS 0xF02
129 #define REG_SDRAM_OPERATION_CMD_CWA 0xF0E
130 #define REG_SDRAM_OPERATION_CMD_RFRS_DONE 0xF
131 #define REG_SDRAM_OPERATION_CMD_MASK 0xF
134 #define REG_OUDDR3_TIMING_ADDR 0x142C
136 #define REG_SDRAM_MODE_ADDR 0x141C
138 #define REG_SDRAM_EXT_MODE_ADDR 0x1420
140 #define REG_DDR_CONT_HIGH_ADDR 0x1424
142 #define REG_ODT_TIME_LOW_ADDR 0x1428
145 #define REG_SDRAM_ERROR_ADDR 0x1454
146 #define REG_SDRAM_AUTO_PWR_SAVE_ADDR 0x1474
147 #define REG_ODT_TIME_HIGH_ADDR 0x147C
149 #define REG_SDRAM_INIT_CTRL_ADDR 0x1480
150 #define REG_SDRAM_INIT_CTRL_OFFS 0
154 #define REG_SDRAM_ODT_CTRL_LOW_ADDR 0x1494
156 #define REG_SDRAM_ODT_CTRL_HIGH_ADDR 0x1498
157 /*#define REG_SDRAM_ODT_CTRL_HIGH_OVRD_MASK 0xFFFFFF55 */
158 #define REG_SDRAM_ODT_CTRL_HIGH_OVRD_MASK 0x0
159 #define REG_SDRAM_ODT_CTRL_HIGH_OVRD_ENA 0x3
161 #define REG_DUNIT_ODT_CTRL_ADDR 0x149C
165 #define REG_DRAM_FIFO_CTRL_ADDR 0x14A0
167 #define REG_DRAM_AXI_CTRL_ADDR 0x14A8
168 #define REG_DRAM_AXI_CTRL_AXIDATABUSWIDTH_OFFS 0
170 #define REG_METAL_MASK_ADDR 0x14B0
171 #define REG_METAL_MASK_MASK 0xDFFFFFFF
172 #define REG_METAL_MASK_RETRY_OFFS 0
174 #define REG_DRAM_ADDR_CTRL_DRIVE_STRENGTH_ADDR 0x14C0
176 #define REG_DRAM_DATA_DQS_DRIVE_STRENGTH_ADDR 0x14C4
177 #define REG_DRAM_VER_CAL_MACHINE_CTRL_ADDR 0x14c8
178 #define REG_DRAM_MAIN_PADS_CAL_ADDR 0x14CC
180 #define REG_DRAM_HOR_CAL_MACHINE_CTRL_ADDR 0x17c8
182 #define REG_CS_SIZE_SCRATCH_ADDR 0x1504
183 #define REG_DYNAMIC_POWER_SAVE_ADDR 0x1520
184 #define REG_DDR_IO_ADDR 0x1524
187 #define REG_DFS_ADDR 0x1528
188 #define REG_DFS_DLLNEXTSTATE_OFFS 0
194 #define REG_DFS_CL_NEXT_STATE_MASK 0xF
196 #define REG_DFS_CWL_NEXT_STATE_MASK 0x7
198 #define REG_READ_DATA_SAMPLE_DELAYS_ADDR 0x1538
199 #define REG_READ_DATA_SAMPLE_DELAYS_MASK 0x1F
202 #define REG_READ_DATA_READY_DELAYS_ADDR 0x153C
203 #define REG_READ_DATA_READY_DELAYS_MASK 0x1F
208 #define REG_DRAM_TRAINING_SHADOW_ADDR 0x18488
209 #define REG_DRAM_TRAINING_ADDR 0x15B0
210 #define REG_DRAM_TRAINING_LOW_FREQ_OFFS 0
223 #define REG_DRAM_TRAINING_RETEST_PAR 0x3
224 #define REG_DRAM_TRAINING_RETEST_MASK 0xF8FFFFFF
225 #define REG_DRAM_TRAINING_CS_MASK 0xFF0FFFFF
226 #define REG_DRAM_TRAINING_PATTERNS_MASK 0xFF0F0000
228 #define REG_DRAM_TRAINING_1_ADDR 0x15B4
231 #define REG_DRAM_TRAINING_2_ADDR 0x15B8
237 #define REG_DRAM_TRAINING_2_SW_OVRD_OFFS 0
239 #define REG_DRAM_TRAINING_PATTERN_BASE_ADDR 0x15BC
242 #define REG_TRAINING_DEBUG_2_ADDR 0x15C4
244 #define REG_TRAINING_DEBUG_2_MASK 0x3
246 #define REG_TRAINING_DEBUG_3_ADDR 0x15C8
248 #define REG_TRAINING_DEBUG_3_MASK 0x7
252 #define REG_DDR3_MR0_ADDR 0x15D0
253 #define REG_DDR3_MR0_CS_ADDR 0x1870
254 #define REG_DDR3_MR0_CL_MASK 0x74
257 #define CL_MASK 0xF
259 #define REG_DDR3_MR1_ADDR 0x15D4
260 #define REG_DDR3_MR1_CS_ADDR 0x1874
261 #define REG_DDR3_MR1_RTT_MASK 0xFFFFFDBB
262 #define REG_DDR3_MR1_DLL_ENA_OFFS 0
263 #define REG_DDR3_MR1_RTT_DISABLED 0x0
264 #define REG_DDR3_MR1_RTT_RZQ2 0x40
265 #define REG_DDR3_MR1_RTT_RZQ4 0x2
266 #define REG_DDR3_MR1_RTT_RZQ6 0x42
267 #define REG_DDR3_MR1_RTT_RZQ8 0x202
268 #define REG_DDR3_MR1_RTT_RZQ12 0x4
269 #define REG_DDR3_MR1_OUTBUF_WL_MASK 0xFFFFEF7F /* WL-disabled,OB-enabled */
272 #define REG_DDR3_MR1_WL_ENA 0x80 /* WL Enabled */
273 #define REG_DDR3_MR1_ODT_MASK 0xFFFFFDBB
275 #define REG_DDR3_MR2_ADDR 0x15D8
276 #define REG_DDR3_MR2_CS_ADDR 0x1878
278 #define REG_DDR3_MR2_CWL_MASK 0x7
279 #define REG_DDR3_MR2_ODT_MASK 0xFFFFF9FF
280 #define REG_DDR3_MR3_ADDR 0x15DC
281 #define REG_DDR3_MR3_CS_ADDR 0x187C
283 #define REG_DDR3_RANK_CTRL_ADDR 0x15E0
284 #define REG_DDR3_RANK_CTRL_CS_ENA_MASK 0xF
287 #define REG_ZQC_CONF_ADDR 0x15E4
289 #define REG_DRAM_PHY_CONFIG_ADDR 0x15EC
290 #define REG_DRAM_PHY_CONFIG_MASK 0x3FFFFFFF
292 #define REG_ODPG_CNTRL_ADDR 0x1600
295 #define REG_PHY_LOCK_MASK_ADDR 0x1670
296 #define REG_PHY_LOCK_MASK_MASK 0xFFFFF000
298 #define REG_PHY_LOCK_STATUS_ADDR 0x1674
300 #define REG_PHY_LOCK_STATUS_LOCK_MASK 0xFFF
301 #define REG_PHY_LOCK_APLL_ADLL_STATUS_MASK 0x7FF
303 #define REG_PHY_REGISTRY_FILE_ACCESS_ADDR 0x16A0
304 #define REG_PHY_REGISTRY_FILE_ACCESS_OP_WR 0xC0000000
305 #define REG_PHY_REGISTRY_FILE_ACCESS_OP_RD 0x80000000
306 #define REG_PHY_REGISTRY_FILE_ACCESS_OP_DONE 0x80000000
314 #define REG_TRAINING_WL_ADDR 0x16AC
315 #define REG_TRAINING_WL_CS_MASK 0xFFFFFFFC
318 #define REG_TRAINING_WL_RATIO_MASK 0xFFFFFF0F
319 #define REG_TRAINING_WL_1TO1 0x50
320 #define REG_TRAINING_WL_2TO1 0x10
321 #define REG_TRAINING_WL_DELAYEXP_MASK 0x20000000
322 #define REG_TRAINING_WL_RESULTS_MASK 0x000001FF
325 #define REG_REGISTERED_DRAM_CTRL_ADDR 0x16D0
327 #define REG_REGISTERED_DRAM_CTRL_PARITY_MASK 0x3F
329 #define REG_STATIC_DRAM_DLB_CONTROL 0x1700
330 #define DLB_BUS_OPTIMIZATION_WEIGHTS_REG 0x1704
331 #define DLB_AGING_REGISTER 0x1708
332 #define DLB_EVICTION_CONTROL_REG 0x170c
333 #define DLB_EVICTION_TIMERS_REGISTER_REG 0x1710
335 #define DLB_ENABLE 0x1
336 #define DLB_WRITE_COALESING (0x1 << 2)
337 #define DLB_AXI_PREFETCH_EN (0x1 << 3)
338 #define DLB_MBUS_PREFETCH_EN (0x1 << 4)
339 #define PREFETCH_NLNSZTR (0x1 << 6)
342 #define REG_BOOTROM_ROUTINE_ADDR 0x182D0
345 #define REG_DRAM_INIT_CTRL_STATUS_ADDR 0x18488
347 #define REG_CPU_DIV_CLK_CTRL_0_NEW_RATIO 0x000200FF
348 #define REG_DRAM_INIT_CTRL_STATUS_2_ADDR 0x1488
350 #define REG_CPU_DIV_CLK_CTRL_0_ADDR 0x18700
352 #define REG_CPU_DIV_CLK_CTRL_1_ADDR 0x18704
353 #define REG_CPU_DIV_CLK_CTRL_2_ADDR 0x18708
355 #define REG_CPU_DIV_CLK_CTRL_3_ADDR 0x1870C
356 #define REG_CPU_DIV_CLK_CTRL_3_FREQ_MASK 0xFFFFC0FF
359 #define REG_CPU_DIV_CLK_CTRL_4_ADDR 0x18710
361 #define REG_CPU_DIV_CLK_STATUS_0_ADDR 0x18718
364 #define REG_CPU_PLL_CTRL_0_ADDR 0x1871C
365 #define REG_CPU_PLL_STATUS_0_ADDR 0x18724
366 #define REG_CORE_DIV_CLK_CTRL_ADDR 0x18740
367 #define REG_CORE_DIV_CLK_STATUS_ADDR 0x18744
368 #define REG_DDRPHY_APLL_CTRL_ADDR 0x18780
370 #define REG_DDRPHY_APLL_CTRL_2_ADDR 0x18784
372 #define REG_SFABRIC_CLK_CTRL_ADDR 0x20858
376 #define REG_XBAR_WIN_19_CTRL_ADDR 0x200e8
377 #define REG_XBAR_WIN_4_CTRL_ADDR 0x20040
378 #define REG_XBAR_WIN_4_BASE_ADDR 0x20044
379 #define REG_XBAR_WIN_4_REMAP_ADDR 0x20048
380 #define REG_FASTPATH_WIN_0_CTRL_ADDR 0x20184
381 #define REG_XBAR_WIN_7_REMAP_ADDR 0x20078
384 #define REG_CDI_CONFIG_ADDR 0x20220
385 #define REG_SRAM_WINDOW_0_ADDR 0x20240
386 #define REG_SRAM_WINDOW_0_ENA_OFFS 0
387 #define REG_SRAM_WINDOW_1_ADDR 0x20244
388 #define REG_SRAM_L2_ENA_ADDR 0x8500
389 #define REG_SRAM_CLEAN_BY_WAY_ADDR 0x87BC
392 #define REG_PMU_I_F_CTRL_ADDR 0x1C090
398 #define MBUS_UNITS_PRIORITY_CONTROL_REG (MV_MBUS_REGS_OFFSET + 0x420)
399 #define FABRIC_UNITS_PRIORITY_CONTROL_REG (MV_MBUS_REGS_OFFSET + 0x424)
400 #define MBUS_UNITS_PREFETCH_CONTROL_REG (MV_MBUS_REGS_OFFSET + 0x428)
401 #define FABRIC_UNITS_PREFETCH_CONTROL_REG (MV_MBUS_REGS_OFFSET + 0x42c)
403 #define REG_PM_STAT_MASK_ADDR 0x2210C
406 #define REG_PM_EVENT_STAT_MASK_ADDR 0x22120
409 #define REG_PM_CTRL_CONFIG_ADDR 0x22104
412 #define REG_FABRIC_LOCAL_IRQ_MASK_ADDR 0x218C4
416 #define PCI_CLASS_CODE_AND_REVISION_ID 0x008
417 #define PCCRIR_REVID_OFFS 0 /* Revision ID */
418 #define PCCRIR_REVID_MASK (0xff << PCCRIR_REVID_OFFS)
422 (if < 8 ? (0x40000 + ((if) / 4) * 0x40000 + ((if) % 4) * 0x4000) \
423 : (0x42000 + ((if) % 8) * 0x40000))
425 #define POWER_MNG_CTRL_REG 0x18220
426 #define PEX_DEVICE_AND_VENDOR_ID 0x000
431 #define PMC_PEXSTOPCLOCK_STOP(port) (0 << PMC_PEXSTOPCLOCK_OFFS(port))
434 #define TWSI_DATA_ADDR_MASK 0x7
447 #define CLK_CPU_1000 0
457 #define CLK_CPU_800 0xa
466 #define DDR_100 0
488 #define ODT20 0x200
489 #define ODT30 0x204
490 #define ODT40 0x44
491 #define ODT120 0x40
492 #define ODT120D 0x400
496 #define SDRAM_WL_SW_OFFS 0x100
497 #define SDRAM_RL_OFFS 0x0
498 #define SDRAM_PBS_I_OFFS 0x140
499 #define SDRAM_PBS_II_OFFS 0x180
501 #define SDRAM_PBS_TX_OFFS 0x180