1 /*******************************************************************************
2  * Copyright 2019-2021 Microchip FPGA Embedded Systems Solutions.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * MPFS HAL Embedded Software
7  *
8  */
9 
10 /*******************************************************************************
11  * @file mss_hal.h
12  * @author Microchip-FPGA Embedded Systems Solutions
13  * @brief Register bit offsets and masks definitions for MPFS MSS DDR
14  * This was generated directly from the RTL
15  *
16  */
17 
18 #ifndef MSS_DDR_REGS_H_
19 #define MSS_DDR_REGS_H_
20 
21 #include "../mss_sysreg.h"
22 #include "mss_ddr_sgmii_phy_defs.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /*----------------------------------------------------------------------------*/
29 /*----------------------------------- DDR -----------------------------------*/
30 /*----------------------------------------------------------------------------*/
31 
32 
33 /*============================== CFG_DDR_SGMII_PHY definitions ===========================*/
34 
35 /* see mss_ddr_sgmii_phy_defs.h */
36 
37 /******************************************************************************/
38 /*              finish of   CFG_DDR_SGMII_PHY definitions                     */
39 /******************************************************************************/
40 
41 
42 /*============================== DDR_CSR_APB definitions ===========================*/
43 
44 typedef union{                                                         /*!< CFG_MANUAL_ADDRESS_MAP register definition*/
45   __IO  uint32_t                       CFG_MANUAL_ADDRESS_MAP;
46   struct
47   {
48     __IO  uint32_t                       cfg_manual_address_map :1;
49     __I   uint32_t                       reserved             :31;
50   } bitfield;
51 } DDR_CSR_APB_CFG_MANUAL_ADDRESS_MAP_TypeDef;
52 
53 typedef union{                                                         /*!< CFG_CHIPADDR_MAP register definition*/
54   __IO  uint32_t                       CFG_CHIPADDR_MAP;
55   struct
56   {
57     __IO  uint32_t                       cfg_chipaddr_map     :24;
58     __I   uint32_t                       reserved             :8;
59   } bitfield;
60 } DDR_CSR_APB_CFG_CHIPADDR_MAP_TypeDef;
61 
62 typedef union{                                                         /*!< CFG_CIDADDR_MAP register definition*/
63   __IO  uint32_t                       CFG_CIDADDR_MAP;
64   struct
65   {
66     __IO  uint32_t                       cfg_cidaddr_map      :18;
67     __I   uint32_t                       reserved             :14;
68   } bitfield;
69 } DDR_CSR_APB_CFG_CIDADDR_MAP_TypeDef;
70 
71 typedef union{                                                         /*!< CFG_MB_AUTOPCH_COL_BIT_POS_LOW register definition*/
72   __IO  uint32_t                       CFG_MB_AUTOPCH_COL_BIT_POS_LOW;
73   struct
74   {
75     __IO  uint32_t                       cfg_mb_autopch_col_bit_pos_low :3;
76     __I   uint32_t                       reserved             :29;
77   } bitfield;
78 } DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_LOW_TypeDef;
79 
80 typedef union{                                                         /*!< CFG_MB_AUTOPCH_COL_BIT_POS_HIGH register definition*/
81   __IO  uint32_t                       CFG_MB_AUTOPCH_COL_BIT_POS_HIGH;
82   struct
83   {
84     __IO  uint32_t                       cfg_mb_autopch_col_bit_pos_high :4;
85     __I   uint32_t                       reserved             :28;
86   } bitfield;
87 } DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH_TypeDef;
88 
89 typedef union{                                                         /*!< CFG_BANKADDR_MAP_0 register definition*/
90   __IO  uint32_t                       CFG_BANKADDR_MAP_0;
91   struct
92   {
93     __IO  uint32_t                       cfg_bankaddr_map_0   :32;
94   } bitfield;
95 } DDR_CSR_APB_CFG_BANKADDR_MAP_0_TypeDef;
96 
97 typedef union{                                                         /*!< CFG_BANKADDR_MAP_1 register definition*/
98   __IO  uint32_t                       CFG_BANKADDR_MAP_1;
99   struct
100   {
101     __IO  uint32_t                       cfg_bankaddr_map_1   :4;
102     __I   uint32_t                       reserved             :28;
103   } bitfield;
104 } DDR_CSR_APB_CFG_BANKADDR_MAP_1_TypeDef;
105 
106 typedef union{                                                         /*!< CFG_ROWADDR_MAP_0 register definition*/
107   __IO  uint32_t                       CFG_ROWADDR_MAP_0;
108   struct
109   {
110     __IO  uint32_t                       cfg_rowaddr_map_0    :32;
111   } bitfield;
112 } DDR_CSR_APB_CFG_ROWADDR_MAP_0_TypeDef;
113 
114 typedef union{                                                         /*!< CFG_ROWADDR_MAP_1 register definition*/
115   __IO  uint32_t                       CFG_ROWADDR_MAP_1;
116   struct
117   {
118     __IO  uint32_t                       cfg_rowaddr_map_1    :32;
119   } bitfield;
120 } DDR_CSR_APB_CFG_ROWADDR_MAP_1_TypeDef;
121 
122 typedef union{                                                         /*!< CFG_ROWADDR_MAP_2 register definition*/
123   __IO  uint32_t                       CFG_ROWADDR_MAP_2;
124   struct
125   {
126     __IO  uint32_t                       cfg_rowaddr_map_2    :32;
127   } bitfield;
128 } DDR_CSR_APB_CFG_ROWADDR_MAP_2_TypeDef;
129 
130 typedef union{                                                         /*!< CFG_ROWADDR_MAP_3 register definition*/
131   __IO  uint32_t                       CFG_ROWADDR_MAP_3;
132   struct
133   {
134     __IO  uint32_t                       cfg_rowaddr_map_3    :12;
135     __I   uint32_t                       reserved             :20;
136   } bitfield;
137 } DDR_CSR_APB_CFG_ROWADDR_MAP_3_TypeDef;
138 
139 typedef union{                                                         /*!< CFG_COLADDR_MAP_0 register definition*/
140   __IO  uint32_t                       CFG_COLADDR_MAP_0;
141   struct
142   {
143     __IO  uint32_t                       cfg_coladdr_map_0    :32;
144   } bitfield;
145 } DDR_CSR_APB_CFG_COLADDR_MAP_0_TypeDef;
146 
147 typedef union{                                                         /*!< CFG_COLADDR_MAP_1 register definition*/
148   __IO  uint32_t                       CFG_COLADDR_MAP_1;
149   struct
150   {
151     __IO  uint32_t                       cfg_coladdr_map_1    :32;
152   } bitfield;
153 } DDR_CSR_APB_CFG_COLADDR_MAP_1_TypeDef;
154 
155 typedef union{                                                         /*!< CFG_COLADDR_MAP_2 register definition*/
156   __IO  uint32_t                       CFG_COLADDR_MAP_2;
157   struct
158   {
159     __IO  uint32_t                       cfg_coladdr_map_2    :32;
160   } bitfield;
161 } DDR_CSR_APB_CFG_COLADDR_MAP_2_TypeDef;
162 
163 typedef union{                                                         /*!< CFG_VRCG_ENABLE register definition*/
164   __IO  uint32_t                       CFG_VRCG_ENABLE;
165   struct
166   {
167     __IO  uint32_t                       cfg_vrcg_enable      :10;
168     __I   uint32_t                       reserved             :22;
169   } bitfield;
170 } DDR_CSR_APB_CFG_VRCG_ENABLE_TypeDef;
171 
172 typedef union{                                                         /*!< CFG_VRCG_DISABLE register definition*/
173   __IO  uint32_t                       CFG_VRCG_DISABLE;
174   struct
175   {
176     __IO  uint32_t                       cfg_vrcg_disable     :10;
177     __I   uint32_t                       reserved             :22;
178   } bitfield;
179 } DDR_CSR_APB_CFG_VRCG_DISABLE_TypeDef;
180 
181 typedef union{                                                         /*!< CFG_WRITE_LATENCY_SET register definition*/
182   __IO  uint32_t                       CFG_WRITE_LATENCY_SET;
183   struct
184   {
185     __IO  uint32_t                       cfg_write_latency_set :1;
186     __I   uint32_t                       reserved             :31;
187   } bitfield;
188 } DDR_CSR_APB_CFG_WRITE_LATENCY_SET_TypeDef;
189 
190 typedef union{                                                         /*!< CFG_THERMAL_OFFSET register definition*/
191   __IO  uint32_t                       CFG_THERMAL_OFFSET;
192   struct
193   {
194     __IO  uint32_t                       cfg_thermal_offset   :2;
195     __I   uint32_t                       reserved             :30;
196   } bitfield;
197 } DDR_CSR_APB_CFG_THERMAL_OFFSET_TypeDef;
198 
199 typedef union{                                                         /*!< CFG_SOC_ODT register definition*/
200   __IO  uint32_t                       CFG_SOC_ODT;
201   struct
202   {
203     __IO  uint32_t                       cfg_soc_odt          :3;
204     __I   uint32_t                       reserved             :29;
205   } bitfield;
206 } DDR_CSR_APB_CFG_SOC_ODT_TypeDef;
207 
208 typedef union{                                                         /*!< CFG_ODTE_CK register definition*/
209   __IO  uint32_t                       CFG_ODTE_CK;
210   struct
211   {
212     __IO  uint32_t                       cfg_odte_ck          :1;
213     __I   uint32_t                       reserved             :31;
214   } bitfield;
215 } DDR_CSR_APB_CFG_ODTE_CK_TypeDef;
216 
217 typedef union{                                                         /*!< CFG_ODTE_CS register definition*/
218   __IO  uint32_t                       CFG_ODTE_CS;
219   struct
220   {
221     __IO  uint32_t                       cfg_odte_cs          :1;
222     __I   uint32_t                       reserved             :31;
223   } bitfield;
224 } DDR_CSR_APB_CFG_ODTE_CS_TypeDef;
225 
226 typedef union{                                                         /*!< CFG_ODTD_CA register definition*/
227   __IO  uint32_t                       CFG_ODTD_CA;
228   struct
229   {
230     __IO  uint32_t                       cfg_odtd_ca          :1;
231     __I   uint32_t                       reserved             :31;
232   } bitfield;
233 } DDR_CSR_APB_CFG_ODTD_CA_TypeDef;
234 
235 typedef union{                                                         /*!< CFG_LPDDR4_FSP_OP register definition*/
236   __IO  uint32_t                       CFG_LPDDR4_FSP_OP;
237   struct
238   {
239     __IO  uint32_t                       cfg_lpddr4_fsp_op    :1;
240     __I   uint32_t                       reserved             :31;
241   } bitfield;
242 } DDR_CSR_APB_CFG_LPDDR4_FSP_OP_TypeDef;
243 
244 typedef union{                                                         /*!< CFG_GENERATE_REFRESH_ON_SRX register definition*/
245   __IO  uint32_t                       CFG_GENERATE_REFRESH_ON_SRX;
246   struct
247   {
248     __IO  uint32_t                       cfg_generate_refresh_on_srx :1;
249     __I   uint32_t                       reserved             :31;
250   } bitfield;
251 } DDR_CSR_APB_CFG_GENERATE_REFRESH_ON_SRX_TypeDef;
252 
253 typedef union{                                                         /*!< CFG_DBI_CL register definition*/
254   __IO  uint32_t                       CFG_DBI_CL;
255   struct
256   {
257     __IO  uint32_t                       cfg_dbi_cl           :6;
258     __I   uint32_t                       reserved             :26;
259   } bitfield;
260 } DDR_CSR_APB_CFG_DBI_CL_TypeDef;
261 
262 typedef union{                                                         /*!< CFG_NON_DBI_CL register definition*/
263   __IO  uint32_t                       CFG_NON_DBI_CL;
264   struct
265   {
266     __IO  uint32_t                       cfg_non_dbi_cl       :6;
267     __I   uint32_t                       reserved             :26;
268   } bitfield;
269 } DDR_CSR_APB_CFG_NON_DBI_CL_TypeDef;
270 
271 typedef union{                                                         /*!< INIT_FORCE_WRITE_DATA_0 register definition*/
272   __IO  uint32_t                       INIT_FORCE_WRITE_DATA_0;
273   struct
274   {
275     __IO  uint32_t                       init_force_write_data_0 :9;
276     __I   uint32_t                       reserved             :23;
277   } bitfield;
278 } DDR_CSR_APB_INIT_FORCE_WRITE_DATA_0_TypeDef;
279 
280 typedef union{                                                         /*!< CFG_WRITE_CRC register definition*/
281   __IO  uint32_t                       CFG_WRITE_CRC;
282   struct
283   {
284     __IO  uint32_t                       cfg_write_crc        :1;
285     __I   uint32_t                       reserved             :31;
286   } bitfield;
287 } DDR_CSR_APB_CFG_WRITE_CRC_TypeDef;
288 
289 typedef union{                                                         /*!< CFG_MPR_READ_FORMAT register definition*/
290   __IO  uint32_t                       CFG_MPR_READ_FORMAT;
291   struct
292   {
293     __IO  uint32_t                       cfg_mpr_read_format  :2;
294     __I   uint32_t                       reserved             :30;
295   } bitfield;
296 } DDR_CSR_APB_CFG_MPR_READ_FORMAT_TypeDef;
297 
298 typedef union{                                                         /*!< CFG_WR_CMD_LAT_CRC_DM register definition*/
299   __IO  uint32_t                       CFG_WR_CMD_LAT_CRC_DM;
300   struct
301   {
302     __IO  uint32_t                       cfg_wr_cmd_lat_crc_dm :2;
303     __I   uint32_t                       reserved             :30;
304   } bitfield;
305 } DDR_CSR_APB_CFG_WR_CMD_LAT_CRC_DM_TypeDef;
306 
307 typedef union{                                                         /*!< CFG_FINE_GRAN_REF_MODE register definition*/
308   __IO  uint32_t                       CFG_FINE_GRAN_REF_MODE;
309   struct
310   {
311     __IO  uint32_t                       cfg_fine_gran_ref_mode :3;
312     __I   uint32_t                       reserved             :29;
313   } bitfield;
314 } DDR_CSR_APB_CFG_FINE_GRAN_REF_MODE_TypeDef;
315 
316 typedef union{                                                         /*!< CFG_TEMP_SENSOR_READOUT register definition*/
317   __IO  uint32_t                       CFG_TEMP_SENSOR_READOUT;
318   struct
319   {
320     __IO  uint32_t                       cfg_temp_sensor_readout :1;
321     __I   uint32_t                       reserved             :31;
322   } bitfield;
323 } DDR_CSR_APB_CFG_TEMP_SENSOR_READOUT_TypeDef;
324 
325 typedef union{                                                         /*!< CFG_PER_DRAM_ADDR_EN register definition*/
326   __IO  uint32_t                       CFG_PER_DRAM_ADDR_EN;
327   struct
328   {
329     __IO  uint32_t                       cfg_per_dram_addr_en :1;
330     __I   uint32_t                       reserved             :31;
331   } bitfield;
332 } DDR_CSR_APB_CFG_PER_DRAM_ADDR_EN_TypeDef;
333 
334 typedef union{                                                         /*!< CFG_GEARDOWN_MODE register definition*/
335   __IO  uint32_t                       CFG_GEARDOWN_MODE;
336   struct
337   {
338     __IO  uint32_t                       cfg_geardown_mode    :1;
339     __I   uint32_t                       reserved             :31;
340   } bitfield;
341 } DDR_CSR_APB_CFG_GEARDOWN_MODE_TypeDef;
342 
343 typedef union{                                                         /*!< CFG_WR_PREAMBLE register definition*/
344   __IO  uint32_t                       CFG_WR_PREAMBLE;
345   struct
346   {
347     __IO  uint32_t                       cfg_wr_preamble      :1;
348     __I   uint32_t                       reserved             :31;
349   } bitfield;
350 } DDR_CSR_APB_CFG_WR_PREAMBLE_TypeDef;
351 
352 typedef union{                                                         /*!< CFG_RD_PREAMBLE register definition*/
353   __IO  uint32_t                       CFG_RD_PREAMBLE;
354   struct
355   {
356     __IO  uint32_t                       cfg_rd_preamble      :1;
357     __I   uint32_t                       reserved             :31;
358   } bitfield;
359 } DDR_CSR_APB_CFG_RD_PREAMBLE_TypeDef;
360 
361 typedef union{                                                         /*!< CFG_RD_PREAMB_TRN_MODE register definition*/
362   __IO  uint32_t                       CFG_RD_PREAMB_TRN_MODE;
363   struct
364   {
365     __IO  uint32_t                       cfg_rd_preamb_trn_mode :1;
366     __I   uint32_t                       reserved             :31;
367   } bitfield;
368 } DDR_CSR_APB_CFG_RD_PREAMB_TRN_MODE_TypeDef;
369 
370 typedef union{                                                         /*!< CFG_SR_ABORT register definition*/
371   __IO  uint32_t                       CFG_SR_ABORT;
372   struct
373   {
374     __IO  uint32_t                       cfg_sr_abort         :1;
375     __I   uint32_t                       reserved             :31;
376   } bitfield;
377 } DDR_CSR_APB_CFG_SR_ABORT_TypeDef;
378 
379 typedef union{                                                         /*!< CFG_CS_TO_CMDADDR_LATENCY register definition*/
380   __IO  uint32_t                       CFG_CS_TO_CMDADDR_LATENCY;
381   struct
382   {
383     __IO  uint32_t                       cfg_cs_to_cmdaddr_latency :3;
384     __I   uint32_t                       reserved             :29;
385   } bitfield;
386 } DDR_CSR_APB_CFG_CS_TO_CMDADDR_LATENCY_TypeDef;
387 
388 typedef union{                                                         /*!< CFG_INT_VREF_MON register definition*/
389   __IO  uint32_t                       CFG_INT_VREF_MON;
390   struct
391   {
392     __IO  uint32_t                       cfg_int_vref_mon     :1;
393     __I   uint32_t                       reserved             :31;
394   } bitfield;
395 } DDR_CSR_APB_CFG_INT_VREF_MON_TypeDef;
396 
397 typedef union{                                                         /*!< CFG_TEMP_CTRL_REF_MODE register definition*/
398   __IO  uint32_t                       CFG_TEMP_CTRL_REF_MODE;
399   struct
400   {
401     __IO  uint32_t                       cfg_temp_ctrl_ref_mode :1;
402     __I   uint32_t                       reserved             :31;
403   } bitfield;
404 } DDR_CSR_APB_CFG_TEMP_CTRL_REF_MODE_TypeDef;
405 
406 typedef union{                                                         /*!< CFG_TEMP_CTRL_REF_RANGE register definition*/
407   __IO  uint32_t                       CFG_TEMP_CTRL_REF_RANGE;
408   struct
409   {
410     __IO  uint32_t                       cfg_temp_ctrl_ref_range :1;
411     __I   uint32_t                       reserved             :31;
412   } bitfield;
413 } DDR_CSR_APB_CFG_TEMP_CTRL_REF_RANGE_TypeDef;
414 
415 typedef union{                                                         /*!< CFG_MAX_PWR_DOWN_MODE register definition*/
416   __IO  uint32_t                       CFG_MAX_PWR_DOWN_MODE;
417   struct
418   {
419     __IO  uint32_t                       cfg_max_pwr_down_mode :1;
420     __I   uint32_t                       reserved             :31;
421   } bitfield;
422 } DDR_CSR_APB_CFG_MAX_PWR_DOWN_MODE_TypeDef;
423 
424 typedef union{                                                         /*!< CFG_READ_DBI register definition*/
425   __IO  uint32_t                       CFG_READ_DBI;
426   struct
427   {
428     __IO  uint32_t                       cfg_read_dbi         :1;
429     __I   uint32_t                       reserved             :31;
430   } bitfield;
431 } DDR_CSR_APB_CFG_READ_DBI_TypeDef;
432 
433 typedef union{                                                         /*!< CFG_WRITE_DBI register definition*/
434   __IO  uint32_t                       CFG_WRITE_DBI;
435   struct
436   {
437     __IO  uint32_t                       cfg_write_dbi        :1;
438     __I   uint32_t                       reserved             :31;
439   } bitfield;
440 } DDR_CSR_APB_CFG_WRITE_DBI_TypeDef;
441 
442 typedef union{                                                         /*!< CFG_DATA_MASK register definition*/
443   __IO  uint32_t                       CFG_DATA_MASK;
444   struct
445   {
446     __IO  uint32_t                       cfg_data_mask        :1;
447     __I   uint32_t                       reserved             :31;
448   } bitfield;
449 } DDR_CSR_APB_CFG_DATA_MASK_TypeDef;
450 
451 typedef union{                                                         /*!< CFG_CA_PARITY_PERSIST_ERR register definition*/
452   __IO  uint32_t                       CFG_CA_PARITY_PERSIST_ERR;
453   struct
454   {
455     __IO  uint32_t                       cfg_ca_parity_persist_err :1;
456     __I   uint32_t                       reserved             :31;
457   } bitfield;
458 } DDR_CSR_APB_CFG_CA_PARITY_PERSIST_ERR_TypeDef;
459 
460 typedef union{                                                         /*!< CFG_RTT_PARK register definition*/
461   __IO  uint32_t                       CFG_RTT_PARK;
462   struct
463   {
464     __IO  uint32_t                       cfg_rtt_park         :3;
465     __I   uint32_t                       reserved             :29;
466   } bitfield;
467 } DDR_CSR_APB_CFG_RTT_PARK_TypeDef;
468 
469 typedef union{                                                         /*!< CFG_ODT_INBUF_4_PD register definition*/
470   __IO  uint32_t                       CFG_ODT_INBUF_4_PD;
471   struct
472   {
473     __IO  uint32_t                       cfg_odt_inbuf_4_pd   :1;
474     __I   uint32_t                       reserved             :31;
475   } bitfield;
476 } DDR_CSR_APB_CFG_ODT_INBUF_4_PD_TypeDef;
477 
478 typedef union{                                                         /*!< CFG_CA_PARITY_ERR_STATUS register definition*/
479   __IO  uint32_t                       CFG_CA_PARITY_ERR_STATUS;
480   struct
481   {
482     __IO  uint32_t                       cfg_ca_parity_err_status :1;
483     __I   uint32_t                       reserved             :31;
484   } bitfield;
485 } DDR_CSR_APB_CFG_CA_PARITY_ERR_STATUS_TypeDef;
486 
487 typedef union{                                                         /*!< CFG_CRC_ERROR_CLEAR register definition*/
488   __IO  uint32_t                       CFG_CRC_ERROR_CLEAR;
489   struct
490   {
491     __IO  uint32_t                       cfg_crc_error_clear  :1;
492     __I   uint32_t                       reserved             :31;
493   } bitfield;
494 } DDR_CSR_APB_CFG_CRC_ERROR_CLEAR_TypeDef;
495 
496 typedef union{                                                         /*!< CFG_CA_PARITY_LATENCY register definition*/
497   __IO  uint32_t                       CFG_CA_PARITY_LATENCY;
498   struct
499   {
500     __IO  uint32_t                       cfg_ca_parity_latency :3;
501     __I   uint32_t                       reserved             :29;
502   } bitfield;
503 } DDR_CSR_APB_CFG_CA_PARITY_LATENCY_TypeDef;
504 
505 typedef union{                                                         /*!< CFG_CCD_S register definition*/
506   __IO  uint32_t                       CFG_CCD_S;
507   struct
508   {
509     __IO  uint32_t                       cfg_ccd_s            :3;
510     __I   uint32_t                       reserved             :29;
511   } bitfield;
512 } DDR_CSR_APB_CFG_CCD_S_TypeDef;
513 
514 typedef union{                                                         /*!< CFG_CCD_L register definition*/
515   __IO  uint32_t                       CFG_CCD_L;
516   struct
517   {
518     __IO  uint32_t                       cfg_ccd_l            :4;
519     __I   uint32_t                       reserved             :28;
520   } bitfield;
521 } DDR_CSR_APB_CFG_CCD_L_TypeDef;
522 
523 typedef union{                                                         /*!< CFG_VREFDQ_TRN_ENABLE register definition*/
524   __IO  uint32_t                       CFG_VREFDQ_TRN_ENABLE;
525   struct
526   {
527     __IO  uint32_t                       cfg_vrefdq_trn_enable :1;
528     __I   uint32_t                       reserved             :31;
529   } bitfield;
530 } DDR_CSR_APB_CFG_VREFDQ_TRN_ENABLE_TypeDef;
531 
532 typedef union{                                                         /*!< CFG_VREFDQ_TRN_RANGE register definition*/
533   __IO  uint32_t                       CFG_VREFDQ_TRN_RANGE;
534   struct
535   {
536     __IO  uint32_t                       cfg_vrefdq_trn_range :1;
537     __I   uint32_t                       reserved             :31;
538   } bitfield;
539 } DDR_CSR_APB_CFG_VREFDQ_TRN_RANGE_TypeDef;
540 
541 typedef union{                                                         /*!< CFG_VREFDQ_TRN_VALUE register definition*/
542   __IO  uint32_t                       CFG_VREFDQ_TRN_VALUE;
543   struct
544   {
545     __IO  uint32_t                       cfg_vrefdq_trn_value :6;
546     __I   uint32_t                       reserved             :26;
547   } bitfield;
548 } DDR_CSR_APB_CFG_VREFDQ_TRN_VALUE_TypeDef;
549 
550 typedef union{                                                         /*!< CFG_RRD_S register definition*/
551   __IO  uint32_t                       CFG_RRD_S;
552   struct
553   {
554     __IO  uint32_t                       cfg_rrd_s            :5;
555     __I   uint32_t                       reserved             :27;
556   } bitfield;
557 } DDR_CSR_APB_CFG_RRD_S_TypeDef;
558 
559 typedef union{                                                         /*!< CFG_RRD_L register definition*/
560   __IO  uint32_t                       CFG_RRD_L;
561   struct
562   {
563     __IO  uint32_t                       cfg_rrd_l            :5;
564     __I   uint32_t                       reserved             :27;
565   } bitfield;
566 } DDR_CSR_APB_CFG_RRD_L_TypeDef;
567 
568 typedef union{                                                         /*!< CFG_WTR_S register definition*/
569   __IO  uint32_t                       CFG_WTR_S;
570   struct
571   {
572     __IO  uint32_t                       cfg_wtr_s            :4;
573     __I   uint32_t                       reserved             :28;
574   } bitfield;
575 } DDR_CSR_APB_CFG_WTR_S_TypeDef;
576 
577 typedef union{                                                         /*!< CFG_WTR_L register definition*/
578   __IO  uint32_t                       CFG_WTR_L;
579   struct
580   {
581     __IO  uint32_t                       cfg_wtr_l            :4;
582     __I   uint32_t                       reserved             :28;
583   } bitfield;
584 } DDR_CSR_APB_CFG_WTR_L_TypeDef;
585 
586 typedef union{                                                         /*!< CFG_WTR_S_CRC_DM register definition*/
587   __IO  uint32_t                       CFG_WTR_S_CRC_DM;
588   struct
589   {
590     __IO  uint32_t                       cfg_wtr_s_crc_dm     :4;
591     __I   uint32_t                       reserved             :28;
592   } bitfield;
593 } DDR_CSR_APB_CFG_WTR_S_CRC_DM_TypeDef;
594 
595 typedef union{                                                         /*!< CFG_WTR_L_CRC_DM register definition*/
596   __IO  uint32_t                       CFG_WTR_L_CRC_DM;
597   struct
598   {
599     __IO  uint32_t                       cfg_wtr_l_crc_dm     :5;
600     __I   uint32_t                       reserved             :27;
601   } bitfield;
602 } DDR_CSR_APB_CFG_WTR_L_CRC_DM_TypeDef;
603 
604 typedef union{                                                         /*!< CFG_WR_CRC_DM register definition*/
605   __IO  uint32_t                       CFG_WR_CRC_DM;
606   struct
607   {
608     __IO  uint32_t                       cfg_wr_crc_dm        :6;
609     __I   uint32_t                       reserved             :26;
610   } bitfield;
611 } DDR_CSR_APB_CFG_WR_CRC_DM_TypeDef;
612 
613 typedef union{                                                         /*!< CFG_RFC1 register definition*/
614   __IO  uint32_t                       CFG_RFC1;
615   struct
616   {
617     __IO  uint32_t                       cfg_rfc1             :10;
618     __I   uint32_t                       reserved             :22;
619   } bitfield;
620 } DDR_CSR_APB_CFG_RFC1_TypeDef;
621 
622 typedef union{                                                         /*!< CFG_RFC2 register definition*/
623   __IO  uint32_t                       CFG_RFC2;
624   struct
625   {
626     __IO  uint32_t                       cfg_rfc2             :10;
627     __I   uint32_t                       reserved             :22;
628   } bitfield;
629 } DDR_CSR_APB_CFG_RFC2_TypeDef;
630 
631 typedef union{                                                         /*!< CFG_RFC4 register definition*/
632   __IO  uint32_t                       CFG_RFC4;
633   struct
634   {
635     __IO  uint32_t                       cfg_rfc4             :10;
636     __I   uint32_t                       reserved             :22;
637   } bitfield;
638 } DDR_CSR_APB_CFG_RFC4_TypeDef;
639 
640 typedef union{                                                         /*!< CFG_NIBBLE_DEVICES register definition*/
641   __IO  uint32_t                       CFG_NIBBLE_DEVICES;
642   struct
643   {
644     __IO  uint32_t                       cfg_nibble_devices   :1;
645     __I   uint32_t                       reserved             :31;
646   } bitfield;
647 } DDR_CSR_APB_CFG_NIBBLE_DEVICES_TypeDef;
648 
649 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS0_0 register definition*/
650   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS0_0;
651   struct
652   {
653     __IO  uint32_t                       cfg_bit_map_index_cs0_0 :32;
654   } bitfield;
655 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_0_TypeDef;
656 
657 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS0_1 register definition*/
658   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS0_1;
659   struct
660   {
661     __IO  uint32_t                       cfg_bit_map_index_cs0_1 :22;
662     __I   uint32_t                       reserved             :10;
663   } bitfield;
664 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_1_TypeDef;
665 
666 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS1_0 register definition*/
667   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS1_0;
668   struct
669   {
670     __IO  uint32_t                       cfg_bit_map_index_cs1_0 :32;
671   } bitfield;
672 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_0_TypeDef;
673 
674 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS1_1 register definition*/
675   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS1_1;
676   struct
677   {
678     __IO  uint32_t                       cfg_bit_map_index_cs1_1 :22;
679     __I   uint32_t                       reserved             :10;
680   } bitfield;
681 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_1_TypeDef;
682 
683 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS2_0 register definition*/
684   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS2_0;
685   struct
686   {
687     __IO  uint32_t                       cfg_bit_map_index_cs2_0 :32;
688   } bitfield;
689 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_0_TypeDef;
690 
691 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS2_1 register definition*/
692   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS2_1;
693   struct
694   {
695     __IO  uint32_t                       cfg_bit_map_index_cs2_1 :22;
696     __I   uint32_t                       reserved             :10;
697   } bitfield;
698 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_1_TypeDef;
699 
700 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS3_0 register definition*/
701   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS3_0;
702   struct
703   {
704     __IO  uint32_t                       cfg_bit_map_index_cs3_0 :32;
705   } bitfield;
706 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_0_TypeDef;
707 
708 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS3_1 register definition*/
709   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS3_1;
710   struct
711   {
712     __IO  uint32_t                       cfg_bit_map_index_cs3_1 :22;
713     __I   uint32_t                       reserved             :10;
714   } bitfield;
715 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_1_TypeDef;
716 
717 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS4_0 register definition*/
718   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS4_0;
719   struct
720   {
721     __IO  uint32_t                       cfg_bit_map_index_cs4_0 :32;
722   } bitfield;
723 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_0_TypeDef;
724 
725 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS4_1 register definition*/
726   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS4_1;
727   struct
728   {
729     __IO  uint32_t                       cfg_bit_map_index_cs4_1 :22;
730     __I   uint32_t                       reserved             :10;
731   } bitfield;
732 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_1_TypeDef;
733 
734 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS5_0 register definition*/
735   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS5_0;
736   struct
737   {
738     __IO  uint32_t                       cfg_bit_map_index_cs5_0 :32;
739   } bitfield;
740 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_0_TypeDef;
741 
742 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS5_1 register definition*/
743   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS5_1;
744   struct
745   {
746     __IO  uint32_t                       cfg_bit_map_index_cs5_1 :22;
747     __I   uint32_t                       reserved             :10;
748   } bitfield;
749 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_1_TypeDef;
750 
751 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS6_0 register definition*/
752   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS6_0;
753   struct
754   {
755     __IO  uint32_t                       cfg_bit_map_index_cs6_0 :32;
756   } bitfield;
757 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_0_TypeDef;
758 
759 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS6_1 register definition*/
760   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS6_1;
761   struct
762   {
763     __IO  uint32_t                       cfg_bit_map_index_cs6_1 :22;
764     __I   uint32_t                       reserved             :10;
765   } bitfield;
766 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_1_TypeDef;
767 
768 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS7_0 register definition*/
769   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS7_0;
770   struct
771   {
772     __IO  uint32_t                       cfg_bit_map_index_cs7_0 :32;
773   } bitfield;
774 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_0_TypeDef;
775 
776 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS7_1 register definition*/
777   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS7_1;
778   struct
779   {
780     __IO  uint32_t                       cfg_bit_map_index_cs7_1 :22;
781     __I   uint32_t                       reserved             :10;
782   } bitfield;
783 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_1_TypeDef;
784 
785 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS8_0 register definition*/
786   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS8_0;
787   struct
788   {
789     __IO  uint32_t                       cfg_bit_map_index_cs8_0 :32;
790   } bitfield;
791 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_0_TypeDef;
792 
793 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS8_1 register definition*/
794   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS8_1;
795   struct
796   {
797     __IO  uint32_t                       cfg_bit_map_index_cs8_1 :22;
798     __I   uint32_t                       reserved             :10;
799   } bitfield;
800 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_1_TypeDef;
801 
802 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS9_0 register definition*/
803   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS9_0;
804   struct
805   {
806     __IO  uint32_t                       cfg_bit_map_index_cs9_0 :32;
807   } bitfield;
808 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_0_TypeDef;
809 
810 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS9_1 register definition*/
811   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS9_1;
812   struct
813   {
814     __IO  uint32_t                       cfg_bit_map_index_cs9_1 :22;
815     __I   uint32_t                       reserved             :10;
816   } bitfield;
817 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_1_TypeDef;
818 
819 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS10_0 register definition*/
820   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS10_0;
821   struct
822   {
823     __IO  uint32_t                       cfg_bit_map_index_cs10_0 :32;
824   } bitfield;
825 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_0_TypeDef;
826 
827 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS10_1 register definition*/
828   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS10_1;
829   struct
830   {
831     __IO  uint32_t                       cfg_bit_map_index_cs10_1 :22;
832     __I   uint32_t                       reserved             :10;
833   } bitfield;
834 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_1_TypeDef;
835 
836 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS11_0 register definition*/
837   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS11_0;
838   struct
839   {
840     __IO  uint32_t                       cfg_bit_map_index_cs11_0 :32;
841   } bitfield;
842 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_0_TypeDef;
843 
844 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS11_1 register definition*/
845   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS11_1;
846   struct
847   {
848     __IO  uint32_t                       cfg_bit_map_index_cs11_1 :22;
849     __I   uint32_t                       reserved             :10;
850   } bitfield;
851 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_1_TypeDef;
852 
853 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS12_0 register definition*/
854   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS12_0;
855   struct
856   {
857     __IO  uint32_t                       cfg_bit_map_index_cs12_0 :32;
858   } bitfield;
859 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_0_TypeDef;
860 
861 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS12_1 register definition*/
862   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS12_1;
863   struct
864   {
865     __IO  uint32_t                       cfg_bit_map_index_cs12_1 :22;
866     __I   uint32_t                       reserved             :10;
867   } bitfield;
868 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_1_TypeDef;
869 
870 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS13_0 register definition*/
871   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS13_0;
872   struct
873   {
874     __IO  uint32_t                       cfg_bit_map_index_cs13_0 :32;
875   } bitfield;
876 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_0_TypeDef;
877 
878 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS13_1 register definition*/
879   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS13_1;
880   struct
881   {
882     __IO  uint32_t                       cfg_bit_map_index_cs13_1 :22;
883     __I   uint32_t                       reserved             :10;
884   } bitfield;
885 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_1_TypeDef;
886 
887 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS14_0 register definition*/
888   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS14_0;
889   struct
890   {
891     __IO  uint32_t                       cfg_bit_map_index_cs14_0 :32;
892   } bitfield;
893 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_0_TypeDef;
894 
895 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS14_1 register definition*/
896   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS14_1;
897   struct
898   {
899     __IO  uint32_t                       cfg_bit_map_index_cs14_1 :22;
900     __I   uint32_t                       reserved             :10;
901   } bitfield;
902 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_1_TypeDef;
903 
904 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS15_0 register definition*/
905   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS15_0;
906   struct
907   {
908     __IO  uint32_t                       cfg_bit_map_index_cs15_0 :32;
909   } bitfield;
910 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_0_TypeDef;
911 
912 typedef union{                                                         /*!< CFG_BIT_MAP_INDEX_CS15_1 register definition*/
913   __IO  uint32_t                       CFG_BIT_MAP_INDEX_CS15_1;
914   struct
915   {
916     __IO  uint32_t                       cfg_bit_map_index_cs15_1 :22;
917     __I   uint32_t                       reserved             :10;
918   } bitfield;
919 } DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_1_TypeDef;
920 
921 typedef union{                                                         /*!< CFG_NUM_LOGICAL_RANKS_PER_3DS register definition*/
922   __IO  uint32_t                       CFG_NUM_LOGICAL_RANKS_PER_3DS;
923   struct
924   {
925     __IO  uint32_t                       cfg_num_logical_ranks_per_3ds :4;
926     __I   uint32_t                       reserved             :28;
927   } bitfield;
928 } DDR_CSR_APB_CFG_NUM_LOGICAL_RANKS_PER_3DS_TypeDef;
929 
930 typedef union{                                                         /*!< CFG_RFC_DLR1 register definition*/
931   __IO  uint32_t                       CFG_RFC_DLR1;
932   struct
933   {
934     __IO  uint32_t                       cfg_rfc_dlr1         :10;
935     __I   uint32_t                       reserved             :22;
936   } bitfield;
937 } DDR_CSR_APB_CFG_RFC_DLR1_TypeDef;
938 
939 typedef union{                                                         /*!< CFG_RFC_DLR2 register definition*/
940   __IO  uint32_t                       CFG_RFC_DLR2;
941   struct
942   {
943     __IO  uint32_t                       cfg_rfc_dlr2         :10;
944     __I   uint32_t                       reserved             :22;
945   } bitfield;
946 } DDR_CSR_APB_CFG_RFC_DLR2_TypeDef;
947 
948 typedef union{                                                         /*!< CFG_RFC_DLR4 register definition*/
949   __IO  uint32_t                       CFG_RFC_DLR4;
950   struct
951   {
952     __IO  uint32_t                       cfg_rfc_dlr4         :10;
953     __I   uint32_t                       reserved             :22;
954   } bitfield;
955 } DDR_CSR_APB_CFG_RFC_DLR4_TypeDef;
956 
957 typedef union{                                                         /*!< CFG_RRD_DLR register definition*/
958   __IO  uint32_t                       CFG_RRD_DLR;
959   struct
960   {
961     __IO  uint32_t                       cfg_rrd_dlr          :4;
962     __I   uint32_t                       reserved             :28;
963   } bitfield;
964 } DDR_CSR_APB_CFG_RRD_DLR_TypeDef;
965 
966 typedef union{                                                         /*!< CFG_FAW_DLR register definition*/
967   __IO  uint32_t                       CFG_FAW_DLR;
968   struct
969   {
970     __IO  uint32_t                       cfg_faw_dlr          :7;
971     __I   uint32_t                       reserved             :25;
972   } bitfield;
973 } DDR_CSR_APB_CFG_FAW_DLR_TypeDef;
974 
975 typedef union{                                                         /*!< CFG_ADVANCE_ACTIVATE_READY register definition*/
976   __IO  uint32_t                       CFG_ADVANCE_ACTIVATE_READY;
977   struct
978   {
979     __IO  uint32_t                       cfg_advance_activate_ready :4;
980     __I   uint32_t                       reserved             :28;
981   } bitfield;
982 } DDR_CSR_APB_CFG_ADVANCE_ACTIVATE_READY_TypeDef;
983 
984 typedef union{                                                         /*!< CTRLR_SOFT_RESET_N register definition*/
985   __IO  uint32_t                       CTRLR_SOFT_RESET_N;
986   struct
987   {
988     __IO  uint32_t                       ctrlr_soft_reset_n   :1;
989     __I   uint32_t                       reserved             :31;
990   } bitfield;
991 } DDR_CSR_APB_CTRLR_SOFT_RESET_N_TypeDef;
992 
993 typedef union{                                                         /*!< CFG_LOOKAHEAD_PCH register definition*/
994   __IO  uint32_t                       CFG_LOOKAHEAD_PCH;
995   struct
996   {
997     __IO  uint32_t                       cfg_lookahead_pch    :1;
998     __I   uint32_t                       reserved             :31;
999   } bitfield;
1000 } DDR_CSR_APB_CFG_LOOKAHEAD_PCH_TypeDef;
1001 
1002 typedef union{                                                         /*!< CFG_LOOKAHEAD_ACT register definition*/
1003   __IO  uint32_t                       CFG_LOOKAHEAD_ACT;
1004   struct
1005   {
1006     __IO  uint32_t                       cfg_lookahead_act    :1;
1007     __I   uint32_t                       reserved             :31;
1008   } bitfield;
1009 } DDR_CSR_APB_CFG_LOOKAHEAD_ACT_TypeDef;
1010 
1011 typedef union{                                                         /*!< INIT_AUTOINIT_DISABLE register definition*/
1012   __IO  uint32_t                       INIT_AUTOINIT_DISABLE;
1013   struct
1014   {
1015     __IO  uint32_t                       init_autoinit_disable :1;
1016     __I   uint32_t                       reserved             :31;
1017   } bitfield;
1018 } DDR_CSR_APB_INIT_AUTOINIT_DISABLE_TypeDef;
1019 
1020 typedef union{                                                         /*!< INIT_FORCE_RESET register definition*/
1021   __IO  uint32_t                       INIT_FORCE_RESET;
1022   struct
1023   {
1024     __IO  uint32_t                       init_force_reset     :1;
1025     __I   uint32_t                       reserved             :31;
1026   } bitfield;
1027 } DDR_CSR_APB_INIT_FORCE_RESET_TypeDef;
1028 
1029 typedef union{                                                         /*!< INIT_GEARDOWN_EN register definition*/
1030   __IO  uint32_t                       INIT_GEARDOWN_EN;
1031   struct
1032   {
1033     __IO  uint32_t                       init_geardown_en     :1;
1034     __I   uint32_t                       reserved             :31;
1035   } bitfield;
1036 } DDR_CSR_APB_INIT_GEARDOWN_EN_TypeDef;
1037 
1038 typedef union{                                                         /*!< INIT_DISABLE_CKE register definition*/
1039   __IO  uint32_t                       INIT_DISABLE_CKE;
1040   struct
1041   {
1042     __IO  uint32_t                       init_disable_cke     :1;
1043     __I   uint32_t                       reserved             :31;
1044   } bitfield;
1045 } DDR_CSR_APB_INIT_DISABLE_CKE_TypeDef;
1046 
1047 typedef union{                                                         /*!< INIT_CS register definition*/
1048   __IO  uint32_t                       INIT_CS;
1049   struct
1050   {
1051     __IO  uint32_t                       init_cs              :8;
1052     __I   uint32_t                       reserved             :24;
1053   } bitfield;
1054 } DDR_CSR_APB_INIT_CS_TypeDef;
1055 
1056 typedef union{                                                         /*!< INIT_PRECHARGE_ALL register definition*/
1057   __IO  uint32_t                       INIT_PRECHARGE_ALL;
1058   struct
1059   {
1060     __IO  uint32_t                       init_precharge_all   :1;
1061     __I   uint32_t                       reserved             :31;
1062   } bitfield;
1063 } DDR_CSR_APB_INIT_PRECHARGE_ALL_TypeDef;
1064 
1065 typedef union{                                                         /*!< INIT_REFRESH register definition*/
1066   __IO  uint32_t                       INIT_REFRESH;
1067   struct
1068   {
1069     __IO  uint32_t                       init_refresh         :1;
1070     __I   uint32_t                       reserved             :31;
1071   } bitfield;
1072 } DDR_CSR_APB_INIT_REFRESH_TypeDef;
1073 
1074 typedef union{                                                         /*!< INIT_ZQ_CAL_REQ register definition*/
1075   __IO  uint32_t                       INIT_ZQ_CAL_REQ;
1076   struct
1077   {
1078     __IO  uint32_t                       init_zq_cal_req      :1;
1079     __I   uint32_t                       reserved             :31;
1080   } bitfield;
1081 } DDR_CSR_APB_INIT_ZQ_CAL_REQ_TypeDef;
1082 
1083 typedef union{                                                         /*!< INIT_ACK register definition*/
1084   __I   uint32_t                       INIT_ACK;
1085   struct
1086   {
1087     __I   uint32_t                       init_ack             :1;
1088     __I   uint32_t                       reserved             :31;
1089   } bitfield;
1090 } DDR_CSR_APB_INIT_ACK_TypeDef;
1091 
1092 typedef union{                                                         /*!< CFG_BL register definition*/
1093   __IO  uint32_t                       CFG_BL;
1094   struct
1095   {
1096     __IO  uint32_t                       cfg_bl               :2;
1097     __I   uint32_t                       reserved             :30;
1098   } bitfield;
1099 } DDR_CSR_APB_CFG_BL_TypeDef;
1100 
1101 typedef union{                                                         /*!< CTRLR_INIT register definition*/
1102   __IO  uint32_t                       CTRLR_INIT;
1103   struct
1104   {
1105     __IO  uint32_t                       ctrlr_init           :1;
1106     __I   uint32_t                       reserved             :31;
1107   } bitfield;
1108 } DDR_CSR_APB_CTRLR_INIT_TypeDef;
1109 
1110 typedef union{                                                         /*!< CTRLR_INIT_DONE register definition*/
1111   __I   uint32_t                       CTRLR_INIT_DONE;
1112   struct
1113   {
1114     __I   uint32_t                       ctrlr_init_done      :1;
1115     __I   uint32_t                       reserved             :31;
1116   } bitfield;
1117 } DDR_CSR_APB_CTRLR_INIT_DONE_TypeDef;
1118 
1119 typedef union{                                                         /*!< CFG_AUTO_REF_EN register definition*/
1120   __IO  uint32_t                       CFG_AUTO_REF_EN;
1121   struct
1122   {
1123     __IO  uint32_t                       cfg_auto_ref_en      :1;
1124     __I   uint32_t                       reserved             :31;
1125   } bitfield;
1126 } DDR_CSR_APB_CFG_AUTO_REF_EN_TypeDef;
1127 
1128 typedef union{                                                         /*!< CFG_RAS register definition*/
1129   __IO  uint32_t                       CFG_RAS;
1130   struct
1131   {
1132     __IO  uint32_t                       cfg_ras              :7;
1133     __I   uint32_t                       reserved             :25;
1134   } bitfield;
1135 } DDR_CSR_APB_CFG_RAS_TypeDef;
1136 
1137 typedef union{                                                         /*!< CFG_RCD register definition*/
1138   __IO  uint32_t                       CFG_RCD;
1139   struct
1140   {
1141     __IO  uint32_t                       cfg_rcd              :7;
1142     __I   uint32_t                       reserved             :25;
1143   } bitfield;
1144 } DDR_CSR_APB_CFG_RCD_TypeDef;
1145 
1146 typedef union{                                                         /*!< CFG_RRD register definition*/
1147   __IO  uint32_t                       CFG_RRD;
1148   struct
1149   {
1150     __IO  uint32_t                       cfg_rrd              :5;
1151     __I   uint32_t                       reserved             :27;
1152   } bitfield;
1153 } DDR_CSR_APB_CFG_RRD_TypeDef;
1154 
1155 typedef union{                                                         /*!< CFG_RP register definition*/
1156   __IO  uint32_t                       CFG_RP;
1157   struct
1158   {
1159     __IO  uint32_t                       cfg_rp               :6;
1160     __I   uint32_t                       reserved             :26;
1161   } bitfield;
1162 } DDR_CSR_APB_CFG_RP_TypeDef;
1163 
1164 typedef union{                                                         /*!< CFG_RC register definition*/
1165   __IO  uint32_t                       CFG_RC;
1166   struct
1167   {
1168     __IO  uint32_t                       cfg_rc               :8;
1169     __I   uint32_t                       reserved             :24;
1170   } bitfield;
1171 } DDR_CSR_APB_CFG_RC_TypeDef;
1172 
1173 typedef union{                                                         /*!< CFG_FAW register definition*/
1174   __IO  uint32_t                       CFG_FAW;
1175   struct
1176   {
1177     __IO  uint32_t                       cfg_faw              :9;
1178     __I   uint32_t                       reserved             :23;
1179   } bitfield;
1180 } DDR_CSR_APB_CFG_FAW_TypeDef;
1181 
1182 typedef union{                                                         /*!< CFG_RFC register definition*/
1183   __IO  uint32_t                       CFG_RFC;
1184   struct
1185   {
1186     __IO  uint32_t                       cfg_rfc              :10;
1187     __I   uint32_t                       reserved             :22;
1188   } bitfield;
1189 } DDR_CSR_APB_CFG_RFC_TypeDef;
1190 
1191 typedef union{                                                         /*!< CFG_RTP register definition*/
1192   __IO  uint32_t                       CFG_RTP;
1193   struct
1194   {
1195     __IO  uint32_t                       cfg_rtp              :5;
1196     __I   uint32_t                       reserved             :27;
1197   } bitfield;
1198 } DDR_CSR_APB_CFG_RTP_TypeDef;
1199 
1200 typedef union{                                                         /*!< CFG_WR register definition*/
1201   __IO  uint32_t                       CFG_WR;
1202   struct
1203   {
1204     __IO  uint32_t                       cfg_wr               :6;
1205     __I   uint32_t                       reserved             :26;
1206   } bitfield;
1207 } DDR_CSR_APB_CFG_WR_TypeDef;
1208 
1209 typedef union{                                                         /*!< CFG_WTR register definition*/
1210   __IO  uint32_t                       CFG_WTR;
1211   struct
1212   {
1213     __IO  uint32_t                       cfg_wtr              :5;
1214     __I   uint32_t                       reserved             :27;
1215   } bitfield;
1216 } DDR_CSR_APB_CFG_WTR_TypeDef;
1217 
1218 typedef union{                                                         /*!< CFG_PASR register definition*/
1219   __IO  uint32_t                       CFG_PASR;
1220   struct
1221   {
1222     __IO  uint32_t                       cfg_pasr             :3;
1223     __I   uint32_t                       reserved             :29;
1224   } bitfield;
1225 } DDR_CSR_APB_CFG_PASR_TypeDef;
1226 
1227 typedef union{                                                         /*!< CFG_XP register definition*/
1228   __IO  uint32_t                       CFG_XP;
1229   struct
1230   {
1231     __IO  uint32_t                       cfg_xp               :5;
1232     __I   uint32_t                       reserved             :27;
1233   } bitfield;
1234 } DDR_CSR_APB_CFG_XP_TypeDef;
1235 
1236 typedef union{                                                         /*!< CFG_XSR register definition*/
1237   __IO  uint32_t                       CFG_XSR;
1238   struct
1239   {
1240     __IO  uint32_t                       cfg_xsr              :10;
1241     __I   uint32_t                       reserved             :22;
1242   } bitfield;
1243 } DDR_CSR_APB_CFG_XSR_TypeDef;
1244 
1245 typedef union{                                                         /*!< CFG_CL register definition*/
1246   __IO  uint32_t                       CFG_CL;
1247   struct
1248   {
1249     __IO  uint32_t                       cfg_cl               :6;
1250     __I   uint32_t                       reserved             :26;
1251   } bitfield;
1252 } DDR_CSR_APB_CFG_CL_TypeDef;
1253 
1254 typedef union{                                                         /*!< CFG_READ_TO_WRITE register definition*/
1255   __IO  uint32_t                       CFG_READ_TO_WRITE;
1256   struct
1257   {
1258     __IO  uint32_t                       cfg_read_to_write    :4;
1259     __I   uint32_t                       reserved             :28;
1260   } bitfield;
1261 } DDR_CSR_APB_CFG_READ_TO_WRITE_TypeDef;
1262 
1263 typedef union{                                                         /*!< CFG_WRITE_TO_WRITE register definition*/
1264   __IO  uint32_t                       CFG_WRITE_TO_WRITE;
1265   struct
1266   {
1267     __IO  uint32_t                       cfg_write_to_write   :4;
1268     __I   uint32_t                       reserved             :28;
1269   } bitfield;
1270 } DDR_CSR_APB_CFG_WRITE_TO_WRITE_TypeDef;
1271 
1272 typedef union{                                                         /*!< CFG_READ_TO_READ register definition*/
1273   __IO  uint32_t                       CFG_READ_TO_READ;
1274   struct
1275   {
1276     __IO  uint32_t                       cfg_read_to_read     :4;
1277     __I   uint32_t                       reserved             :28;
1278   } bitfield;
1279 } DDR_CSR_APB_CFG_READ_TO_READ_TypeDef;
1280 
1281 typedef union{                                                         /*!< CFG_WRITE_TO_READ register definition*/
1282   __IO  uint32_t                       CFG_WRITE_TO_READ;
1283   struct
1284   {
1285     __IO  uint32_t                       cfg_write_to_read    :5;
1286     __I   uint32_t                       reserved             :27;
1287   } bitfield;
1288 } DDR_CSR_APB_CFG_WRITE_TO_READ_TypeDef;
1289 
1290 typedef union{                                                         /*!< CFG_READ_TO_WRITE_ODT register definition*/
1291   __IO  uint32_t                       CFG_READ_TO_WRITE_ODT;
1292   struct
1293   {
1294     __IO  uint32_t                       cfg_read_to_write_odt :4;
1295     __I   uint32_t                       reserved             :28;
1296   } bitfield;
1297 } DDR_CSR_APB_CFG_READ_TO_WRITE_ODT_TypeDef;
1298 
1299 typedef union{                                                         /*!< CFG_WRITE_TO_WRITE_ODT register definition*/
1300   __IO  uint32_t                       CFG_WRITE_TO_WRITE_ODT;
1301   struct
1302   {
1303     __IO  uint32_t                       cfg_write_to_write_odt :4;
1304     __I   uint32_t                       reserved             :28;
1305   } bitfield;
1306 } DDR_CSR_APB_CFG_WRITE_TO_WRITE_ODT_TypeDef;
1307 
1308 typedef union{                                                         /*!< CFG_READ_TO_READ_ODT register definition*/
1309   __IO  uint32_t                       CFG_READ_TO_READ_ODT;
1310   struct
1311   {
1312     __IO  uint32_t                       cfg_read_to_read_odt :4;
1313     __I   uint32_t                       reserved             :28;
1314   } bitfield;
1315 } DDR_CSR_APB_CFG_READ_TO_READ_ODT_TypeDef;
1316 
1317 typedef union{                                                         /*!< CFG_WRITE_TO_READ_ODT register definition*/
1318   __IO  uint32_t                       CFG_WRITE_TO_READ_ODT;
1319   struct
1320   {
1321     __IO  uint32_t                       cfg_write_to_read_odt :5;
1322     __I   uint32_t                       reserved             :27;
1323   } bitfield;
1324 } DDR_CSR_APB_CFG_WRITE_TO_READ_ODT_TypeDef;
1325 
1326 typedef union{                                                         /*!< CFG_MIN_READ_IDLE register definition*/
1327   __IO  uint32_t                       CFG_MIN_READ_IDLE;
1328   struct
1329   {
1330     __IO  uint32_t                       cfg_min_read_idle    :3;
1331     __I   uint32_t                       reserved             :29;
1332   } bitfield;
1333 } DDR_CSR_APB_CFG_MIN_READ_IDLE_TypeDef;
1334 
1335 typedef union{                                                         /*!< CFG_MRD register definition*/
1336   __IO  uint32_t                       CFG_MRD;
1337   struct
1338   {
1339     __IO  uint32_t                       cfg_mrd              :7;
1340     __I   uint32_t                       reserved             :25;
1341   } bitfield;
1342 } DDR_CSR_APB_CFG_MRD_TypeDef;
1343 
1344 typedef union{                                                         /*!< CFG_BT register definition*/
1345   __IO  uint32_t                       CFG_BT;
1346   struct
1347   {
1348     __IO  uint32_t                       cfg_bt               :1;
1349     __I   uint32_t                       reserved             :31;
1350   } bitfield;
1351 } DDR_CSR_APB_CFG_BT_TypeDef;
1352 
1353 typedef union{                                                         /*!< CFG_DS register definition*/
1354   __IO  uint32_t                       CFG_DS;
1355   struct
1356   {
1357     __IO  uint32_t                       cfg_ds               :4;
1358     __I   uint32_t                       reserved             :28;
1359   } bitfield;
1360 } DDR_CSR_APB_CFG_DS_TypeDef;
1361 
1362 typedef union{                                                         /*!< CFG_QOFF register definition*/
1363   __IO  uint32_t                       CFG_QOFF;
1364   struct
1365   {
1366     __IO  uint32_t                       cfg_qoff             :1;
1367     __I   uint32_t                       reserved             :31;
1368   } bitfield;
1369 } DDR_CSR_APB_CFG_QOFF_TypeDef;
1370 
1371 typedef union{                                                         /*!< CFG_RTT register definition*/
1372   __IO  uint32_t                       CFG_RTT;
1373   struct
1374   {
1375     __IO  uint32_t                       cfg_rtt              :3;
1376     __I   uint32_t                       reserved             :29;
1377   } bitfield;
1378 } DDR_CSR_APB_CFG_RTT_TypeDef;
1379 
1380 typedef union{                                                         /*!< CFG_DLL_DISABLE register definition*/
1381   __IO  uint32_t                       CFG_DLL_DISABLE;
1382   struct
1383   {
1384     __IO  uint32_t                       cfg_dll_disable      :1;
1385     __I   uint32_t                       reserved             :31;
1386   } bitfield;
1387 } DDR_CSR_APB_CFG_DLL_DISABLE_TypeDef;
1388 
1389 typedef union{                                                         /*!< CFG_REF_PER register definition*/
1390   __IO  uint32_t                       CFG_REF_PER;
1391   struct
1392   {
1393     __IO  uint32_t                       cfg_ref_per          :16;
1394     __I   uint32_t                       reserved             :16;
1395   } bitfield;
1396 } DDR_CSR_APB_CFG_REF_PER_TypeDef;
1397 
1398 typedef union{                                                         /*!< CFG_STARTUP_DELAY register definition*/
1399   __IO  uint32_t                       CFG_STARTUP_DELAY;
1400   struct
1401   {
1402     __IO  uint32_t                       cfg_startup_delay    :19;
1403     __I   uint32_t                       reserved             :13;
1404   } bitfield;
1405 } DDR_CSR_APB_CFG_STARTUP_DELAY_TypeDef;
1406 
1407 typedef union{                                                         /*!< CFG_MEM_COLBITS register definition*/
1408   __IO  uint32_t                       CFG_MEM_COLBITS;
1409   struct
1410   {
1411     __IO  uint32_t                       cfg_mem_colbits      :4;
1412     __I   uint32_t                       reserved             :28;
1413   } bitfield;
1414 } DDR_CSR_APB_CFG_MEM_COLBITS_TypeDef;
1415 
1416 typedef union{                                                         /*!< CFG_MEM_ROWBITS register definition*/
1417   __IO  uint32_t                       CFG_MEM_ROWBITS;
1418   struct
1419   {
1420     __IO  uint32_t                       cfg_mem_rowbits      :5;
1421     __I   uint32_t                       reserved             :27;
1422   } bitfield;
1423 } DDR_CSR_APB_CFG_MEM_ROWBITS_TypeDef;
1424 
1425 typedef union{                                                         /*!< CFG_MEM_BANKBITS register definition*/
1426   __IO  uint32_t                       CFG_MEM_BANKBITS;
1427   struct
1428   {
1429     __IO  uint32_t                       cfg_mem_bankbits     :3;
1430     __I   uint32_t                       reserved             :29;
1431   } bitfield;
1432 } DDR_CSR_APB_CFG_MEM_BANKBITS_TypeDef;
1433 
1434 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS0 register definition*/
1435   __IO  uint32_t                       CFG_ODT_RD_MAP_CS0;
1436   struct
1437   {
1438     __IO  uint32_t                       cfg_odt_rd_map_cs0   :8;
1439     __I   uint32_t                       reserved             :24;
1440   } bitfield;
1441 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS0_TypeDef;
1442 
1443 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS1 register definition*/
1444   __IO  uint32_t                       CFG_ODT_RD_MAP_CS1;
1445   struct
1446   {
1447     __IO  uint32_t                       cfg_odt_rd_map_cs1   :8;
1448     __I   uint32_t                       reserved             :24;
1449   } bitfield;
1450 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS1_TypeDef;
1451 
1452 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS2 register definition*/
1453   __IO  uint32_t                       CFG_ODT_RD_MAP_CS2;
1454   struct
1455   {
1456     __IO  uint32_t                       cfg_odt_rd_map_cs2   :8;
1457     __I   uint32_t                       reserved             :24;
1458   } bitfield;
1459 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS2_TypeDef;
1460 
1461 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS3 register definition*/
1462   __IO  uint32_t                       CFG_ODT_RD_MAP_CS3;
1463   struct
1464   {
1465     __IO  uint32_t                       cfg_odt_rd_map_cs3   :8;
1466     __I   uint32_t                       reserved             :24;
1467   } bitfield;
1468 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS3_TypeDef;
1469 
1470 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS4 register definition*/
1471   __IO  uint32_t                       CFG_ODT_RD_MAP_CS4;
1472   struct
1473   {
1474     __IO  uint32_t                       cfg_odt_rd_map_cs4   :8;
1475     __I   uint32_t                       reserved             :24;
1476   } bitfield;
1477 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS4_TypeDef;
1478 
1479 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS5 register definition*/
1480   __IO  uint32_t                       CFG_ODT_RD_MAP_CS5;
1481   struct
1482   {
1483     __IO  uint32_t                       cfg_odt_rd_map_cs5   :8;
1484     __I   uint32_t                       reserved             :24;
1485   } bitfield;
1486 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS5_TypeDef;
1487 
1488 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS6 register definition*/
1489   __IO  uint32_t                       CFG_ODT_RD_MAP_CS6;
1490   struct
1491   {
1492     __IO  uint32_t                       cfg_odt_rd_map_cs6   :8;
1493     __I   uint32_t                       reserved             :24;
1494   } bitfield;
1495 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS6_TypeDef;
1496 
1497 typedef union{                                                         /*!< CFG_ODT_RD_MAP_CS7 register definition*/
1498   __IO  uint32_t                       CFG_ODT_RD_MAP_CS7;
1499   struct
1500   {
1501     __IO  uint32_t                       cfg_odt_rd_map_cs7   :8;
1502     __I   uint32_t                       reserved             :24;
1503   } bitfield;
1504 } DDR_CSR_APB_CFG_ODT_RD_MAP_CS7_TypeDef;
1505 
1506 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS0 register definition*/
1507   __IO  uint32_t                       CFG_ODT_WR_MAP_CS0;
1508   struct
1509   {
1510     __IO  uint32_t                       cfg_odt_wr_map_cs0   :8;
1511     __I   uint32_t                       reserved             :24;
1512   } bitfield;
1513 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS0_TypeDef;
1514 
1515 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS1 register definition*/
1516   __IO  uint32_t                       CFG_ODT_WR_MAP_CS1;
1517   struct
1518   {
1519     __IO  uint32_t                       cfg_odt_wr_map_cs1   :8;
1520     __I   uint32_t                       reserved             :24;
1521   } bitfield;
1522 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS1_TypeDef;
1523 
1524 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS2 register definition*/
1525   __IO  uint32_t                       CFG_ODT_WR_MAP_CS2;
1526   struct
1527   {
1528     __IO  uint32_t                       cfg_odt_wr_map_cs2   :8;
1529     __I   uint32_t                       reserved             :24;
1530   } bitfield;
1531 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS2_TypeDef;
1532 
1533 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS3 register definition*/
1534   __IO  uint32_t                       CFG_ODT_WR_MAP_CS3;
1535   struct
1536   {
1537     __IO  uint32_t                       cfg_odt_wr_map_cs3   :8;
1538     __I   uint32_t                       reserved             :24;
1539   } bitfield;
1540 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS3_TypeDef;
1541 
1542 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS4 register definition*/
1543   __IO  uint32_t                       CFG_ODT_WR_MAP_CS4;
1544   struct
1545   {
1546     __IO  uint32_t                       cfg_odt_wr_map_cs4   :8;
1547     __I   uint32_t                       reserved             :24;
1548   } bitfield;
1549 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS4_TypeDef;
1550 
1551 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS5 register definition*/
1552   __IO  uint32_t                       CFG_ODT_WR_MAP_CS5;
1553   struct
1554   {
1555     __IO  uint32_t                       cfg_odt_wr_map_cs5   :8;
1556     __I   uint32_t                       reserved             :24;
1557   } bitfield;
1558 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS5_TypeDef;
1559 
1560 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS6 register definition*/
1561   __IO  uint32_t                       CFG_ODT_WR_MAP_CS6;
1562   struct
1563   {
1564     __IO  uint32_t                       cfg_odt_wr_map_cs6   :8;
1565     __I   uint32_t                       reserved             :24;
1566   } bitfield;
1567 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS6_TypeDef;
1568 
1569 typedef union{                                                         /*!< CFG_ODT_WR_MAP_CS7 register definition*/
1570   __IO  uint32_t                       CFG_ODT_WR_MAP_CS7;
1571   struct
1572   {
1573     __IO  uint32_t                       cfg_odt_wr_map_cs7   :8;
1574     __I   uint32_t                       reserved             :24;
1575   } bitfield;
1576 } DDR_CSR_APB_CFG_ODT_WR_MAP_CS7_TypeDef;
1577 
1578 typedef union{                                                         /*!< CFG_ODT_RD_TURN_ON register definition*/
1579   __IO  uint32_t                       CFG_ODT_RD_TURN_ON;
1580   struct
1581   {
1582     __IO  uint32_t                       cfg_odt_rd_turn_on   :4;
1583     __I   uint32_t                       reserved             :28;
1584   } bitfield;
1585 } DDR_CSR_APB_CFG_ODT_RD_TURN_ON_TypeDef;
1586 
1587 typedef union{                                                         /*!< CFG_ODT_WR_TURN_ON register definition*/
1588   __IO  uint32_t                       CFG_ODT_WR_TURN_ON;
1589   struct
1590   {
1591     __IO  uint32_t                       cfg_odt_wr_turn_on   :4;
1592     __I   uint32_t                       reserved             :28;
1593   } bitfield;
1594 } DDR_CSR_APB_CFG_ODT_WR_TURN_ON_TypeDef;
1595 
1596 typedef union{                                                         /*!< CFG_ODT_RD_TURN_OFF register definition*/
1597   __IO  uint32_t                       CFG_ODT_RD_TURN_OFF;
1598   struct
1599   {
1600     __IO  uint32_t                       cfg_odt_rd_turn_off  :4;
1601     __I   uint32_t                       reserved             :28;
1602   } bitfield;
1603 } DDR_CSR_APB_CFG_ODT_RD_TURN_OFF_TypeDef;
1604 
1605 typedef union{                                                         /*!< CFG_ODT_WR_TURN_OFF register definition*/
1606   __IO  uint32_t                       CFG_ODT_WR_TURN_OFF;
1607   struct
1608   {
1609     __IO  uint32_t                       cfg_odt_wr_turn_off  :4;
1610     __I   uint32_t                       reserved             :28;
1611   } bitfield;
1612 } DDR_CSR_APB_CFG_ODT_WR_TURN_OFF_TypeDef;
1613 
1614 typedef union{                                                         /*!< CFG_EMR3 register definition*/
1615   __IO  uint32_t                       CFG_EMR3;
1616   struct
1617   {
1618     __IO  uint32_t                       cfg_emr3             :16;
1619     __I   uint32_t                       reserved             :16;
1620   } bitfield;
1621 } DDR_CSR_APB_CFG_EMR3_TypeDef;
1622 
1623 typedef union{                                                         /*!< CFG_TWO_T register definition*/
1624   __IO  uint32_t                       CFG_TWO_T;
1625   struct
1626   {
1627     __IO  uint32_t                       cfg_two_t            :1;
1628     __I   uint32_t                       reserved             :31;
1629   } bitfield;
1630 } DDR_CSR_APB_CFG_TWO_T_TypeDef;
1631 
1632 typedef union{                                                         /*!< CFG_TWO_T_SEL_CYCLE register definition*/
1633   __IO  uint32_t                       CFG_TWO_T_SEL_CYCLE;
1634   struct
1635   {
1636     __IO  uint32_t                       cfg_two_t_sel_cycle  :1;
1637     __I   uint32_t                       reserved             :31;
1638   } bitfield;
1639 } DDR_CSR_APB_CFG_TWO_T_SEL_CYCLE_TypeDef;
1640 
1641 typedef union{                                                         /*!< CFG_REGDIMM register definition*/
1642   __IO  uint32_t                       CFG_REGDIMM;
1643   struct
1644   {
1645     __IO  uint32_t                       cfg_regdimm          :1;
1646     __I   uint32_t                       reserved             :31;
1647   } bitfield;
1648 } DDR_CSR_APB_CFG_REGDIMM_TypeDef;
1649 
1650 typedef union{                                                         /*!< CFG_MOD register definition*/
1651   __IO  uint32_t                       CFG_MOD;
1652   struct
1653   {
1654     __IO  uint32_t                       cfg_mod              :5;
1655     __I   uint32_t                       reserved             :27;
1656   } bitfield;
1657 } DDR_CSR_APB_CFG_MOD_TypeDef;
1658 
1659 typedef union{                                                         /*!< CFG_XS register definition*/
1660   __IO  uint32_t                       CFG_XS;
1661   struct
1662   {
1663     __IO  uint32_t                       cfg_xs               :10;
1664     __I   uint32_t                       reserved             :22;
1665   } bitfield;
1666 } DDR_CSR_APB_CFG_XS_TypeDef;
1667 
1668 typedef union{                                                         /*!< CFG_XSDLL register definition*/
1669   __IO  uint32_t                       CFG_XSDLL;
1670   struct
1671   {
1672     __IO  uint32_t                       cfg_xsdll            :11;
1673     __I   uint32_t                       reserved             :21;
1674   } bitfield;
1675 } DDR_CSR_APB_CFG_XSDLL_TypeDef;
1676 
1677 typedef union{                                                         /*!< CFG_XPR register definition*/
1678   __IO  uint32_t                       CFG_XPR;
1679   struct
1680   {
1681     __IO  uint32_t                       cfg_xpr              :10;
1682     __I   uint32_t                       reserved             :22;
1683   } bitfield;
1684 } DDR_CSR_APB_CFG_XPR_TypeDef;
1685 
1686 typedef union{                                                         /*!< CFG_AL_MODE register definition*/
1687   __IO  uint32_t                       CFG_AL_MODE;
1688   struct
1689   {
1690     __IO  uint32_t                       cfg_al_mode          :2;
1691     __I   uint32_t                       reserved             :30;
1692   } bitfield;
1693 } DDR_CSR_APB_CFG_AL_MODE_TypeDef;
1694 
1695 typedef union{                                                         /*!< CFG_CWL register definition*/
1696   __IO  uint32_t                       CFG_CWL;
1697   struct
1698   {
1699     __IO  uint32_t                       cfg_cwl              :5;
1700     __I   uint32_t                       reserved             :27;
1701   } bitfield;
1702 } DDR_CSR_APB_CFG_CWL_TypeDef;
1703 
1704 typedef union{                                                         /*!< CFG_BL_MODE register definition*/
1705   __IO  uint32_t                       CFG_BL_MODE;
1706   struct
1707   {
1708     __IO  uint32_t                       cfg_bl_mode          :2;
1709     __I   uint32_t                       reserved             :30;
1710   } bitfield;
1711 } DDR_CSR_APB_CFG_BL_MODE_TypeDef;
1712 
1713 typedef union{                                                         /*!< CFG_TDQS register definition*/
1714   __IO  uint32_t                       CFG_TDQS;
1715   struct
1716   {
1717     __IO  uint32_t                       cfg_tdqs             :1;
1718     __I   uint32_t                       reserved             :31;
1719   } bitfield;
1720 } DDR_CSR_APB_CFG_TDQS_TypeDef;
1721 
1722 typedef union{                                                         /*!< CFG_RTT_WR register definition*/
1723   __IO  uint32_t                       CFG_RTT_WR;
1724   struct
1725   {
1726     __IO  uint32_t                       cfg_rtt_wr           :3;
1727     __I   uint32_t                       reserved             :29;
1728   } bitfield;
1729 } DDR_CSR_APB_CFG_RTT_WR_TypeDef;
1730 
1731 typedef union{                                                         /*!< CFG_LP_ASR register definition*/
1732   __IO  uint32_t                       CFG_LP_ASR;
1733   struct
1734   {
1735     __IO  uint32_t                       cfg_lp_asr           :2;
1736     __I   uint32_t                       reserved             :30;
1737   } bitfield;
1738 } DDR_CSR_APB_CFG_LP_ASR_TypeDef;
1739 
1740 typedef union{                                                         /*!< CFG_AUTO_SR register definition*/
1741   __IO  uint32_t                       CFG_AUTO_SR;
1742   struct
1743   {
1744     __IO  uint32_t                       cfg_auto_sr          :1;
1745     __I   uint32_t                       reserved             :31;
1746   } bitfield;
1747 } DDR_CSR_APB_CFG_AUTO_SR_TypeDef;
1748 
1749 typedef union{                                                         /*!< CFG_SRT register definition*/
1750   __IO  uint32_t                       CFG_SRT;
1751   struct
1752   {
1753     __IO  uint32_t                       cfg_srt              :1;
1754     __I   uint32_t                       reserved             :31;
1755   } bitfield;
1756 } DDR_CSR_APB_CFG_SRT_TypeDef;
1757 
1758 typedef union{                                                         /*!< CFG_ADDR_MIRROR register definition*/
1759   __IO  uint32_t                       CFG_ADDR_MIRROR;
1760   struct
1761   {
1762     __IO  uint32_t                       cfg_addr_mirror      :8;
1763     __I   uint32_t                       reserved             :24;
1764   } bitfield;
1765 } DDR_CSR_APB_CFG_ADDR_MIRROR_TypeDef;
1766 
1767 typedef union{                                                         /*!< CFG_ZQ_CAL_TYPE register definition*/
1768   __IO  uint32_t                       CFG_ZQ_CAL_TYPE;
1769   struct
1770   {
1771     __IO  uint32_t                       cfg_zq_cal_type      :2;
1772     __I   uint32_t                       reserved             :30;
1773   } bitfield;
1774 } DDR_CSR_APB_CFG_ZQ_CAL_TYPE_TypeDef;
1775 
1776 typedef union{                                                         /*!< CFG_ZQ_CAL_PER register definition*/
1777   __IO  uint32_t                       CFG_ZQ_CAL_PER;
1778   struct
1779   {
1780     __IO  uint32_t                       cfg_zq_cal_per       :32;
1781   } bitfield;
1782 } DDR_CSR_APB_CFG_ZQ_CAL_PER_TypeDef;
1783 
1784 typedef union{                                                         /*!< CFG_AUTO_ZQ_CAL_EN register definition*/
1785   __IO  uint32_t                       CFG_AUTO_ZQ_CAL_EN;
1786   struct
1787   {
1788     __IO  uint32_t                       cfg_auto_zq_cal_en   :1;
1789     __I   uint32_t                       reserved             :31;
1790   } bitfield;
1791 } DDR_CSR_APB_CFG_AUTO_ZQ_CAL_EN_TypeDef;
1792 
1793 typedef union{                                                         /*!< CFG_MEMORY_TYPE register definition*/
1794   __IO  uint32_t                       CFG_MEMORY_TYPE;
1795   struct
1796   {
1797     __IO  uint32_t                       cfg_memory_type      :16;
1798     __I   uint32_t                       reserved             :16;
1799   } bitfield;
1800 } DDR_CSR_APB_CFG_MEMORY_TYPE_TypeDef;
1801 
1802 typedef union{                                                         /*!< CFG_ONLY_SRANK_CMDS register definition*/
1803   __IO  uint32_t                       CFG_ONLY_SRANK_CMDS;
1804   struct
1805   {
1806     __IO  uint32_t                       cfg_only_srank_cmds  :1;
1807     __I   uint32_t                       reserved             :31;
1808   } bitfield;
1809 } DDR_CSR_APB_CFG_ONLY_SRANK_CMDS_TypeDef;
1810 
1811 typedef union{                                                         /*!< CFG_NUM_RANKS register definition*/
1812   __IO  uint32_t                       CFG_NUM_RANKS;
1813   struct
1814   {
1815     __IO  uint32_t                       cfg_num_ranks        :5;
1816     __I   uint32_t                       reserved             :27;
1817   } bitfield;
1818 } DDR_CSR_APB_CFG_NUM_RANKS_TypeDef;
1819 
1820 typedef union{                                                         /*!< CFG_QUAD_RANK register definition*/
1821   __IO  uint32_t                       CFG_QUAD_RANK;
1822   struct
1823   {
1824     __IO  uint32_t                       cfg_quad_rank        :1;
1825     __I   uint32_t                       reserved             :31;
1826   } bitfield;
1827 } DDR_CSR_APB_CFG_QUAD_RANK_TypeDef;
1828 
1829 typedef union{                                                         /*!< CFG_EARLY_RANK_TO_WR_START register definition*/
1830   __IO  uint32_t                       CFG_EARLY_RANK_TO_WR_START;
1831   struct
1832   {
1833     __IO  uint32_t                       cfg_early_rank_to_wr_start :3;
1834     __I   uint32_t                       reserved             :29;
1835   } bitfield;
1836 } DDR_CSR_APB_CFG_EARLY_RANK_TO_WR_START_TypeDef;
1837 
1838 typedef union{                                                         /*!< CFG_EARLY_RANK_TO_RD_START register definition*/
1839   __IO  uint32_t                       CFG_EARLY_RANK_TO_RD_START;
1840   struct
1841   {
1842     __IO  uint32_t                       cfg_early_rank_to_rd_start :3;
1843     __I   uint32_t                       reserved             :29;
1844   } bitfield;
1845 } DDR_CSR_APB_CFG_EARLY_RANK_TO_RD_START_TypeDef;
1846 
1847 typedef union{                                                         /*!< CFG_PASR_BANK register definition*/
1848   __IO  uint32_t                       CFG_PASR_BANK;
1849   struct
1850   {
1851     __IO  uint32_t                       cfg_pasr_bank        :8;
1852     __I   uint32_t                       reserved             :24;
1853   } bitfield;
1854 } DDR_CSR_APB_CFG_PASR_BANK_TypeDef;
1855 
1856 typedef union{                                                         /*!< CFG_PASR_SEG register definition*/
1857   __IO  uint32_t                       CFG_PASR_SEG;
1858   struct
1859   {
1860     __IO  uint32_t                       cfg_pasr_seg         :8;
1861     __I   uint32_t                       reserved             :24;
1862   } bitfield;
1863 } DDR_CSR_APB_CFG_PASR_SEG_TypeDef;
1864 
1865 typedef union{                                                         /*!< INIT_MRR_MODE register definition*/
1866   __IO  uint32_t                       INIT_MRR_MODE;
1867   struct
1868   {
1869     __IO  uint32_t                       init_mrr_mode        :1;
1870     __I   uint32_t                       reserved             :31;
1871   } bitfield;
1872 } DDR_CSR_APB_INIT_MRR_MODE_TypeDef;
1873 
1874 typedef union{                                                         /*!< INIT_MR_W_REQ register definition*/
1875   __IO  uint32_t                       INIT_MR_W_REQ;
1876   struct
1877   {
1878     __IO  uint32_t                       init_mr_w_req        :1;
1879     __I   uint32_t                       reserved             :31;
1880   } bitfield;
1881 } DDR_CSR_APB_INIT_MR_W_REQ_TypeDef;
1882 
1883 typedef union{                                                         /*!< INIT_MR_ADDR register definition*/
1884   __IO  uint32_t                       INIT_MR_ADDR;
1885   struct
1886   {
1887     __IO  uint32_t                       init_mr_addr         :8;
1888     __I   uint32_t                       reserved             :24;
1889   } bitfield;
1890 } DDR_CSR_APB_INIT_MR_ADDR_TypeDef;
1891 
1892 typedef union{                                                         /*!< INIT_MR_WR_DATA register definition*/
1893   __IO  uint32_t                       INIT_MR_WR_DATA;
1894   struct
1895   {
1896     __IO  uint32_t                       init_mr_wr_data      :18;
1897     __I   uint32_t                       reserved             :14;
1898   } bitfield;
1899 } DDR_CSR_APB_INIT_MR_WR_DATA_TypeDef;
1900 
1901 typedef union{                                                         /*!< INIT_MR_WR_MASK register definition*/
1902   __IO  uint32_t                       INIT_MR_WR_MASK;
1903   struct
1904   {
1905     __IO  uint32_t                       init_mr_wr_mask      :18;
1906     __I   uint32_t                       reserved             :14;
1907   } bitfield;
1908 } DDR_CSR_APB_INIT_MR_WR_MASK_TypeDef;
1909 
1910 typedef union{                                                         /*!< INIT_NOP register definition*/
1911   __IO  uint32_t                       INIT_NOP;
1912   struct
1913   {
1914     __IO  uint32_t                       init_nop             :1;
1915     __I   uint32_t                       reserved             :31;
1916   } bitfield;
1917 } DDR_CSR_APB_INIT_NOP_TypeDef;
1918 
1919 typedef union{                                                         /*!< CFG_INIT_DURATION register definition*/
1920   __IO  uint32_t                       CFG_INIT_DURATION;
1921   struct
1922   {
1923     __IO  uint32_t                       cfg_init_duration    :16;
1924     __I   uint32_t                       reserved             :16;
1925   } bitfield;
1926 } DDR_CSR_APB_CFG_INIT_DURATION_TypeDef;
1927 
1928 typedef union{                                                         /*!< CFG_ZQINIT_CAL_DURATION register definition*/
1929   __IO  uint32_t                       CFG_ZQINIT_CAL_DURATION;
1930   struct
1931   {
1932     __IO  uint32_t                       cfg_zqinit_cal_duration :12;
1933     __I   uint32_t                       reserved             :20;
1934   } bitfield;
1935 } DDR_CSR_APB_CFG_ZQINIT_CAL_DURATION_TypeDef;
1936 
1937 typedef union{                                                         /*!< CFG_ZQ_CAL_L_DURATION register definition*/
1938   __IO  uint32_t                       CFG_ZQ_CAL_L_DURATION;
1939   struct
1940   {
1941     __IO  uint32_t                       cfg_zq_cal_l_duration :11;
1942     __I   uint32_t                       reserved             :21;
1943   } bitfield;
1944 } DDR_CSR_APB_CFG_ZQ_CAL_L_DURATION_TypeDef;
1945 
1946 typedef union{                                                         /*!< CFG_ZQ_CAL_S_DURATION register definition*/
1947   __IO  uint32_t                       CFG_ZQ_CAL_S_DURATION;
1948   struct
1949   {
1950     __IO  uint32_t                       cfg_zq_cal_s_duration :11;
1951     __I   uint32_t                       reserved             :21;
1952   } bitfield;
1953 } DDR_CSR_APB_CFG_ZQ_CAL_S_DURATION_TypeDef;
1954 
1955 typedef union{                                                         /*!< CFG_ZQ_CAL_R_DURATION register definition*/
1956   __IO  uint32_t                       CFG_ZQ_CAL_R_DURATION;
1957   struct
1958   {
1959     __IO  uint32_t                       cfg_zq_cal_r_duration :11;
1960     __I   uint32_t                       reserved             :21;
1961   } bitfield;
1962 } DDR_CSR_APB_CFG_ZQ_CAL_R_DURATION_TypeDef;
1963 
1964 typedef union{                                                         /*!< CFG_MRR register definition*/
1965   __IO  uint32_t                       CFG_MRR;
1966   struct
1967   {
1968     __IO  uint32_t                       cfg_mrr              :4;
1969     __I   uint32_t                       reserved             :28;
1970   } bitfield;
1971 } DDR_CSR_APB_CFG_MRR_TypeDef;
1972 
1973 typedef union{                                                         /*!< CFG_MRW register definition*/
1974   __IO  uint32_t                       CFG_MRW;
1975   struct
1976   {
1977     __IO  uint32_t                       cfg_mrw              :5;
1978     __I   uint32_t                       reserved             :27;
1979   } bitfield;
1980 } DDR_CSR_APB_CFG_MRW_TypeDef;
1981 
1982 typedef union{                                                         /*!< CFG_ODT_POWERDOWN register definition*/
1983   __IO  uint32_t                       CFG_ODT_POWERDOWN;
1984   struct
1985   {
1986     __IO  uint32_t                       cfg_odt_powerdown    :1;
1987     __I   uint32_t                       reserved             :31;
1988   } bitfield;
1989 } DDR_CSR_APB_CFG_ODT_POWERDOWN_TypeDef;
1990 
1991 typedef union{                                                         /*!< CFG_WL register definition*/
1992   __IO  uint32_t                       CFG_WL;
1993   struct
1994   {
1995     __IO  uint32_t                       cfg_wl               :6;
1996     __I   uint32_t                       reserved             :26;
1997   } bitfield;
1998 } DDR_CSR_APB_CFG_WL_TypeDef;
1999 
2000 typedef union{                                                         /*!< CFG_RL register definition*/
2001   __IO  uint32_t                       CFG_RL;
2002   struct
2003   {
2004     __IO  uint32_t                       cfg_rl               :6;
2005     __I   uint32_t                       reserved             :26;
2006   } bitfield;
2007 } DDR_CSR_APB_CFG_RL_TypeDef;
2008 
2009 typedef union{                                                         /*!< CFG_CAL_READ_PERIOD register definition*/
2010   __IO  uint32_t                       CFG_CAL_READ_PERIOD;
2011   struct
2012   {
2013     __IO  uint32_t                       cfg_cal_read_period  :22;
2014     __I   uint32_t                       reserved             :10;
2015   } bitfield;
2016 } DDR_CSR_APB_CFG_CAL_READ_PERIOD_TypeDef;
2017 
2018 typedef union{                                                         /*!< CFG_NUM_CAL_READS register definition*/
2019   __IO  uint32_t                       CFG_NUM_CAL_READS;
2020   struct
2021   {
2022     __IO  uint32_t                       cfg_num_cal_reads    :2;
2023     __I   uint32_t                       reserved             :30;
2024   } bitfield;
2025 } DDR_CSR_APB_CFG_NUM_CAL_READS_TypeDef;
2026 
2027 typedef union{                                                         /*!< INIT_SELF_REFRESH register definition*/
2028   __IO  uint32_t                       INIT_SELF_REFRESH;
2029   struct
2030   {
2031     __IO  uint32_t                       init_self_refresh    :8;
2032     __I   uint32_t                       reserved             :24;
2033   } bitfield;
2034 } DDR_CSR_APB_INIT_SELF_REFRESH_TypeDef;
2035 
2036 typedef union{                                                         /*!< INIT_SELF_REFRESH_STATUS register definition*/
2037   __I   uint32_t                       INIT_SELF_REFRESH_STATUS;
2038   struct
2039   {
2040     __I   uint32_t                       init_self_refresh_status :8;
2041     __I   uint32_t                       reserved             :24;
2042   } bitfield;
2043 } DDR_CSR_APB_INIT_SELF_REFRESH_STATUS_TypeDef;
2044 
2045 typedef union{                                                         /*!< INIT_POWER_DOWN register definition*/
2046   __IO  uint32_t                       INIT_POWER_DOWN;
2047   struct
2048   {
2049     __IO  uint32_t                       init_power_down      :8;
2050     __I   uint32_t                       reserved             :24;
2051   } bitfield;
2052 } DDR_CSR_APB_INIT_POWER_DOWN_TypeDef;
2053 
2054 typedef union{                                                         /*!< INIT_POWER_DOWN_STATUS register definition*/
2055   __I   uint32_t                       INIT_POWER_DOWN_STATUS;
2056   struct
2057   {
2058     __I   uint32_t                       init_power_down_status :8;
2059     __I   uint32_t                       reserved             :24;
2060   } bitfield;
2061 } DDR_CSR_APB_INIT_POWER_DOWN_STATUS_TypeDef;
2062 
2063 typedef union{                                                         /*!< INIT_FORCE_WRITE register definition*/
2064   __IO  uint32_t                       INIT_FORCE_WRITE;
2065   struct
2066   {
2067     __IO  uint32_t                       init_force_write     :1;
2068     __I   uint32_t                       reserved             :31;
2069   } bitfield;
2070 } DDR_CSR_APB_INIT_FORCE_WRITE_TypeDef;
2071 
2072 typedef union{                                                         /*!< INIT_FORCE_WRITE_CS register definition*/
2073   __IO  uint32_t                       INIT_FORCE_WRITE_CS;
2074   struct
2075   {
2076     __IO  uint32_t                       init_force_write_cs  :8;
2077     __I   uint32_t                       reserved             :24;
2078   } bitfield;
2079 } DDR_CSR_APB_INIT_FORCE_WRITE_CS_TypeDef;
2080 
2081 typedef union{                                                         /*!< CFG_CTRLR_INIT_DISABLE register definition*/
2082   __IO  uint32_t                       CFG_CTRLR_INIT_DISABLE;
2083   struct
2084   {
2085     __IO  uint32_t                       cfg_ctrlr_init_disable :1;
2086     __I   uint32_t                       reserved             :31;
2087   } bitfield;
2088 } DDR_CSR_APB_CFG_CTRLR_INIT_DISABLE_TypeDef;
2089 
2090 typedef union{                                                         /*!< CTRLR_READY register definition*/
2091   __I   uint32_t                       CTRLR_READY;
2092   struct
2093   {
2094     __I   uint32_t                       ctrlr_ready          :1;
2095     __I   uint32_t                       reserved             :31;
2096   } bitfield;
2097 } DDR_CSR_APB_CTRLR_READY_TypeDef;
2098 
2099 typedef union{                                                         /*!< INIT_RDIMM_READY register definition*/
2100   __I   uint32_t                       INIT_RDIMM_READY;
2101   struct
2102   {
2103     __I   uint32_t                       init_rdimm_ready     :1;
2104     __I   uint32_t                       reserved             :31;
2105   } bitfield;
2106 } DDR_CSR_APB_INIT_RDIMM_READY_TypeDef;
2107 
2108 typedef union{                                                         /*!< INIT_RDIMM_COMPLETE register definition*/
2109   __IO  uint32_t                       INIT_RDIMM_COMPLETE;
2110   struct
2111   {
2112     __IO  uint32_t                       init_rdimm_complete  :1;
2113     __I   uint32_t                       reserved             :31;
2114   } bitfield;
2115 } DDR_CSR_APB_INIT_RDIMM_COMPLETE_TypeDef;
2116 
2117 typedef union{                                                         /*!< CFG_RDIMM_LAT register definition*/
2118   __IO  uint32_t                       CFG_RDIMM_LAT;
2119   struct
2120   {
2121     __IO  uint32_t                       cfg_rdimm_lat        :3;
2122     __I   uint32_t                       reserved             :29;
2123   } bitfield;
2124 } DDR_CSR_APB_CFG_RDIMM_LAT_TypeDef;
2125 
2126 typedef union{                                                         /*!< CFG_RDIMM_BSIDE_INVERT register definition*/
2127   __IO  uint32_t                       CFG_RDIMM_BSIDE_INVERT;
2128   struct
2129   {
2130     __IO  uint32_t                       cfg_rdimm_bside_invert :1;
2131     __I   uint32_t                       reserved             :31;
2132   } bitfield;
2133 } DDR_CSR_APB_CFG_RDIMM_BSIDE_INVERT_TypeDef;
2134 
2135 typedef union{                                                         /*!< CFG_LRDIMM register definition*/
2136   __IO  uint32_t                       CFG_LRDIMM;
2137   struct
2138   {
2139     __IO  uint32_t                       cfg_lrdimm           :1;
2140     __I   uint32_t                       reserved             :31;
2141   } bitfield;
2142 } DDR_CSR_APB_CFG_LRDIMM_TypeDef;
2143 
2144 typedef union{                                                         /*!< INIT_MEMORY_RESET_MASK register definition*/
2145   __IO  uint32_t                       INIT_MEMORY_RESET_MASK;
2146   struct
2147   {
2148     __IO  uint32_t                       init_memory_reset_mask :1;
2149     __I   uint32_t                       reserved             :31;
2150   } bitfield;
2151 } DDR_CSR_APB_INIT_MEMORY_RESET_MASK_TypeDef;
2152 
2153 typedef union{                                                         /*!< CFG_RD_PREAMB_TOGGLE register definition*/
2154   __IO  uint32_t                       CFG_RD_PREAMB_TOGGLE;
2155   struct
2156   {
2157     __IO  uint32_t                       cfg_rd_preamb_toggle :1;
2158     __I   uint32_t                       reserved             :31;
2159   } bitfield;
2160 } DDR_CSR_APB_CFG_RD_PREAMB_TOGGLE_TypeDef;
2161 
2162 typedef union{                                                         /*!< CFG_RD_POSTAMBLE register definition*/
2163   __IO  uint32_t                       CFG_RD_POSTAMBLE;
2164   struct
2165   {
2166     __IO  uint32_t                       cfg_rd_postamble     :1;
2167     __I   uint32_t                       reserved             :31;
2168   } bitfield;
2169 } DDR_CSR_APB_CFG_RD_POSTAMBLE_TypeDef;
2170 
2171 typedef union{                                                         /*!< CFG_PU_CAL register definition*/
2172   __IO  uint32_t                       CFG_PU_CAL;
2173   struct
2174   {
2175     __IO  uint32_t                       cfg_pu_cal           :1;
2176     __I   uint32_t                       reserved             :31;
2177   } bitfield;
2178 } DDR_CSR_APB_CFG_PU_CAL_TypeDef;
2179 
2180 typedef union{                                                         /*!< CFG_DQ_ODT register definition*/
2181   __IO  uint32_t                       CFG_DQ_ODT;
2182   struct
2183   {
2184     __IO  uint32_t                       cfg_dq_odt           :3;
2185     __I   uint32_t                       reserved             :29;
2186   } bitfield;
2187 } DDR_CSR_APB_CFG_DQ_ODT_TypeDef;
2188 
2189 typedef union{                                                         /*!< CFG_CA_ODT register definition*/
2190   __IO  uint32_t                       CFG_CA_ODT;
2191   struct
2192   {
2193     __IO  uint32_t                       cfg_ca_odt           :3;
2194     __I   uint32_t                       reserved             :29;
2195   } bitfield;
2196 } DDR_CSR_APB_CFG_CA_ODT_TypeDef;
2197 
2198 typedef union{                                                         /*!< CFG_ZQLATCH_DURATION register definition*/
2199   __IO  uint32_t                       CFG_ZQLATCH_DURATION;
2200   struct
2201   {
2202     __IO  uint32_t                       cfg_zqlatch_duration :8;
2203     __I   uint32_t                       reserved             :24;
2204   } bitfield;
2205 } DDR_CSR_APB_CFG_ZQLATCH_DURATION_TypeDef;
2206 
2207 typedef union{                                                         /*!< INIT_CAL_SELECT register definition*/
2208   __IO  uint32_t                       INIT_CAL_SELECT;
2209   struct
2210   {
2211     __IO  uint32_t                       init_cal_select      :1;
2212     __I   uint32_t                       reserved             :31;
2213   } bitfield;
2214 } DDR_CSR_APB_INIT_CAL_SELECT_TypeDef;
2215 
2216 typedef union{                                                         /*!< INIT_CAL_L_R_REQ register definition*/
2217   __IO  uint32_t                       INIT_CAL_L_R_REQ;
2218   struct
2219   {
2220     __IO  uint32_t                       init_cal_l_r_req     :1;
2221     __I   uint32_t                       reserved             :31;
2222   } bitfield;
2223 } DDR_CSR_APB_INIT_CAL_L_R_REQ_TypeDef;
2224 
2225 typedef union{                                                         /*!< INIT_CAL_L_B_SIZE register definition*/
2226   __IO  uint32_t                       INIT_CAL_L_B_SIZE;
2227   struct
2228   {
2229     __IO  uint32_t                       init_cal_l_b_size    :4;
2230     __I   uint32_t                       reserved             :28;
2231   } bitfield;
2232 } DDR_CSR_APB_INIT_CAL_L_B_SIZE_TypeDef;
2233 
2234 typedef union{                                                         /*!< INIT_CAL_L_R_ACK register definition*/
2235   __I   uint32_t                       INIT_CAL_L_R_ACK;
2236   struct
2237   {
2238     __I   uint32_t                       init_cal_l_r_ack     :1;
2239     __I   uint32_t                       reserved             :31;
2240   } bitfield;
2241 } DDR_CSR_APB_INIT_CAL_L_R_ACK_TypeDef;
2242 
2243 typedef union{                                                         /*!< INIT_CAL_L_READ_COMPLETE register definition*/
2244   __I   uint32_t                       INIT_CAL_L_READ_COMPLETE;
2245   struct
2246   {
2247     __I   uint32_t                       init_cal_l_read_complete :1;
2248     __I   uint32_t                       reserved             :31;
2249   } bitfield;
2250 } DDR_CSR_APB_INIT_CAL_L_READ_COMPLETE_TypeDef;
2251 
2252 typedef union{                                                         /*!< INIT_RWFIFO register definition*/
2253   __IO  uint32_t                       INIT_RWFIFO;
2254   struct
2255   {
2256     __IO  uint32_t                       init_rwfifo          :1;
2257     __I   uint32_t                       reserved             :31;
2258   } bitfield;
2259 } DDR_CSR_APB_INIT_RWFIFO_TypeDef;
2260 
2261 typedef union{                                                         /*!< INIT_RD_DQCAL register definition*/
2262   __IO  uint32_t                       INIT_RD_DQCAL;
2263   struct
2264   {
2265     __IO  uint32_t                       init_rd_dqcal        :1;
2266     __I   uint32_t                       reserved             :31;
2267   } bitfield;
2268 } DDR_CSR_APB_INIT_RD_DQCAL_TypeDef;
2269 
2270 typedef union{                                                         /*!< INIT_START_DQSOSC register definition*/
2271   __IO  uint32_t                       INIT_START_DQSOSC;
2272   struct
2273   {
2274     __IO  uint32_t                       init_start_dqsosc    :1;
2275     __I   uint32_t                       reserved             :31;
2276   } bitfield;
2277 } DDR_CSR_APB_INIT_START_DQSOSC_TypeDef;
2278 
2279 typedef union{                                                         /*!< INIT_STOP_DQSOSC register definition*/
2280   __IO  uint32_t                       INIT_STOP_DQSOSC;
2281   struct
2282   {
2283     __IO  uint32_t                       init_stop_dqsosc     :1;
2284     __I   uint32_t                       reserved             :31;
2285   } bitfield;
2286 } DDR_CSR_APB_INIT_STOP_DQSOSC_TypeDef;
2287 
2288 typedef union{                                                         /*!< INIT_ZQ_CAL_START register definition*/
2289   __IO  uint32_t                       INIT_ZQ_CAL_START;
2290   struct
2291   {
2292     __IO  uint32_t                       init_zq_cal_start    :1;
2293     __I   uint32_t                       reserved             :31;
2294   } bitfield;
2295 } DDR_CSR_APB_INIT_ZQ_CAL_START_TypeDef;
2296 
2297 typedef union{                                                         /*!< CFG_WR_POSTAMBLE register definition*/
2298   __IO  uint32_t                       CFG_WR_POSTAMBLE;
2299   struct
2300   {
2301     __IO  uint32_t                       cfg_wr_postamble     :1;
2302     __I   uint32_t                       reserved             :31;
2303   } bitfield;
2304 } DDR_CSR_APB_CFG_WR_POSTAMBLE_TypeDef;
2305 
2306 typedef union{                                                         /*!< INIT_CAL_L_ADDR_0 register definition*/
2307   __IO  uint32_t                       INIT_CAL_L_ADDR_0;
2308   struct
2309   {
2310     __IO  uint32_t                       init_cal_l_addr_0    :32;
2311   } bitfield;
2312 } DDR_CSR_APB_INIT_CAL_L_ADDR_0_TypeDef;
2313 
2314 typedef union{                                                         /*!< INIT_CAL_L_ADDR_1 register definition*/
2315   __IO  uint32_t                       INIT_CAL_L_ADDR_1;
2316   struct
2317   {
2318     __IO  uint32_t                       init_cal_l_addr_1    :7;
2319     __I   uint32_t                       reserved             :25;
2320   } bitfield;
2321 } DDR_CSR_APB_INIT_CAL_L_ADDR_1_TypeDef;
2322 
2323 typedef union{                                                         /*!< CFG_CTRLUPD_TRIG register definition*/
2324   __IO  uint32_t                       CFG_CTRLUPD_TRIG;
2325   struct
2326   {
2327     __IO  uint32_t                       cfg_ctrlupd_trig     :3;
2328     __I   uint32_t                       reserved             :29;
2329   } bitfield;
2330 } DDR_CSR_APB_CFG_CTRLUPD_TRIG_TypeDef;
2331 
2332 typedef union{                                                         /*!< CFG_CTRLUPD_START_DELAY register definition*/
2333   __IO  uint32_t                       CFG_CTRLUPD_START_DELAY;
2334   struct
2335   {
2336     __IO  uint32_t                       cfg_ctrlupd_start_delay :10;
2337     __I   uint32_t                       reserved             :22;
2338   } bitfield;
2339 } DDR_CSR_APB_CFG_CTRLUPD_START_DELAY_TypeDef;
2340 
2341 typedef union{                                                         /*!< CFG_DFI_T_CTRLUPD_MAX register definition*/
2342   __IO  uint32_t                       CFG_DFI_T_CTRLUPD_MAX;
2343   struct
2344   {
2345     __IO  uint32_t                       cfg_dfi_t_ctrlupd_max :10;
2346     __I   uint32_t                       reserved             :22;
2347   } bitfield;
2348 } DDR_CSR_APB_CFG_DFI_T_CTRLUPD_MAX_TypeDef;
2349 
2350 typedef union{                                                         /*!< CFG_CTRLR_BUSY_SEL register definition*/
2351   __IO  uint32_t                       CFG_CTRLR_BUSY_SEL;
2352   struct
2353   {
2354     __IO  uint32_t                       cfg_ctrlr_busy_sel   :1;
2355     __I   uint32_t                       reserved             :31;
2356   } bitfield;
2357 } DDR_CSR_APB_CFG_CTRLR_BUSY_SEL_TypeDef;
2358 
2359 typedef union{                                                         /*!< CFG_CTRLR_BUSY_VALUE register definition*/
2360   __IO  uint32_t                       CFG_CTRLR_BUSY_VALUE;
2361   struct
2362   {
2363     __IO  uint32_t                       cfg_ctrlr_busy_value :1;
2364     __I   uint32_t                       reserved             :31;
2365   } bitfield;
2366 } DDR_CSR_APB_CFG_CTRLR_BUSY_VALUE_TypeDef;
2367 
2368 typedef union{                                                         /*!< CFG_CTRLR_BUSY_TURN_OFF_DELAY register definition*/
2369   __IO  uint32_t                       CFG_CTRLR_BUSY_TURN_OFF_DELAY;
2370   struct
2371   {
2372     __IO  uint32_t                       cfg_ctrlr_busy_turn_off_delay :9;
2373     __I   uint32_t                       reserved             :23;
2374   } bitfield;
2375 } DDR_CSR_APB_CFG_CTRLR_BUSY_TURN_OFF_DELAY_TypeDef;
2376 
2377 typedef union{                                                         /*!< CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW register definition*/
2378   __IO  uint32_t                       CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW;
2379   struct
2380   {
2381     __IO  uint32_t                       cfg_ctrlr_busy_slow_restart_window :7;
2382     __I   uint32_t                       reserved             :25;
2383   } bitfield;
2384 } DDR_CSR_APB_CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW_TypeDef;
2385 
2386 typedef union{                                                         /*!< CFG_CTRLR_BUSY_RESTART_HOLDOFF register definition*/
2387   __IO  uint32_t                       CFG_CTRLR_BUSY_RESTART_HOLDOFF;
2388   struct
2389   {
2390     __IO  uint32_t                       cfg_ctrlr_busy_restart_holdoff :7;
2391     __I   uint32_t                       reserved             :25;
2392   } bitfield;
2393 } DDR_CSR_APB_CFG_CTRLR_BUSY_RESTART_HOLDOFF_TypeDef;
2394 
2395 typedef union{                                                         /*!< CFG_PARITY_RDIMM_DELAY register definition*/
2396   __IO  uint32_t                       CFG_PARITY_RDIMM_DELAY;
2397   struct
2398   {
2399     __IO  uint32_t                       cfg_parity_rdimm_delay :1;
2400     __I   uint32_t                       reserved             :31;
2401   } bitfield;
2402 } DDR_CSR_APB_CFG_PARITY_RDIMM_DELAY_TypeDef;
2403 
2404 typedef union{                                                         /*!< CFG_CTRLR_BUSY_ENABLE register definition*/
2405   __IO  uint32_t                       CFG_CTRLR_BUSY_ENABLE;
2406   struct
2407   {
2408     __IO  uint32_t                       cfg_ctrlr_busy_enable :1;
2409     __I   uint32_t                       reserved             :31;
2410   } bitfield;
2411 } DDR_CSR_APB_CFG_CTRLR_BUSY_ENABLE_TypeDef;
2412 
2413 typedef union{                                                         /*!< CFG_ASYNC_ODT register definition*/
2414   __IO  uint32_t                       CFG_ASYNC_ODT;
2415   struct
2416   {
2417     __IO  uint32_t                       cfg_async_odt        :1;
2418     __I   uint32_t                       reserved             :31;
2419   } bitfield;
2420 } DDR_CSR_APB_CFG_ASYNC_ODT_TypeDef;
2421 
2422 typedef union{                                                         /*!< CFG_ZQ_CAL_DURATION register definition*/
2423   __IO  uint32_t                       CFG_ZQ_CAL_DURATION;
2424   struct
2425   {
2426     __IO  uint32_t                       cfg_zq_cal_duration  :12;
2427     __I   uint32_t                       reserved             :20;
2428   } bitfield;
2429 } DDR_CSR_APB_CFG_ZQ_CAL_DURATION_TypeDef;
2430 
2431 typedef union{                                                         /*!< CFG_MRRI register definition*/
2432   __IO  uint32_t                       CFG_MRRI;
2433   struct
2434   {
2435     __IO  uint32_t                       cfg_mrri             :6;
2436     __I   uint32_t                       reserved             :26;
2437   } bitfield;
2438 } DDR_CSR_APB_CFG_MRRI_TypeDef;
2439 
2440 typedef union{                                                         /*!< INIT_ODT_FORCE_EN register definition*/
2441   __IO  uint32_t                       INIT_ODT_FORCE_EN;
2442   struct
2443   {
2444     __IO  uint32_t                       init_odt_force_en    :1;
2445     __I   uint32_t                       reserved             :31;
2446   } bitfield;
2447 } DDR_CSR_APB_INIT_ODT_FORCE_EN_TypeDef;
2448 
2449 typedef union{                                                         /*!< INIT_ODT_FORCE_RANK register definition*/
2450   __IO  uint32_t                       INIT_ODT_FORCE_RANK;
2451   struct
2452   {
2453     __IO  uint32_t                       init_odt_force_rank  :3;
2454     __I   uint32_t                       reserved             :29;
2455   } bitfield;
2456 } DDR_CSR_APB_INIT_ODT_FORCE_RANK_TypeDef;
2457 
2458 typedef union{                                                         /*!< CFG_PHYUPD_ACK_DELAY register definition*/
2459   __IO  uint32_t                       CFG_PHYUPD_ACK_DELAY;
2460   struct
2461   {
2462     __IO  uint32_t                       cfg_phyupd_ack_delay :10;
2463     __I   uint32_t                       reserved             :22;
2464   } bitfield;
2465 } DDR_CSR_APB_CFG_PHYUPD_ACK_DELAY_TypeDef;
2466 
2467 typedef union{                                                         /*!< CFG_MIRROR_X16_BG0_BG1 register definition*/
2468   __IO  uint32_t                       CFG_MIRROR_X16_BG0_BG1;
2469   struct
2470   {
2471     __IO  uint32_t                       cfg_mirror_x16_bg0_bg1 :1;
2472     __I   uint32_t                       reserved             :31;
2473   } bitfield;
2474 } DDR_CSR_APB_CFG_MIRROR_X16_BG0_BG1_TypeDef;
2475 
2476 typedef union{                                                         /*!< INIT_PDA_MR_W_REQ register definition*/
2477   __IO  uint32_t                       INIT_PDA_MR_W_REQ;
2478   struct
2479   {
2480     __IO  uint32_t                       init_pda_mr_w_req    :1;
2481     __I   uint32_t                       reserved             :31;
2482   } bitfield;
2483 } DDR_CSR_APB_INIT_PDA_MR_W_REQ_TypeDef;
2484 
2485 typedef union{                                                         /*!< INIT_PDA_NIBBLE_SELECT register definition*/
2486   __IO  uint32_t                       INIT_PDA_NIBBLE_SELECT;
2487   struct
2488   {
2489     __IO  uint32_t                       init_pda_nibble_select :18;
2490     __I   uint32_t                       reserved             :14;
2491   } bitfield;
2492 } DDR_CSR_APB_INIT_PDA_NIBBLE_SELECT_TypeDef;
2493 
2494 typedef union{                                                         /*!< CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH register definition*/
2495   __IO  uint32_t                       CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH;
2496   struct
2497   {
2498     __IO  uint32_t                       cfg_dram_clk_disable_in_self_refresh :1;
2499     __I   uint32_t                       reserved             :31;
2500   } bitfield;
2501 } DDR_CSR_APB_CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH_TypeDef;
2502 
2503 typedef union{                                                         /*!< CFG_CKSRE register definition*/
2504   __IO  uint32_t                       CFG_CKSRE;
2505   struct
2506   {
2507     __IO  uint32_t                       cfg_cksre            :5;
2508     __I   uint32_t                       reserved             :27;
2509   } bitfield;
2510 } DDR_CSR_APB_CFG_CKSRE_TypeDef;
2511 
2512 typedef union{                                                         /*!< CFG_CKSRX register definition*/
2513   __IO  uint32_t                       CFG_CKSRX;
2514   struct
2515   {
2516     __IO  uint32_t                       cfg_cksrx            :5;
2517     __I   uint32_t                       reserved             :27;
2518   } bitfield;
2519 } DDR_CSR_APB_CFG_CKSRX_TypeDef;
2520 
2521 typedef union{                                                         /*!< CFG_RCD_STAB register definition*/
2522   __IO  uint32_t                       CFG_RCD_STAB;
2523   struct
2524   {
2525     __IO  uint32_t                       cfg_rcd_stab         :14;
2526     __I   uint32_t                       reserved             :18;
2527   } bitfield;
2528 } DDR_CSR_APB_CFG_RCD_STAB_TypeDef;
2529 
2530 typedef union{                                                         /*!< CFG_DFI_T_CTRL_DELAY register definition*/
2531   __IO  uint32_t                       CFG_DFI_T_CTRL_DELAY;
2532   struct
2533   {
2534     __IO  uint32_t                       cfg_dfi_t_ctrl_delay :8;
2535     __I   uint32_t                       reserved             :24;
2536   } bitfield;
2537 } DDR_CSR_APB_CFG_DFI_T_CTRL_DELAY_TypeDef;
2538 
2539 typedef union{                                                         /*!< CFG_DFI_T_DRAM_CLK_ENABLE register definition*/
2540   __IO  uint32_t                       CFG_DFI_T_DRAM_CLK_ENABLE;
2541   struct
2542   {
2543     __IO  uint32_t                       cfg_dfi_t_dram_clk_enable :8;
2544     __I   uint32_t                       reserved             :24;
2545   } bitfield;
2546 } DDR_CSR_APB_CFG_DFI_T_DRAM_CLK_ENABLE_TypeDef;
2547 
2548 typedef union{                                                         /*!< CFG_IDLE_TIME_TO_SELF_REFRESH register definition*/
2549   __IO  uint32_t                       CFG_IDLE_TIME_TO_SELF_REFRESH;
2550   struct
2551   {
2552     __IO  uint32_t                       cfg_idle_time_to_self_refresh :32;
2553   } bitfield;
2554 } DDR_CSR_APB_CFG_IDLE_TIME_TO_SELF_REFRESH_TypeDef;
2555 
2556 typedef union{                                                         /*!< CFG_IDLE_TIME_TO_POWER_DOWN register definition*/
2557   __IO  uint32_t                       CFG_IDLE_TIME_TO_POWER_DOWN;
2558   struct
2559   {
2560     __IO  uint32_t                       cfg_idle_time_to_power_down :32;
2561   } bitfield;
2562 } DDR_CSR_APB_CFG_IDLE_TIME_TO_POWER_DOWN_TypeDef;
2563 
2564 typedef union{                                                         /*!< CFG_BURST_RW_REFRESH_HOLDOFF register definition*/
2565   __IO  uint32_t                       CFG_BURST_RW_REFRESH_HOLDOFF;
2566   struct
2567   {
2568     __IO  uint32_t                       cfg_burst_rw_refresh_holdoff :1;
2569     __I   uint32_t                       reserved             :31;
2570   } bitfield;
2571 } DDR_CSR_APB_CFG_BURST_RW_REFRESH_HOLDOFF_TypeDef;
2572 
2573 typedef union{                                                         /*!< INIT_REFRESH_COUNT register definition*/
2574   __I   uint32_t                       INIT_REFRESH_COUNT;
2575   struct
2576   {
2577     __I   uint32_t                       init_refresh_count   :6;
2578     __I   uint32_t                       reserved             :26;
2579   } bitfield;
2580 } DDR_CSR_APB_INIT_REFRESH_COUNT_TypeDef;
2581 
2582 typedef union{                                                         /*!< CFG_BG_INTERLEAVE register definition*/
2583   __IO  uint32_t                       CFG_BG_INTERLEAVE;
2584   struct
2585   {
2586     __IO  uint32_t                       cfg_bg_interleave    :1;
2587     __I   uint32_t                       reserved             :31;
2588   } bitfield;
2589 } DDR_CSR_APB_CFG_BG_INTERLEAVE_TypeDef;
2590 
2591 typedef union{                                                         /*!< CFG_REFRESH_DURING_PHY_TRAINING register definition*/
2592   __IO  uint32_t                       CFG_REFRESH_DURING_PHY_TRAINING;
2593   struct
2594   {
2595     __IO  uint32_t                       cfg_refresh_during_phy_training :1;
2596     __I   uint32_t                       reserved             :31;
2597   } bitfield;
2598 } DDR_CSR_APB_CFG_REFRESH_DURING_PHY_TRAINING_TypeDef;
2599 
2600 typedef union{                                                         /*!< MT_EN register definition*/
2601   __IO  uint32_t                       MT_EN;
2602   struct
2603   {
2604     __IO  uint32_t                       mt_en                :1;
2605     __I   uint32_t                       reserved             :31;
2606   } bitfield;
2607 } DDR_CSR_APB_MT_EN_TypeDef;
2608 
2609 typedef union{                                                         /*!< MT_EN_SINGLE register definition*/
2610   __IO  uint32_t                       MT_EN_SINGLE;
2611   struct
2612   {
2613     __IO  uint32_t                       mt_en_single         :1;
2614     __I   uint32_t                       reserved             :31;
2615   } bitfield;
2616 } DDR_CSR_APB_MT_EN_SINGLE_TypeDef;
2617 
2618 typedef union{                                                         /*!< MT_STOP_ON_ERROR register definition*/
2619   __IO  uint32_t                       MT_STOP_ON_ERROR;
2620   struct
2621   {
2622     __IO  uint32_t                       mt_stop_on_error     :1;
2623     __I   uint32_t                       reserved             :31;
2624   } bitfield;
2625 } DDR_CSR_APB_MT_STOP_ON_ERROR_TypeDef;
2626 
2627 typedef union{                                                         /*!< MT_RD_ONLY register definition*/
2628   __IO  uint32_t                       MT_RD_ONLY;
2629   struct
2630   {
2631     __IO  uint32_t                       mt_rd_only           :1;
2632     __I   uint32_t                       reserved             :31;
2633   } bitfield;
2634 } DDR_CSR_APB_MT_RD_ONLY_TypeDef;
2635 
2636 typedef union{                                                         /*!< MT_WR_ONLY register definition*/
2637   __IO  uint32_t                       MT_WR_ONLY;
2638   struct
2639   {
2640     __IO  uint32_t                       mt_wr_only           :1;
2641     __I   uint32_t                       reserved             :31;
2642   } bitfield;
2643 } DDR_CSR_APB_MT_WR_ONLY_TypeDef;
2644 
2645 typedef union{                                                         /*!< MT_DATA_PATTERN register definition*/
2646   __IO  uint32_t                       MT_DATA_PATTERN;
2647   struct
2648   {
2649     __IO  uint32_t                       mt_data_pattern      :4;
2650     __I   uint32_t                       reserved             :28;
2651   } bitfield;
2652 } DDR_CSR_APB_MT_DATA_PATTERN_TypeDef;
2653 
2654 typedef union{                                                         /*!< MT_ADDR_PATTERN register definition*/
2655   __IO  uint32_t                       MT_ADDR_PATTERN;
2656   struct
2657   {
2658     __IO  uint32_t                       mt_addr_pattern      :2;
2659     __I   uint32_t                       reserved             :30;
2660   } bitfield;
2661 } DDR_CSR_APB_MT_ADDR_PATTERN_TypeDef;
2662 
2663 typedef union{                                                         /*!< MT_DATA_INVERT register definition*/
2664   __IO  uint32_t                       MT_DATA_INVERT;
2665   struct
2666   {
2667     __IO  uint32_t                       mt_data_invert       :1;
2668     __I   uint32_t                       reserved             :31;
2669   } bitfield;
2670 } DDR_CSR_APB_MT_DATA_INVERT_TypeDef;
2671 
2672 typedef union{                                                         /*!< MT_ADDR_BITS register definition*/
2673   __IO  uint32_t                       MT_ADDR_BITS;
2674   struct
2675   {
2676     __IO  uint32_t                       mt_addr_bits         :6;
2677     __I   uint32_t                       reserved             :26;
2678   } bitfield;
2679 } DDR_CSR_APB_MT_ADDR_BITS_TypeDef;
2680 
2681 typedef union{                                                         /*!< MT_ERROR_STS register definition*/
2682   __I   uint32_t                       MT_ERROR_STS;
2683   struct
2684   {
2685     __I   uint32_t                       mt_error_sts         :1;
2686     __I   uint32_t                       reserved             :31;
2687   } bitfield;
2688 } DDR_CSR_APB_MT_ERROR_STS_TypeDef;
2689 
2690 typedef union{                                                         /*!< MT_DONE_ACK register definition*/
2691   __I   uint32_t                       MT_DONE_ACK;
2692   struct
2693   {
2694     __I   uint32_t                       mt_done_ack          :1;
2695     __I   uint32_t                       reserved             :31;
2696   } bitfield;
2697 } DDR_CSR_APB_MT_DONE_ACK_TypeDef;
2698 
2699 typedef union{                                                         /*!< MT_START_ADDR_0 register definition*/
2700   __IO  uint32_t                       MT_START_ADDR_0;
2701   struct
2702   {
2703     __IO  uint32_t                       mt_start_addr_0      :32;
2704   } bitfield;
2705 } DDR_CSR_APB_MT_START_ADDR_0_TypeDef;
2706 
2707 typedef union{                                                         /*!< MT_START_ADDR_1 register definition*/
2708   __IO  uint32_t                       MT_START_ADDR_1;
2709   struct
2710   {
2711     __IO  uint32_t                       mt_start_addr_1      :7;
2712     __I   uint32_t                       reserved             :25;
2713   } bitfield;
2714 } DDR_CSR_APB_MT_START_ADDR_1_TypeDef;
2715 
2716 typedef union{                                                         /*!< MT_ERROR_MASK_0 register definition*/
2717   __IO  uint32_t                       MT_ERROR_MASK_0;
2718   struct
2719   {
2720     __IO  uint32_t                       mt_error_mask_0      :32;
2721   } bitfield;
2722 } DDR_CSR_APB_MT_ERROR_MASK_0_TypeDef;
2723 
2724 typedef union{                                                         /*!< MT_ERROR_MASK_1 register definition*/
2725   __IO  uint32_t                       MT_ERROR_MASK_1;
2726   struct
2727   {
2728     __IO  uint32_t                       mt_error_mask_1      :32;
2729   } bitfield;
2730 } DDR_CSR_APB_MT_ERROR_MASK_1_TypeDef;
2731 
2732 typedef union{                                                         /*!< MT_ERROR_MASK_2 register definition*/
2733   __IO  uint32_t                       MT_ERROR_MASK_2;
2734   struct
2735   {
2736     __IO  uint32_t                       mt_error_mask_2      :32;
2737   } bitfield;
2738 } DDR_CSR_APB_MT_ERROR_MASK_2_TypeDef;
2739 
2740 typedef union{                                                         /*!< MT_ERROR_MASK_3 register definition*/
2741   __IO  uint32_t                       MT_ERROR_MASK_3;
2742   struct
2743   {
2744     __IO  uint32_t                       mt_error_mask_3      :32;
2745   } bitfield;
2746 } DDR_CSR_APB_MT_ERROR_MASK_3_TypeDef;
2747 
2748 typedef union{                                                         /*!< MT_ERROR_MASK_4 register definition*/
2749   __IO  uint32_t                       MT_ERROR_MASK_4;
2750   struct
2751   {
2752     __IO  uint32_t                       mt_error_mask_4      :16;
2753     __I   uint32_t                       reserved             :16;
2754   } bitfield;
2755 } DDR_CSR_APB_MT_ERROR_MASK_4_TypeDef;
2756 
2757 typedef union{                                                         /*!< MT_USER_DATA_PATTERN register definition*/
2758   __IO  uint32_t                       MT_USER_DATA_PATTERN;
2759   struct
2760   {
2761     __IO  uint32_t                       mt_user_data_pattern :8;
2762     __I   uint32_t                       reserved             :24;
2763   } bitfield;
2764 } DDR_CSR_APB_MT_USER_DATA_PATTERN_TypeDef;
2765 
2766 typedef union{                                                         /*!< MT_ALG_AUTO_PCH register definition*/
2767   __IO  uint32_t                       MT_ALG_AUTO_PCH;
2768   struct
2769   {
2770     __IO  uint32_t                       mt_alg_auto_pch      :1;
2771     __I   uint32_t                       reserved             :31;
2772   } bitfield;
2773 } DDR_CSR_APB_MT_ALG_AUTO_PCH_TypeDef;
2774 
2775 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P0 register definition*/
2776   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P0;
2777   struct
2778   {
2779     __IO  uint32_t                       cfg_starve_timeout_p0 :12;
2780     __I   uint32_t                       reserved             :20;
2781   } bitfield;
2782 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P0_TypeDef;
2783 
2784 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P1 register definition*/
2785   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P1;
2786   struct
2787   {
2788     __IO  uint32_t                       cfg_starve_timeout_p1 :12;
2789     __I   uint32_t                       reserved             :20;
2790   } bitfield;
2791 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P1_TypeDef;
2792 
2793 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P2 register definition*/
2794   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P2;
2795   struct
2796   {
2797     __IO  uint32_t                       cfg_starve_timeout_p2 :12;
2798     __I   uint32_t                       reserved             :20;
2799   } bitfield;
2800 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P2_TypeDef;
2801 
2802 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P3 register definition*/
2803   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P3;
2804   struct
2805   {
2806     __IO  uint32_t                       cfg_starve_timeout_p3 :12;
2807     __I   uint32_t                       reserved             :20;
2808   } bitfield;
2809 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P3_TypeDef;
2810 
2811 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P4 register definition*/
2812   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P4;
2813   struct
2814   {
2815     __IO  uint32_t                       cfg_starve_timeout_p4 :12;
2816     __I   uint32_t                       reserved             :20;
2817   } bitfield;
2818 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P4_TypeDef;
2819 
2820 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P5 register definition*/
2821   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P5;
2822   struct
2823   {
2824     __IO  uint32_t                       cfg_starve_timeout_p5 :12;
2825     __I   uint32_t                       reserved             :20;
2826   } bitfield;
2827 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P5_TypeDef;
2828 
2829 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P6 register definition*/
2830   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P6;
2831   struct
2832   {
2833     __IO  uint32_t                       cfg_starve_timeout_p6 :12;
2834     __I   uint32_t                       reserved             :20;
2835   } bitfield;
2836 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P6_TypeDef;
2837 
2838 typedef union{                                                         /*!< CFG_STARVE_TIMEOUT_P7 register definition*/
2839   __IO  uint32_t                       CFG_STARVE_TIMEOUT_P7;
2840   struct
2841   {
2842     __IO  uint32_t                       cfg_starve_timeout_p7 :12;
2843     __I   uint32_t                       reserved             :20;
2844   } bitfield;
2845 } DDR_CSR_APB_CFG_STARVE_TIMEOUT_P7_TypeDef;
2846 
2847 typedef union{                                                         /*!< CFG_REORDER_EN register definition*/
2848   __IO  uint32_t                       CFG_REORDER_EN;
2849   struct
2850   {
2851     __IO  uint32_t                       cfg_reorder_en       :1;
2852     __I   uint32_t                       reserved             :31;
2853   } bitfield;
2854 } DDR_CSR_APB_CFG_REORDER_EN_TypeDef;
2855 
2856 typedef union{                                                         /*!< CFG_REORDER_QUEUE_EN register definition*/
2857   __IO  uint32_t                       CFG_REORDER_QUEUE_EN;
2858   struct
2859   {
2860     __IO  uint32_t                       cfg_reorder_queue_en :1;
2861     __I   uint32_t                       reserved             :31;
2862   } bitfield;
2863 } DDR_CSR_APB_CFG_REORDER_QUEUE_EN_TypeDef;
2864 
2865 typedef union{                                                         /*!< CFG_INTRAPORT_REORDER_EN register definition*/
2866   __IO  uint32_t                       CFG_INTRAPORT_REORDER_EN;
2867   struct
2868   {
2869     __IO  uint32_t                       cfg_intraport_reorder_en :1;
2870     __I   uint32_t                       reserved             :31;
2871   } bitfield;
2872 } DDR_CSR_APB_CFG_INTRAPORT_REORDER_EN_TypeDef;
2873 
2874 typedef union{                                                         /*!< CFG_MAINTAIN_COHERENCY register definition*/
2875   __IO  uint32_t                       CFG_MAINTAIN_COHERENCY;
2876   struct
2877   {
2878     __IO  uint32_t                       cfg_maintain_coherency :1;
2879     __I   uint32_t                       reserved             :31;
2880   } bitfield;
2881 } DDR_CSR_APB_CFG_MAINTAIN_COHERENCY_TypeDef;
2882 
2883 typedef union{                                                         /*!< CFG_Q_AGE_LIMIT register definition*/
2884   __IO  uint32_t                       CFG_Q_AGE_LIMIT;
2885   struct
2886   {
2887     __IO  uint32_t                       cfg_q_age_limit      :8;
2888     __I   uint32_t                       reserved             :24;
2889   } bitfield;
2890 } DDR_CSR_APB_CFG_Q_AGE_LIMIT_TypeDef;
2891 
2892 typedef union{                                                         /*!< CFG_RO_CLOSED_PAGE_POLICY register definition*/
2893   __IO  uint32_t                       CFG_RO_CLOSED_PAGE_POLICY;
2894   struct
2895   {
2896     __IO  uint32_t                       cfg_ro_closed_page_policy :1;
2897     __I   uint32_t                       reserved             :31;
2898   } bitfield;
2899 } DDR_CSR_APB_CFG_RO_CLOSED_PAGE_POLICY_TypeDef;
2900 
2901 typedef union{                                                         /*!< CFG_REORDER_RW_ONLY register definition*/
2902   __IO  uint32_t                       CFG_REORDER_RW_ONLY;
2903   struct
2904   {
2905     __IO  uint32_t                       cfg_reorder_rw_only  :1;
2906     __I   uint32_t                       reserved             :31;
2907   } bitfield;
2908 } DDR_CSR_APB_CFG_REORDER_RW_ONLY_TypeDef;
2909 
2910 typedef union{                                                         /*!< CFG_RO_PRIORITY_EN register definition*/
2911   __IO  uint32_t                       CFG_RO_PRIORITY_EN;
2912   struct
2913   {
2914     __IO  uint32_t                       cfg_ro_priority_en   :1;
2915     __I   uint32_t                       reserved             :31;
2916   } bitfield;
2917 } DDR_CSR_APB_CFG_RO_PRIORITY_EN_TypeDef;
2918 
2919 typedef union{                                                         /*!< CFG_DM_EN register definition*/
2920   __IO  uint32_t                       CFG_DM_EN;
2921   struct
2922   {
2923     __IO  uint32_t                       cfg_dm_en            :1;
2924     __I   uint32_t                       reserved             :31;
2925   } bitfield;
2926 } DDR_CSR_APB_CFG_DM_EN_TypeDef;
2927 
2928 typedef union{                                                         /*!< CFG_RMW_EN register definition*/
2929   __IO  uint32_t                       CFG_RMW_EN;
2930   struct
2931   {
2932     __IO  uint32_t                       cfg_rmw_en           :1;
2933     __I   uint32_t                       reserved             :31;
2934   } bitfield;
2935 } DDR_CSR_APB_CFG_RMW_EN_TypeDef;
2936 
2937 typedef union{                                                         /*!< CFG_ECC_CORRECTION_EN register definition*/
2938   __IO  uint32_t                       CFG_ECC_CORRECTION_EN;
2939   struct
2940   {
2941     __IO  uint32_t                       cfg_ecc_correction_en :1;
2942     __I   uint32_t                       reserved             :31;
2943   } bitfield;
2944 } DDR_CSR_APB_CFG_ECC_CORRECTION_EN_TypeDef;
2945 
2946 typedef union{                                                         /*!< CFG_ECC_BYPASS register definition*/
2947   __IO  uint32_t                       CFG_ECC_BYPASS;
2948   struct
2949   {
2950     __IO  uint32_t                       cfg_ecc_bypass       :1;
2951     __I   uint32_t                       reserved             :31;
2952   } bitfield;
2953 } DDR_CSR_APB_CFG_ECC_BYPASS_TypeDef;
2954 
2955 typedef union{                                                         /*!< INIT_WRITE_DATA_1B_ECC_ERROR_GEN register definition*/
2956   __IO  uint32_t                       INIT_WRITE_DATA_1B_ECC_ERROR_GEN;
2957   struct
2958   {
2959     __IO  uint32_t                       init_write_data_1b_ecc_error_gen :2;
2960     __I   uint32_t                       reserved             :30;
2961   } bitfield;
2962 } DDR_CSR_APB_INIT_WRITE_DATA_1B_ECC_ERROR_GEN_TypeDef;
2963 
2964 typedef union{                                                         /*!< INIT_WRITE_DATA_2B_ECC_ERROR_GEN register definition*/
2965   __IO  uint32_t                       INIT_WRITE_DATA_2B_ECC_ERROR_GEN;
2966   struct
2967   {
2968     __IO  uint32_t                       init_write_data_2b_ecc_error_gen :2;
2969     __I   uint32_t                       reserved             :30;
2970   } bitfield;
2971 } DDR_CSR_APB_INIT_WRITE_DATA_2B_ECC_ERROR_GEN_TypeDef;
2972 
2973 typedef union{                                                         /*!< CFG_ECC_1BIT_INT_THRESH register definition*/
2974   __IO  uint32_t                       CFG_ECC_1BIT_INT_THRESH;
2975   struct
2976   {
2977     __IO  uint32_t                       cfg_ecc_1bit_int_thresh :8;
2978     __I   uint32_t                       reserved             :24;
2979   } bitfield;
2980 } DDR_CSR_APB_CFG_ECC_1BIT_INT_THRESH_TypeDef;
2981 
2982 typedef union{                                                         /*!< STAT_INT_ECC_1BIT_THRESH register definition*/
2983   __I   uint32_t                       STAT_INT_ECC_1BIT_THRESH;
2984   struct
2985   {
2986     __I   uint32_t                       stat_int_ecc_1bit_thresh :1;
2987     __I   uint32_t                       reserved             :31;
2988   } bitfield;
2989 } DDR_CSR_APB_STAT_INT_ECC_1BIT_THRESH_TypeDef;
2990 
2991 typedef union{                                                         /*!< INIT_READ_CAPTURE_ADDR register definition*/
2992   __IO  uint32_t                       INIT_READ_CAPTURE_ADDR;
2993   struct
2994   {
2995     __IO  uint32_t                       init_read_capture_addr :4;
2996     __I   uint32_t                       reserved             :28;
2997   } bitfield;
2998 } DDR_CSR_APB_INIT_READ_CAPTURE_ADDR_TypeDef;
2999 
3000 typedef union{                                                         /*!< INIT_READ_CAPTURE_DATA_0 register definition*/
3001   __I   uint32_t                       INIT_READ_CAPTURE_DATA_0;
3002   struct
3003   {
3004     __I   uint32_t                       init_read_capture_data_0 :32;
3005   } bitfield;
3006 } DDR_CSR_APB_INIT_READ_CAPTURE_DATA_0_TypeDef;
3007 
3008 typedef union{                                                         /*!< INIT_READ_CAPTURE_DATA_1 register definition*/
3009   __I   uint32_t                       INIT_READ_CAPTURE_DATA_1;
3010   struct
3011   {
3012     __I   uint32_t                       init_read_capture_data_1 :32;
3013   } bitfield;
3014 } DDR_CSR_APB_INIT_READ_CAPTURE_DATA_1_TypeDef;
3015 
3016 typedef union{                                                         /*!< INIT_READ_CAPTURE_DATA_2 register definition*/
3017   __I   uint32_t                       INIT_READ_CAPTURE_DATA_2;
3018   struct
3019   {
3020     __I   uint32_t                       init_read_capture_data_2 :32;
3021   } bitfield;
3022 } DDR_CSR_APB_INIT_READ_CAPTURE_DATA_2_TypeDef;
3023 
3024 typedef union{                                                         /*!< INIT_READ_CAPTURE_DATA_3 register definition*/
3025   __I   uint32_t                       INIT_READ_CAPTURE_DATA_3;
3026   struct
3027   {
3028     __I   uint32_t                       init_read_capture_data_3 :32;
3029   } bitfield;
3030 } DDR_CSR_APB_INIT_READ_CAPTURE_DATA_3_TypeDef;
3031 
3032 typedef union{                                                         /*!< INIT_READ_CAPTURE_DATA_4 register definition*/
3033   __I   uint32_t                       INIT_READ_CAPTURE_DATA_4;
3034   struct
3035   {
3036     __I   uint32_t                       init_read_capture_data_4 :16;
3037     __I   uint32_t                       reserved             :16;
3038   } bitfield;
3039 } DDR_CSR_APB_INIT_READ_CAPTURE_DATA_4_TypeDef;
3040 
3041 typedef union{                                                         /*!< CFG_ERROR_GROUP_SEL register definition*/
3042   __IO  uint32_t                       CFG_ERROR_GROUP_SEL;
3043   struct
3044   {
3045     __IO  uint32_t                       cfg_error_group_sel  :1;
3046     __I   uint32_t                       reserved             :31;
3047   } bitfield;
3048 } DDR_CSR_APB_CFG_ERROR_GROUP_SEL_TypeDef;
3049 
3050 typedef union{                                                         /*!< CFG_DATA_SEL register definition*/
3051   __IO  uint32_t                       CFG_DATA_SEL;
3052   struct
3053   {
3054     __IO  uint32_t                       cfg_data_sel         :7;
3055     __I   uint32_t                       reserved             :25;
3056   } bitfield;
3057 } DDR_CSR_APB_CFG_DATA_SEL_TypeDef;
3058 
3059 typedef union{                                                         /*!< CFG_TRIG_MODE register definition*/
3060   __IO  uint32_t                       CFG_TRIG_MODE;
3061   struct
3062   {
3063     __IO  uint32_t                       cfg_trig_mode        :1;
3064     __I   uint32_t                       reserved             :31;
3065   } bitfield;
3066 } DDR_CSR_APB_CFG_TRIG_MODE_TypeDef;
3067 
3068 typedef union{                                                         /*!< CFG_POST_TRIG_CYCS register definition*/
3069   __IO  uint32_t                       CFG_POST_TRIG_CYCS;
3070   struct
3071   {
3072     __IO  uint32_t                       cfg_post_trig_cycs   :7;
3073     __I   uint32_t                       reserved             :25;
3074   } bitfield;
3075 } DDR_CSR_APB_CFG_POST_TRIG_CYCS_TypeDef;
3076 
3077 typedef union{                                                         /*!< CFG_TRIG_MASK register definition*/
3078   __IO  uint32_t                       CFG_TRIG_MASK;
3079   struct
3080   {
3081     __IO  uint32_t                       cfg_trig_mask        :3;
3082     __I   uint32_t                       reserved             :29;
3083   } bitfield;
3084 } DDR_CSR_APB_CFG_TRIG_MASK_TypeDef;
3085 
3086 typedef union{                                                         /*!< CFG_EN_MASK register definition*/
3087   __IO  uint32_t                       CFG_EN_MASK;
3088   struct
3089   {
3090     __IO  uint32_t                       cfg_en_mask          :2;
3091     __I   uint32_t                       reserved             :30;
3092   } bitfield;
3093 } DDR_CSR_APB_CFG_EN_MASK_TypeDef;
3094 
3095 typedef union{                                                         /*!< MTC_ACQ_ADDR register definition*/
3096   __IO  uint32_t                       MTC_ACQ_ADDR;
3097   struct
3098   {
3099     __IO  uint32_t                       mtc_acq_addr         :6;
3100     __I   uint32_t                       reserved             :26;
3101   } bitfield;
3102 } DDR_CSR_APB_MTC_ACQ_ADDR_TypeDef;
3103 
3104 typedef union{                                                         /*!< MTC_ACQ_CYCS_STORED register definition*/
3105   __I   uint32_t                       MTC_ACQ_CYCS_STORED;
3106   struct
3107   {
3108     __I   uint32_t                       mtc_acq_cycs_stored  :7;
3109     __I   uint32_t                       reserved             :25;
3110   } bitfield;
3111 } DDR_CSR_APB_MTC_ACQ_CYCS_STORED_TypeDef;
3112 
3113 typedef union{                                                         /*!< MTC_ACQ_TRIG_DETECT register definition*/
3114   __I   uint32_t                       MTC_ACQ_TRIG_DETECT;
3115   struct
3116   {
3117     __I   uint32_t                       mtc_acq_trig_detect  :1;
3118     __I   uint32_t                       reserved             :31;
3119   } bitfield;
3120 } DDR_CSR_APB_MTC_ACQ_TRIG_DETECT_TypeDef;
3121 
3122 typedef union{                                                         /*!< MTC_ACQ_MEM_TRIG_ADDR register definition*/
3123   __I   uint32_t                       MTC_ACQ_MEM_TRIG_ADDR;
3124   struct
3125   {
3126     __I   uint32_t                       mtc_acq_mem_trig_addr :6;
3127     __I   uint32_t                       reserved             :26;
3128   } bitfield;
3129 } DDR_CSR_APB_MTC_ACQ_MEM_TRIG_ADDR_TypeDef;
3130 
3131 typedef union{                                                         /*!< MTC_ACQ_MEM_LAST_ADDR register definition*/
3132   __I   uint32_t                       MTC_ACQ_MEM_LAST_ADDR;
3133   struct
3134   {
3135     __I   uint32_t                       mtc_acq_mem_last_addr :6;
3136     __I   uint32_t                       reserved             :26;
3137   } bitfield;
3138 } DDR_CSR_APB_MTC_ACQ_MEM_LAST_ADDR_TypeDef;
3139 
3140 typedef union{                                                         /*!< MTC_ACK register definition*/
3141   __I   uint32_t                       MTC_ACK;
3142   struct
3143   {
3144     __I   uint32_t                       mtc_ack              :1;
3145     __I   uint32_t                       reserved             :31;
3146   } bitfield;
3147 } DDR_CSR_APB_MTC_ACK_TypeDef;
3148 
3149 typedef union{                                                         /*!< CFG_TRIG_MT_ADDR_0 register definition*/
3150   __IO  uint32_t                       CFG_TRIG_MT_ADDR_0;
3151   struct
3152   {
3153     __IO  uint32_t                       cfg_trig_mt_addr_0   :32;
3154   } bitfield;
3155 } DDR_CSR_APB_CFG_TRIG_MT_ADDR_0_TypeDef;
3156 
3157 typedef union{                                                         /*!< CFG_TRIG_MT_ADDR_1 register definition*/
3158   __IO  uint32_t                       CFG_TRIG_MT_ADDR_1;
3159   struct
3160   {
3161     __IO  uint32_t                       cfg_trig_mt_addr_1   :7;
3162     __I   uint32_t                       reserved             :25;
3163   } bitfield;
3164 } DDR_CSR_APB_CFG_TRIG_MT_ADDR_1_TypeDef;
3165 
3166 typedef union{                                                         /*!< CFG_TRIG_ERR_MASK_0 register definition*/
3167   __IO  uint32_t                       CFG_TRIG_ERR_MASK_0;
3168   struct
3169   {
3170     __IO  uint32_t                       cfg_trig_err_mask_0  :32;
3171   } bitfield;
3172 } DDR_CSR_APB_CFG_TRIG_ERR_MASK_0_TypeDef;
3173 
3174 typedef union{                                                         /*!< CFG_TRIG_ERR_MASK_1 register definition*/
3175   __IO  uint32_t                       CFG_TRIG_ERR_MASK_1;
3176   struct
3177   {
3178     __IO  uint32_t                       cfg_trig_err_mask_1  :32;
3179   } bitfield;
3180 } DDR_CSR_APB_CFG_TRIG_ERR_MASK_1_TypeDef;
3181 
3182 typedef union{                                                         /*!< CFG_TRIG_ERR_MASK_2 register definition*/
3183   __IO  uint32_t                       CFG_TRIG_ERR_MASK_2;
3184   struct
3185   {
3186     __IO  uint32_t                       cfg_trig_err_mask_2  :32;
3187   } bitfield;
3188 } DDR_CSR_APB_CFG_TRIG_ERR_MASK_2_TypeDef;
3189 
3190 typedef union{                                                         /*!< CFG_TRIG_ERR_MASK_3 register definition*/
3191   __IO  uint32_t                       CFG_TRIG_ERR_MASK_3;
3192   struct
3193   {
3194     __IO  uint32_t                       cfg_trig_err_mask_3  :32;
3195   } bitfield;
3196 } DDR_CSR_APB_CFG_TRIG_ERR_MASK_3_TypeDef;
3197 
3198 typedef union{                                                         /*!< CFG_TRIG_ERR_MASK_4 register definition*/
3199   __IO  uint32_t                       CFG_TRIG_ERR_MASK_4;
3200   struct
3201   {
3202     __IO  uint32_t                       cfg_trig_err_mask_4  :16;
3203     __I   uint32_t                       reserved             :16;
3204   } bitfield;
3205 } DDR_CSR_APB_CFG_TRIG_ERR_MASK_4_TypeDef;
3206 
3207 typedef union{                                                         /*!< MTC_ACQ_WR_DATA_0 register definition*/
3208   __IO  uint32_t                       MTC_ACQ_WR_DATA_0;
3209   struct
3210   {
3211     __IO  uint32_t                       mtc_acq_wr_data_0    :32;
3212   } bitfield;
3213 } DDR_CSR_APB_MTC_ACQ_WR_DATA_0_TypeDef;
3214 
3215 typedef union{                                                         /*!< MTC_ACQ_WR_DATA_1 register definition*/
3216   __IO  uint32_t                       MTC_ACQ_WR_DATA_1;
3217   struct
3218   {
3219     __IO  uint32_t                       mtc_acq_wr_data_1    :32;
3220   } bitfield;
3221 } DDR_CSR_APB_MTC_ACQ_WR_DATA_1_TypeDef;
3222 
3223 typedef union{                                                         /*!< MTC_ACQ_WR_DATA_2 register definition*/
3224   __IO  uint32_t                       MTC_ACQ_WR_DATA_2;
3225   struct
3226   {
3227     __IO  uint32_t                       mtc_acq_wr_data_2    :8;
3228     __I   uint32_t                       reserved             :24;
3229   } bitfield;
3230 } DDR_CSR_APB_MTC_ACQ_WR_DATA_2_TypeDef;
3231 
3232 typedef union{                                                         /*!< MTC_ACQ_RD_DATA_0 register definition*/
3233   __I   uint32_t                       MTC_ACQ_RD_DATA_0;
3234   struct
3235   {
3236     __I   uint32_t                       mtc_acq_rd_data_0    :32;
3237   } bitfield;
3238 } DDR_CSR_APB_MTC_ACQ_RD_DATA_0_TypeDef;
3239 
3240 typedef union{                                                         /*!< MTC_ACQ_RD_DATA_1 register definition*/
3241   __I   uint32_t                       MTC_ACQ_RD_DATA_1;
3242   struct
3243   {
3244     __I   uint32_t                       mtc_acq_rd_data_1    :32;
3245   } bitfield;
3246 } DDR_CSR_APB_MTC_ACQ_RD_DATA_1_TypeDef;
3247 
3248 typedef union{                                                         /*!< MTC_ACQ_RD_DATA_2 register definition*/
3249   __I   uint32_t                       MTC_ACQ_RD_DATA_2;
3250   struct
3251   {
3252     __I   uint32_t                       mtc_acq_rd_data_2    :8;
3253     __I   uint32_t                       reserved             :24;
3254   } bitfield;
3255 } DDR_CSR_APB_MTC_ACQ_RD_DATA_2_TypeDef;
3256 
3257 typedef union{                                                         /*!< CFG_PRE_TRIG_CYCS register definition*/
3258   __IO  uint32_t                       CFG_PRE_TRIG_CYCS;
3259   struct
3260   {
3261     __IO  uint32_t                       cfg_pre_trig_cycs    :16;
3262     __I   uint32_t                       reserved             :16;
3263   } bitfield;
3264 } DDR_CSR_APB_CFG_PRE_TRIG_CYCS_TypeDef;
3265 
3266 typedef union{                                                         /*!< MTC_ACQ_ERROR_CNT register definition*/
3267   __I   uint32_t                       MTC_ACQ_ERROR_CNT;
3268   struct
3269   {
3270     __I   uint32_t                       mtc_acq_error_cnt    :10;
3271     __I   uint32_t                       reserved             :22;
3272   } bitfield;
3273 } DDR_CSR_APB_MTC_ACQ_ERROR_CNT_TypeDef;
3274 
3275 typedef union{                                                         /*!< MTC_ACQ_ERROR_CNT_OVFL register definition*/
3276   __I   uint32_t                       MTC_ACQ_ERROR_CNT_OVFL;
3277   struct
3278   {
3279     __I   uint32_t                       mtc_acq_error_cnt_ovfl :1;
3280     __I   uint32_t                       reserved             :31;
3281   } bitfield;
3282 } DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OVFL_TypeDef;
3283 
3284 typedef union{                                                         /*!< CFG_DATA_SEL_FIRST_ERROR register definition*/
3285   __IO  uint32_t                       CFG_DATA_SEL_FIRST_ERROR;
3286   struct
3287   {
3288     __IO  uint32_t                       cfg_data_sel_first_error :1;
3289     __I   uint32_t                       reserved             :31;
3290   } bitfield;
3291 } DDR_CSR_APB_CFG_DATA_SEL_FIRST_ERROR_TypeDef;
3292 
3293 typedef union{                                                         /*!< CFG_DQ_WIDTH register definition*/
3294   __IO  uint32_t                       CFG_DQ_WIDTH;
3295   struct
3296   {
3297     __IO  uint32_t                       cfg_dq_width         :2;
3298     __I   uint32_t                       reserved             :30;
3299   } bitfield;
3300 } DDR_CSR_APB_CFG_DQ_WIDTH_TypeDef;
3301 
3302 typedef union{                                                         /*!< CFG_ACTIVE_DQ_SEL register definition*/
3303   __IO  uint32_t                       CFG_ACTIVE_DQ_SEL;
3304   struct
3305   {
3306     __IO  uint32_t                       cfg_active_dq_sel    :2;
3307     __I   uint32_t                       reserved             :30;
3308   } bitfield;
3309 } DDR_CSR_APB_CFG_ACTIVE_DQ_SEL_TypeDef;
3310 
3311 typedef union{                                                         /*!< STAT_CA_PARITY_ERROR register definition*/
3312   __I   uint32_t                       STAT_CA_PARITY_ERROR;
3313   struct
3314   {
3315     __I   uint32_t                       stat_ca_parity_error :1;
3316     __I   uint32_t                       reserved             :31;
3317   } bitfield;
3318 } DDR_CSR_APB_STAT_CA_PARITY_ERROR_TypeDef;
3319 
3320 typedef union{                                                         /*!< INIT_CA_PARITY_ERROR_GEN_REQ register definition*/
3321   __IO  uint32_t                       INIT_CA_PARITY_ERROR_GEN_REQ;
3322   struct
3323   {
3324     __IO  uint32_t                       init_ca_parity_error_gen_req :1;
3325     __I   uint32_t                       reserved             :31;
3326   } bitfield;
3327 } DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_REQ_TypeDef;
3328 
3329 typedef union{                                                         /*!< INIT_CA_PARITY_ERROR_GEN_CMD register definition*/
3330   __IO  uint32_t                       INIT_CA_PARITY_ERROR_GEN_CMD;
3331   struct
3332   {
3333     __IO  uint32_t                       init_ca_parity_error_gen_cmd :4;
3334     __I   uint32_t                       reserved             :28;
3335   } bitfield;
3336 } DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_CMD_TypeDef;
3337 
3338 typedef union{                                                         /*!< INIT_CA_PARITY_ERROR_GEN_ACK register definition*/
3339   __I   uint32_t                       INIT_CA_PARITY_ERROR_GEN_ACK;
3340   struct
3341   {
3342     __I   uint32_t                       init_ca_parity_error_gen_ack :1;
3343     __I   uint32_t                       reserved             :31;
3344   } bitfield;
3345 } DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_ACK_TypeDef;
3346 
3347 typedef union{                                                         /*!< CFG_DFI_T_RDDATA_EN register definition*/
3348   __IO  uint32_t                       CFG_DFI_T_RDDATA_EN;
3349   struct
3350   {
3351     __IO  uint32_t                       cfg_dfi_t_rddata_en  :6;
3352     __I   uint32_t                       reserved             :26;
3353   } bitfield;
3354 } DDR_CSR_APB_CFG_DFI_T_RDDATA_EN_TypeDef;
3355 
3356 typedef union{                                                         /*!< CFG_DFI_T_PHY_RDLAT register definition*/
3357   __IO  uint32_t                       CFG_DFI_T_PHY_RDLAT;
3358   struct
3359   {
3360     __IO  uint32_t                       cfg_dfi_t_phy_rdlat  :5;
3361     __I   uint32_t                       reserved             :27;
3362   } bitfield;
3363 } DDR_CSR_APB_CFG_DFI_T_PHY_RDLAT_TypeDef;
3364 
3365 typedef union{                                                         /*!< CFG_DFI_T_PHY_WRLAT register definition*/
3366   __IO  uint32_t                       CFG_DFI_T_PHY_WRLAT;
3367   struct
3368   {
3369     __IO  uint32_t                       cfg_dfi_t_phy_wrlat  :6;
3370     __I   uint32_t                       reserved             :26;
3371   } bitfield;
3372 } DDR_CSR_APB_CFG_DFI_T_PHY_WRLAT_TypeDef;
3373 
3374 typedef union{                                                         /*!< CFG_DFI_PHYUPD_EN register definition*/
3375   __IO  uint32_t                       CFG_DFI_PHYUPD_EN;
3376   struct
3377   {
3378     __IO  uint32_t                       cfg_dfi_phyupd_en    :1;
3379     __I   uint32_t                       reserved             :31;
3380   } bitfield;
3381 } DDR_CSR_APB_CFG_DFI_PHYUPD_EN_TypeDef;
3382 
3383 typedef union{                                                         /*!< INIT_DFI_LP_DATA_REQ register definition*/
3384   __IO  uint32_t                       INIT_DFI_LP_DATA_REQ;
3385   struct
3386   {
3387     __IO  uint32_t                       init_dfi_lp_data_req :1;
3388     __I   uint32_t                       reserved             :31;
3389   } bitfield;
3390 } DDR_CSR_APB_INIT_DFI_LP_DATA_REQ_TypeDef;
3391 
3392 typedef union{                                                         /*!< INIT_DFI_LP_CTRL_REQ register definition*/
3393   __IO  uint32_t                       INIT_DFI_LP_CTRL_REQ;
3394   struct
3395   {
3396     __IO  uint32_t                       init_dfi_lp_ctrl_req :1;
3397     __I   uint32_t                       reserved             :31;
3398   } bitfield;
3399 } DDR_CSR_APB_INIT_DFI_LP_CTRL_REQ_TypeDef;
3400 
3401 typedef union{                                                         /*!< STAT_DFI_LP_ACK register definition*/
3402   __I   uint32_t                       STAT_DFI_LP_ACK;
3403   struct
3404   {
3405     __I   uint32_t                       stat_dfi_lp_ack      :1;
3406     __I   uint32_t                       reserved             :31;
3407   } bitfield;
3408 } DDR_CSR_APB_STAT_DFI_LP_ACK_TypeDef;
3409 
3410 typedef union{                                                         /*!< INIT_DFI_LP_WAKEUP register definition*/
3411   __IO  uint32_t                       INIT_DFI_LP_WAKEUP;
3412   struct
3413   {
3414     __IO  uint32_t                       init_dfi_lp_wakeup   :4;
3415     __I   uint32_t                       reserved             :28;
3416   } bitfield;
3417 } DDR_CSR_APB_INIT_DFI_LP_WAKEUP_TypeDef;
3418 
3419 typedef union{                                                         /*!< INIT_DFI_DRAM_CLK_DISABLE register definition*/
3420   __IO  uint32_t                       INIT_DFI_DRAM_CLK_DISABLE;
3421   struct
3422   {
3423     __IO  uint32_t                       init_dfi_dram_clk_disable :2;
3424     __I   uint32_t                       reserved             :30;
3425   } bitfield;
3426 } DDR_CSR_APB_INIT_DFI_DRAM_CLK_DISABLE_TypeDef;
3427 
3428 typedef union{                                                         /*!< STAT_DFI_TRAINING_ERROR register definition*/
3429   __I   uint32_t                       STAT_DFI_TRAINING_ERROR;
3430   struct
3431   {
3432     __I   uint32_t                       stat_dfi_training_error :1;
3433     __I   uint32_t                       reserved             :31;
3434   } bitfield;
3435 } DDR_CSR_APB_STAT_DFI_TRAINING_ERROR_TypeDef;
3436 
3437 typedef union{                                                         /*!< STAT_DFI_ERROR register definition*/
3438   __I   uint32_t                       STAT_DFI_ERROR;
3439   struct
3440   {
3441     __I   uint32_t                       stat_dfi_error       :1;
3442     __I   uint32_t                       reserved             :31;
3443   } bitfield;
3444 } DDR_CSR_APB_STAT_DFI_ERROR_TypeDef;
3445 
3446 typedef union{                                                         /*!< STAT_DFI_ERROR_INFO register definition*/
3447   __I   uint32_t                       STAT_DFI_ERROR_INFO;
3448   struct
3449   {
3450     __I   uint32_t                       stat_dfi_error_info  :4;
3451     __I   uint32_t                       reserved             :28;
3452   } bitfield;
3453 } DDR_CSR_APB_STAT_DFI_ERROR_INFO_TypeDef;
3454 
3455 typedef union{                                                         /*!< CFG_DFI_DATA_BYTE_DISABLE register definition*/
3456   __IO  uint32_t                       CFG_DFI_DATA_BYTE_DISABLE;
3457   struct
3458   {
3459     __IO  uint32_t                       cfg_dfi_data_byte_disable :5;
3460     __I   uint32_t                       reserved             :27;
3461   } bitfield;
3462 } DDR_CSR_APB_CFG_DFI_DATA_BYTE_DISABLE_TypeDef;
3463 
3464 typedef union{                                                         /*!< STAT_DFI_INIT_COMPLETE register definition*/
3465   __I   uint32_t                       STAT_DFI_INIT_COMPLETE;
3466   struct
3467   {
3468     __I   uint32_t                       stat_dfi_init_complete :1;
3469     __I   uint32_t                       reserved             :31;
3470   } bitfield;
3471 } DDR_CSR_APB_STAT_DFI_INIT_COMPLETE_TypeDef;
3472 
3473 typedef union{                                                         /*!< STAT_DFI_TRAINING_COMPLETE register definition*/
3474   __I   uint32_t                       STAT_DFI_TRAINING_COMPLETE;
3475   struct
3476   {
3477     __I   uint32_t                       stat_dfi_training_complete :1;
3478     __I   uint32_t                       reserved             :31;
3479   } bitfield;
3480 } DDR_CSR_APB_STAT_DFI_TRAINING_COMPLETE_TypeDef;
3481 
3482 typedef union{                                                         /*!< CFG_DFI_LVL_SEL register definition*/
3483   __IO  uint32_t                       CFG_DFI_LVL_SEL;
3484   struct
3485   {
3486     __IO  uint32_t                       cfg_dfi_lvl_sel      :1;
3487     __I   uint32_t                       reserved             :31;
3488   } bitfield;
3489 } DDR_CSR_APB_CFG_DFI_LVL_SEL_TypeDef;
3490 
3491 typedef union{                                                         /*!< CFG_DFI_LVL_PERIODIC register definition*/
3492   __IO  uint32_t                       CFG_DFI_LVL_PERIODIC;
3493   struct
3494   {
3495     __IO  uint32_t                       cfg_dfi_lvl_periodic :1;
3496     __I   uint32_t                       reserved             :31;
3497   } bitfield;
3498 } DDR_CSR_APB_CFG_DFI_LVL_PERIODIC_TypeDef;
3499 
3500 typedef union{                                                         /*!< CFG_DFI_LVL_PATTERN register definition*/
3501   __IO  uint32_t                       CFG_DFI_LVL_PATTERN;
3502   struct
3503   {
3504     __IO  uint32_t                       cfg_dfi_lvl_pattern  :4;
3505     __I   uint32_t                       reserved             :28;
3506   } bitfield;
3507 } DDR_CSR_APB_CFG_DFI_LVL_PATTERN_TypeDef;
3508 
3509 typedef union{                                                         /*!< PHY_DFI_INIT_START register definition*/
3510   __IO  uint32_t                       PHY_DFI_INIT_START;
3511   struct
3512   {
3513     __IO  uint32_t                       phy_dfi_init_start   :1;
3514     __I   uint32_t                       reserved             :31;
3515   } bitfield;
3516 } DDR_CSR_APB_PHY_DFI_INIT_START_TypeDef;
3517 
3518 typedef union{                                                         /*!< CFG_AXI_START_ADDRESS_AXI1_0 register definition*/
3519   __IO  uint32_t                       CFG_AXI_START_ADDRESS_AXI1_0;
3520   struct
3521   {
3522     __IO  uint32_t                       cfg_axi_start_address_axi1_0 :32;
3523   } bitfield;
3524 } DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_0_TypeDef;
3525 
3526 typedef union{                                                         /*!< CFG_AXI_START_ADDRESS_AXI1_1 register definition*/
3527   __IO  uint32_t                       CFG_AXI_START_ADDRESS_AXI1_1;
3528   struct
3529   {
3530     __IO  uint32_t                       cfg_axi_start_address_axi1_1 :2;
3531     __I   uint32_t                       reserved             :30;
3532   } bitfield;
3533 } DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_1_TypeDef;
3534 
3535 typedef union{                                                         /*!< CFG_AXI_START_ADDRESS_AXI2_0 register definition*/
3536   __IO  uint32_t                       CFG_AXI_START_ADDRESS_AXI2_0;
3537   struct
3538   {
3539     __IO  uint32_t                       cfg_axi_start_address_axi2_0 :32;
3540   } bitfield;
3541 } DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_0_TypeDef;
3542 
3543 typedef union{                                                         /*!< CFG_AXI_START_ADDRESS_AXI2_1 register definition*/
3544   __IO  uint32_t                       CFG_AXI_START_ADDRESS_AXI2_1;
3545   struct
3546   {
3547     __IO  uint32_t                       cfg_axi_start_address_axi2_1 :2;
3548     __I   uint32_t                       reserved             :30;
3549   } bitfield;
3550 } DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_1_TypeDef;
3551 
3552 typedef union{                                                         /*!< CFG_AXI_END_ADDRESS_AXI1_0 register definition*/
3553   __IO  uint32_t                       CFG_AXI_END_ADDRESS_AXI1_0;
3554   struct
3555   {
3556     __IO  uint32_t                       cfg_axi_end_address_axi1_0 :32;
3557   } bitfield;
3558 } DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_0_TypeDef;
3559 
3560 typedef union{                                                         /*!< CFG_AXI_END_ADDRESS_AXI1_1 register definition*/
3561   __IO  uint32_t                       CFG_AXI_END_ADDRESS_AXI1_1;
3562   struct
3563   {
3564     __IO  uint32_t                       cfg_axi_end_address_axi1_1 :2;
3565     __I   uint32_t                       reserved             :30;
3566   } bitfield;
3567 } DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_1_TypeDef;
3568 
3569 typedef union{                                                         /*!< CFG_AXI_END_ADDRESS_AXI2_0 register definition*/
3570   __IO  uint32_t                       CFG_AXI_END_ADDRESS_AXI2_0;
3571   struct
3572   {
3573     __IO  uint32_t                       cfg_axi_end_address_axi2_0 :32;
3574   } bitfield;
3575 } DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_0_TypeDef;
3576 
3577 typedef union{                                                         /*!< CFG_AXI_END_ADDRESS_AXI2_1 register definition*/
3578   __IO  uint32_t                       CFG_AXI_END_ADDRESS_AXI2_1;
3579   struct
3580   {
3581     __IO  uint32_t                       cfg_axi_end_address_axi2_1 :2;
3582     __I   uint32_t                       reserved             :30;
3583   } bitfield;
3584 } DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_1_TypeDef;
3585 
3586 typedef union{                                                         /*!< CFG_MEM_START_ADDRESS_AXI1_0 register definition*/
3587   __IO  uint32_t                       CFG_MEM_START_ADDRESS_AXI1_0;
3588   struct
3589   {
3590     __IO  uint32_t                       cfg_mem_start_address_axi1_0 :32;
3591   } bitfield;
3592 } DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_0_TypeDef;
3593 
3594 typedef union{                                                         /*!< CFG_MEM_START_ADDRESS_AXI1_1 register definition*/
3595   __IO  uint32_t                       CFG_MEM_START_ADDRESS_AXI1_1;
3596   struct
3597   {
3598     __IO  uint32_t                       cfg_mem_start_address_axi1_1 :2;
3599     __I   uint32_t                       reserved             :30;
3600   } bitfield;
3601 } DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_1_TypeDef;
3602 
3603 typedef union{                                                         /*!< CFG_MEM_START_ADDRESS_AXI2_0 register definition*/
3604   __IO  uint32_t                       CFG_MEM_START_ADDRESS_AXI2_0;
3605   struct
3606   {
3607     __IO  uint32_t                       cfg_mem_start_address_axi2_0 :32;
3608   } bitfield;
3609 } DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_0_TypeDef;
3610 
3611 typedef union{                                                         /*!< CFG_MEM_START_ADDRESS_AXI2_1 register definition*/
3612   __IO  uint32_t                       CFG_MEM_START_ADDRESS_AXI2_1;
3613   struct
3614   {
3615     __IO  uint32_t                       cfg_mem_start_address_axi2_1 :2;
3616     __I   uint32_t                       reserved             :30;
3617   } bitfield;
3618 } DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_1_TypeDef;
3619 
3620 typedef union{                                                         /*!< CFG_ENABLE_BUS_HOLD_AXI1 register definition*/
3621   __IO  uint32_t                       CFG_ENABLE_BUS_HOLD_AXI1;
3622   struct
3623   {
3624     __IO  uint32_t                       cfg_enable_bus_hold_axi1 :1;
3625     __I   uint32_t                       reserved             :31;
3626   } bitfield;
3627 } DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI1_TypeDef;
3628 
3629 typedef union{                                                         /*!< CFG_ENABLE_BUS_HOLD_AXI2 register definition*/
3630   __IO  uint32_t                       CFG_ENABLE_BUS_HOLD_AXI2;
3631   struct
3632   {
3633     __IO  uint32_t                       cfg_enable_bus_hold_axi2 :1;
3634     __I   uint32_t                       reserved             :31;
3635   } bitfield;
3636 } DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI2_TypeDef;
3637 
3638 typedef union{                                                         /*!< CFG_AXI_AUTO_PCH register definition*/
3639   __IO  uint32_t                       CFG_AXI_AUTO_PCH;
3640   struct
3641   {
3642     __IO  uint32_t                       cfg_axi_auto_pch     :32;
3643   } bitfield;
3644 } DDR_CSR_APB_CFG_AXI_AUTO_PCH_TypeDef;
3645 
3646 typedef union{                                                         /*!< PHY_RESET_CONTROL register definition*/
3647   __IO  uint32_t                       PHY_RESET_CONTROL;
3648   struct
3649   {
3650     __IO  uint32_t                       phy_reset_control    :16;
3651     __I   uint32_t                       reserved             :16;
3652   } bitfield;
3653 } DDR_CSR_APB_PHY_RESET_CONTROL_TypeDef;
3654 
3655 typedef union{                                                         /*!< PHY_PC_RANK register definition*/
3656   __IO  uint32_t                       PHY_PC_RANK;
3657   struct
3658   {
3659     __IO  uint32_t                       phy_pc_rank          :4;
3660     __I   uint32_t                       reserved             :28;
3661   } bitfield;
3662 } DDR_CSR_APB_PHY_PC_RANK_TypeDef;
3663 
3664 typedef union{                                                         /*!< PHY_RANKS_TO_TRAIN register definition*/
3665   __IO  uint32_t                       PHY_RANKS_TO_TRAIN;
3666   struct
3667   {
3668     __IO  uint32_t                       phy_ranks_to_train   :16;
3669     __I   uint32_t                       reserved             :16;
3670   } bitfield;
3671 } DDR_CSR_APB_PHY_RANKS_TO_TRAIN_TypeDef;
3672 
3673 typedef union{                                                         /*!< PHY_WRITE_REQUEST register definition*/
3674   __IO  uint32_t                       PHY_WRITE_REQUEST;
3675   struct
3676   {
3677     __IO  uint32_t                       phy_write_request    :1;
3678     __I   uint32_t                       reserved             :31;
3679   } bitfield;
3680 } DDR_CSR_APB_PHY_WRITE_REQUEST_TypeDef;
3681 
3682 typedef union{                                                         /*!< PHY_WRITE_REQUEST_DONE register definition*/
3683   __I   uint32_t                       PHY_WRITE_REQUEST_DONE;
3684   struct
3685   {
3686     __I   uint32_t                       phy_write_request_done :1;
3687     __I   uint32_t                       reserved             :31;
3688   } bitfield;
3689 } DDR_CSR_APB_PHY_WRITE_REQUEST_DONE_TypeDef;
3690 
3691 typedef union{                                                         /*!< PHY_READ_REQUEST register definition*/
3692   __IO  uint32_t                       PHY_READ_REQUEST;
3693   struct
3694   {
3695     __IO  uint32_t                       phy_read_request     :1;
3696     __I   uint32_t                       reserved             :31;
3697   } bitfield;
3698 } DDR_CSR_APB_PHY_READ_REQUEST_TypeDef;
3699 
3700 typedef union{                                                         /*!< PHY_READ_REQUEST_DONE register definition*/
3701   __I   uint32_t                       PHY_READ_REQUEST_DONE;
3702   struct
3703   {
3704     __I   uint32_t                       phy_read_request_done :1;
3705     __I   uint32_t                       reserved             :31;
3706   } bitfield;
3707 } DDR_CSR_APB_PHY_READ_REQUEST_DONE_TypeDef;
3708 
3709 typedef union{                                                         /*!< PHY_WRITE_LEVEL_DELAY register definition*/
3710   __IO  uint32_t                       PHY_WRITE_LEVEL_DELAY;
3711   struct
3712   {
3713     __IO  uint32_t                       phy_write_level_delay :6;
3714     __I   uint32_t                       reserved             :26;
3715   } bitfield;
3716 } DDR_CSR_APB_PHY_WRITE_LEVEL_DELAY_TypeDef;
3717 
3718 typedef union{                                                         /*!< PHY_GATE_TRAIN_DELAY register definition*/
3719   __IO  uint32_t                       PHY_GATE_TRAIN_DELAY;
3720   struct
3721   {
3722     __IO  uint32_t                       phy_gate_train_delay :6;
3723     __I   uint32_t                       reserved             :26;
3724   } bitfield;
3725 } DDR_CSR_APB_PHY_GATE_TRAIN_DELAY_TypeDef;
3726 
3727 typedef union{                                                         /*!< PHY_EYE_TRAIN_DELAY register definition*/
3728   __IO  uint32_t                       PHY_EYE_TRAIN_DELAY;
3729   struct
3730   {
3731     __IO  uint32_t                       phy_eye_train_delay  :6;
3732     __I   uint32_t                       reserved             :26;
3733   } bitfield;
3734 } DDR_CSR_APB_PHY_EYE_TRAIN_DELAY_TypeDef;
3735 
3736 typedef union{                                                         /*!< PHY_EYE_PAT register definition*/
3737   __IO  uint32_t                       PHY_EYE_PAT;
3738   struct
3739   {
3740     __IO  uint32_t                       phy_eye_pat          :8;
3741     __I   uint32_t                       reserved             :24;
3742   } bitfield;
3743 } DDR_CSR_APB_PHY_EYE_PAT_TypeDef;
3744 
3745 typedef union{                                                         /*!< PHY_START_RECAL register definition*/
3746   __IO  uint32_t                       PHY_START_RECAL;
3747   struct
3748   {
3749     __IO  uint32_t                       phy_start_recal      :1;
3750     __I   uint32_t                       reserved             :31;
3751   } bitfield;
3752 } DDR_CSR_APB_PHY_START_RECAL_TypeDef;
3753 
3754 typedef union{                                                         /*!< PHY_CLR_DFI_LVL_PERIODIC register definition*/
3755   __IO  uint32_t                       PHY_CLR_DFI_LVL_PERIODIC;
3756   struct
3757   {
3758     __IO  uint32_t                       phy_clr_dfi_lvl_periodic :1;
3759     __I   uint32_t                       reserved             :31;
3760   } bitfield;
3761 } DDR_CSR_APB_PHY_CLR_DFI_LVL_PERIODIC_TypeDef;
3762 
3763 typedef union{                                                         /*!< PHY_TRAIN_STEP_ENABLE register definition*/
3764   __IO  uint32_t                       PHY_TRAIN_STEP_ENABLE;
3765   struct
3766   {
3767     __IO  uint32_t                       phy_train_step_enable :6;
3768     __I   uint32_t                       reserved             :26;
3769   } bitfield;
3770 } DDR_CSR_APB_PHY_TRAIN_STEP_ENABLE_TypeDef;
3771 
3772 typedef union{                                                         /*!< PHY_LPDDR_DQ_CAL_PAT register definition*/
3773   __IO  uint32_t                       PHY_LPDDR_DQ_CAL_PAT;
3774   struct
3775   {
3776     __IO  uint32_t                       phy_lpddr_dq_cal_pat :1;
3777     __I   uint32_t                       reserved             :31;
3778   } bitfield;
3779 } DDR_CSR_APB_PHY_LPDDR_DQ_CAL_PAT_TypeDef;
3780 
3781 typedef union{                                                         /*!< PHY_INDPNDT_TRAINING register definition*/
3782   __IO  uint32_t                       PHY_INDPNDT_TRAINING;
3783   struct
3784   {
3785     __IO  uint32_t                       phy_indpndt_training :1;
3786     __I   uint32_t                       reserved             :31;
3787   } bitfield;
3788 } DDR_CSR_APB_PHY_INDPNDT_TRAINING_TypeDef;
3789 
3790 typedef union{                                                         /*!< PHY_ENCODED_QUAD_CS register definition*/
3791   __IO  uint32_t                       PHY_ENCODED_QUAD_CS;
3792   struct
3793   {
3794     __IO  uint32_t                       phy_encoded_quad_cs  :1;
3795     __I   uint32_t                       reserved             :31;
3796   } bitfield;
3797 } DDR_CSR_APB_PHY_ENCODED_QUAD_CS_TypeDef;
3798 
3799 typedef union{                                                         /*!< PHY_HALF_CLK_DLY_ENABLE register definition*/
3800   __IO  uint32_t                       PHY_HALF_CLK_DLY_ENABLE;
3801   struct
3802   {
3803     __IO  uint32_t                       phy_half_clk_dly_enable :1;
3804     __I   uint32_t                       reserved             :31;
3805   } bitfield;
3806 } DDR_CSR_APB_PHY_HALF_CLK_DLY_ENABLE_TypeDef;
3807 
3808 /*------------ ADDR_MAP register bundle definition -----------*/
3809 typedef struct
3810 {
3811   __IO  DDR_CSR_APB_CFG_MANUAL_ADDRESS_MAP_TypeDef CFG_MANUAL_ADDRESS_MAP;                             /*!< Offset: 0x0  */
3812   __IO  DDR_CSR_APB_CFG_CHIPADDR_MAP_TypeDef CFG_CHIPADDR_MAP;                                   /*!< Offset: 0x4  */
3813   __IO  DDR_CSR_APB_CFG_CIDADDR_MAP_TypeDef CFG_CIDADDR_MAP;                                    /*!< Offset: 0x8  */
3814   __IO  DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_LOW_TypeDef CFG_MB_AUTOPCH_COL_BIT_POS_LOW;                     /*!< Offset: 0xc  */
3815   __IO  DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH_TypeDef CFG_MB_AUTOPCH_COL_BIT_POS_HIGH;                    /*!< Offset: 0x10  */
3816   __IO  DDR_CSR_APB_CFG_BANKADDR_MAP_0_TypeDef CFG_BANKADDR_MAP_0;                                 /*!< Offset: 0x14  */
3817   __IO  DDR_CSR_APB_CFG_BANKADDR_MAP_1_TypeDef CFG_BANKADDR_MAP_1;                                 /*!< Offset: 0x18  */
3818   __IO  DDR_CSR_APB_CFG_ROWADDR_MAP_0_TypeDef CFG_ROWADDR_MAP_0;                                  /*!< Offset: 0x1c  */
3819   __IO  DDR_CSR_APB_CFG_ROWADDR_MAP_1_TypeDef CFG_ROWADDR_MAP_1;                                  /*!< Offset: 0x20  */
3820   __IO  DDR_CSR_APB_CFG_ROWADDR_MAP_2_TypeDef CFG_ROWADDR_MAP_2;                                  /*!< Offset: 0x24  */
3821   __IO  DDR_CSR_APB_CFG_ROWADDR_MAP_3_TypeDef CFG_ROWADDR_MAP_3;                                  /*!< Offset: 0x28  */
3822   __IO  DDR_CSR_APB_CFG_COLADDR_MAP_0_TypeDef CFG_COLADDR_MAP_0;                                  /*!< Offset: 0x2c  */
3823   __IO  DDR_CSR_APB_CFG_COLADDR_MAP_1_TypeDef CFG_COLADDR_MAP_1;                                  /*!< Offset: 0x30  */
3824   __IO  DDR_CSR_APB_CFG_COLADDR_MAP_2_TypeDef CFG_COLADDR_MAP_2;                                  /*!< Offset: 0x34  */
3825 } DDR_CSR_APB_ADDR_MAP_TypeDef;
3826 
3827 /*------------ MC_BASE3 register bundle definition -----------*/
3828 typedef struct
3829 {
3830   __IO  DDR_CSR_APB_CFG_VRCG_ENABLE_TypeDef CFG_VRCG_ENABLE;                                    /*!< Offset: 0x0  */
3831   __IO  DDR_CSR_APB_CFG_VRCG_DISABLE_TypeDef CFG_VRCG_DISABLE;                                   /*!< Offset: 0x4  */
3832   __IO  DDR_CSR_APB_CFG_WRITE_LATENCY_SET_TypeDef CFG_WRITE_LATENCY_SET;                              /*!< Offset: 0x8  */
3833   __IO  DDR_CSR_APB_CFG_THERMAL_OFFSET_TypeDef CFG_THERMAL_OFFSET;                                 /*!< Offset: 0xc  */
3834   __IO  DDR_CSR_APB_CFG_SOC_ODT_TypeDef CFG_SOC_ODT;                                        /*!< Offset: 0x10  */
3835   __IO  DDR_CSR_APB_CFG_ODTE_CK_TypeDef CFG_ODTE_CK;                                        /*!< Offset: 0x14  */
3836   __IO  DDR_CSR_APB_CFG_ODTE_CS_TypeDef CFG_ODTE_CS;                                        /*!< Offset: 0x18  */
3837   __IO  DDR_CSR_APB_CFG_ODTD_CA_TypeDef CFG_ODTD_CA;                                        /*!< Offset: 0x1c  */
3838   __IO  DDR_CSR_APB_CFG_LPDDR4_FSP_OP_TypeDef CFG_LPDDR4_FSP_OP;                                  /*!< Offset: 0x20  */
3839   __IO  DDR_CSR_APB_CFG_GENERATE_REFRESH_ON_SRX_TypeDef CFG_GENERATE_REFRESH_ON_SRX;                        /*!< Offset: 0x24  */
3840   __IO  DDR_CSR_APB_CFG_DBI_CL_TypeDef CFG_DBI_CL;                                         /*!< Offset: 0x28  */
3841   __IO  DDR_CSR_APB_CFG_NON_DBI_CL_TypeDef CFG_NON_DBI_CL;                                     /*!< Offset: 0x2c  */
3842   __IO  DDR_CSR_APB_INIT_FORCE_WRITE_DATA_0_TypeDef INIT_FORCE_WRITE_DATA_0;                            /*!< Offset: 0x30  */
3843   __I   uint32_t                       UNUSED_SPACE0[63];                                  /*!< Offset: 0x34 */
3844 } DDR_CSR_APB_MC_BASE3_TypeDef;
3845 
3846 /*------------ MC_BASE1 register bundle definition -----------*/
3847 typedef struct  /*!< Offset: 0x3c00 */
3848 {
3849   __IO  DDR_CSR_APB_CFG_WRITE_CRC_TypeDef CFG_WRITE_CRC;                                      /*!< Offset: 0x0  */
3850   __IO  DDR_CSR_APB_CFG_MPR_READ_FORMAT_TypeDef CFG_MPR_READ_FORMAT;                                /*!< Offset: 0x4  */
3851   __IO  DDR_CSR_APB_CFG_WR_CMD_LAT_CRC_DM_TypeDef CFG_WR_CMD_LAT_CRC_DM;                              /*!< Offset: 0x8  */
3852   __IO  DDR_CSR_APB_CFG_FINE_GRAN_REF_MODE_TypeDef CFG_FINE_GRAN_REF_MODE;                             /*!< Offset: 0xc  */
3853   __IO  DDR_CSR_APB_CFG_TEMP_SENSOR_READOUT_TypeDef CFG_TEMP_SENSOR_READOUT;                            /*!< Offset: 0x10  */
3854   __IO  DDR_CSR_APB_CFG_PER_DRAM_ADDR_EN_TypeDef CFG_PER_DRAM_ADDR_EN;                               /*!< Offset: 0x14  */
3855   __IO  DDR_CSR_APB_CFG_GEARDOWN_MODE_TypeDef CFG_GEARDOWN_MODE;                                  /*!< Offset: 0x18  */
3856   __IO  DDR_CSR_APB_CFG_WR_PREAMBLE_TypeDef CFG_WR_PREAMBLE;                                    /*!< Offset: 0x1c  */
3857   __IO  DDR_CSR_APB_CFG_RD_PREAMBLE_TypeDef CFG_RD_PREAMBLE;                                    /*!< Offset: 0x20  */
3858   __IO  DDR_CSR_APB_CFG_RD_PREAMB_TRN_MODE_TypeDef CFG_RD_PREAMB_TRN_MODE;                             /*!< Offset: 0x24  */
3859   __IO  DDR_CSR_APB_CFG_SR_ABORT_TypeDef CFG_SR_ABORT;                                       /*!< Offset: 0x28  */
3860   __IO  DDR_CSR_APB_CFG_CS_TO_CMDADDR_LATENCY_TypeDef CFG_CS_TO_CMDADDR_LATENCY;                          /*!< Offset: 0x2c  */
3861   __IO  DDR_CSR_APB_CFG_INT_VREF_MON_TypeDef CFG_INT_VREF_MON;                                   /*!< Offset: 0x30  */
3862   __IO  DDR_CSR_APB_CFG_TEMP_CTRL_REF_MODE_TypeDef CFG_TEMP_CTRL_REF_MODE;                             /*!< Offset: 0x34  */
3863   __IO  DDR_CSR_APB_CFG_TEMP_CTRL_REF_RANGE_TypeDef CFG_TEMP_CTRL_REF_RANGE;                            /*!< Offset: 0x38  */
3864   __IO  DDR_CSR_APB_CFG_MAX_PWR_DOWN_MODE_TypeDef CFG_MAX_PWR_DOWN_MODE;                              /*!< Offset: 0x3c  */
3865   __IO  DDR_CSR_APB_CFG_READ_DBI_TypeDef CFG_READ_DBI;                                       /*!< Offset: 0x40  */
3866   __IO  DDR_CSR_APB_CFG_WRITE_DBI_TypeDef CFG_WRITE_DBI;                                      /*!< Offset: 0x44  */
3867   __IO  DDR_CSR_APB_CFG_DATA_MASK_TypeDef CFG_DATA_MASK;                                      /*!< Offset: 0x48  */
3868   __IO  DDR_CSR_APB_CFG_CA_PARITY_PERSIST_ERR_TypeDef CFG_CA_PARITY_PERSIST_ERR;                          /*!< Offset: 0x4c  */
3869   __IO  DDR_CSR_APB_CFG_RTT_PARK_TypeDef CFG_RTT_PARK;                                       /*!< Offset: 0x50  */
3870   __IO  DDR_CSR_APB_CFG_ODT_INBUF_4_PD_TypeDef CFG_ODT_INBUF_4_PD;                                 /*!< Offset: 0x54  */
3871   __IO  DDR_CSR_APB_CFG_CA_PARITY_ERR_STATUS_TypeDef CFG_CA_PARITY_ERR_STATUS;                           /*!< Offset: 0x58  */
3872   __IO  DDR_CSR_APB_CFG_CRC_ERROR_CLEAR_TypeDef CFG_CRC_ERROR_CLEAR;                                /*!< Offset: 0x5c  */
3873   __IO  DDR_CSR_APB_CFG_CA_PARITY_LATENCY_TypeDef CFG_CA_PARITY_LATENCY;                              /*!< Offset: 0x60  */
3874   __IO  DDR_CSR_APB_CFG_CCD_S_TypeDef  CFG_CCD_S;                                          /*!< Offset: 0x64  */
3875   __IO  DDR_CSR_APB_CFG_CCD_L_TypeDef  CFG_CCD_L;                                          /*!< Offset: 0x68  */
3876   __IO  DDR_CSR_APB_CFG_VREFDQ_TRN_ENABLE_TypeDef CFG_VREFDQ_TRN_ENABLE;                              /*!< Offset: 0x6c  */
3877   __IO  DDR_CSR_APB_CFG_VREFDQ_TRN_RANGE_TypeDef CFG_VREFDQ_TRN_RANGE;                               /*!< Offset: 0x70  */
3878   __IO  DDR_CSR_APB_CFG_VREFDQ_TRN_VALUE_TypeDef CFG_VREFDQ_TRN_VALUE;                               /*!< Offset: 0x74  */
3879   __IO  DDR_CSR_APB_CFG_RRD_S_TypeDef  CFG_RRD_S;                                          /*!< Offset: 0x78  */
3880   __IO  DDR_CSR_APB_CFG_RRD_L_TypeDef  CFG_RRD_L;                                          /*!< Offset: 0x7c  */
3881   __IO  DDR_CSR_APB_CFG_WTR_S_TypeDef  CFG_WTR_S;                                          /*!< Offset: 0x80  */
3882   __IO  DDR_CSR_APB_CFG_WTR_L_TypeDef  CFG_WTR_L;                                          /*!< Offset: 0x84  */
3883   __IO  DDR_CSR_APB_CFG_WTR_S_CRC_DM_TypeDef CFG_WTR_S_CRC_DM;                                   /*!< Offset: 0x88  */
3884   __IO  DDR_CSR_APB_CFG_WTR_L_CRC_DM_TypeDef CFG_WTR_L_CRC_DM;                                   /*!< Offset: 0x8c  */
3885   __IO  DDR_CSR_APB_CFG_WR_CRC_DM_TypeDef CFG_WR_CRC_DM;                                      /*!< Offset: 0x90  */
3886   __IO  DDR_CSR_APB_CFG_RFC1_TypeDef   CFG_RFC1;                                           /*!< Offset: 0x94  */
3887   __IO  DDR_CSR_APB_CFG_RFC2_TypeDef   CFG_RFC2;                                           /*!< Offset: 0x98  */
3888   __IO  DDR_CSR_APB_CFG_RFC4_TypeDef   CFG_RFC4;                                           /*!< Offset: 0x9c  */
3889   __I   uint32_t                       UNUSED_SPACE0[9];                                   /*!< Offset: 0xa0 */
3890   __IO  DDR_CSR_APB_CFG_NIBBLE_DEVICES_TypeDef CFG_NIBBLE_DEVICES;                                 /*!< Offset: 0xc4  */
3891   __I   uint32_t                       UNUSED_SPACE1[6];                                   /*!< Offset: 0xc8 */
3892   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_0_TypeDef CFG_BIT_MAP_INDEX_CS0_0;                            /*!< Offset: 0xe0  */
3893   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_1_TypeDef CFG_BIT_MAP_INDEX_CS0_1;                            /*!< Offset: 0xe4  */
3894   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_0_TypeDef CFG_BIT_MAP_INDEX_CS1_0;                            /*!< Offset: 0xe8  */
3895   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_1_TypeDef CFG_BIT_MAP_INDEX_CS1_1;                            /*!< Offset: 0xec  */
3896   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_0_TypeDef CFG_BIT_MAP_INDEX_CS2_0;                            /*!< Offset: 0xf0  */
3897   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_1_TypeDef CFG_BIT_MAP_INDEX_CS2_1;                            /*!< Offset: 0xf4  */
3898   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_0_TypeDef CFG_BIT_MAP_INDEX_CS3_0;                            /*!< Offset: 0xf8  */
3899   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_1_TypeDef CFG_BIT_MAP_INDEX_CS3_1;                            /*!< Offset: 0xfc  */
3900   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_0_TypeDef CFG_BIT_MAP_INDEX_CS4_0;                            /*!< Offset: 0x100  */
3901   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_1_TypeDef CFG_BIT_MAP_INDEX_CS4_1;                            /*!< Offset: 0x104  */
3902   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_0_TypeDef CFG_BIT_MAP_INDEX_CS5_0;                            /*!< Offset: 0x108  */
3903   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_1_TypeDef CFG_BIT_MAP_INDEX_CS5_1;                            /*!< Offset: 0x10c  */
3904   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_0_TypeDef CFG_BIT_MAP_INDEX_CS6_0;                            /*!< Offset: 0x110  */
3905   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_1_TypeDef CFG_BIT_MAP_INDEX_CS6_1;                            /*!< Offset: 0x114  */
3906   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_0_TypeDef CFG_BIT_MAP_INDEX_CS7_0;                            /*!< Offset: 0x118  */
3907   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_1_TypeDef CFG_BIT_MAP_INDEX_CS7_1;                            /*!< Offset: 0x11c  */
3908   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_0_TypeDef CFG_BIT_MAP_INDEX_CS8_0;                            /*!< Offset: 0x120  */
3909   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_1_TypeDef CFG_BIT_MAP_INDEX_CS8_1;                            /*!< Offset: 0x124  */
3910   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_0_TypeDef CFG_BIT_MAP_INDEX_CS9_0;                            /*!< Offset: 0x128  */
3911   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_1_TypeDef CFG_BIT_MAP_INDEX_CS9_1;                            /*!< Offset: 0x12c  */
3912   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_0_TypeDef CFG_BIT_MAP_INDEX_CS10_0;                           /*!< Offset: 0x130  */
3913   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_1_TypeDef CFG_BIT_MAP_INDEX_CS10_1;                           /*!< Offset: 0x134  */
3914   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_0_TypeDef CFG_BIT_MAP_INDEX_CS11_0;                           /*!< Offset: 0x138  */
3915   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_1_TypeDef CFG_BIT_MAP_INDEX_CS11_1;                           /*!< Offset: 0x13c  */
3916   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_0_TypeDef CFG_BIT_MAP_INDEX_CS12_0;                           /*!< Offset: 0x140  */
3917   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_1_TypeDef CFG_BIT_MAP_INDEX_CS12_1;                           /*!< Offset: 0x144  */
3918   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_0_TypeDef CFG_BIT_MAP_INDEX_CS13_0;                           /*!< Offset: 0x148  */
3919   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_1_TypeDef CFG_BIT_MAP_INDEX_CS13_1;                           /*!< Offset: 0x14c  */
3920   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_0_TypeDef CFG_BIT_MAP_INDEX_CS14_0;                           /*!< Offset: 0x150  */
3921   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_1_TypeDef CFG_BIT_MAP_INDEX_CS14_1;                           /*!< Offset: 0x154  */
3922   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_0_TypeDef CFG_BIT_MAP_INDEX_CS15_0;                           /*!< Offset: 0x158  */
3923   __IO  DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_1_TypeDef CFG_BIT_MAP_INDEX_CS15_1;                           /*!< Offset: 0x15c  */
3924   __IO  DDR_CSR_APB_CFG_NUM_LOGICAL_RANKS_PER_3DS_TypeDef CFG_NUM_LOGICAL_RANKS_PER_3DS;                      /*!< Offset: 0x160  */
3925   __IO  DDR_CSR_APB_CFG_RFC_DLR1_TypeDef CFG_RFC_DLR1;                                       /*!< Offset: 0x164  */
3926   __IO  DDR_CSR_APB_CFG_RFC_DLR2_TypeDef CFG_RFC_DLR2;                                       /*!< Offset: 0x168  */
3927   __IO  DDR_CSR_APB_CFG_RFC_DLR4_TypeDef CFG_RFC_DLR4;                                       /*!< Offset: 0x16c  */
3928   __IO  DDR_CSR_APB_CFG_RRD_DLR_TypeDef CFG_RRD_DLR;                                        /*!< Offset: 0x170  */
3929   __IO  DDR_CSR_APB_CFG_FAW_DLR_TypeDef CFG_FAW_DLR;                                        /*!< Offset: 0x174  */
3930   __I   uint32_t                       UNUSED_SPACE2[8];                                   /*!< Offset: 0x178 */
3931   __IO  DDR_CSR_APB_CFG_ADVANCE_ACTIVATE_READY_TypeDef CFG_ADVANCE_ACTIVATE_READY;                         /*!< Offset: 0x198  */
3932   __I   uint32_t                       UNUSED_SPACE3[6];                                   /*!< Offset: 0x19c */
3933 } DDR_CSR_APB_MC_BASE1_TypeDef;
3934 
3935 /*------------ MC_BASE2 register bundle definition -----------*/
3936 typedef struct
3937 {
3938   __IO  DDR_CSR_APB_CTRLR_SOFT_RESET_N_TypeDef CTRLR_SOFT_RESET_N;                                 /*!< Offset: 0x0  */
3939   __I   uint32_t                       UNUSED_SPACE0;                                      /*!< Offset: 0x4 */
3940   __IO  DDR_CSR_APB_CFG_LOOKAHEAD_PCH_TypeDef CFG_LOOKAHEAD_PCH;                                  /*!< Offset: 0x8  */
3941   __IO  DDR_CSR_APB_CFG_LOOKAHEAD_ACT_TypeDef CFG_LOOKAHEAD_ACT;                                  /*!< Offset: 0xc  */
3942   __IO  DDR_CSR_APB_INIT_AUTOINIT_DISABLE_TypeDef INIT_AUTOINIT_DISABLE;                              /*!< Offset: 0x10  */
3943   __IO  DDR_CSR_APB_INIT_FORCE_RESET_TypeDef INIT_FORCE_RESET;                                   /*!< Offset: 0x14  */
3944   __IO  DDR_CSR_APB_INIT_GEARDOWN_EN_TypeDef INIT_GEARDOWN_EN;                                   /*!< Offset: 0x18  */
3945   __IO  DDR_CSR_APB_INIT_DISABLE_CKE_TypeDef INIT_DISABLE_CKE;                                   /*!< Offset: 0x1c  */
3946   __IO  DDR_CSR_APB_INIT_CS_TypeDef    INIT_CS;                                            /*!< Offset: 0x20  */
3947   __IO  DDR_CSR_APB_INIT_PRECHARGE_ALL_TypeDef INIT_PRECHARGE_ALL;                                 /*!< Offset: 0x24  */
3948   __IO  DDR_CSR_APB_INIT_REFRESH_TypeDef INIT_REFRESH;                                       /*!< Offset: 0x28  */
3949   __IO  DDR_CSR_APB_INIT_ZQ_CAL_REQ_TypeDef INIT_ZQ_CAL_REQ;                                    /*!< Offset: 0x2c  */
3950   __I   DDR_CSR_APB_INIT_ACK_TypeDef   INIT_ACK;                                           /*!< Offset: 0x30  */
3951   __IO  DDR_CSR_APB_CFG_BL_TypeDef     CFG_BL;                                             /*!< Offset: 0x34  */
3952   __IO  DDR_CSR_APB_CTRLR_INIT_TypeDef CTRLR_INIT;                                         /*!< Offset: 0x38  */
3953   __I   DDR_CSR_APB_CTRLR_INIT_DONE_TypeDef CTRLR_INIT_DONE;                                    /*!< Offset: 0x3c  */
3954   __IO  DDR_CSR_APB_CFG_AUTO_REF_EN_TypeDef CFG_AUTO_REF_EN;                                    /*!< Offset: 0x40  */
3955   __IO  DDR_CSR_APB_CFG_RAS_TypeDef    CFG_RAS;                                            /*!< Offset: 0x44  */
3956   __IO  DDR_CSR_APB_CFG_RCD_TypeDef    CFG_RCD;                                            /*!< Offset: 0x48  */
3957   __IO  DDR_CSR_APB_CFG_RRD_TypeDef    CFG_RRD;                                            /*!< Offset: 0x4c  */
3958   __IO  DDR_CSR_APB_CFG_RP_TypeDef     CFG_RP;                                             /*!< Offset: 0x50  */
3959   __IO  DDR_CSR_APB_CFG_RC_TypeDef     CFG_RC;                                             /*!< Offset: 0x54  */
3960   __IO  DDR_CSR_APB_CFG_FAW_TypeDef    CFG_FAW;                                            /*!< Offset: 0x58  */
3961   __IO  DDR_CSR_APB_CFG_RFC_TypeDef    CFG_RFC;                                            /*!< Offset: 0x5c  */
3962   __IO  DDR_CSR_APB_CFG_RTP_TypeDef    CFG_RTP;                                            /*!< Offset: 0x60  */
3963   __IO  DDR_CSR_APB_CFG_WR_TypeDef     CFG_WR;                                             /*!< Offset: 0x64  */
3964   __IO  DDR_CSR_APB_CFG_WTR_TypeDef    CFG_WTR;                                            /*!< Offset: 0x68  */
3965   __I   uint32_t                       UNUSED_SPACE1;                                      /*!< Offset: 0x6c */
3966   __IO  DDR_CSR_APB_CFG_PASR_TypeDef   CFG_PASR;                                           /*!< Offset: 0x70  */
3967   __IO  DDR_CSR_APB_CFG_XP_TypeDef     CFG_XP;                                             /*!< Offset: 0x74  */
3968   __IO  DDR_CSR_APB_CFG_XSR_TypeDef    CFG_XSR;                                            /*!< Offset: 0x78  */
3969   __I   uint32_t                       UNUSED_SPACE2;                                      /*!< Offset: 0x7c */
3970   __IO  DDR_CSR_APB_CFG_CL_TypeDef     CFG_CL;                                             /*!< Offset: 0x80  */
3971   __I   uint32_t                       UNUSED_SPACE3;                                      /*!< Offset: 0x84 */
3972   __IO  DDR_CSR_APB_CFG_READ_TO_WRITE_TypeDef CFG_READ_TO_WRITE;                                  /*!< Offset: 0x88  */
3973   __IO  DDR_CSR_APB_CFG_WRITE_TO_WRITE_TypeDef CFG_WRITE_TO_WRITE;                                 /*!< Offset: 0x8c  */
3974   __IO  DDR_CSR_APB_CFG_READ_TO_READ_TypeDef CFG_READ_TO_READ;                                   /*!< Offset: 0x90  */
3975   __IO  DDR_CSR_APB_CFG_WRITE_TO_READ_TypeDef CFG_WRITE_TO_READ;                                  /*!< Offset: 0x94  */
3976   __IO  DDR_CSR_APB_CFG_READ_TO_WRITE_ODT_TypeDef CFG_READ_TO_WRITE_ODT;                              /*!< Offset: 0x98  */
3977   __IO  DDR_CSR_APB_CFG_WRITE_TO_WRITE_ODT_TypeDef CFG_WRITE_TO_WRITE_ODT;                             /*!< Offset: 0x9c  */
3978   __IO  DDR_CSR_APB_CFG_READ_TO_READ_ODT_TypeDef CFG_READ_TO_READ_ODT;                               /*!< Offset: 0xa0  */
3979   __IO  DDR_CSR_APB_CFG_WRITE_TO_READ_ODT_TypeDef CFG_WRITE_TO_READ_ODT;                              /*!< Offset: 0xa4  */
3980   __IO  DDR_CSR_APB_CFG_MIN_READ_IDLE_TypeDef CFG_MIN_READ_IDLE;                                  /*!< Offset: 0xa8  */
3981   __IO  DDR_CSR_APB_CFG_MRD_TypeDef    CFG_MRD;                                            /*!< Offset: 0xac  */
3982   __IO  DDR_CSR_APB_CFG_BT_TypeDef     CFG_BT;                                             /*!< Offset: 0xb0  */
3983   __IO  DDR_CSR_APB_CFG_DS_TypeDef     CFG_DS;                                             /*!< Offset: 0xb4  */
3984   __IO  DDR_CSR_APB_CFG_QOFF_TypeDef   CFG_QOFF;                                           /*!< Offset: 0xb8  */
3985   __I   uint32_t                       UNUSED_SPACE4[2];                                   /*!< Offset: 0xbc */
3986   __IO  DDR_CSR_APB_CFG_RTT_TypeDef    CFG_RTT;                                            /*!< Offset: 0xc4  */
3987   __IO  DDR_CSR_APB_CFG_DLL_DISABLE_TypeDef CFG_DLL_DISABLE;                                    /*!< Offset: 0xc8  */
3988   __IO  DDR_CSR_APB_CFG_REF_PER_TypeDef CFG_REF_PER;                                        /*!< Offset: 0xcc  */
3989   __IO  DDR_CSR_APB_CFG_STARTUP_DELAY_TypeDef CFG_STARTUP_DELAY;                                  /*!< Offset: 0xd0  */
3990   __IO  DDR_CSR_APB_CFG_MEM_COLBITS_TypeDef CFG_MEM_COLBITS;                                    /*!< Offset: 0xd4  */
3991   __IO  DDR_CSR_APB_CFG_MEM_ROWBITS_TypeDef CFG_MEM_ROWBITS;                                    /*!< Offset: 0xd8  */
3992   __IO  DDR_CSR_APB_CFG_MEM_BANKBITS_TypeDef CFG_MEM_BANKBITS;                                   /*!< Offset: 0xdc  */
3993   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS0_TypeDef CFG_ODT_RD_MAP_CS0;                                 /*!< Offset: 0xe0  */
3994   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS1_TypeDef CFG_ODT_RD_MAP_CS1;                                 /*!< Offset: 0xe4  */
3995   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS2_TypeDef CFG_ODT_RD_MAP_CS2;                                 /*!< Offset: 0xe8  */
3996   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS3_TypeDef CFG_ODT_RD_MAP_CS3;                                 /*!< Offset: 0xec  */
3997   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS4_TypeDef CFG_ODT_RD_MAP_CS4;                                 /*!< Offset: 0xf0  */
3998   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS5_TypeDef CFG_ODT_RD_MAP_CS5;                                 /*!< Offset: 0xf4  */
3999   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS6_TypeDef CFG_ODT_RD_MAP_CS6;                                 /*!< Offset: 0xf8  */
4000   __IO  DDR_CSR_APB_CFG_ODT_RD_MAP_CS7_TypeDef CFG_ODT_RD_MAP_CS7;                                 /*!< Offset: 0xfc  */
4001   __I   uint32_t                       UNUSED_SPACE5[8];                                   /*!< Offset: 0x100 */
4002   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS0_TypeDef CFG_ODT_WR_MAP_CS0;                                 /*!< Offset: 0x120  */
4003   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS1_TypeDef CFG_ODT_WR_MAP_CS1;                                 /*!< Offset: 0x124  */
4004   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS2_TypeDef CFG_ODT_WR_MAP_CS2;                                 /*!< Offset: 0x128  */
4005   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS3_TypeDef CFG_ODT_WR_MAP_CS3;                                 /*!< Offset: 0x12c  */
4006   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS4_TypeDef CFG_ODT_WR_MAP_CS4;                                 /*!< Offset: 0x130  */
4007   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS5_TypeDef CFG_ODT_WR_MAP_CS5;                                 /*!< Offset: 0x134  */
4008   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS6_TypeDef CFG_ODT_WR_MAP_CS6;                                 /*!< Offset: 0x138  */
4009   __IO  DDR_CSR_APB_CFG_ODT_WR_MAP_CS7_TypeDef CFG_ODT_WR_MAP_CS7;                                 /*!< Offset: 0x13c  */
4010   __I   uint32_t                       UNUSED_SPACE6[8];                                   /*!< Offset: 0x140 */
4011   __IO  DDR_CSR_APB_CFG_ODT_RD_TURN_ON_TypeDef CFG_ODT_RD_TURN_ON;                                 /*!< Offset: 0x160  */
4012   __IO  DDR_CSR_APB_CFG_ODT_WR_TURN_ON_TypeDef CFG_ODT_WR_TURN_ON;                                 /*!< Offset: 0x164  */
4013   __IO  DDR_CSR_APB_CFG_ODT_RD_TURN_OFF_TypeDef CFG_ODT_RD_TURN_OFF;                                /*!< Offset: 0x168  */
4014   __IO  DDR_CSR_APB_CFG_ODT_WR_TURN_OFF_TypeDef CFG_ODT_WR_TURN_OFF;                                /*!< Offset: 0x16c  */
4015   __I   uint32_t                       UNUSED_SPACE7[2];                                   /*!< Offset: 0x170 */
4016   __IO  DDR_CSR_APB_CFG_EMR3_TypeDef   CFG_EMR3;                                           /*!< Offset: 0x178  */
4017   __IO  DDR_CSR_APB_CFG_TWO_T_TypeDef  CFG_TWO_T;                                          /*!< Offset: 0x17c  */
4018   __IO  DDR_CSR_APB_CFG_TWO_T_SEL_CYCLE_TypeDef CFG_TWO_T_SEL_CYCLE;                                /*!< Offset: 0x180  */
4019   __IO  DDR_CSR_APB_CFG_REGDIMM_TypeDef CFG_REGDIMM;                                        /*!< Offset: 0x184  */
4020   __IO  DDR_CSR_APB_CFG_MOD_TypeDef    CFG_MOD;                                            /*!< Offset: 0x188  */
4021   __IO  DDR_CSR_APB_CFG_XS_TypeDef     CFG_XS;                                             /*!< Offset: 0x18c  */
4022   __IO  DDR_CSR_APB_CFG_XSDLL_TypeDef  CFG_XSDLL;                                          /*!< Offset: 0x190  */
4023   __IO  DDR_CSR_APB_CFG_XPR_TypeDef    CFG_XPR;                                            /*!< Offset: 0x194  */
4024   __IO  DDR_CSR_APB_CFG_AL_MODE_TypeDef CFG_AL_MODE;                                        /*!< Offset: 0x198  */
4025   __IO  DDR_CSR_APB_CFG_CWL_TypeDef    CFG_CWL;                                            /*!< Offset: 0x19c  */
4026   __IO  DDR_CSR_APB_CFG_BL_MODE_TypeDef CFG_BL_MODE;                                        /*!< Offset: 0x1a0  */
4027   __IO  DDR_CSR_APB_CFG_TDQS_TypeDef   CFG_TDQS;                                           /*!< Offset: 0x1a4  */
4028   __IO  DDR_CSR_APB_CFG_RTT_WR_TypeDef CFG_RTT_WR;                                         /*!< Offset: 0x1a8  */
4029   __IO  DDR_CSR_APB_CFG_LP_ASR_TypeDef CFG_LP_ASR;                                         /*!< Offset: 0x1ac  */
4030   __IO  DDR_CSR_APB_CFG_AUTO_SR_TypeDef CFG_AUTO_SR;                                        /*!< Offset: 0x1b0  */
4031   __IO  DDR_CSR_APB_CFG_SRT_TypeDef    CFG_SRT;                                            /*!< Offset: 0x1b4  */
4032   __IO  DDR_CSR_APB_CFG_ADDR_MIRROR_TypeDef CFG_ADDR_MIRROR;                                    /*!< Offset: 0x1b8  */
4033   __IO  DDR_CSR_APB_CFG_ZQ_CAL_TYPE_TypeDef CFG_ZQ_CAL_TYPE;                                    /*!< Offset: 0x1bc  */
4034   __IO  DDR_CSR_APB_CFG_ZQ_CAL_PER_TypeDef CFG_ZQ_CAL_PER;                                     /*!< Offset: 0x1c0  */
4035   __IO  DDR_CSR_APB_CFG_AUTO_ZQ_CAL_EN_TypeDef CFG_AUTO_ZQ_CAL_EN;                                 /*!< Offset: 0x1c4  */
4036   __IO  DDR_CSR_APB_CFG_MEMORY_TYPE_TypeDef CFG_MEMORY_TYPE;                                    /*!< Offset: 0x1c8  */
4037   __IO  DDR_CSR_APB_CFG_ONLY_SRANK_CMDS_TypeDef CFG_ONLY_SRANK_CMDS;                                /*!< Offset: 0x1cc  */
4038   __IO  DDR_CSR_APB_CFG_NUM_RANKS_TypeDef CFG_NUM_RANKS;                                      /*!< Offset: 0x1d0  */
4039   __IO  DDR_CSR_APB_CFG_QUAD_RANK_TypeDef CFG_QUAD_RANK;                                      /*!< Offset: 0x1d4  */
4040   __I   uint32_t                       UNUSED_SPACE8;                                      /*!< Offset: 0x1d8 */
4041   __IO  DDR_CSR_APB_CFG_EARLY_RANK_TO_WR_START_TypeDef CFG_EARLY_RANK_TO_WR_START;                         /*!< Offset: 0x1dc  */
4042   __IO  DDR_CSR_APB_CFG_EARLY_RANK_TO_RD_START_TypeDef CFG_EARLY_RANK_TO_RD_START;                         /*!< Offset: 0x1e0  */
4043   __IO  DDR_CSR_APB_CFG_PASR_BANK_TypeDef CFG_PASR_BANK;                                      /*!< Offset: 0x1e4  */
4044   __IO  DDR_CSR_APB_CFG_PASR_SEG_TypeDef CFG_PASR_SEG;                                       /*!< Offset: 0x1e8  */
4045   __IO  DDR_CSR_APB_INIT_MRR_MODE_TypeDef INIT_MRR_MODE;                                      /*!< Offset: 0x1ec  */
4046   __IO  DDR_CSR_APB_INIT_MR_W_REQ_TypeDef INIT_MR_W_REQ;                                      /*!< Offset: 0x1f0  */
4047   __IO  DDR_CSR_APB_INIT_MR_ADDR_TypeDef INIT_MR_ADDR;                                       /*!< Offset: 0x1f4  */
4048   __IO  DDR_CSR_APB_INIT_MR_WR_DATA_TypeDef INIT_MR_WR_DATA;                                    /*!< Offset: 0x1f8  */
4049   __IO  DDR_CSR_APB_INIT_MR_WR_MASK_TypeDef INIT_MR_WR_MASK;                                    /*!< Offset: 0x1fc  */
4050   __IO  DDR_CSR_APB_INIT_NOP_TypeDef   INIT_NOP;                                           /*!< Offset: 0x200  */
4051   __IO  DDR_CSR_APB_CFG_INIT_DURATION_TypeDef CFG_INIT_DURATION;                                  /*!< Offset: 0x204  */
4052   __IO  DDR_CSR_APB_CFG_ZQINIT_CAL_DURATION_TypeDef CFG_ZQINIT_CAL_DURATION;                            /*!< Offset: 0x208  */
4053   __IO  DDR_CSR_APB_CFG_ZQ_CAL_L_DURATION_TypeDef CFG_ZQ_CAL_L_DURATION;                              /*!< Offset: 0x20c  */
4054   __IO  DDR_CSR_APB_CFG_ZQ_CAL_S_DURATION_TypeDef CFG_ZQ_CAL_S_DURATION;                              /*!< Offset: 0x210  */
4055   __IO  DDR_CSR_APB_CFG_ZQ_CAL_R_DURATION_TypeDef CFG_ZQ_CAL_R_DURATION;                              /*!< Offset: 0x214  */
4056   __IO  DDR_CSR_APB_CFG_MRR_TypeDef    CFG_MRR;                                            /*!< Offset: 0x218  */
4057   __IO  DDR_CSR_APB_CFG_MRW_TypeDef    CFG_MRW;                                            /*!< Offset: 0x21c  */
4058   __IO  DDR_CSR_APB_CFG_ODT_POWERDOWN_TypeDef CFG_ODT_POWERDOWN;                                  /*!< Offset: 0x220  */
4059   __IO  DDR_CSR_APB_CFG_WL_TypeDef     CFG_WL;                                             /*!< Offset: 0x224  */
4060   __IO  DDR_CSR_APB_CFG_RL_TypeDef     CFG_RL;                                             /*!< Offset: 0x228  */
4061   __IO  DDR_CSR_APB_CFG_CAL_READ_PERIOD_TypeDef CFG_CAL_READ_PERIOD;                                /*!< Offset: 0x22c  */
4062   __IO  DDR_CSR_APB_CFG_NUM_CAL_READS_TypeDef CFG_NUM_CAL_READS;                                  /*!< Offset: 0x230  */
4063   __IO  DDR_CSR_APB_INIT_SELF_REFRESH_TypeDef INIT_SELF_REFRESH;                                  /*!< Offset: 0x234  */
4064   __I   DDR_CSR_APB_INIT_SELF_REFRESH_STATUS_TypeDef INIT_SELF_REFRESH_STATUS;                           /*!< Offset: 0x238  */
4065   __IO  DDR_CSR_APB_INIT_POWER_DOWN_TypeDef INIT_POWER_DOWN;                                    /*!< Offset: 0x23c  */
4066   __I   DDR_CSR_APB_INIT_POWER_DOWN_STATUS_TypeDef INIT_POWER_DOWN_STATUS;                             /*!< Offset: 0x240  */
4067   __IO  DDR_CSR_APB_INIT_FORCE_WRITE_TypeDef INIT_FORCE_WRITE;                                   /*!< Offset: 0x244  */
4068   __IO  DDR_CSR_APB_INIT_FORCE_WRITE_CS_TypeDef INIT_FORCE_WRITE_CS;                                /*!< Offset: 0x248  */
4069   __IO  DDR_CSR_APB_CFG_CTRLR_INIT_DISABLE_TypeDef CFG_CTRLR_INIT_DISABLE;                             /*!< Offset: 0x24c  */
4070   __I   DDR_CSR_APB_CTRLR_READY_TypeDef CTRLR_READY;                                        /*!< Offset: 0x250  */
4071   __I   DDR_CSR_APB_INIT_RDIMM_READY_TypeDef INIT_RDIMM_READY;                                   /*!< Offset: 0x254  */
4072   __IO  DDR_CSR_APB_INIT_RDIMM_COMPLETE_TypeDef INIT_RDIMM_COMPLETE;                                /*!< Offset: 0x258  */
4073   __IO  DDR_CSR_APB_CFG_RDIMM_LAT_TypeDef CFG_RDIMM_LAT;                                      /*!< Offset: 0x25c  */
4074   __IO  DDR_CSR_APB_CFG_RDIMM_BSIDE_INVERT_TypeDef CFG_RDIMM_BSIDE_INVERT;                             /*!< Offset: 0x260  */
4075   __IO  DDR_CSR_APB_CFG_LRDIMM_TypeDef CFG_LRDIMM;                                         /*!< Offset: 0x264  */
4076   __IO  DDR_CSR_APB_INIT_MEMORY_RESET_MASK_TypeDef INIT_MEMORY_RESET_MASK;                             /*!< Offset: 0x268  */
4077   __IO  DDR_CSR_APB_CFG_RD_PREAMB_TOGGLE_TypeDef CFG_RD_PREAMB_TOGGLE;                               /*!< Offset: 0x26c  */
4078   __IO  DDR_CSR_APB_CFG_RD_POSTAMBLE_TypeDef CFG_RD_POSTAMBLE;                                   /*!< Offset: 0x270  */
4079   __IO  DDR_CSR_APB_CFG_PU_CAL_TypeDef CFG_PU_CAL;                                         /*!< Offset: 0x274  */
4080   __IO  DDR_CSR_APB_CFG_DQ_ODT_TypeDef CFG_DQ_ODT;                                         /*!< Offset: 0x278  */
4081   __IO  DDR_CSR_APB_CFG_CA_ODT_TypeDef CFG_CA_ODT;                                         /*!< Offset: 0x27c  */
4082   __IO  DDR_CSR_APB_CFG_ZQLATCH_DURATION_TypeDef CFG_ZQLATCH_DURATION;                               /*!< Offset: 0x280  */
4083   __IO  DDR_CSR_APB_INIT_CAL_SELECT_TypeDef INIT_CAL_SELECT;                                    /*!< Offset: 0x284  */
4084   __IO  DDR_CSR_APB_INIT_CAL_L_R_REQ_TypeDef INIT_CAL_L_R_REQ;                                   /*!< Offset: 0x288  */
4085   __IO  DDR_CSR_APB_INIT_CAL_L_B_SIZE_TypeDef INIT_CAL_L_B_SIZE;                                  /*!< Offset: 0x28c  */
4086   __I   DDR_CSR_APB_INIT_CAL_L_R_ACK_TypeDef INIT_CAL_L_R_ACK;                                   /*!< Offset: 0x290  */
4087   __I   DDR_CSR_APB_INIT_CAL_L_READ_COMPLETE_TypeDef INIT_CAL_L_READ_COMPLETE;                           /*!< Offset: 0x294  */
4088   __I   uint32_t                       UNUSED_SPACE9[2];                                   /*!< Offset: 0x298 */
4089   __IO  DDR_CSR_APB_INIT_RWFIFO_TypeDef INIT_RWFIFO;                                        /*!< Offset: 0x2a0  */
4090   __IO  DDR_CSR_APB_INIT_RD_DQCAL_TypeDef INIT_RD_DQCAL;                                      /*!< Offset: 0x2a4  */
4091   __IO  DDR_CSR_APB_INIT_START_DQSOSC_TypeDef INIT_START_DQSOSC;                                  /*!< Offset: 0x2a8  */
4092   __IO  DDR_CSR_APB_INIT_STOP_DQSOSC_TypeDef INIT_STOP_DQSOSC;                                   /*!< Offset: 0x2ac  */
4093   __IO  DDR_CSR_APB_INIT_ZQ_CAL_START_TypeDef INIT_ZQ_CAL_START;                                  /*!< Offset: 0x2b0  */
4094   __IO  DDR_CSR_APB_CFG_WR_POSTAMBLE_TypeDef CFG_WR_POSTAMBLE;                                   /*!< Offset: 0x2b4  */
4095   __I   uint32_t                       UNUSED_SPACE10;                                     /*!< Offset: 0x2b8 */
4096   __IO  DDR_CSR_APB_INIT_CAL_L_ADDR_0_TypeDef INIT_CAL_L_ADDR_0;                                  /*!< Offset: 0x2bc  */
4097   __IO  DDR_CSR_APB_INIT_CAL_L_ADDR_1_TypeDef INIT_CAL_L_ADDR_1;                                  /*!< Offset: 0x2c0  */
4098   __IO  DDR_CSR_APB_CFG_CTRLUPD_TRIG_TypeDef CFG_CTRLUPD_TRIG;                                   /*!< Offset: 0x2c4  */
4099   __IO  DDR_CSR_APB_CFG_CTRLUPD_START_DELAY_TypeDef CFG_CTRLUPD_START_DELAY;                            /*!< Offset: 0x2c8  */
4100   __IO  DDR_CSR_APB_CFG_DFI_T_CTRLUPD_MAX_TypeDef CFG_DFI_T_CTRLUPD_MAX;                              /*!< Offset: 0x2cc  */
4101   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_SEL_TypeDef CFG_CTRLR_BUSY_SEL;                                 /*!< Offset: 0x2d0  */
4102   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_VALUE_TypeDef CFG_CTRLR_BUSY_VALUE;                               /*!< Offset: 0x2d4  */
4103   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_TURN_OFF_DELAY_TypeDef CFG_CTRLR_BUSY_TURN_OFF_DELAY;                      /*!< Offset: 0x2d8  */
4104   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW_TypeDef CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW;                 /*!< Offset: 0x2dc  */
4105   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_RESTART_HOLDOFF_TypeDef CFG_CTRLR_BUSY_RESTART_HOLDOFF;                     /*!< Offset: 0x2e0  */
4106   __IO  DDR_CSR_APB_CFG_PARITY_RDIMM_DELAY_TypeDef CFG_PARITY_RDIMM_DELAY;                             /*!< Offset: 0x2e4  */
4107   __IO  DDR_CSR_APB_CFG_CTRLR_BUSY_ENABLE_TypeDef CFG_CTRLR_BUSY_ENABLE;                              /*!< Offset: 0x2e8  */
4108   __IO  DDR_CSR_APB_CFG_ASYNC_ODT_TypeDef CFG_ASYNC_ODT;                                      /*!< Offset: 0x2ec  */
4109   __IO  DDR_CSR_APB_CFG_ZQ_CAL_DURATION_TypeDef CFG_ZQ_CAL_DURATION;                                /*!< Offset: 0x2f0  */
4110   __IO  DDR_CSR_APB_CFG_MRRI_TypeDef   CFG_MRRI;                                           /*!< Offset: 0x2f4  */
4111   __IO  DDR_CSR_APB_INIT_ODT_FORCE_EN_TypeDef INIT_ODT_FORCE_EN;                                  /*!< Offset: 0x2f8  */
4112   __IO  DDR_CSR_APB_INIT_ODT_FORCE_RANK_TypeDef INIT_ODT_FORCE_RANK;                                /*!< Offset: 0x2fc  */
4113   __IO  DDR_CSR_APB_CFG_PHYUPD_ACK_DELAY_TypeDef CFG_PHYUPD_ACK_DELAY;                               /*!< Offset: 0x300  */
4114   __IO  DDR_CSR_APB_CFG_MIRROR_X16_BG0_BG1_TypeDef CFG_MIRROR_X16_BG0_BG1;                             /*!< Offset: 0x304  */
4115   __IO  DDR_CSR_APB_INIT_PDA_MR_W_REQ_TypeDef INIT_PDA_MR_W_REQ;                                  /*!< Offset: 0x308  */
4116   __IO  DDR_CSR_APB_INIT_PDA_NIBBLE_SELECT_TypeDef INIT_PDA_NIBBLE_SELECT;                             /*!< Offset: 0x30c  */
4117   __IO  DDR_CSR_APB_CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH_TypeDef CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH;               /*!< Offset: 0x310  */
4118   __IO  DDR_CSR_APB_CFG_CKSRE_TypeDef  CFG_CKSRE;                                          /*!< Offset: 0x314  */
4119   __IO  DDR_CSR_APB_CFG_CKSRX_TypeDef  CFG_CKSRX;                                          /*!< Offset: 0x318  */
4120   __IO  DDR_CSR_APB_CFG_RCD_STAB_TypeDef CFG_RCD_STAB;                                       /*!< Offset: 0x31c  */
4121   __IO  DDR_CSR_APB_CFG_DFI_T_CTRL_DELAY_TypeDef CFG_DFI_T_CTRL_DELAY;                               /*!< Offset: 0x320  */
4122   __IO  DDR_CSR_APB_CFG_DFI_T_DRAM_CLK_ENABLE_TypeDef CFG_DFI_T_DRAM_CLK_ENABLE;                          /*!< Offset: 0x324  */
4123   __IO  DDR_CSR_APB_CFG_IDLE_TIME_TO_SELF_REFRESH_TypeDef CFG_IDLE_TIME_TO_SELF_REFRESH;                      /*!< Offset: 0x328  */
4124   __IO  DDR_CSR_APB_CFG_IDLE_TIME_TO_POWER_DOWN_TypeDef CFG_IDLE_TIME_TO_POWER_DOWN;                        /*!< Offset: 0x32c  */
4125   __IO  DDR_CSR_APB_CFG_BURST_RW_REFRESH_HOLDOFF_TypeDef CFG_BURST_RW_REFRESH_HOLDOFF;                       /*!< Offset: 0x330  */
4126   __I   DDR_CSR_APB_INIT_REFRESH_COUNT_TypeDef INIT_REFRESH_COUNT;                                 /*!< Offset: 0x334  */
4127   __I   uint32_t                       UNUSED_SPACE11[19];                                 /*!< Offset: 0x338 */
4128   __IO  DDR_CSR_APB_CFG_BG_INTERLEAVE_TypeDef CFG_BG_INTERLEAVE;                                  /*!< Offset: 0x384  */
4129   __I   uint32_t                       UNUSED_SPACE12[29];                                 /*!< Offset: 0x388 */
4130   __IO  DDR_CSR_APB_CFG_REFRESH_DURING_PHY_TRAINING_TypeDef CFG_REFRESH_DURING_PHY_TRAINING;                    /*!< Offset: 0x3fc  */
4131 } DDR_CSR_APB_MC_BASE2_TypeDef;
4132 
4133 /*------------ MEM_TEST register bundle definition -----------*/
4134 typedef struct
4135 {
4136   __IO  DDR_CSR_APB_MT_EN_TypeDef      MT_EN;                                              /*!< Offset: 0x0  */
4137   __IO  DDR_CSR_APB_MT_EN_SINGLE_TypeDef MT_EN_SINGLE;                                       /*!< Offset: 0x4  */
4138   __IO  DDR_CSR_APB_MT_STOP_ON_ERROR_TypeDef MT_STOP_ON_ERROR;                                   /*!< Offset: 0x8  */
4139   __IO  DDR_CSR_APB_MT_RD_ONLY_TypeDef MT_RD_ONLY;                                         /*!< Offset: 0xc  */
4140   __IO  DDR_CSR_APB_MT_WR_ONLY_TypeDef MT_WR_ONLY;                                         /*!< Offset: 0x10  */
4141   __IO  DDR_CSR_APB_MT_DATA_PATTERN_TypeDef MT_DATA_PATTERN;                                    /*!< Offset: 0x14  */
4142   __IO  DDR_CSR_APB_MT_ADDR_PATTERN_TypeDef MT_ADDR_PATTERN;                                    /*!< Offset: 0x18  */
4143   __IO  DDR_CSR_APB_MT_DATA_INVERT_TypeDef MT_DATA_INVERT;                                     /*!< Offset: 0x1c  */
4144   __IO  DDR_CSR_APB_MT_ADDR_BITS_TypeDef MT_ADDR_BITS;                                       /*!< Offset: 0x20  */
4145   __I   DDR_CSR_APB_MT_ERROR_STS_TypeDef MT_ERROR_STS;                                       /*!< Offset: 0x24  */
4146   __I   DDR_CSR_APB_MT_DONE_ACK_TypeDef MT_DONE_ACK;                                        /*!< Offset: 0x28  */
4147   __I   uint32_t                       UNUSED_SPACE0[34];                                  /*!< Offset: 0x2c */
4148   __IO  DDR_CSR_APB_MT_START_ADDR_0_TypeDef MT_START_ADDR_0;                                    /*!< Offset: 0xb4  */
4149   __IO  DDR_CSR_APB_MT_START_ADDR_1_TypeDef MT_START_ADDR_1;                                    /*!< Offset: 0xb8  */
4150   __IO  DDR_CSR_APB_MT_ERROR_MASK_0_TypeDef MT_ERROR_MASK_0;                                    /*!< Offset: 0xbc  */
4151   __IO  DDR_CSR_APB_MT_ERROR_MASK_1_TypeDef MT_ERROR_MASK_1;                                    /*!< Offset: 0xc0  */
4152   __IO  DDR_CSR_APB_MT_ERROR_MASK_2_TypeDef MT_ERROR_MASK_2;                                    /*!< Offset: 0xc4  */
4153   __IO  DDR_CSR_APB_MT_ERROR_MASK_3_TypeDef MT_ERROR_MASK_3;                                    /*!< Offset: 0xc8  */
4154   __IO  DDR_CSR_APB_MT_ERROR_MASK_4_TypeDef MT_ERROR_MASK_4;                                    /*!< Offset: 0xcc  */
4155   __I   uint32_t                       UNUSED_SPACE1[104];                                 /*!< Offset: 0xd0 */
4156   __IO  DDR_CSR_APB_MT_USER_DATA_PATTERN_TypeDef MT_USER_DATA_PATTERN;                               /*!< Offset: 0x270  */
4157   __I   uint32_t                       UNUSED_SPACE2[2];                                   /*!< Offset: 0x274 */
4158   __IO  DDR_CSR_APB_MT_ALG_AUTO_PCH_TypeDef MT_ALG_AUTO_PCH;                                    /*!< Offset: 0x27c  */
4159   __I   uint32_t                       UNUSED_SPACE3[2];                                   /*!< Offset: 0x280 */
4160 } DDR_CSR_APB_MEM_TEST_TypeDef;
4161 
4162 /*------------ MPFE register bundle definition -----------*/
4163 typedef struct
4164 {
4165   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P0_TypeDef CFG_STARVE_TIMEOUT_P0;                              /*!< Offset: 0x0  */
4166   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P1_TypeDef CFG_STARVE_TIMEOUT_P1;                              /*!< Offset: 0x4  */
4167   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P2_TypeDef CFG_STARVE_TIMEOUT_P2;                              /*!< Offset: 0x8  */
4168   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P3_TypeDef CFG_STARVE_TIMEOUT_P3;                              /*!< Offset: 0xc  */
4169   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P4_TypeDef CFG_STARVE_TIMEOUT_P4;                              /*!< Offset: 0x10  */
4170   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P5_TypeDef CFG_STARVE_TIMEOUT_P5;                              /*!< Offset: 0x14  */
4171   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P6_TypeDef CFG_STARVE_TIMEOUT_P6;                              /*!< Offset: 0x18  */
4172   __IO  DDR_CSR_APB_CFG_STARVE_TIMEOUT_P7_TypeDef CFG_STARVE_TIMEOUT_P7;                              /*!< Offset: 0x1c  */
4173   __I   uint32_t                       UNUSED_SPACE0[33];                                  /*!< Offset: 0x20 */
4174 } DDR_CSR_APB_MPFE_TypeDef;
4175 
4176 /*------------ REORDER register bundle definition -----------*/
4177 typedef struct
4178 {
4179   __IO  DDR_CSR_APB_CFG_REORDER_EN_TypeDef CFG_REORDER_EN;                                     /*!< Offset: 0x0  */
4180   __IO  DDR_CSR_APB_CFG_REORDER_QUEUE_EN_TypeDef CFG_REORDER_QUEUE_EN;                               /*!< Offset: 0x4  */
4181   __IO  DDR_CSR_APB_CFG_INTRAPORT_REORDER_EN_TypeDef CFG_INTRAPORT_REORDER_EN;                           /*!< Offset: 0x8  */
4182   __IO  DDR_CSR_APB_CFG_MAINTAIN_COHERENCY_TypeDef CFG_MAINTAIN_COHERENCY;                             /*!< Offset: 0xc  */
4183   __IO  DDR_CSR_APB_CFG_Q_AGE_LIMIT_TypeDef CFG_Q_AGE_LIMIT;                                    /*!< Offset: 0x10  */
4184   __I   uint32_t                       UNUSED_SPACE0;                                      /*!< Offset: 0x14 */
4185   __IO  DDR_CSR_APB_CFG_RO_CLOSED_PAGE_POLICY_TypeDef CFG_RO_CLOSED_PAGE_POLICY;                          /*!< Offset: 0x18  */
4186   __IO  DDR_CSR_APB_CFG_REORDER_RW_ONLY_TypeDef CFG_REORDER_RW_ONLY;                                /*!< Offset: 0x1c  */
4187   __IO  DDR_CSR_APB_CFG_RO_PRIORITY_EN_TypeDef CFG_RO_PRIORITY_EN;                                 /*!< Offset: 0x20  */
4188 } DDR_CSR_APB_REORDER_TypeDef;
4189 
4190 /*------------ RMW register bundle definition -----------*/
4191 typedef struct
4192 {
4193   __IO  DDR_CSR_APB_CFG_DM_EN_TypeDef  CFG_DM_EN;                                          /*!< Offset: 0x0  */
4194   __IO  DDR_CSR_APB_CFG_RMW_EN_TypeDef CFG_RMW_EN;                                         /*!< Offset: 0x4  */
4195 } DDR_CSR_APB_RMW_TypeDef;
4196 
4197 /*------------ ECC register bundle definition -----------*/
4198 typedef struct
4199 {
4200   __IO  DDR_CSR_APB_CFG_ECC_CORRECTION_EN_TypeDef CFG_ECC_CORRECTION_EN;                              /*!< Offset: 0x0  */
4201   __I   uint32_t                       UNUSED_SPACE0[15];                                  /*!< Offset: 0x4 */
4202   __IO  DDR_CSR_APB_CFG_ECC_BYPASS_TypeDef CFG_ECC_BYPASS;                                     /*!< Offset: 0x40  */
4203   __IO  DDR_CSR_APB_INIT_WRITE_DATA_1B_ECC_ERROR_GEN_TypeDef INIT_WRITE_DATA_1B_ECC_ERROR_GEN;                   /*!< Offset: 0x44  */
4204   __IO  DDR_CSR_APB_INIT_WRITE_DATA_2B_ECC_ERROR_GEN_TypeDef INIT_WRITE_DATA_2B_ECC_ERROR_GEN;                   /*!< Offset: 0x48  */
4205   __I   uint32_t                       UNUSED_SPACE1[4];                                   /*!< Offset: 0x4c */
4206   __IO  DDR_CSR_APB_CFG_ECC_1BIT_INT_THRESH_TypeDef CFG_ECC_1BIT_INT_THRESH;                            /*!< Offset: 0x5c  */
4207   __I   DDR_CSR_APB_STAT_INT_ECC_1BIT_THRESH_TypeDef STAT_INT_ECC_1BIT_THRESH;                           /*!< Offset: 0x60  */
4208   __I   uint32_t                       UNUSED_SPACE2[2];                                   /*!< Offset: 0x64 */
4209 } DDR_CSR_APB_ECC_TypeDef;
4210 
4211 /*------------ READ_CAPT register bundle definition -----------*/
4212 typedef struct
4213 {
4214   __IO  DDR_CSR_APB_INIT_READ_CAPTURE_ADDR_TypeDef INIT_READ_CAPTURE_ADDR;                             /*!< Offset: 0x0  */
4215   __I   DDR_CSR_APB_INIT_READ_CAPTURE_DATA_0_TypeDef INIT_READ_CAPTURE_DATA_0;                           /*!< Offset: 0x4  */
4216   __I   DDR_CSR_APB_INIT_READ_CAPTURE_DATA_1_TypeDef INIT_READ_CAPTURE_DATA_1;                           /*!< Offset: 0x8  */
4217   __I   DDR_CSR_APB_INIT_READ_CAPTURE_DATA_2_TypeDef INIT_READ_CAPTURE_DATA_2;                           /*!< Offset: 0xc  */
4218   __I   DDR_CSR_APB_INIT_READ_CAPTURE_DATA_3_TypeDef INIT_READ_CAPTURE_DATA_3;                           /*!< Offset: 0x10  */
4219   __I   DDR_CSR_APB_INIT_READ_CAPTURE_DATA_4_TypeDef INIT_READ_CAPTURE_DATA_4;                           /*!< Offset: 0x14  */
4220   __I   uint32_t                       UNUSED_SPACE0[12];                                  /*!< Offset: 0x18 */
4221 } DDR_CSR_APB_READ_CAPT_TypeDef;
4222 
4223 /*------------ MTA register bundle definition -----------*/
4224 typedef struct
4225 {
4226   __IO  DDR_CSR_APB_CFG_ERROR_GROUP_SEL_TypeDef CFG_ERROR_GROUP_SEL;                                /*!< Offset: 0x0  */
4227   __IO  DDR_CSR_APB_CFG_DATA_SEL_TypeDef CFG_DATA_SEL;                                       /*!< Offset: 0x4  */
4228   __IO  DDR_CSR_APB_CFG_TRIG_MODE_TypeDef CFG_TRIG_MODE;                                      /*!< Offset: 0x8  */
4229   __IO  DDR_CSR_APB_CFG_POST_TRIG_CYCS_TypeDef CFG_POST_TRIG_CYCS;                                 /*!< Offset: 0xc  */
4230   __IO  DDR_CSR_APB_CFG_TRIG_MASK_TypeDef CFG_TRIG_MASK;                                      /*!< Offset: 0x10  */
4231   __IO  DDR_CSR_APB_CFG_EN_MASK_TypeDef CFG_EN_MASK;                                        /*!< Offset: 0x14  */
4232   __IO  DDR_CSR_APB_MTC_ACQ_ADDR_TypeDef MTC_ACQ_ADDR;                                       /*!< Offset: 0x18  */
4233   __I   DDR_CSR_APB_MTC_ACQ_CYCS_STORED_TypeDef MTC_ACQ_CYCS_STORED;                                /*!< Offset: 0x1c  */
4234   __I   DDR_CSR_APB_MTC_ACQ_TRIG_DETECT_TypeDef MTC_ACQ_TRIG_DETECT;                                /*!< Offset: 0x20  */
4235   __I   DDR_CSR_APB_MTC_ACQ_MEM_TRIG_ADDR_TypeDef MTC_ACQ_MEM_TRIG_ADDR;                              /*!< Offset: 0x24  */
4236   __I   DDR_CSR_APB_MTC_ACQ_MEM_LAST_ADDR_TypeDef MTC_ACQ_MEM_LAST_ADDR;                              /*!< Offset: 0x28  */
4237   __I   DDR_CSR_APB_MTC_ACK_TypeDef    MTC_ACK;                                            /*!< Offset: 0x2c  */
4238   __IO  DDR_CSR_APB_CFG_TRIG_MT_ADDR_0_TypeDef CFG_TRIG_MT_ADDR_0;                                 /*!< Offset: 0x30  */
4239   __IO  DDR_CSR_APB_CFG_TRIG_MT_ADDR_1_TypeDef CFG_TRIG_MT_ADDR_1;                                 /*!< Offset: 0x34  */
4240   __IO  DDR_CSR_APB_CFG_TRIG_ERR_MASK_0_TypeDef CFG_TRIG_ERR_MASK_0;                                /*!< Offset: 0x38  */
4241   __IO  DDR_CSR_APB_CFG_TRIG_ERR_MASK_1_TypeDef CFG_TRIG_ERR_MASK_1;                                /*!< Offset: 0x3c  */
4242   __IO  DDR_CSR_APB_CFG_TRIG_ERR_MASK_2_TypeDef CFG_TRIG_ERR_MASK_2;                                /*!< Offset: 0x40  */
4243   __IO  DDR_CSR_APB_CFG_TRIG_ERR_MASK_3_TypeDef CFG_TRIG_ERR_MASK_3;                                /*!< Offset: 0x44  */
4244   __IO  DDR_CSR_APB_CFG_TRIG_ERR_MASK_4_TypeDef CFG_TRIG_ERR_MASK_4;                                /*!< Offset: 0x48  */
4245   __IO  DDR_CSR_APB_MTC_ACQ_WR_DATA_0_TypeDef MTC_ACQ_WR_DATA_0;                                  /*!< Offset: 0x4c  */
4246   __IO  DDR_CSR_APB_MTC_ACQ_WR_DATA_1_TypeDef MTC_ACQ_WR_DATA_1;                                  /*!< Offset: 0x50  */
4247   __IO  DDR_CSR_APB_MTC_ACQ_WR_DATA_2_TypeDef MTC_ACQ_WR_DATA_2;                                  /*!< Offset: 0x54  */
4248   __I   DDR_CSR_APB_MTC_ACQ_RD_DATA_0_TypeDef MTC_ACQ_RD_DATA_0;                                  /*!< Offset: 0x58  */
4249   __I   DDR_CSR_APB_MTC_ACQ_RD_DATA_1_TypeDef MTC_ACQ_RD_DATA_1;                                  /*!< Offset: 0x5c  */
4250   __I   DDR_CSR_APB_MTC_ACQ_RD_DATA_2_TypeDef MTC_ACQ_RD_DATA_2;                                  /*!< Offset: 0x60  */
4251   __I   uint32_t                       UNUSED_SPACE0[50];                                  /*!< Offset: 0x64 */
4252   __IO  DDR_CSR_APB_CFG_PRE_TRIG_CYCS_TypeDef CFG_PRE_TRIG_CYCS;                                  /*!< Offset: 0x12c  */
4253   __I   uint32_t                       UNUSED_SPACE1[2];                                   /*!< Offset: 0x130 */
4254   __I   DDR_CSR_APB_MTC_ACQ_ERROR_CNT_TypeDef MTC_ACQ_ERROR_CNT;                                  /*!< Offset: 0x138  */
4255   __I   uint32_t                       UNUSED_SPACE2[2];                                   /*!< Offset: 0x13c */
4256   __I   DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OVFL_TypeDef MTC_ACQ_ERROR_CNT_OVFL;                             /*!< Offset: 0x144  */
4257   __I   uint32_t                       UNUSED_SPACE3[2];                                   /*!< Offset: 0x148 */
4258   __IO  DDR_CSR_APB_CFG_DATA_SEL_FIRST_ERROR_TypeDef CFG_DATA_SEL_FIRST_ERROR;                           /*!< Offset: 0x150  */
4259   __I   uint32_t                       UNUSED_SPACE4[2];                                   /*!< Offset: 0x154 */
4260 } DDR_CSR_APB_MTA_TypeDef;
4261 
4262 /*------------ DYN_WIDTH_ADJ register bundle definition -----------*/
4263 typedef struct
4264 {
4265   __IO  DDR_CSR_APB_CFG_DQ_WIDTH_TypeDef CFG_DQ_WIDTH;                                       /*!< Offset: 0x0  */
4266   __IO  DDR_CSR_APB_CFG_ACTIVE_DQ_SEL_TypeDef CFG_ACTIVE_DQ_SEL;                                  /*!< Offset: 0x4  */
4267 } DDR_CSR_APB_DYN_WIDTH_ADJ_TypeDef;
4268 
4269 /*------------ CA_PAR_ERR register bundle definition -----------*/
4270 typedef struct
4271 {
4272   __I   DDR_CSR_APB_STAT_CA_PARITY_ERROR_TypeDef STAT_CA_PARITY_ERROR;                               /*!< Offset: 0x0  */
4273   __I   uint32_t                       UNUSED_SPACE0[2];                                   /*!< Offset: 0x4 */
4274   __IO  DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_REQ_TypeDef INIT_CA_PARITY_ERROR_GEN_REQ;                       /*!< Offset: 0xc  */
4275   __IO  DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_CMD_TypeDef INIT_CA_PARITY_ERROR_GEN_CMD;                       /*!< Offset: 0x10  */
4276   __I   DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_ACK_TypeDef INIT_CA_PARITY_ERROR_GEN_ACK;                       /*!< Offset: 0x14  */
4277   __I   uint32_t                       UNUSED_SPACE1[2];                                   /*!< Offset: 0x18 */
4278 } DDR_CSR_APB_CA_PAR_ERR_TypeDef;
4279 
4280 /*------------ DFI register bundle definition -----------*/
4281 typedef struct
4282 {
4283   __IO  DDR_CSR_APB_CFG_DFI_T_RDDATA_EN_TypeDef CFG_DFI_T_RDDATA_EN;                                /*!< Offset: 0x0  */
4284   __IO  DDR_CSR_APB_CFG_DFI_T_PHY_RDLAT_TypeDef CFG_DFI_T_PHY_RDLAT;                                /*!< Offset: 0x4  */
4285   __IO  DDR_CSR_APB_CFG_DFI_T_PHY_WRLAT_TypeDef CFG_DFI_T_PHY_WRLAT;                                /*!< Offset: 0x8  */
4286   __IO  DDR_CSR_APB_CFG_DFI_PHYUPD_EN_TypeDef CFG_DFI_PHYUPD_EN;                                  /*!< Offset: 0xc  */
4287   __IO  DDR_CSR_APB_INIT_DFI_LP_DATA_REQ_TypeDef INIT_DFI_LP_DATA_REQ;                               /*!< Offset: 0x10  */
4288   __IO  DDR_CSR_APB_INIT_DFI_LP_CTRL_REQ_TypeDef INIT_DFI_LP_CTRL_REQ;                               /*!< Offset: 0x14  */
4289   __I   DDR_CSR_APB_STAT_DFI_LP_ACK_TypeDef STAT_DFI_LP_ACK;                                    /*!< Offset: 0x18  */
4290   __IO  DDR_CSR_APB_INIT_DFI_LP_WAKEUP_TypeDef INIT_DFI_LP_WAKEUP;                                 /*!< Offset: 0x1c  */
4291   __IO  DDR_CSR_APB_INIT_DFI_DRAM_CLK_DISABLE_TypeDef INIT_DFI_DRAM_CLK_DISABLE;                          /*!< Offset: 0x20  */
4292   __I   DDR_CSR_APB_STAT_DFI_TRAINING_ERROR_TypeDef STAT_DFI_TRAINING_ERROR;                            /*!< Offset: 0x24  */
4293   __I   DDR_CSR_APB_STAT_DFI_ERROR_TypeDef STAT_DFI_ERROR;                                     /*!< Offset: 0x28  */
4294   __I   DDR_CSR_APB_STAT_DFI_ERROR_INFO_TypeDef STAT_DFI_ERROR_INFO;                                /*!< Offset: 0x2c  */
4295   __IO  DDR_CSR_APB_CFG_DFI_DATA_BYTE_DISABLE_TypeDef CFG_DFI_DATA_BYTE_DISABLE;                          /*!< Offset: 0x30  */
4296   __I   DDR_CSR_APB_STAT_DFI_INIT_COMPLETE_TypeDef STAT_DFI_INIT_COMPLETE;                             /*!< Offset: 0x34  */
4297   __I   DDR_CSR_APB_STAT_DFI_TRAINING_COMPLETE_TypeDef STAT_DFI_TRAINING_COMPLETE;                         /*!< Offset: 0x38  */
4298   __IO  DDR_CSR_APB_CFG_DFI_LVL_SEL_TypeDef CFG_DFI_LVL_SEL;                                    /*!< Offset: 0x3c  */
4299   __IO  DDR_CSR_APB_CFG_DFI_LVL_PERIODIC_TypeDef CFG_DFI_LVL_PERIODIC;                               /*!< Offset: 0x40  */
4300   __IO  DDR_CSR_APB_CFG_DFI_LVL_PATTERN_TypeDef CFG_DFI_LVL_PATTERN;                                /*!< Offset: 0x44  */
4301   __I   uint32_t                       UNUSED_SPACE0[2];                                   /*!< Offset: 0x48 */
4302   __IO  DDR_CSR_APB_PHY_DFI_INIT_START_TypeDef PHY_DFI_INIT_START;                                 /*!< Offset: 0x50  */
4303   __I   uint32_t                       UNUSED_SPACE1;                                      /*!< Offset: 0x54 */
4304 } DDR_CSR_APB_DFI_TypeDef;
4305 
4306 /*------------ AXI_IF register bundle definition -----------*/
4307 typedef struct
4308 {
4309   __I   uint32_t                       UNUSED_SPACE0[6];                                   /*!< Offset: 0x0 */
4310   __IO  DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_0_TypeDef CFG_AXI_START_ADDRESS_AXI1_0;                       /*!< Offset: 0x18  */
4311   __IO  DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_1_TypeDef CFG_AXI_START_ADDRESS_AXI1_1;                       /*!< Offset: 0x1c  */
4312   __IO  DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_0_TypeDef CFG_AXI_START_ADDRESS_AXI2_0;                       /*!< Offset: 0x20  */
4313   __IO  DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_1_TypeDef CFG_AXI_START_ADDRESS_AXI2_1;                       /*!< Offset: 0x24  */
4314   __I   uint32_t                       UNUSED_SPACE1[188];                                 /*!< Offset: 0x28 */
4315   __IO  DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_0_TypeDef CFG_AXI_END_ADDRESS_AXI1_0;                         /*!< Offset: 0x318  */
4316   __IO  DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_1_TypeDef CFG_AXI_END_ADDRESS_AXI1_1;                         /*!< Offset: 0x31c  */
4317   __IO  DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_0_TypeDef CFG_AXI_END_ADDRESS_AXI2_0;                         /*!< Offset: 0x320  */
4318   __IO  DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_1_TypeDef CFG_AXI_END_ADDRESS_AXI2_1;                         /*!< Offset: 0x324  */
4319   __I   uint32_t                       UNUSED_SPACE2[188];                                 /*!< Offset: 0x328 */
4320   __IO  DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_0_TypeDef CFG_MEM_START_ADDRESS_AXI1_0;                       /*!< Offset: 0x618  */
4321   __IO  DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_1_TypeDef CFG_MEM_START_ADDRESS_AXI1_1;                       /*!< Offset: 0x61c  */
4322   __IO  DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_0_TypeDef CFG_MEM_START_ADDRESS_AXI2_0;                       /*!< Offset: 0x620  */
4323   __IO  DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_1_TypeDef CFG_MEM_START_ADDRESS_AXI2_1;                       /*!< Offset: 0x624  */
4324   __I   uint32_t                       UNUSED_SPACE3[187];                                 /*!< Offset: 0x628 */
4325   __IO  DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI1_TypeDef CFG_ENABLE_BUS_HOLD_AXI1;                           /*!< Offset: 0x914  */
4326   __IO  DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI2_TypeDef CFG_ENABLE_BUS_HOLD_AXI2;                           /*!< Offset: 0x918  */
4327   __I   uint32_t                       UNUSED_SPACE4[93];                                  /*!< Offset: 0x91c */
4328   __IO  DDR_CSR_APB_CFG_AXI_AUTO_PCH_TypeDef CFG_AXI_AUTO_PCH;                                   /*!< Offset: 0xa90  */
4329 } DDR_CSR_APB_AXI_IF_TypeDef;
4330 
4331 /*------------ csr_custom register bundle definition -----------*/
4332 typedef struct
4333 {
4334   __IO  DDR_CSR_APB_PHY_RESET_CONTROL_TypeDef PHY_RESET_CONTROL;                                  /*!< Offset: 0x0  */
4335   __IO  DDR_CSR_APB_PHY_PC_RANK_TypeDef PHY_PC_RANK;                                        	/*!< Offset: 0x4  */
4336   __IO  DDR_CSR_APB_PHY_RANKS_TO_TRAIN_TypeDef PHY_RANKS_TO_TRAIN;                                 /*!< Offset: 0x8  */
4337   __IO  DDR_CSR_APB_PHY_WRITE_REQUEST_TypeDef PHY_WRITE_REQUEST;                                  /*!< Offset: 0xc  */
4338   __I   DDR_CSR_APB_PHY_WRITE_REQUEST_DONE_TypeDef PHY_WRITE_REQUEST_DONE;                             /*!< Offset: 0x10  */
4339   __IO  DDR_CSR_APB_PHY_READ_REQUEST_TypeDef PHY_READ_REQUEST;                                   /*!< Offset: 0x14  */
4340   __I   DDR_CSR_APB_PHY_READ_REQUEST_DONE_TypeDef PHY_READ_REQUEST_DONE;                              /*!< Offset: 0x18  */
4341   __IO  DDR_CSR_APB_PHY_WRITE_LEVEL_DELAY_TypeDef PHY_WRITE_LEVEL_DELAY;                              /*!< Offset: 0x1c  */
4342   __IO  DDR_CSR_APB_PHY_GATE_TRAIN_DELAY_TypeDef PHY_GATE_TRAIN_DELAY;                               /*!< Offset: 0x20  */
4343   __IO  DDR_CSR_APB_PHY_EYE_TRAIN_DELAY_TypeDef PHY_EYE_TRAIN_DELAY;                                /*!< Offset: 0x24  */
4344   __IO  DDR_CSR_APB_PHY_EYE_PAT_TypeDef PHY_EYE_PAT;                                        /*!< Offset: 0x28  */
4345   __IO  DDR_CSR_APB_PHY_START_RECAL_TypeDef PHY_START_RECAL;                                    /*!< Offset: 0x2c  */
4346   __IO  DDR_CSR_APB_PHY_CLR_DFI_LVL_PERIODIC_TypeDef PHY_CLR_DFI_LVL_PERIODIC;                           /*!< Offset: 0x30  */
4347   __IO  DDR_CSR_APB_PHY_TRAIN_STEP_ENABLE_TypeDef PHY_TRAIN_STEP_ENABLE;                              /*!< Offset: 0x34  */
4348   __IO  DDR_CSR_APB_PHY_LPDDR_DQ_CAL_PAT_TypeDef PHY_LPDDR_DQ_CAL_PAT;                               /*!< Offset: 0x38  */
4349   __IO  DDR_CSR_APB_PHY_INDPNDT_TRAINING_TypeDef PHY_INDPNDT_TRAINING;                               /*!< Offset: 0x3c  */
4350   __IO  DDR_CSR_APB_PHY_ENCODED_QUAD_CS_TypeDef PHY_ENCODED_QUAD_CS;                                /*!< Offset: 0x40  */
4351   __IO  DDR_CSR_APB_PHY_HALF_CLK_DLY_ENABLE_TypeDef PHY_HALF_CLK_DLY_ENABLE;                            /*!< Offset: 0x44  */
4352   __I   uint32_t                       UNUSED_SPACE0[25];                                  /*!< Offset: 0x48 */
4353 } DDR_CSR_APB_csr_custom_TypeDef;
4354 
4355 /*------------ DDR_CSR_APB definition -----------*/
4356 typedef struct
4357 {
4358   __I   uint32_t                       UNUSED_SPACE0[2304];                                /*!< Offset: 0x0 */
4359   __IO  DDR_CSR_APB_ADDR_MAP_TypeDef ADDR_MAP;              /*!< Offset: 0x2400 */
4360   __I   uint32_t                       UNUSED_SPACE1[242];                                 /*!< Offset: 0x2438 */
4361   __IO  DDR_CSR_APB_MC_BASE3_TypeDef MC_BASE3;              /*!< Offset: 0x2800 */
4362   __I   uint32_t                       UNUSED_SPACE2[1204];                                /*!< Offset: 0x2930 */
4363   __IO  DDR_CSR_APB_MC_BASE1_TypeDef MC_BASE1;              /*!< Offset: 0x3c00 */
4364   __I   uint32_t                       UNUSED_SPACE3[147];                                 /*!< Offset: 0x3db4 */
4365   __IO  DDR_CSR_APB_MC_BASE2_TypeDef MC_BASE2;              /*!< Offset: 0x4000 */
4366   __IO  DDR_CSR_APB_MEM_TEST_TypeDef MEM_TEST;              /*!< Offset: 0x4400 */
4367   __I   uint32_t                       UNUSED_SPACE4[350];                                 /*!< Offset: 0x4688 */
4368   __IO  DDR_CSR_APB_MPFE_TypeDef MPFE;                      /*!< Offset: 0x4c00 */
4369   __I   uint32_t                       UNUSED_SPACE5[215];                                 /*!< Offset: 0x4ca4 */
4370   __IO  DDR_CSR_APB_REORDER_TypeDef REORDER;                /*!< Offset: 0x5000 */
4371   __I   uint32_t                       UNUSED_SPACE6[247];                                 /*!< Offset: 0x5024 */
4372   __IO  DDR_CSR_APB_RMW_TypeDef RMW;                        /*!< Offset: 0x5400 */
4373   __I   uint32_t                       UNUSED_SPACE7[254];                                 /*!< Offset: 0x5408 */
4374   __IO  DDR_CSR_APB_ECC_TypeDef ECC;                        /*!< Offset: 0x5800 */
4375   __I   uint32_t                       UNUSED_SPACE8[229];                                 /*!< Offset: 0x586c */
4376   __IO  DDR_CSR_APB_READ_CAPT_TypeDef READ_CAPT;            /*!< Offset: 0x5c00 */
4377   __I   uint32_t                       UNUSED_SPACE9[494];                                 /*!< Offset: 0x5c48 */
4378   __IO  DDR_CSR_APB_MTA_TypeDef MTA;                        /*!< Offset: 0x6400 */
4379   __I   uint32_t                       UNUSED_SPACE10[1449];                               /*!< Offset: 0x655c */
4380   __IO  DDR_CSR_APB_DYN_WIDTH_ADJ_TypeDef DYN_WIDTH_ADJ;    /*!< Offset: 0x7c00 */
4381   __I   uint32_t                       UNUSED_SPACE11[254];                                /*!< Offset: 0x7c08 */
4382   __IO  DDR_CSR_APB_CA_PAR_ERR_TypeDef CA_PAR_ERR;          /*!< Offset: 0x8000 */
4383   __I   uint32_t                       UNUSED_SPACE12[8184];                               /*!< Offset: 0x8020 */
4384   __IO  DDR_CSR_APB_DFI_TypeDef DFI;                        /*!< Offset: 0x10000 */
4385   __I   uint32_t                       UNUSED_SPACE13[2794];                               /*!< Offset: 0x10058 */
4386   __IO  DDR_CSR_APB_AXI_IF_TypeDef AXI_IF;                  /*!< Offset: 0x12c00 */
4387   __I   uint32_t                       UNUSED_SPACE14[41563];                              /*!< Offset: 0x13694 */
4388   __IO  DDR_CSR_APB_csr_custom_TypeDef csr_custom;          /*!< Offset: 0x3c000 */
4389 } DDR_CSR_APB_TypeDef;
4390 
4391 
4392 /*============================== IOSCBCFG definitions ===========================*/
4393 
4394 typedef union{                                                         /*!< CONTROL__1 register definition*/
4395   __IO  uint32_t                       CONTROL__1;
4396   struct
4397   {
4398     __IO  uint32_t                       INTEN_SCB            :1;
4399     __IO  uint32_t                       INTEN_ERROR          :1;
4400     __IO  uint32_t                       INTEN_TIMEOUT        :1;
4401     __IO  uint32_t                       INTEN_BUSERR         :1;
4402     __I   uint32_t                       Reserved             :4;
4403     __IO  uint32_t                       RESET_CYCLE          :1;
4404     __I   uint32_t                       Reserved1            :7;
4405     __IO  uint32_t                       SCBCLOCK_ON          :1;
4406     __I   uint32_t                       Reserved2            :15;
4407   } bitfield;
4408 } IOSCBCFG_CONTROL__1_TypeDef;
4409 
4410 typedef union{                                                         /*!< STATUS register definition*/
4411   __I   uint32_t                       STATUS;
4412   struct
4413   {
4414     __I   uint32_t                       SCB_INTERRUPT        :1;
4415     __I   uint32_t                       SCB_ERROR            :1;
4416     __I   uint32_t                       TIMEOUT              :1;
4417     __I   uint32_t                       SCB_BUSERR           :1;
4418     __I   uint32_t                       Reserved             :28;
4419   } bitfield;
4420 } IOSCBCFG_STATUS_TypeDef;
4421 
4422 typedef union{                                                         /*!< TIMER register definition*/
4423   __IO  uint32_t                       TIMER;
4424   struct
4425   {
4426     __IO  uint32_t                       TIMEOUT              :8;
4427     __IO  uint32_t                       REQUEST_TIME         :8;
4428     __I   uint32_t                       Reserved             :16;
4429   } bitfield;
4430 } IOSCBCFG_TIMER_TypeDef;
4431 
4432 /*------------ IOSCBCFG definition -----------*/
4433 typedef struct
4434 {
4435   __IO  IOSCBCFG_CONTROL__1_TypeDef    CONTROL__1;                                         /*!< Offset: 0x0  */
4436   __I   IOSCBCFG_STATUS_TypeDef        STATUS;                                             /*!< Offset: 0x4  */
4437   __IO  IOSCBCFG_TIMER_TypeDef         TIMER;                                              /*!< Offset: 0x8  */
4438 } IOSCBCFG_TypeDef;
4439 
4440 
4441 /*============================== g5_mss_top_scb_regs definitions ===========================*/
4442 
4443 typedef union{                                                         /*!< SOFT_RESET register definition*/
4444   __IO  uint32_t                       SOFT_RESET;
4445   struct
4446   {
4447     __O   uint32_t                       NV_MAP               :1;
4448     __O   uint32_t                       V_MAP                :1;
4449     __I   uint32_t                       reserved_01          :6;
4450     __O   uint32_t                       PERIPH               :1;
4451     __I   uint32_t                       reserved_02          :7;
4452     __I   uint32_t                       BLOCKID              :16;
4453   } bitfield;
4454 } g5_mss_top_scb_regs_SOFT_RESET_TypeDef;
4455 
4456 typedef union{                                                         /*!< AXI_WSETUP register definition*/
4457   __IO  uint32_t                       AXI_WSETUP;
4458   struct
4459   {
4460     __IO  uint32_t                       ADDR                 :6;
4461     __IO  uint32_t                       BURST                :2;
4462     __IO  uint32_t                       LENGTH               :8;
4463     __IO  uint32_t                       SIZE                 :3;
4464     __IO  uint32_t                       LOCK                 :1;
4465     __IO  uint32_t                       CACHE                :4;
4466     __IO  uint32_t                       PROT                 :3;
4467     __IO  uint32_t                       QOS                  :4;
4468     __IO  uint32_t                       SYSTEM               :1;
4469   } bitfield;
4470 } g5_mss_top_scb_regs_AXI_WSETUP_TypeDef;
4471 
4472 typedef union{                                                         /*!< AXI_WADDR register definition*/
4473   __IO  uint32_t                       AXI_WADDR;
4474   struct
4475   {
4476     __IO  uint32_t                       ADDR                 :32;
4477   } bitfield;
4478 } g5_mss_top_scb_regs_AXI_WADDR_TypeDef;
4479 
4480 typedef union{                                                         /*!< AXI_WDATA register definition*/
4481   __IO  uint32_t                       AXI_WDATA;
4482   struct
4483   {
4484     __IO  uint32_t                       DATA                 :32;
4485   } bitfield;
4486 } g5_mss_top_scb_regs_AXI_WDATA_TypeDef;
4487 
4488 typedef union{                                                         /*!< AXI_RSETUP register definition*/
4489   __IO  uint32_t                       AXI_RSETUP;
4490   struct
4491   {
4492     __IO  uint32_t                       ADDR                 :6;
4493     __IO  uint32_t                       BURST                :2;
4494     __IO  uint32_t                       LENGTH               :8;
4495     __IO  uint32_t                       SIZE                 :3;
4496     __IO  uint32_t                       LOCK                 :1;
4497     __IO  uint32_t                       CACHE                :4;
4498     __IO  uint32_t                       PROT                 :3;
4499     __IO  uint32_t                       QOS                  :4;
4500     __IO  uint32_t                       SYSTEM               :1;
4501   } bitfield;
4502 } g5_mss_top_scb_regs_AXI_RSETUP_TypeDef;
4503 
4504 typedef union{                                                         /*!< AXI_RADDR register definition*/
4505   __IO  uint32_t                       AXI_RADDR;
4506   struct
4507   {
4508     __IO  uint32_t                       ADDR                 :32;
4509   } bitfield;
4510 } g5_mss_top_scb_regs_AXI_RADDR_TypeDef;
4511 
4512 typedef union{                                                         /*!< AXI_RDATA register definition*/
4513   __IO  uint32_t                       AXI_RDATA;
4514   struct
4515   {
4516     __IO  uint32_t                       DATA                 :32;
4517   } bitfield;
4518 } g5_mss_top_scb_regs_AXI_RDATA_TypeDef;
4519 
4520 typedef union{                                                         /*!< AXI_STATUS register definition*/
4521   __IO  uint32_t                       AXI_STATUS;
4522   struct
4523   {
4524     __IO  uint32_t                       WRITE_BUSY           :1;
4525     __IO  uint32_t                       READ_BUSY            :1;
4526     __IO  uint32_t                       WRITE_ERROR          :1;
4527     __IO  uint32_t                       READ_ERROR           :1;
4528     __IO  uint32_t                       WRITE_COUNT          :5;
4529     __IO  uint32_t                       READ_COUNT           :5;
4530     __IO  uint32_t                       READ_OVERRUN         :1;
4531     __IO  uint32_t                       WRITE_OVERRUN        :1;
4532     __IO  uint32_t                       WRITE_RESPONSE       :2;
4533     __IO  uint32_t                       READ_RESPONSE        :2;
4534     __IO  uint32_t                       MSS_RESET            :1;
4535     __I   uint32_t                       reserved_01          :3;
4536     __IO  uint32_t                       INT_ENABLE_READ_ORUN :1;
4537     __IO  uint32_t                       INT_ENABLE_WRITE_ORUN :1;
4538     __IO  uint32_t                       INT_ENABLE_RRESP     :1;
4539     __IO  uint32_t                       INT_ENABLE_WRESP     :1;
4540     __IO  uint32_t                       INT_ENABLE_SYSREG    :1;
4541     __I   uint32_t                       reserved_02          :3;
4542   } bitfield;
4543 } g5_mss_top_scb_regs_AXI_STATUS_TypeDef;
4544 
4545 typedef union{                                                         /*!< AXI_CONTROL register definition*/
4546   __IO  uint32_t                       AXI_CONTROL;
4547   struct
4548   {
4549     __IO  uint32_t                       ABORT                :1;
4550     __I   uint32_t                       reserved_01          :7;
4551     __IO  uint32_t                       STALL_WRITE          :1;
4552     __I   uint32_t                       reserved_02          :7;
4553     __IO  uint32_t                       START_WRITE          :1;
4554     __I   uint32_t                       reserved_03          :15;
4555   } bitfield;
4556 } g5_mss_top_scb_regs_AXI_CONTROL_TypeDef;
4557 
4558 typedef union{                                                         /*!< REDUNDANCY register definition*/
4559   __IO  uint32_t                       REDUNDANCY;
4560   struct
4561   {
4562     __IO  uint32_t                       RESET                :1;
4563     __IO  uint32_t                       ISOLATE              :1;
4564     __IO  uint32_t                       NOCLOCK              :1;
4565     __I   uint32_t                       reserved_01          :29;
4566   } bitfield;
4567 } g5_mss_top_scb_regs_REDUNDANCY_TypeDef;
4568 
4569 typedef union{                                                         /*!< BIST_CONFIG register definition*/
4570   __IO  uint32_t                       BIST_CONFIG;
4571   struct
4572   {
4573     __I   uint32_t                       enabled              :1;
4574     __IO  uint32_t                       enable               :1;
4575     __IO  uint32_t                       reset                :1;
4576     __IO  uint32_t                       diag_select          :1;
4577     __I   uint32_t                       reserved_01          :4;
4578     __IO  uint32_t                       select               :5;
4579     __I   uint32_t                       reserved_02          :3;
4580     __IO  uint32_t                       margin               :3;
4581     __I   uint32_t                       reserved_03          :13;
4582   } bitfield;
4583 } g5_mss_top_scb_regs_BIST_CONFIG_TypeDef;
4584 
4585 typedef union{                                                         /*!< BIST_DATA register definition*/
4586   __IO  uint32_t                       BIST_DATA;
4587   struct
4588   {
4589     __IO  uint32_t                       data                 :32;
4590   } bitfield;
4591 } g5_mss_top_scb_regs_BIST_DATA_TypeDef;
4592 
4593 typedef union{                                                         /*!< BIST_COMMAND register definition*/
4594   __IO  uint32_t                       BIST_COMMAND;
4595   struct
4596   {
4597     __IO  uint32_t                       update               :1;
4598     __IO  uint32_t                       capture              :1;
4599     __IO  uint32_t                       shift                :1;
4600     __I   uint32_t                       busy                 :1;
4601     __I   uint32_t                       reserved_01          :4;
4602     __IO  uint32_t                       length               :7;
4603     __I   uint32_t                       reserved_02          :17;
4604   } bitfield;
4605 } g5_mss_top_scb_regs_BIST_COMMAND_TypeDef;
4606 
4607 typedef union{                                                         /*!< MSS_RESET_CR register definition*/
4608   __IO  uint32_t                       MSS_RESET_CR;
4609   struct
4610   {
4611     __IO  uint32_t                       CPU                  :1;
4612     __IO  uint32_t                       MSS                  :1;
4613     __I   uint32_t                       CPUINRESET           :1;
4614     __IO  uint32_t                       REBOOT_REQUEST       :1;
4615     __I   uint32_t                       reserved_01          :4;
4616     __IO  uint32_t                       SGMII                :1;
4617     __I   uint32_t                       reserved_02          :7;
4618     __I   uint32_t                       REASON               :9;
4619     __I   uint32_t                       reserved_03          :7;
4620   } bitfield;
4621 } g5_mss_top_scb_regs_MSS_RESET_CR_TypeDef;
4622 
4623 typedef union{                                                         /*!< MSS_STATUS register definition*/
4624   __IO  uint32_t                       MSS_STATUS;
4625   struct
4626   {
4627     __IO  uint32_t                       boot_status          :4;
4628     __I   uint32_t                       watchdog             :5;
4629     __I   uint32_t                       debug_active         :1;
4630     __I   uint32_t                       halt_cpu0            :1;
4631     __I   uint32_t                       halt_cpu1            :1;
4632     __I   uint32_t                       halt_cpu2            :1;
4633     __I   uint32_t                       halt_cpu3            :1;
4634     __I   uint32_t                       halt_cpu4            :1;
4635     __I   uint32_t                       ecc_error_l2         :1;
4636     __I   uint32_t                       ecc_error_other      :1;
4637     __I   uint32_t                       reserved_01          :15;
4638   } bitfield;
4639 } g5_mss_top_scb_regs_MSS_STATUS_TypeDef;
4640 
4641 typedef union{                                                         /*!< BOOT_ADDR0 register definition*/
4642   __IO  uint32_t                       BOOT_ADDR0;
4643   struct
4644   {
4645     __IO  uint32_t                       address              :32;
4646   } bitfield;
4647 } g5_mss_top_scb_regs_BOOT_ADDR0_TypeDef;
4648 
4649 typedef union{                                                         /*!< BOOT_ADDR1 register definition*/
4650   __IO  uint32_t                       BOOT_ADDR1;
4651   struct
4652   {
4653     __IO  uint32_t                       address              :32;
4654   } bitfield;
4655 } g5_mss_top_scb_regs_BOOT_ADDR1_TypeDef;
4656 
4657 typedef union{                                                         /*!< BOOT_ADDR2 register definition*/
4658   __IO  uint32_t                       BOOT_ADDR2;
4659   struct
4660   {
4661     __IO  uint32_t                       address              :32;
4662   } bitfield;
4663 } g5_mss_top_scb_regs_BOOT_ADDR2_TypeDef;
4664 
4665 typedef union{                                                         /*!< BOOT_ADDR3 register definition*/
4666   __IO  uint32_t                       BOOT_ADDR3;
4667   struct
4668   {
4669     __IO  uint32_t                       address              :32;
4670   } bitfield;
4671 } g5_mss_top_scb_regs_BOOT_ADDR3_TypeDef;
4672 
4673 typedef union{                                                         /*!< BOOT_ADDR4 register definition*/
4674   __IO  uint32_t                       BOOT_ADDR4;
4675   struct
4676   {
4677     __IO  uint32_t                       address              :32;
4678   } bitfield;
4679 } g5_mss_top_scb_regs_BOOT_ADDR4_TypeDef;
4680 
4681 typedef union{                                                         /*!< BOOT_ROM0 register definition*/
4682   __IO  uint32_t                       BOOT_ROM0;
4683   struct
4684   {
4685     __IO  uint32_t                       data                 :32;
4686   } bitfield;
4687 } g5_mss_top_scb_regs_BOOT_ROM0_TypeDef;
4688 
4689 typedef union{                                                         /*!< BOOT_ROM1 register definition*/
4690   __IO  uint32_t                       BOOT_ROM1;
4691   struct
4692   {
4693     __IO  uint32_t                       data                 :32;
4694   } bitfield;
4695 } g5_mss_top_scb_regs_BOOT_ROM1_TypeDef;
4696 
4697 typedef union{                                                         /*!< BOOT_ROM2 register definition*/
4698   __IO  uint32_t                       BOOT_ROM2;
4699   struct
4700   {
4701     __IO  uint32_t                       data                 :32;
4702   } bitfield;
4703 } g5_mss_top_scb_regs_BOOT_ROM2_TypeDef;
4704 
4705 typedef union{                                                         /*!< BOOT_ROM3 register definition*/
4706   __IO  uint32_t                       BOOT_ROM3;
4707   struct
4708   {
4709     __IO  uint32_t                       data                 :32;
4710   } bitfield;
4711 } g5_mss_top_scb_regs_BOOT_ROM3_TypeDef;
4712 
4713 typedef union{                                                         /*!< BOOT_ROM4 register definition*/
4714   __IO  uint32_t                       BOOT_ROM4;
4715   struct
4716   {
4717     __IO  uint32_t                       data                 :32;
4718   } bitfield;
4719 } g5_mss_top_scb_regs_BOOT_ROM4_TypeDef;
4720 
4721 typedef union{                                                         /*!< BOOT_ROM5 register definition*/
4722   __IO  uint32_t                       BOOT_ROM5;
4723   struct
4724   {
4725     __IO  uint32_t                       data                 :32;
4726   } bitfield;
4727 } g5_mss_top_scb_regs_BOOT_ROM5_TypeDef;
4728 
4729 typedef union{                                                         /*!< BOOT_ROM6 register definition*/
4730   __IO  uint32_t                       BOOT_ROM6;
4731   struct
4732   {
4733     __IO  uint32_t                       data                 :32;
4734   } bitfield;
4735 } g5_mss_top_scb_regs_BOOT_ROM6_TypeDef;
4736 
4737 typedef union{                                                         /*!< BOOT_ROM7 register definition*/
4738   __IO  uint32_t                       BOOT_ROM7;
4739   struct
4740   {
4741     __IO  uint32_t                       data                 :32;
4742   } bitfield;
4743 } g5_mss_top_scb_regs_BOOT_ROM7_TypeDef;
4744 
4745 typedef union{                                                         /*!< FLASH_FREEZE register definition*/
4746   __IO  uint32_t                       FLASH_FREEZE;
4747   struct
4748   {
4749     __IO  uint32_t                       in_progress          :1;
4750     __I   uint32_t                       reserved_01          :31;
4751   } bitfield;
4752 } g5_mss_top_scb_regs_FLASH_FREEZE_TypeDef;
4753 
4754 typedef union{                                                         /*!< G5CIO register definition*/
4755   __IO  uint32_t                       G5CIO;
4756   struct
4757   {
4758     __IO  uint32_t                       ioout                :1;
4759     __I   uint32_t                       reserved_01          :31;
4760   } bitfield;
4761 } g5_mss_top_scb_regs_G5CIO_TypeDef;
4762 
4763 typedef union{                                                         /*!< DEVICE_ID register definition*/
4764   __IO  uint32_t                       DEVICE_ID;
4765   struct
4766   {
4767     __IO  uint32_t                       idp                  :16;
4768     __IO  uint32_t                       idv                  :4;
4769     __I   uint32_t                       reserved_01          :12;
4770   } bitfield;
4771 } g5_mss_top_scb_regs_DEVICE_ID_TypeDef;
4772 
4773 typedef union{                                                         /*!< MESSAGE_INT register definition*/
4774   __IO  uint32_t                       MESSAGE_INT;
4775   struct
4776   {
4777     __IO  uint32_t                       active               :1;
4778     __I   uint32_t                       reserved_01          :31;
4779   } bitfield;
4780 } g5_mss_top_scb_regs_MESSAGE_INT_TypeDef;
4781 
4782 typedef union{                                                         /*!< MESSAGE register definition*/
4783   __IO  uint32_t                       MESSAGE;
4784   struct
4785   {
4786     __IO  uint32_t                       data                 :32;
4787   } bitfield;
4788 } g5_mss_top_scb_regs_MESSAGE_TypeDef;
4789 
4790 typedef union{                                                         /*!< DEVRST_INT register definition*/
4791   __IO  uint32_t                       DEVRST_INT;
4792   struct
4793   {
4794     __IO  uint32_t                       active               :1;
4795     __I   uint32_t                       reserved_01          :31;
4796   } bitfield;
4797 } g5_mss_top_scb_regs_DEVRST_INT_TypeDef;
4798 
4799 typedef union{                                                         /*!< SCB_INTERRUPT register definition*/
4800   __IO  uint32_t                       SCB_INTERRUPT;
4801   struct
4802   {
4803     __IO  uint32_t                       active               :1;
4804     __I   uint32_t                       reserved_01          :31;
4805   } bitfield;
4806 } g5_mss_top_scb_regs_SCB_INTERRUPT_TypeDef;
4807 
4808 typedef union{                                                         /*!< MSS_INTERRUPT register definition*/
4809   __IO  uint32_t                       MSS_INTERRUPT;
4810   struct
4811   {
4812     __IO  uint32_t                       active               :1;
4813     __I   uint32_t                       reserved_01          :31;
4814   } bitfield;
4815 } g5_mss_top_scb_regs_MSS_INTERRUPT_TypeDef;
4816 
4817 typedef union{                                                         /*!< DEVICE_CONFIG_CR register definition*/
4818   __IO  uint32_t                       DEVICE_CONFIG_CR;
4819   struct
4820   {
4821     __IO  uint32_t                       FACTORY_TEST_MODE    :1;
4822     __I   uint32_t                       RESERVED             :1;
4823     __IO  uint32_t                       CRYPTO_DISABLE       :1;
4824     __IO  uint32_t                       CAN_ALLOWED          :1;
4825     __IO  uint32_t                       CPU_ALLOWED          :1;
4826     __IO  uint32_t                       CPU_DISABLE          :1;
4827     __I   uint32_t                       reserved_01          :2;
4828     __IO  uint32_t                       CPU_BIST_DISABLE     :1;
4829     __I   uint32_t                       reserved_02          :7;
4830     __IO  uint32_t                       DISABLE_XIP          :1;
4831     __I   uint32_t                       reserved_03          :15;
4832   } bitfield;
4833 } g5_mss_top_scb_regs_DEVICE_CONFIG_CR_TypeDef;
4834 
4835 typedef union{                                                         /*!< ATHENA_CR register definition*/
4836   __IO  uint32_t                       ATHENA_CR;
4837   struct
4838   {
4839     __IO  uint32_t                       mss_mode             :3;
4840     __I   uint32_t                       reserved_01          :1;
4841     __IO  uint32_t                       stream_enable        :1;
4842     __I   uint32_t                       reserved_02          :27;
4843   } bitfield;
4844 } g5_mss_top_scb_regs_ATHENA_CR_TypeDef;
4845 
4846 typedef union{                                                         /*!< ENVM_CR register definition*/
4847   __IO  uint32_t                       ENVM_CR;
4848   struct
4849   {
4850     __IO  uint32_t                       clock_period         :6;
4851     __I   uint32_t                       reserved_01          :2;
4852     __IO  uint32_t                       clock_continuous     :1;
4853     __IO  uint32_t                       clock_suppress       :1;
4854     __I   uint32_t                       reserved_02          :6;
4855     __IO  uint32_t                       readahead            :1;
4856     __IO  uint32_t                       slowread             :1;
4857     __IO  uint32_t                       interrupt_enable     :1;
4858     __I   uint32_t                       reserved_03          :5;
4859     __IO  uint32_t                       timer                :8;
4860   } bitfield;
4861 } g5_mss_top_scb_regs_ENVM_CR_TypeDef;
4862 
4863 typedef union{                                                         /*!< ENVM_POWER_CR register definition*/
4864   __IO  uint32_t                       ENVM_POWER_CR;
4865   struct
4866   {
4867     __IO  uint32_t                       reset                :1;
4868     __IO  uint32_t                       pd1                  :1;
4869     __IO  uint32_t                       pd2                  :1;
4870     __IO  uint32_t                       pd3                  :1;
4871     __IO  uint32_t                       pd4                  :1;
4872     __IO  uint32_t                       iso                  :1;
4873     __IO  uint32_t                       sleep                :1;
4874     __I   uint32_t                       reserved_01          :1;
4875     __IO  uint32_t                       override             :1;
4876     __I   uint32_t                       reserved_02          :23;
4877   } bitfield;
4878 } g5_mss_top_scb_regs_ENVM_POWER_CR_TypeDef;
4879 
4880 typedef union{                                                         /*!< RAM_SHUTDOWN_CR register definition*/
4881   __IO  uint32_t                       RAM_SHUTDOWN_CR;
4882   struct
4883   {
4884     __IO  uint32_t                       can0                 :1;
4885     __IO  uint32_t                       can1                 :1;
4886     __IO  uint32_t                       usb                  :1;
4887     __IO  uint32_t                       gem0                 :1;
4888     __IO  uint32_t                       gem1                 :1;
4889     __IO  uint32_t                       mmc                  :1;
4890     __IO  uint32_t                       athena               :1;
4891     __IO  uint32_t                       ddrc                 :1;
4892     __IO  uint32_t                       e51                  :1;
4893     __IO  uint32_t                       u54_1                :1;
4894     __IO  uint32_t                       u54_2                :1;
4895     __IO  uint32_t                       u54_3                :1;
4896     __IO  uint32_t                       u54_4                :1;
4897     __IO  uint32_t                       l2                   :1;
4898     __I   uint32_t                       reserved_01          :18;
4899   } bitfield;
4900 } g5_mss_top_scb_regs_RAM_SHUTDOWN_CR_TypeDef;
4901 
4902 typedef union{                                                         /*!< RAM_MARGIN_CR register definition*/
4903   __IO  uint32_t                       RAM_MARGIN_CR;
4904   struct
4905   {
4906     __IO  uint32_t                       enable               :1;
4907     __IO  uint32_t                       can0                 :2;
4908     __IO  uint32_t                       can1                 :2;
4909     __IO  uint32_t                       usb                  :2;
4910     __IO  uint32_t                       gem0                 :2;
4911     __IO  uint32_t                       gem1                 :2;
4912     __IO  uint32_t                       mmc                  :2;
4913     __IO  uint32_t                       ddrc                 :2;
4914     __IO  uint32_t                       e51                  :2;
4915     __IO  uint32_t                       u54_1                :2;
4916     __IO  uint32_t                       u54_2                :2;
4917     __IO  uint32_t                       u54_3                :2;
4918     __IO  uint32_t                       u54_4                :2;
4919     __IO  uint32_t                       l2                   :2;
4920     __I   uint32_t                       reserved_01          :5;
4921   } bitfield;
4922 } g5_mss_top_scb_regs_RAM_MARGIN_CR_TypeDef;
4923 
4924 typedef union{                                                         /*!< TRACE_CR register definition*/
4925   __IO  uint32_t                       TRACE_CR;
4926   struct
4927   {
4928     __IO  uint32_t                       CPU_DEBUG_DISABLE    :1;
4929     __IO  uint32_t                       ULTRASOC_DISABLE_JTAG :1;
4930     __IO  uint32_t                       ULTRASOC_DISABLE_AXI :1;
4931     __I   uint32_t                       reserved_01          :5;
4932     __IO  uint32_t                       ULTRASOC_FABRIC      :1;
4933     __I   uint32_t                       reserved_02          :23;
4934   } bitfield;
4935 } g5_mss_top_scb_regs_TRACE_CR_TypeDef;
4936 
4937 typedef union{                                                         /*!< MSSIO_CONTROL_CR register definition*/
4938   __IO  uint32_t                       MSSIO_CONTROL_CR;
4939   struct
4940   {
4941     __IO  uint32_t                       lp_state_mss         :1;
4942     __IO  uint32_t                       lp_state_ip_mss      :1;
4943     __IO  uint32_t                       lp_state_op_mss      :1;
4944     __IO  uint32_t                       lp_state_persist_mss :1;
4945     __IO  uint32_t                       lp_state_bypass_mss  :1;
4946     __IO  uint32_t                       lp_pll_locked_mss    :1;
4947     __IO  uint32_t                       lp_stop_clocks_out_mss :1;
4948     __I   uint32_t                       lp_stop_clocks_done_mss :1;
4949     __IO  uint32_t                       mss_dce              :3;
4950     __IO  uint32_t                       mss_core_up          :1;
4951     __IO  uint32_t                       mss_flash_valid      :1;
4952     __IO  uint32_t                       mss_io_en            :1;
4953     __IO  uint32_t                       mss_sel_hw_dyn       :1;
4954     __IO  uint32_t                       mss_sel_hw_def       :1;
4955     __I   uint32_t                       reserved_01          :16;
4956   } bitfield;
4957 } g5_mss_top_scb_regs_MSSIO_CONTROL_CR_TypeDef;
4958 
4959 typedef union{                                                         /*!< MSS_IO_LOCKDOWN_CR register definition*/
4960   __I   uint32_t                       MSS_IO_LOCKDOWN_CR;
4961   struct
4962   {
4963     __I   uint32_t                       mssio_b2_lockdn_en   :1;
4964     __I   uint32_t                       mssio_b4_lockdn_en   :1;
4965     __I   uint32_t                       sgmii_io_lockdn_en   :1;
4966     __I   uint32_t                       ddr_io_lockdn_en     :1;
4967     __I   uint32_t                       reserved_01          :28;
4968   } bitfield;
4969 } g5_mss_top_scb_regs_MSS_IO_LOCKDOWN_CR_TypeDef;
4970 
4971 typedef union{                                                         /*!< MSSIO_BANK2_CFG_CR register definition*/
4972   __IO  uint32_t                       MSSIO_BANK2_CFG_CR;
4973   struct
4974   {
4975     __IO  uint32_t                       bank_pcode           :6;
4976     __I   uint32_t                       reserved_01          :2;
4977     __IO  uint32_t                       bank_ncode           :6;
4978     __I   uint32_t                       reserved_02          :2;
4979     __IO  uint32_t                       vs                   :4;
4980     __I   uint32_t                       reserved_03          :12;
4981   } bitfield;
4982 } g5_mss_top_scb_regs_MSSIO_BANK2_CFG_CR_TypeDef;
4983 
4984 typedef union{                                                         /*!< MSSIO_BANK4_CFG_CR register definition*/
4985   __IO  uint32_t                       MSSIO_BANK4_CFG_CR;
4986   struct
4987   {
4988     __IO  uint32_t                       bank_pcode           :6;
4989     __I   uint32_t                       reserved_01          :2;
4990     __IO  uint32_t                       bank_ncode           :6;
4991     __I   uint32_t                       reserved_02          :2;
4992     __IO  uint32_t                       vs                   :4;
4993     __I   uint32_t                       reserved_03          :12;
4994   } bitfield;
4995 } g5_mss_top_scb_regs_MSSIO_BANK4_CFG_CR_TypeDef;
4996 
4997 typedef union{                                                         /*!< DLL0_CTRL0 register definition*/
4998   __IO  uint32_t                       DLL0_CTRL0;
4999   struct
5000   {
5001     __IO  uint32_t                       phase_p              :2;
5002     __IO  uint32_t                       phase_s              :2;
5003     __IO  uint32_t                       sel_p                :2;
5004     __IO  uint32_t                       sel_s                :2;
5005     __IO  uint32_t                       ref_sel              :1;
5006     __IO  uint32_t                       fb_sel               :1;
5007     __IO  uint32_t                       div_sel              :1;
5008     __I   uint32_t                       reserved             :3;
5009     __IO  uint32_t                       alu_upd              :2;
5010     __I   uint32_t                       reserved2            :3;
5011     __IO  uint32_t                       lock_frc             :1;
5012     __IO  uint32_t                       lock_flt             :2;
5013     __I   uint32_t                       reserved3            :2;
5014     __IO  uint32_t                       lock_high            :4;
5015     __IO  uint32_t                       lock_low             :4;
5016   } bitfield;
5017 } g5_mss_top_scb_regs_DLL0_CTRL0_TypeDef;
5018 
5019 typedef union{                                                         /*!< DLL0_CTRL1 register definition*/
5020   __IO  uint32_t                       DLL0_CTRL1;
5021   struct
5022   {
5023     __IO  uint32_t                       set_alu              :8;
5024     __IO  uint32_t                       adj_del4             :7;
5025     __IO  uint32_t                       test_s               :1;
5026     __I   uint32_t                       reserved             :7;
5027     __IO  uint32_t                       test_ring            :1;
5028     __IO  uint32_t                       init_code            :6;
5029     __IO  uint32_t                       relock_fast          :1;
5030     __I   uint32_t                       reserved2            :1;
5031   } bitfield;
5032 } g5_mss_top_scb_regs_DLL0_CTRL1_TypeDef;
5033 
5034 typedef union{                                                         /*!< DLL0_STAT0 register definition*/
5035   __IO  uint32_t                       DLL0_STAT0;
5036   struct
5037   {
5038     __IO  uint32_t                       reset                :1;
5039     __IO  uint32_t                       bypass               :1;
5040     __I   uint32_t                       reserved             :1;
5041     __I   uint32_t                       reserved2            :1;
5042     __I   uint32_t                       reserved3            :1;
5043     __I   uint32_t                       reserved4            :3;
5044     __I   uint32_t                       reserved5            :1;
5045     __I   uint32_t                       reserved6            :1;
5046     __I   uint32_t                       reserved7            :1;
5047     __I   uint32_t                       reserved8            :1;
5048     __IO  uint32_t                       phase_move_clk       :1;
5049     __I   uint32_t                       reserved9            :1;
5050     __I   uint32_t                       reserved10           :2;
5051     __I   uint32_t                       reserved11           :8;
5052     __I   uint32_t                       reserved12           :8;
5053   } bitfield;
5054 } g5_mss_top_scb_regs_DLL0_STAT0_TypeDef;
5055 
5056 typedef union{                                                         /*!< DLL0_STAT1 register definition*/
5057   __I   uint32_t                       DLL0_STAT1;
5058   struct
5059   {
5060     __I   uint32_t                       sro_del4             :7;
5061     __I   uint32_t                       reserved             :1;
5062     __I   uint32_t                       reserved2            :8;
5063     __I   uint32_t                       sro_alu_cnt          :9;
5064     __I   uint32_t                       reserved3            :1;
5065     __I   uint32_t                       reserved4            :2;
5066     __I   uint32_t                       reserved5            :2;
5067     __I   uint32_t                       reserved6            :2;
5068   } bitfield;
5069 } g5_mss_top_scb_regs_DLL0_STAT1_TypeDef;
5070 
5071 typedef union{                                                         /*!< DLL0_STAT2 register definition*/
5072   __I   uint32_t                       DLL0_STAT2;
5073   struct
5074   {
5075     __I   uint32_t                       reserved             :1;
5076     __I   uint32_t                       reserved2            :1;
5077     __I   uint32_t                       sro_lock             :1;
5078     __I   uint32_t                       reserved3            :1;
5079     __I   uint32_t                       reserved4            :1;
5080     __I   uint32_t                       reserved5            :1;
5081     __I   uint32_t                       reserved6            :1;
5082     __I   uint32_t                       reserved7            :9;
5083     __I   uint32_t                       reserved8            :8;
5084     __I   uint32_t                       reserved9            :8;
5085   } bitfield;
5086 } g5_mss_top_scb_regs_DLL0_STAT2_TypeDef;
5087 
5088 typedef union{                                                         /*!< DLL0_TEST register definition*/
5089   __IO  uint32_t                       DLL0_TEST;
5090   struct
5091   {
5092     __IO  uint32_t                       cfm_enable           :1;
5093     __IO  uint32_t                       cfm_select           :1;
5094     __IO  uint32_t                       ref_select           :1;
5095     __I   uint32_t                       reserved             :1;
5096     __I   uint32_t                       reserved_01          :28;
5097   } bitfield;
5098 } g5_mss_top_scb_regs_DLL0_TEST_TypeDef;
5099 
5100 typedef union{                                                         /*!< DLL1_CTRL0 register definition*/
5101   __IO  uint32_t                       DLL1_CTRL0;
5102   struct
5103   {
5104     __IO  uint32_t                       phase_p              :2;
5105     __IO  uint32_t                       phase_s              :2;
5106     __IO  uint32_t                       sel_p                :2;
5107     __IO  uint32_t                       sel_s                :2;
5108     __IO  uint32_t                       ref_sel              :1;
5109     __IO  uint32_t                       fb_sel               :1;
5110     __IO  uint32_t                       div_sel              :1;
5111     __I   uint32_t                       reserved             :3;
5112     __IO  uint32_t                       alu_upd              :2;
5113     __I   uint32_t                       reserved2            :3;
5114     __IO  uint32_t                       lock_frc             :1;
5115     __IO  uint32_t                       lock_flt             :2;
5116     __I   uint32_t                       reserved3            :2;
5117     __IO  uint32_t                       lock_high            :4;
5118     __IO  uint32_t                       lock_low             :4;
5119   } bitfield;
5120 } g5_mss_top_scb_regs_DLL1_CTRL0_TypeDef;
5121 
5122 typedef union{                                                         /*!< DLL1_CTRL1 register definition*/
5123   __IO  uint32_t                       DLL1_CTRL1;
5124   struct
5125   {
5126     __IO  uint32_t                       set_alu              :8;
5127     __IO  uint32_t                       adj_del4             :7;
5128     __IO  uint32_t                       test_s               :1;
5129     __I   uint32_t                       reserved             :7;
5130     __IO  uint32_t                       test_ring            :1;
5131     __IO  uint32_t                       init_code            :6;
5132     __IO  uint32_t                       relock_fast          :1;
5133     __I   uint32_t                       reserved2            :1;
5134   } bitfield;
5135 } g5_mss_top_scb_regs_DLL1_CTRL1_TypeDef;
5136 
5137 typedef union{                                                         /*!< DLL1_STAT0 register definition*/
5138   __IO  uint32_t                       DLL1_STAT0;
5139   struct
5140   {
5141     __IO  uint32_t                       reset                :1;
5142     __IO  uint32_t                       bypass               :1;
5143     __I   uint32_t                       reserved             :1;
5144     __I   uint32_t                       reserved2            :1;
5145     __I   uint32_t                       reserved3            :1;
5146     __I   uint32_t                       reserved4            :3;
5147     __I   uint32_t                       reserved5            :1;
5148     __I   uint32_t                       reserved6            :1;
5149     __I   uint32_t                       reserved7            :1;
5150     __I   uint32_t                       reserved8            :1;
5151     __IO  uint32_t                       phase_move_clk       :1;
5152     __I   uint32_t                       reserved9            :1;
5153     __I   uint32_t                       reserved10           :2;
5154     __I   uint32_t                       reserved11           :8;
5155     __I   uint32_t                       reserved12           :8;
5156   } bitfield;
5157 } g5_mss_top_scb_regs_DLL1_STAT0_TypeDef;
5158 
5159 typedef union{                                                         /*!< DLL1_STAT1 register definition*/
5160   __I   uint32_t                       DLL1_STAT1;
5161   struct
5162   {
5163     __I   uint32_t                       sro_del4             :7;
5164     __I   uint32_t                       reserved             :1;
5165     __I   uint32_t                       reserved2            :8;
5166     __I   uint32_t                       sro_alu_cnt          :9;
5167     __I   uint32_t                       reserved3            :1;
5168     __I   uint32_t                       reserved4            :2;
5169     __I   uint32_t                       reserved5            :2;
5170     __I   uint32_t                       reserved6            :2;
5171   } bitfield;
5172 } g5_mss_top_scb_regs_DLL1_STAT1_TypeDef;
5173 
5174 typedef union{                                                         /*!< DLL1_STAT2 register definition*/
5175   __I   uint32_t                       DLL1_STAT2;
5176   struct
5177   {
5178     __I   uint32_t                       reserved             :1;
5179     __I   uint32_t                       reserved2            :1;
5180     __I   uint32_t                       sro_lock             :1;
5181     __I   uint32_t                       reserved3            :1;
5182     __I   uint32_t                       reserved4            :1;
5183     __I   uint32_t                       reserved5            :1;
5184     __I   uint32_t                       reserved6            :1;
5185     __I   uint32_t                       reserved7            :9;
5186     __I   uint32_t                       reserved8            :8;
5187     __I   uint32_t                       reserved9            :8;
5188   } bitfield;
5189 } g5_mss_top_scb_regs_DLL1_STAT2_TypeDef;
5190 
5191 typedef union{                                                         /*!< DLL1_TEST register definition*/
5192   __IO  uint32_t                       DLL1_TEST;
5193   struct
5194   {
5195     __IO  uint32_t                       cfm_enable           :1;
5196     __IO  uint32_t                       cfm_select           :1;
5197     __IO  uint32_t                       ref_select           :1;
5198     __I   uint32_t                       reserved             :1;
5199     __I   uint32_t                       reserved_01          :28;
5200   } bitfield;
5201 } g5_mss_top_scb_regs_DLL1_TEST_TypeDef;
5202 
5203 typedef union{                                                         /*!< DLL2_CTRL0 register definition*/
5204   __IO  uint32_t                       DLL2_CTRL0;
5205   struct
5206   {
5207     __IO  uint32_t                       phase_p              :2;
5208     __IO  uint32_t                       phase_s              :2;
5209     __IO  uint32_t                       sel_p                :2;
5210     __IO  uint32_t                       sel_s                :2;
5211     __IO  uint32_t                       ref_sel              :1;
5212     __IO  uint32_t                       fb_sel               :1;
5213     __IO  uint32_t                       div_sel              :1;
5214     __I   uint32_t                       reserved             :3;
5215     __IO  uint32_t                       alu_upd              :2;
5216     __I   uint32_t                       reserved2            :3;
5217     __IO  uint32_t                       lock_frc             :1;
5218     __IO  uint32_t                       lock_flt             :2;
5219     __I   uint32_t                       reserved3            :2;
5220     __IO  uint32_t                       lock_high            :4;
5221     __IO  uint32_t                       lock_low             :4;
5222   } bitfield;
5223 } g5_mss_top_scb_regs_DLL2_CTRL0_TypeDef;
5224 
5225 typedef union{                                                         /*!< DLL2_CTRL1 register definition*/
5226   __IO  uint32_t                       DLL2_CTRL1;
5227   struct
5228   {
5229     __IO  uint32_t                       set_alu              :8;
5230     __IO  uint32_t                       adj_del4             :7;
5231     __IO  uint32_t                       test_s               :1;
5232     __I   uint32_t                       reserved             :7;
5233     __IO  uint32_t                       test_ring            :1;
5234     __IO  uint32_t                       init_code            :6;
5235     __IO  uint32_t                       relock_fast          :1;
5236     __I   uint32_t                       reserved2            :1;
5237   } bitfield;
5238 } g5_mss_top_scb_regs_DLL2_CTRL1_TypeDef;
5239 
5240 typedef union{                                                         /*!< DLL2_STAT0 register definition*/
5241   __IO  uint32_t                       DLL2_STAT0;
5242   struct
5243   {
5244     __IO  uint32_t                       reset                :1;
5245     __IO  uint32_t                       bypass               :1;
5246     __I   uint32_t                       reserved             :1;
5247     __I   uint32_t                       reserved2            :1;
5248     __I   uint32_t                       reserved3            :1;
5249     __I   uint32_t                       reserved4            :3;
5250     __I   uint32_t                       reserved5            :1;
5251     __I   uint32_t                       reserved6            :1;
5252     __I   uint32_t                       reserved7            :1;
5253     __I   uint32_t                       reserved8            :1;
5254     __IO  uint32_t                       phase_move_clk       :1;
5255     __I   uint32_t                       reserved9            :1;
5256     __I   uint32_t                       reserved10           :2;
5257     __I   uint32_t                       reserved11           :8;
5258     __I   uint32_t                       reserved12           :8;
5259   } bitfield;
5260 } g5_mss_top_scb_regs_DLL2_STAT0_TypeDef;
5261 
5262 typedef union{                                                         /*!< DLL2_STAT1 register definition*/
5263   __I   uint32_t                       DLL2_STAT1;
5264   struct
5265   {
5266     __I   uint32_t                       sro_del4             :7;
5267     __I   uint32_t                       reserved             :1;
5268     __I   uint32_t                       reserved2            :8;
5269     __I   uint32_t                       sro_alu_cnt          :9;
5270     __I   uint32_t                       reserved3            :1;
5271     __I   uint32_t                       reserved4            :2;
5272     __I   uint32_t                       reserved5            :2;
5273     __I   uint32_t                       reserved6            :2;
5274   } bitfield;
5275 } g5_mss_top_scb_regs_DLL2_STAT1_TypeDef;
5276 
5277 typedef union{                                                         /*!< DLL2_STAT2 register definition*/
5278   __I   uint32_t                       DLL2_STAT2;
5279   struct
5280   {
5281     __I   uint32_t                       reserved             :1;
5282     __I   uint32_t                       reserved2            :1;
5283     __I   uint32_t                       sro_lock             :1;
5284     __I   uint32_t                       reserved3            :1;
5285     __I   uint32_t                       reserved4            :1;
5286     __I   uint32_t                       reserved5            :1;
5287     __I   uint32_t                       reserved6            :1;
5288     __I   uint32_t                       reserved7            :9;
5289     __I   uint32_t                       reserved8            :8;
5290     __I   uint32_t                       reserved9            :8;
5291   } bitfield;
5292 } g5_mss_top_scb_regs_DLL2_STAT2_TypeDef;
5293 
5294 typedef union{                                                         /*!< DLL2_TEST register definition*/
5295   __IO  uint32_t                       DLL2_TEST;
5296   struct
5297   {
5298     __IO  uint32_t                       cfm_enable           :1;
5299     __IO  uint32_t                       cfm_select           :1;
5300     __IO  uint32_t                       ref_select           :1;
5301     __I   uint32_t                       reserved             :1;
5302     __I   uint32_t                       reserved_01          :28;
5303   } bitfield;
5304 } g5_mss_top_scb_regs_DLL2_TEST_TypeDef;
5305 
5306 typedef union{                                                         /*!< DLL3_CTRL0 register definition*/
5307   __IO  uint32_t                       DLL3_CTRL0;
5308   struct
5309   {
5310     __IO  uint32_t                       phase_p              :2;
5311     __IO  uint32_t                       phase_s              :2;
5312     __IO  uint32_t                       sel_p                :2;
5313     __IO  uint32_t                       sel_s                :2;
5314     __IO  uint32_t                       ref_sel              :1;
5315     __IO  uint32_t                       fb_sel               :1;
5316     __IO  uint32_t                       div_sel              :1;
5317     __I   uint32_t                       reserved             :3;
5318     __IO  uint32_t                       alu_upd              :2;
5319     __I   uint32_t                       reserved2            :3;
5320     __IO  uint32_t                       lock_frc             :1;
5321     __IO  uint32_t                       lock_flt             :2;
5322     __I   uint32_t                       reserved3            :2;
5323     __IO  uint32_t                       lock_high            :4;
5324     __IO  uint32_t                       lock_low             :4;
5325   } bitfield;
5326 } g5_mss_top_scb_regs_DLL3_CTRL0_TypeDef;
5327 
5328 typedef union{                                                         /*!< DLL3_CTRL1 register definition*/
5329   __IO  uint32_t                       DLL3_CTRL1;
5330   struct
5331   {
5332     __IO  uint32_t                       set_alu              :8;
5333     __IO  uint32_t                       adj_del4             :7;
5334     __IO  uint32_t                       test_s               :1;
5335     __I   uint32_t                       reserved             :7;
5336     __IO  uint32_t                       test_ring            :1;
5337     __IO  uint32_t                       init_code            :6;
5338     __IO  uint32_t                       relock_fast          :1;
5339     __I   uint32_t                       reserved2            :1;
5340   } bitfield;
5341 } g5_mss_top_scb_regs_DLL3_CTRL1_TypeDef;
5342 
5343 typedef union{                                                         /*!< DLL3_STAT0 register definition*/
5344   __IO  uint32_t                       DLL3_STAT0;
5345   struct
5346   {
5347     __IO  uint32_t                       reset                :1;
5348     __IO  uint32_t                       bypass               :1;
5349     __I   uint32_t                       reserved             :1;
5350     __I   uint32_t                       reserved2            :1;
5351     __I   uint32_t                       reserved3            :1;
5352     __I   uint32_t                       reserved4            :3;
5353     __I   uint32_t                       reserved5            :1;
5354     __I   uint32_t                       reserved6            :1;
5355     __I   uint32_t                       reserved7            :1;
5356     __I   uint32_t                       reserved8            :1;
5357     __IO  uint32_t                       phase_move_clk       :1;
5358     __I   uint32_t                       reserved9            :1;
5359     __I   uint32_t                       reserved10           :2;
5360     __I   uint32_t                       reserved11           :8;
5361     __I   uint32_t                       reserved12           :8;
5362   } bitfield;
5363 } g5_mss_top_scb_regs_DLL3_STAT0_TypeDef;
5364 
5365 typedef union{                                                         /*!< DLL3_STAT1 register definition*/
5366   __I   uint32_t                       DLL3_STAT1;
5367   struct
5368   {
5369     __I   uint32_t                       sro_del4             :7;
5370     __I   uint32_t                       reserved             :1;
5371     __I   uint32_t                       reserved2            :8;
5372     __I   uint32_t                       sro_alu_cnt          :9;
5373     __I   uint32_t                       reserved3            :1;
5374     __I   uint32_t                       reserved4            :2;
5375     __I   uint32_t                       reserved5            :2;
5376     __I   uint32_t                       reserved6            :2;
5377   } bitfield;
5378 } g5_mss_top_scb_regs_DLL3_STAT1_TypeDef;
5379 
5380 typedef union{                                                         /*!< DLL3_STAT2 register definition*/
5381   __I   uint32_t                       DLL3_STAT2;
5382   struct
5383   {
5384     __I   uint32_t                       reserved             :1;
5385     __I   uint32_t                       reserved2            :1;
5386     __I   uint32_t                       sro_lock             :1;
5387     __I   uint32_t                       reserved3            :1;
5388     __I   uint32_t                       reserved4            :1;
5389     __I   uint32_t                       reserved5            :1;
5390     __I   uint32_t                       reserved6            :1;
5391     __I   uint32_t                       reserved7            :9;
5392     __I   uint32_t                       reserved8            :8;
5393     __I   uint32_t                       reserved9            :8;
5394   } bitfield;
5395 } g5_mss_top_scb_regs_DLL3_STAT2_TypeDef;
5396 
5397 typedef union{                                                         /*!< DLL3_TEST register definition*/
5398   __IO  uint32_t                       DLL3_TEST;
5399   struct
5400   {
5401     __IO  uint32_t                       cfm_enable           :1;
5402     __IO  uint32_t                       cfm_select           :1;
5403     __IO  uint32_t                       ref_select           :1;
5404     __I   uint32_t                       reserved             :1;
5405     __I   uint32_t                       reserved_01          :28;
5406   } bitfield;
5407 } g5_mss_top_scb_regs_DLL3_TEST_TypeDef;
5408 
5409 typedef union{                                                         /*!< MSSIO_VB2_CFG register definition*/
5410   __IO  uint32_t                       MSSIO_VB2_CFG;
5411   struct
5412   {
5413     __IO  uint32_t                       dpc_io_cfg_ibufmd_0  :1;
5414     __IO  uint32_t                       dpc_io_cfg_ibufmd_1  :1;
5415     __IO  uint32_t                       dpc_io_cfg_ibufmd_2  :1;
5416     __IO  uint32_t                       dpc_io_cfg_drv_0     :1;
5417     __IO  uint32_t                       dpc_io_cfg_drv_1     :1;
5418     __IO  uint32_t                       dpc_io_cfg_drv_2     :1;
5419     __IO  uint32_t                       dpc_io_cfg_drv_3     :1;
5420     __IO  uint32_t                       dpc_io_cfg_clamp     :1;
5421     __IO  uint32_t                       dpc_io_cfg_enhyst    :1;
5422     __IO  uint32_t                       dpc_io_cfg_lockdn_en :1;
5423     __IO  uint32_t                       dpc_io_cfg_wpd       :1;
5424     __IO  uint32_t                       dpc_io_cfg_wpu       :1;
5425     __IO  uint32_t                       dpc_io_cfg_atp_en    :1;
5426     __IO  uint32_t                       dpc_io_cfg_lp_persist_en :1;
5427     __IO  uint32_t                       dpc_io_cfg_lp_bypass_en :1;
5428     __I   uint32_t                       reserved_01          :17;
5429   } bitfield;
5430 } g5_mss_top_scb_regs_MSSIO_VB2_CFG_TypeDef;
5431 
5432 typedef union{                                                         /*!< MSSIO_VB4_CFG register definition*/
5433   __IO  uint32_t                       MSSIO_VB4_CFG;
5434   struct
5435   {
5436     __IO  uint32_t                       dpc_io_cfg_ibufmd_0  :1;
5437     __IO  uint32_t                       dpc_io_cfg_ibufmd_1  :1;
5438     __IO  uint32_t                       dpc_io_cfg_ibufmd_2  :1;
5439     __IO  uint32_t                       dpc_io_cfg_drv_0     :1;
5440     __IO  uint32_t                       dpc_io_cfg_drv_1     :1;
5441     __IO  uint32_t                       dpc_io_cfg_drv_2     :1;
5442     __IO  uint32_t                       dpc_io_cfg_drv_3     :1;
5443     __IO  uint32_t                       dpc_io_cfg_clamp     :1;
5444     __IO  uint32_t                       dpc_io_cfg_enhyst    :1;
5445     __IO  uint32_t                       dpc_io_cfg_lockdn_en :1;
5446     __IO  uint32_t                       dpc_io_cfg_wpd       :1;
5447     __IO  uint32_t                       dpc_io_cfg_wpu       :1;
5448     __IO  uint32_t                       dpc_io_cfg_atp_en    :1;
5449     __IO  uint32_t                       dpc_io_cfg_lp_persist_en :1;
5450     __IO  uint32_t                       dpc_io_cfg_lp_bypass_en :1;
5451     __I   uint32_t                       reserved_01          :17;
5452   } bitfield;
5453 } g5_mss_top_scb_regs_MSSIO_VB4_CFG_TypeDef;
5454 
5455 /*------------ g5_mss_top_scb_regs definition -----------*/
5456 typedef struct
5457 {
5458   __IO  g5_mss_top_scb_regs_SOFT_RESET_TypeDef SOFT_RESET;                                         /*!< Offset: 0x0  */
5459   __I   uint32_t                       UNUSED_SPACE0[3];                                   /*!< Offset: 0x4 */
5460   __IO  g5_mss_top_scb_regs_AXI_WSETUP_TypeDef AXI_WSETUP;                                         /*!< Offset: 0x10  */
5461   __IO  g5_mss_top_scb_regs_AXI_WADDR_TypeDef AXI_WADDR;                                          /*!< Offset: 0x14  */
5462   __IO  g5_mss_top_scb_regs_AXI_WDATA_TypeDef AXI_WDATA;                                          /*!< Offset: 0x18  */
5463   __IO  g5_mss_top_scb_regs_AXI_RSETUP_TypeDef AXI_RSETUP;                                         /*!< Offset: 0x1c  */
5464   __IO  g5_mss_top_scb_regs_AXI_RADDR_TypeDef AXI_RADDR;                                          /*!< Offset: 0x20  */
5465   __IO  g5_mss_top_scb_regs_AXI_RDATA_TypeDef AXI_RDATA;                                          /*!< Offset: 0x24  */
5466   __IO  g5_mss_top_scb_regs_AXI_STATUS_TypeDef AXI_STATUS;                                         /*!< Offset: 0x28  */
5467   __IO  g5_mss_top_scb_regs_AXI_CONTROL_TypeDef AXI_CONTROL;                                        /*!< Offset: 0x2c  */
5468   __IO  g5_mss_top_scb_regs_REDUNDANCY_TypeDef REDUNDANCY;                                         /*!< Offset: 0x30  */
5469   __I   uint32_t                       UNUSED_SPACE1[7];                                   /*!< Offset: 0x34 */
5470   __IO  g5_mss_top_scb_regs_BIST_CONFIG_TypeDef BIST_CONFIG;                                        /*!< Offset: 0x50  */
5471   __IO  g5_mss_top_scb_regs_BIST_DATA_TypeDef BIST_DATA;                                          /*!< Offset: 0x54  */
5472   __IO  g5_mss_top_scb_regs_BIST_COMMAND_TypeDef BIST_COMMAND;                                       /*!< Offset: 0x58  */
5473   __I   uint32_t                       UNUSED_SPACE2[41];                                  /*!< Offset: 0x5c */
5474   __IO  g5_mss_top_scb_regs_MSS_RESET_CR_TypeDef MSS_RESET_CR;                                       /*!< Offset: 0x100  */
5475   __IO  g5_mss_top_scb_regs_MSS_STATUS_TypeDef MSS_STATUS;                                         /*!< Offset: 0x104  */
5476   __IO  g5_mss_top_scb_regs_BOOT_ADDR0_TypeDef BOOT_ADDR0;                                         /*!< Offset: 0x108  */
5477   __IO  g5_mss_top_scb_regs_BOOT_ADDR1_TypeDef BOOT_ADDR1;                                         /*!< Offset: 0x10c  */
5478   __IO  g5_mss_top_scb_regs_BOOT_ADDR2_TypeDef BOOT_ADDR2;                                         /*!< Offset: 0x110  */
5479   __IO  g5_mss_top_scb_regs_BOOT_ADDR3_TypeDef BOOT_ADDR3;                                         /*!< Offset: 0x114  */
5480   __IO  g5_mss_top_scb_regs_BOOT_ADDR4_TypeDef BOOT_ADDR4;                                         /*!< Offset: 0x118  */
5481   __I   uint32_t                       UNUSED_SPACE3;                                      /*!< Offset: 0x11c */
5482   __IO  g5_mss_top_scb_regs_BOOT_ROM0_TypeDef BOOT_ROM0;                                          /*!< Offset: 0x120  */
5483   __IO  g5_mss_top_scb_regs_BOOT_ROM1_TypeDef BOOT_ROM1;                                          /*!< Offset: 0x124  */
5484   __IO  g5_mss_top_scb_regs_BOOT_ROM2_TypeDef BOOT_ROM2;                                          /*!< Offset: 0x128  */
5485   __IO  g5_mss_top_scb_regs_BOOT_ROM3_TypeDef BOOT_ROM3;                                          /*!< Offset: 0x12c  */
5486   __IO  g5_mss_top_scb_regs_BOOT_ROM4_TypeDef BOOT_ROM4;                                          /*!< Offset: 0x130  */
5487   __IO  g5_mss_top_scb_regs_BOOT_ROM5_TypeDef BOOT_ROM5;                                          /*!< Offset: 0x134  */
5488   __IO  g5_mss_top_scb_regs_BOOT_ROM6_TypeDef BOOT_ROM6;                                          /*!< Offset: 0x138  */
5489   __IO  g5_mss_top_scb_regs_BOOT_ROM7_TypeDef BOOT_ROM7;                                          /*!< Offset: 0x13c  */
5490   __I   uint32_t                       UNUSED_SPACE4[16];                                  /*!< Offset: 0x140 */
5491   __IO  g5_mss_top_scb_regs_FLASH_FREEZE_TypeDef FLASH_FREEZE;                                       /*!< Offset: 0x180  */
5492   __IO  g5_mss_top_scb_regs_G5CIO_TypeDef G5CIO;                                              /*!< Offset: 0x184  */
5493   __IO  g5_mss_top_scb_regs_DEVICE_ID_TypeDef DEVICE_ID;                                          /*!< Offset: 0x188  */
5494   __IO  g5_mss_top_scb_regs_MESSAGE_INT_TypeDef MESSAGE_INT;                                        /*!< Offset: 0x18c  */
5495   __IO  g5_mss_top_scb_regs_MESSAGE_TypeDef MESSAGE;                                            /*!< Offset: 0x190  */
5496   __IO  g5_mss_top_scb_regs_DEVRST_INT_TypeDef DEVRST_INT;                                         /*!< Offset: 0x194  */
5497   __IO  g5_mss_top_scb_regs_SCB_INTERRUPT_TypeDef SCB_INTERRUPT;                                      /*!< Offset: 0x198  */
5498   __IO  g5_mss_top_scb_regs_MSS_INTERRUPT_TypeDef MSS_INTERRUPT;                                      /*!< Offset: 0x19c  */
5499   __IO  g5_mss_top_scb_regs_DEVICE_CONFIG_CR_TypeDef DEVICE_CONFIG_CR;                                   /*!< Offset: 0x1a0  */
5500   __IO  g5_mss_top_scb_regs_ATHENA_CR_TypeDef ATHENA_CR;                                          /*!< Offset: 0x1a4  */
5501   __IO  g5_mss_top_scb_regs_ENVM_CR_TypeDef ENVM_CR;                                            /*!< Offset: 0x1a8  */
5502   __IO  g5_mss_top_scb_regs_ENVM_POWER_CR_TypeDef ENVM_POWER_CR;                                      /*!< Offset: 0x1ac  */
5503   __IO  g5_mss_top_scb_regs_RAM_SHUTDOWN_CR_TypeDef RAM_SHUTDOWN_CR;                                    /*!< Offset: 0x1b0  */
5504   __IO  g5_mss_top_scb_regs_RAM_MARGIN_CR_TypeDef RAM_MARGIN_CR;                                      /*!< Offset: 0x1b4  */
5505   __IO  g5_mss_top_scb_regs_TRACE_CR_TypeDef TRACE_CR;                                           /*!< Offset: 0x1b8  */
5506   __IO  g5_mss_top_scb_regs_MSSIO_CONTROL_CR_TypeDef MSSIO_CONTROL_CR;                                   /*!< Offset: 0x1bc  */
5507   __I   g5_mss_top_scb_regs_MSS_IO_LOCKDOWN_CR_TypeDef MSS_IO_LOCKDOWN_CR;                                 /*!< Offset: 0x1c0  */
5508   __IO  g5_mss_top_scb_regs_MSSIO_BANK2_CFG_CR_TypeDef MSSIO_BANK2_CFG_CR;                                 /*!< Offset: 0x1c4  */
5509   __IO  g5_mss_top_scb_regs_MSSIO_BANK4_CFG_CR_TypeDef MSSIO_BANK4_CFG_CR;                                 /*!< Offset: 0x1c8  */
5510   __I   uint32_t                       UNUSED_SPACE5[13];                                  /*!< Offset: 0x1cc */
5511   __IO  g5_mss_top_scb_regs_DLL0_CTRL0_TypeDef DLL0_CTRL0;                                         /*!< Offset: 0x200  */
5512   __IO  g5_mss_top_scb_regs_DLL0_CTRL1_TypeDef DLL0_CTRL1;                                         /*!< Offset: 0x204  */
5513   __IO  g5_mss_top_scb_regs_DLL0_STAT0_TypeDef DLL0_STAT0;                                         /*!< Offset: 0x208  */
5514   __I   g5_mss_top_scb_regs_DLL0_STAT1_TypeDef DLL0_STAT1;                                         /*!< Offset: 0x20c  */
5515   __I   g5_mss_top_scb_regs_DLL0_STAT2_TypeDef DLL0_STAT2;                                         /*!< Offset: 0x210  */
5516   __IO  g5_mss_top_scb_regs_DLL0_TEST_TypeDef DLL0_TEST;                                          /*!< Offset: 0x214  */
5517   __I   uint32_t                       UNUSED_SPACE6[2];                                   /*!< Offset: 0x218 */
5518   __IO  g5_mss_top_scb_regs_DLL1_CTRL0_TypeDef DLL1_CTRL0;                                         /*!< Offset: 0x220  */
5519   __IO  g5_mss_top_scb_regs_DLL1_CTRL1_TypeDef DLL1_CTRL1;                                         /*!< Offset: 0x224  */
5520   __IO  g5_mss_top_scb_regs_DLL1_STAT0_TypeDef DLL1_STAT0;                                         /*!< Offset: 0x228  */
5521   __I   g5_mss_top_scb_regs_DLL1_STAT1_TypeDef DLL1_STAT1;                                         /*!< Offset: 0x22c  */
5522   __I   g5_mss_top_scb_regs_DLL1_STAT2_TypeDef DLL1_STAT2;                                         /*!< Offset: 0x230  */
5523   __IO  g5_mss_top_scb_regs_DLL1_TEST_TypeDef DLL1_TEST;                                          /*!< Offset: 0x234  */
5524   __I   uint32_t                       UNUSED_SPACE7[2];                                   /*!< Offset: 0x238 */
5525   __IO  g5_mss_top_scb_regs_DLL2_CTRL0_TypeDef DLL2_CTRL0;                                         /*!< Offset: 0x240  */
5526   __IO  g5_mss_top_scb_regs_DLL2_CTRL1_TypeDef DLL2_CTRL1;                                         /*!< Offset: 0x244  */
5527   __IO  g5_mss_top_scb_regs_DLL2_STAT0_TypeDef DLL2_STAT0;                                         /*!< Offset: 0x248  */
5528   __I   g5_mss_top_scb_regs_DLL2_STAT1_TypeDef DLL2_STAT1;                                         /*!< Offset: 0x24c  */
5529   __I   g5_mss_top_scb_regs_DLL2_STAT2_TypeDef DLL2_STAT2;                                         /*!< Offset: 0x250  */
5530   __IO  g5_mss_top_scb_regs_DLL2_TEST_TypeDef DLL2_TEST;                                          /*!< Offset: 0x254  */
5531   __I   uint32_t                       UNUSED_SPACE8[2];                                   /*!< Offset: 0x258 */
5532   __IO  g5_mss_top_scb_regs_DLL3_CTRL0_TypeDef DLL3_CTRL0;                                         /*!< Offset: 0x260  */
5533   __IO  g5_mss_top_scb_regs_DLL3_CTRL1_TypeDef DLL3_CTRL1;                                         /*!< Offset: 0x264  */
5534   __IO  g5_mss_top_scb_regs_DLL3_STAT0_TypeDef DLL3_STAT0;                                         /*!< Offset: 0x268  */
5535   __I   g5_mss_top_scb_regs_DLL3_STAT1_TypeDef DLL3_STAT1;                                         /*!< Offset: 0x26c  */
5536   __I   g5_mss_top_scb_regs_DLL3_STAT2_TypeDef DLL3_STAT2;                                         /*!< Offset: 0x270  */
5537   __IO  g5_mss_top_scb_regs_DLL3_TEST_TypeDef DLL3_TEST;                                          /*!< Offset: 0x274  */
5538   __IO  g5_mss_top_scb_regs_MSSIO_VB2_CFG_TypeDef MSSIO_VB2_CFG;                                      /*!< Offset: 0x278  */
5539   __IO  g5_mss_top_scb_regs_MSSIO_VB4_CFG_TypeDef MSSIO_VB4_CFG;                                      /*!< Offset: 0x27c  */
5540 } g5_mss_top_scb_regs_TypeDef;
5541 
5542 
5543 #define CFG_DDR_SGMII_PHY_BASE         (0x20007000)         /*!< ( CFG_DDR_SGMII_PHY ) Base Address */
5544 #define DDRCFG_BASE                    (0x20080000)         /*!< ( DDRCFG ) Base Address */
5545 
5546 #define SYSREGSCB_BASE                 (0x20003000)         /*!< ( SYSREGSCB ) Base Address */
5547 #define IOSCBCFG_BASE                  (0x37080000)         /*!< ( IOSCBCFG ) Base Address */
5548 
5549 extern CFG_DDR_SGMII_PHY_TypeDef       * const CFG_DDR_SGMII_PHY   ;
5550 extern DDR_CSR_APB_TypeDef             * const DDRCFG              ;
5551 extern IOSCBCFG_TypeDef                * const SCBCFG_REGS         ;
5552 extern g5_mss_top_scb_regs_TypeDef     * const SCB_REGS            ;
5553 
5554 #ifdef __cplusplus
5555 }
5556 #endif
5557 
5558 #endif /* MSS_DDR_REGS_H_ */
5559