mpfs: ddr: add DDR training
This adds DDR training. The training has a small chance of failing, and then the training is restarted. DDR training cannot be done meaningfully while the software is in DDR. If the system is intended to run from eNVM, like a bootloader, the linker script should be tuned to utilize the envm region as follows: envm (rx) : ORIGIN = 0x20220100, LENGTH = 128K - 256 l2lim (rwx) : ORIGIN = 0x08000000, LENGTH = 1024k 256 bytes are reserved for the system; The fixed block may be installed from the 'hart-software-services' -repository: https://github.com/polarfire-soc/hart-software-services.git For example, the 256-byte image: hss-envm-wrapper-bm1-dummySbic.bin may be prepended on the nuttx bootloader image in the following manner: cat hss-envm-wrapper-bm1-dummySbic.bin > nuttx_bootloader.bin cat nuttx.bin >> nuttx_bootloader.bin riscv64-unknown-elf-objcopy -I binary -O ihex --change-section-lma *+0x20220000 nuttx_bootloader.bin flashable_image.hex This provides an image 'flashable_image.hex' that may be flashed on the eNVM region via Microsemi Libero tool. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
parent
c5b11f42b6
commit
3b330089d5
892
arch/risc-v/src/mpfs/hardware/mpfs_ddr.h
Normal file
892
arch/risc-v/src/mpfs/hardware/mpfs_ddr.h
Normal file
@ -0,0 +1,892 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
* arch/risc-v/src/mpfs/hardware/mpfs_ddr.h
|
||||||
|
*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance with the
|
||||||
|
* License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_DDR_H
|
||||||
|
#define __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_DDR_H
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Pre-processor Definitions
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MANUAL_ADDRESS_MAP_OFFSET 0x2400
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CHIPADDR_MAP_OFFSET 0x2404
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CIDADDR_MAP_OFFSET 0x2408
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_LOW_OFFSET 0x240c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH_OFFSET 0x2410
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_0_OFFSET 0x2414
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_1_OFFSET 0x2418
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_0_OFFSET 0x241c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_1_OFFSET 0x2420
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_2_OFFSET 0x2424
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_3_OFFSET 0x2428
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_0_OFFSET 0x242c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_1_OFFSET 0x2430
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_2_OFFSET 0x2434
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VRCG_ENABLE_OFFSET 0x2800
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VRCG_DISABLE_OFFSET 0x2804
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_LATENCY_SET_OFFSET 0x2808
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_THERMAL_OFFSET_OFFSET 0x280c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SOC_ODT_OFFSET 0x2810
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTE_CK_OFFSET 0x2814
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTE_CS_OFFSET 0x2818
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTD_CA_OFFSET 0x281c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LPDDR4_FSP_OP_OFFSET 0x2820
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_GENERATE_REFRESH_ON_SRX_OFFSET 0x2824
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DBI_CL_OFFSET 0x2828
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NON_DBI_CL_OFFSET 0x282c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_DATA_0_OFFSET 0x2830
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_CRC_OFFSET 0x3c00
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MPR_READ_FORMAT_OFFSET 0x3c04
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_CMD_LAT_CRC_DM_OFFSET 0x3c08
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FINE_GRAN_REF_MODE_OFFSET 0x3c0c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_SENSOR_READOUT_OFFSET 0x3c10
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PER_DRAM_ADDR_EN_OFFSET 0x3c14
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_GEARDOWN_MODE_OFFSET 0x3c18
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_PREAMBLE_OFFSET 0x3c1c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMBLE_OFFSET 0x3c20
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TRN_MODE_OFFSET 0x3c24
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SR_ABORT_OFFSET 0x3c28
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CS_TO_CMDADDR_LATENCY_OFFSET 0x3c2c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INT_VREF_MON_OFFSET 0x3c30
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_MODE_OFFSET 0x3c34
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_RANGE_OFFSET 0x3c38
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MAX_PWR_DOWN_MODE_OFFSET 0x3c3c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_DBI_OFFSET 0x3c40
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_DBI_OFFSET 0x3c44
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_MASK_OFFSET 0x3c48
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_PERSIST_ERR_OFFSET 0x3c4c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT_PARK_OFFSET 0x3c50
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_INBUF_4_PD_OFFSET 0x3c54
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_ERR_STATUS_OFFSET 0x3c58
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CRC_ERROR_CLEAR_OFFSET 0x3c5c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_LATENCY_OFFSET 0x3c60
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CCD_S_OFFSET 0x3c64
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CCD_L_OFFSET 0x3c68
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_ENABLE_OFFSET 0x3c6c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_RANGE_OFFSET 0x3c70
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_VALUE_OFFSET 0x3c74
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_S_OFFSET 0x3c78
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_L_OFFSET 0x3c7c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_S_OFFSET 0x3c80
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_L_OFFSET 0x3c84
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_S_CRC_DM_OFFSET 0x3c88
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_L_CRC_DM_OFFSET 0x3c8c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_CRC_DM_OFFSET 0x3c90
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC1_OFFSET 0x3c94
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC2_OFFSET 0x3c98
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC4_OFFSET 0x3c9c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_UNUSED_SPACE0 0x3ca0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NIBBLE_DEVICES_OFFSET 0x3cc4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_UNUSED_SPACE1 0x3cc8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_0_OFFSET 0x3ce0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_1_OFFSET 0x3ce4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_0_OFFSET 0x3ce8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_1_OFFSET 0x3cec
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_0_OFFSET 0x3cf0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_1_OFFSET 0x3cf4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_0_OFFSET 0x3cf8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_1_OFFSET 0x3cfc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_0_OFFSET 0x3d00
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_1_OFFSET 0x3d04
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_0_OFFSET 0x3d08
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_1_OFFSET 0x3d0c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_0_OFFSET 0x3d10
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_1_OFFSET 0x3d14
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_0_OFFSET 0x3d18
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_1_OFFSET 0x3d1c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_0_OFFSET 0x3d20
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_1_OFFSET 0x3d24
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_0_OFFSET 0x3d28
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_1_OFFSET 0x3d2c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_0_OFFSET 0x3d30
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_1_OFFSET 0x3d34
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_0_OFFSET 0x3d38
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_1_OFFSET 0x3d3c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_0_OFFSET 0x3d40
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_1_OFFSET 0x3d44
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_0_OFFSET 0x3d48
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_1_OFFSET 0x3d4c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_0_OFFSET 0x3d50
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_1_OFFSET 0x3d54
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_0_OFFSET 0x3d58
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_1_OFFSET 0x3d5c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_LOGICAL_RANKS_PER_3DS_OFFSET 0x3d60
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR1_OFFSET 0x3d64
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR2_OFFSET 0x3d68
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR4_OFFSET 0x3d6c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_DLR_OFFSET 0x3d70
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FAW_DLR_OFFSET 0x3d74
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ADVANCE_ACTIVATE_READY_OFFSET 0x3d98
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_SOFT_RESET_N_OFFSET 0x4000
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_PCH_OFFSET 0x4008
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_ACT_OFFSET 0x400c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_AUTOINIT_DISABLE_OFFSET 0x4010
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_RESET_OFFSET 0x4014
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_GEARDOWN_EN_OFFSET 0x4018
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DISABLE_CKE_OFFSET 0x401c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CS_OFFSET 0x4020
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PRECHARGE_ALL_OFFSET 0x4024
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_REFRESH_OFFSET 0x4028
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ZQ_CAL_REQ_OFFSET 0x402c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ACK_OFFSET 0x4030
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BL_OFFSET 0x4034
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_INIT_OFFSET 0x4038
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_INIT_DONE_OFFSET 0x403c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_REF_EN_OFFSET 0x4040
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RAS_OFFSET 0x4044
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RCD_OFFSET 0x4048
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_OFFSET 0x404c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RP_OFFSET 0x4050
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RC_OFFSET 0x4054
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FAW_OFFSET 0x4058
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_OFFSET 0x405c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTP_OFFSET 0x4060
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_OFFSET 0x4064
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_OFFSET 0x4068
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR_OFFSET 0x4070
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XP_OFFSET 0x4074
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XSR_OFFSET 0x4078
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CL_OFFSET 0x4080
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE_OFFSET 0x4088
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE_OFFSET 0x408c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_READ_OFFSET 0x4090
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ_OFFSET 0x4094
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE_ODT_OFFSET 0x4098
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE_ODT_OFFSET 0x409c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_READ_ODT_OFFSET 0x40a0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ_ODT_OFFSET 0x40a4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MIN_READ_IDLE_OFFSET 0x40a8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRD_OFFSET 0x40ac
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BT_OFFSET 0x40b0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DS_OFFSET 0x40b4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_QOFF_OFFSET 0x40b8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT_OFFSET 0x40c4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DLL_DISABLE_OFFSET 0x40c8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REF_PER_OFFSET 0x40cc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARTUP_DELAY_OFFSET 0x40d0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_COLBITS_OFFSET 0x40d4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_ROWBITS_OFFSET 0x40d8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_BANKBITS_OFFSET 0x40dc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS0_OFFSET 0x40e0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS1_OFFSET 0x40e4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS2_OFFSET 0x40e8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS3_OFFSET 0x40ec
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS4_OFFSET 0x40f0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS5_OFFSET 0x40f4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS6_OFFSET 0x40f8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS7_OFFSET 0x40fc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS0_OFFSET 0x4120
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS1_OFFSET 0x4124
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS2_OFFSET 0x4128
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS3_OFFSET 0x412c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS4_OFFSET 0x4130
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS5_OFFSET 0x4134
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS6_OFFSET 0x4138
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS7_OFFSET 0x413c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_ON_OFFSET 0x4160
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_ON_OFFSET 0x4164
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_OFF_OFFSET 0x4168
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_OFF_OFFSET 0x416c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EMR3_OFFSET 0x4178
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TWO_T_OFFSET 0x417c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TWO_T_SEL_CYCLE_OFFSET 0x4180
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REGDIMM_OFFSET 0x4184
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MOD_OFFSET 0x4188
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XS_OFFSET 0x418c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XSDLL_OFFSET 0x4190
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XPR_OFFSET 0x4194
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AL_MODE_OFFSET 0x4198
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CWL_OFFSET 0x419c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BL_MODE_OFFSET 0x41a0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TDQS_OFFSET 0x41a4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT_WR_OFFSET 0x41a8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LP_ASR_OFFSET 0x41ac
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_SR_OFFSET 0x41b0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SRT_OFFSET 0x41b4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ADDR_MIRROR_OFFSET 0x41b8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_TYPE_OFFSET 0x41bc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_PER_OFFSET 0x41c0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_ZQ_CAL_EN_OFFSET 0x41c4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEMORY_TYPE_OFFSET 0x41c8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ONLY_SRANK_CMDS_OFFSET 0x41cc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_RANKS_OFFSET 0x41d0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_QUAD_RANK_OFFSET 0x41d4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_WR_START_OFFSET 0x41dc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_RD_START_OFFSET 0x41e0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR_BANK_OFFSET 0x41e4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR_SEG_OFFSET 0x41e8
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MRR_MODE_OFFSET 0x41ec
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_W_REQ_OFFSET 0x41f0
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_ADDR_OFFSET 0x41f4
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_WR_DATA_OFFSET 0x41f8
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_WR_MASK_OFFSET 0x41fc
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_NOP_OFFSET 0x4200
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INIT_DURATION_OFFSET 0x4204
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQINIT_CAL_DURATION_OFFSET 0x4208
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_L_DURATION_OFFSET 0x420c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_S_DURATION_OFFSET 0x4210
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_R_DURATION_OFFSET 0x4214
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRR_OFFSET 0x4218
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRW_OFFSET 0x421c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_POWERDOWN_OFFSET 0x4220
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WL_OFFSET 0x4224
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RL_OFFSET 0x4228
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CAL_READ_PERIOD_OFFSET 0x422c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_CAL_READS_OFFSET 0x4230
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_SELF_REFRESH_OFFSET 0x4234
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_SELF_REFRESH_STATUS_OFFSET 0x4238
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_POWER_DOWN_OFFSET 0x423c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_POWER_DOWN_STATUS_OFFSET 0x4240
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_OFFSET 0x4244
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_CS_OFFSET 0x4248
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_INIT_DISABLE_OFFSET 0x424c
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_READY_OFFSET 0x4250
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RDIMM_READY_OFFSET 0x4254
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RDIMM_COMPLETE_OFFSET 0x4258
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RDIMM_LAT_OFFSET 0x425c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RDIMM_BSIDE_INVERT_OFFSET 0x4260
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LRDIMM_OFFSET 0x4264
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MEMORY_RESET_MASK_OFFSET 0x4268
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TOGGLE_OFFSET 0x426c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_POSTAMBLE_OFFSET 0x4270
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PU_CAL_OFFSET 0x4274
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DQ_ODT_OFFSET 0x4278
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_ODT_OFFSET 0x427c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQLATCH_DURATION_OFFSET 0x4280
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_SELECT_OFFSET 0x4284
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_R_REQ_OFFSET 0x4288
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_B_SIZE_OFFSET 0x428c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_R_ACK_OFFSET 0x4290
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_READ_COMPLETE_OFFSET 0x4294
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RWFIFO_OFFSET 0x42a0
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RD_DQCAL_OFFSET 0x42a4
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_START_DQSOSC_OFFSET 0x42a8
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_STOP_DQSOSC_OFFSET 0x42ac
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ZQ_CAL_START_OFFSET 0x42b0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_POSTAMBLE_OFFSET 0x42b4
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_0_OFFSET 0x42b8
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_1_OFFSET 0x42bc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLUPD_TRIG_OFFSET 0x42c0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLUPD_START_DELAY_OFFSET 0x42c4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_CTRLUPD_MAX_OFFSET 0x42c8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SEL_OFFSET 0x42d0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_VALUE_OFFSET 0x42d4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_TURN_OFF_DELAY_OFFSET 0x42d8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW_OFFSET 0x42dc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_RESTART_HOLDOFF_OFFSET 0x42e0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PARITY_RDIMM_DELAY_OFFSET 0x42e4
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_ENABLE_OFFSET 0x42e8
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ASYNC_ODT_OFFSET 0x42ec
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_DURATION_OFFSET 0x42f0
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRRI_OFFSET 0x42f4
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ODT_FORCE_EN_OFFSET 0x42f8
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ODT_FORCE_RANK_OFFSET 0x42fc
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PHYUPD_ACK_DELAY_OFFSET 0x4300
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MIRROR_X16_BG0_BG1_OFFSET 0x4304
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PDA_MR_W_REQ_OFFSET 0x4308
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PDA_NIBBLE_SELECT_OFFSET 0x430c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH_OFFSET 0x4310
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CKSRE_OFFSET 0x4314
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CKSRX_OFFSET 0x4318
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RCD_STAB_OFFSET 0x431c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_CTRL_DELAY_OFFSET 0x4320
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_DRAM_CLK_ENABLE_OFFSET 0x4324
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_SELF_REFRESH_OFFSET 0x4328
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_POWER_DOWN_OFFSET 0x432c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BURST_RW_REFRESH_HOLDOFF_OFFSET 0x4330
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_REFRESH_COUNT_OFFSET 0x4334
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BG_INTERLEAVE_OFFSET 0x4384
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REFRESH_DURING_PHY_TRAINING_OFFSET 0x43fc
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_EN_OFFSET 0x4400
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_EN_SINGLE_OFFSET 0x4404
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_STOP_ON_ERROR_OFFSET 0x4408
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_RD_ONLY_OFFSET 0x440c
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_WR_ONLY_OFFSET 0x4410
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DATA_PATTERN_OFFSET 0x4414
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ADDR_PATTERN_OFFSET 0x4418
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DATA_INVERT_OFFSET 0x441c
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ADDR_BITS_OFFSET 0x4420
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_STS_OFFSET 0x4424
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DONE_ACK_OFFSET 0x4428
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_START_ADDR_0_OFFSET 0x44b4
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_START_ADDR_1_OFFSET 0x44b8
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_0_OFFSET 0x44bc
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_1_OFFSET 0x44c0
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_2_OFFSET 0x44c4
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_3_OFFSET 0x44c8
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_4_OFFSET 0x44cc
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_USER_DATA_PATTERN_OFFSET 0x4670
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ALG_AUTO_PCH_OFFSET 0x467c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P0_OFFSET 0x4c00
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P1_OFFSET 0x4c04
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P2_OFFSET 0x4c08
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P3_OFFSET 0x4c0c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P4_OFFSET 0x4c10
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P5_OFFSET 0x4c14
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P6_OFFSET 0x4c18
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P7_OFFSET 0x4c1c
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_EN_OFFSET 0x5000
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_QUEUE_EN_OFFSET 0x5004
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INTRAPORT_REORDER_EN_OFFSET 0x5008
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MAINTAIN_COHERENCY_OFFSET 0x500c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_Q_AGE_LIMIT_OFFSET 0x5010
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RO_CLOSED_PAGE_POLICY_OFFSET 0x5018
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_RW_ONLY_OFFSET 0x501c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RO_PRIORITY_EN_OFFSET 0x5020
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DM_EN_OFFSET 0x5400
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RMW_EN_OFFSET 0x5404
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_CORRECTION_EN_OFFSET 0x5800
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_BYPASS_OFFSET 0x5840
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_WRITE_DATA_1B_ECC_ERROR_GEN_OFFSET 0x5844
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_WRITE_DATA_2B_ECC_ERROR_GEN_OFFSET 0x5848
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_1BIT_INT_THRESH_OFFSET 0x585c
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_INT_ECC_1BIT_THRESH_OFFSET 0x5860
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_ADDR_OFFSET 0x5c00
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_0_OFFSET 0x5c04
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_1_OFFSET 0x5c08
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_2_OFFSET 0x5c0c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_3_OFFSET 0x5c10
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_4_OFFSET 0x5c14
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ERROR_GROUP_SEL_OFFSET 0x6400
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_SEL_OFFSET 0x6404
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MODE_OFFSET 0x6408
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_POST_TRIG_CYCS_OFFSET 0x640c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MASK_OFFSET 0x6410
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EN_MASK_OFFSET 0x6414
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ADDR_OFFSET 0x6418
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_CYCS_STORED_OFFSET 0x641c
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_TRIG_DETECT_OFFSET 0x6420
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_MEM_TRIG_ADDR_OFFSET 0x6424
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_MEM_LAST_ADDR_OFFSET 0x6428
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACK_OFFSET 0x642c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_0_OFFSET 0x6430
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_1_OFFSET 0x6434
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_0_OFFSET 0x6438
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_1_OFFSET 0x643c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_2_OFFSET 0x6440
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_3_OFFSET 0x6444
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_4_OFFSET 0x6448
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_0_OFFSET 0x644c
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_1_OFFSET 0x6450
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_2_OFFSET 0x6454
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_0_OFFSET 0x6458
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_1_OFFSET 0x645c
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_2_OFFSET 0x6460
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PRE_TRIG_CYCS_OFFSET 0x652c
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OFFSET 0x6538
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OVFL_OFFSET 0x6544
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_SEL_FIRST_ERROR_OFFSET 0x6550
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DQ_WIDTH_OFFSET 0x7c00
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ACTIVE_DQ_SEL_OFFSET 0x7c04
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_CA_PARITY_ERROR_OFFSET 0x8000
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_REQ_OFFSET 0x800c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_CMD_OFFSET 0x8010
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_ACK_OFFSET 0x8014
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_RDDATA_EN_OFFSET 0x10000
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_RDLAT_OFFSET 0x10004
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_WRLAT_OFFSET 0x10008
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_PHYUPD_EN_OFFSET 0x1000c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_DATA_REQ_OFFSET 0x10010
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_CTRL_REQ_OFFSET 0x10014
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_LP_ACK_OFFSET 0x10018
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_WAKEUP_OFFSET 0x1001c
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_DRAM_CLK_DISABLE_OFFSET 0x10020
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_ERROR_OFFSET 0x10024
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_ERROR_OFFSET 0x10028
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_ERROR_INFO_OFFSET 0x1002c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_DATA_BYTE_DISABLE_OFFSET 0x10030
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_INIT_COMPLETE_OFFSET 0x10034
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_COMPLETE_OFFSET 0x10038
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_SEL_OFFSET 0x1003c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_PERIODIC_OFFSET 0x10040
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_PATTERN_OFFSET 0x10044
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_DFI_INIT_START_OFFSET 0x10050
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_0_OFFSET 0x12c18
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_1_OFFSET 0x12c1c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_0_OFFSET 0x12c20
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_1_OFFSET 0x12c24
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_0_OFFSET 0x12f18
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_1_OFFSET 0x12f1c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_0_OFFSET 0x12f20
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_1_OFFSET 0x12f24
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_0_OFFSET 0x13218
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_1_OFFSET 0x1321c
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_0_OFFSET 0x13220
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_1_OFFSET 0x13224
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI1_OFFSET 0x13514
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI2_OFFSET 0x13518
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_AUTO_PCH_OFFSET 0x13690
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_RESET_CONTROL_OFFSET 0x3c000
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_PC_RANK_OFFSET 0x3c004
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_RANKS_TO_TRAIN_OFFSET 0x3c008
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST_OFFSET 0x3c00c
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST_DONE_OFFSET 0x3c010
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_READ_REQUEST_OFFSET 0x3c014
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_READ_REQUEST_DONE_OFFSET 0x3c018
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_LEVEL_DELAY_OFFSET 0x3c01c
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_GATE_TRAIN_DELAY_OFFSET 0x3c020
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_EYE_TRAIN_DELAY_OFFSET 0x3c024
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_EYE_PAT_OFFSET 0x3c028
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_START_RECAL_OFFSET 0x3c02c
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_CLR_DFI_LVL_PERIODIC_OFFSET 0x3c030
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_TRAIN_STEP_ENABLE_OFFSET 0x3c034
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_LPDDR_DQ_CAL_PAT_OFFSET 0x3c038
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_INDPNDT_TRAINING_OFFSET 0x3c03c
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_ENCODED_QUAD_CS_OFFSET 0x3c040
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_HALF_CLK_DLY_ENABLE_OFFSET 0x3c044
|
||||||
|
|
||||||
|
/* DDR configuration registers */
|
||||||
|
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_INIT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CTRLR_INIT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MANUAL_ADDRESS_MAP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MANUAL_ADDRESS_MAP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CHIPADDR_MAP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CHIPADDR_MAP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CIDADDR_MAP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CIDADDR_MAP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_LOW (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_LOW_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BANKADDR_MAP_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ROWADDR_MAP_3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_COLADDR_MAP_3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VRCG_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_VRCG_ENABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VRCG_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_VRCG_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_LATENCY_SET (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_LATENCY_SET_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_THERMAL_OFFSET (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_THERMAL_OFFSET_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SOC_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_SOC_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTE_CK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODTE_CK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTE_CS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODTE_CS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODTD_CA (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODTD_CA_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LPDDR4_FSP_OP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_LPDDR4_FSP_OP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_GENERATE_REFRESH_ON_SRX (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_GENERATE_REFRESH_ON_SRX_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DBI_CL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DBI_CL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NON_DBI_CL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_NON_DBI_CL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_DATA_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_DATA_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_CRC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_CRC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MPR_READ_FORMAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MPR_READ_FORMAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_CMD_LAT_CRC_DM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WR_CMD_LAT_CRC_DM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FINE_GRAN_REF_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_FINE_GRAN_REF_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_SENSOR_READOUT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TEMP_SENSOR_READOUT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PER_DRAM_ADDR_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PER_DRAM_ADDR_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_GEARDOWN_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_GEARDOWN_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_PREAMBLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WR_PREAMBLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMBLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RD_PREAMBLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TRN_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TRN_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SR_ABORT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_SR_ABORT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CS_TO_CMDADDR_LATENCY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CS_TO_CMDADDR_LATENCY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INT_VREF_MON (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_INT_VREF_MON_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_RANGE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TEMP_CTRL_REF_RANGE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MAX_PWR_DOWN_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MAX_PWR_DOWN_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_DBI (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_READ_DBI_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_DBI (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_DBI_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_MASK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DATA_MASK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_PERSIST_ERR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CA_PARITY_PERSIST_ERR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT_PARK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RTT_PARK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_INBUF_4_PD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_INBUF_4_PD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_ERR_STATUS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CA_PARITY_ERR_STATUS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CRC_ERROR_CLEAR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CRC_ERROR_CLEAR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_PARITY_LATENCY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CA_PARITY_LATENCY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CCD_S (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CCD_S_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CCD_L (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CCD_L_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_ENABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_RANGE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_RANGE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_VALUE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_VREFDQ_TRN_VALUE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_S (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RRD_S_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_L (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RRD_L_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_S (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WTR_S_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_L (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WTR_L_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_S_CRC_DM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WTR_S_CRC_DM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR_L_CRC_DM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WTR_L_CRC_DM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_CRC_DM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WR_CRC_DM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NIBBLE_DEVICES (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_NIBBLE_DEVICES_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS0_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS1_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS2_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS3_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS4_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS5_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS6_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS7_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS8_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS9_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS10_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS11_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS12_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS13_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS14_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BIT_MAP_INDEX_CS15_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_LOGICAL_RANKS_PER_3DS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_NUM_LOGICAL_RANKS_PER_3DS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC_DLR1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC_DLR2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC_DLR4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC_DLR4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD_DLR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RRD_DLR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FAW_DLR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_FAW_DLR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ADVANCE_ACTIVATE_READY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ADVANCE_ACTIVATE_READY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_SOFT_RESET_N (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CTRLR_SOFT_RESET_N_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_PCH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_PCH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_ACT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_LOOKAHEAD_ACT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_AUTOINIT_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_AUTOINIT_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_RESET (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_FORCE_RESET_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_GEARDOWN_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_GEARDOWN_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DISABLE_CKE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_DISABLE_CKE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PRECHARGE_ALL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_PRECHARGE_ALL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_REFRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_REFRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ZQ_CAL_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_ZQ_CAL_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_INIT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CTRLR_INIT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_INIT_DONE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CTRLR_INIT_DONE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_REF_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AUTO_REF_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RAS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RAS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RCD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RCD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RRD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RRD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_FAW (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_FAW_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RFC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RFC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RTP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WTR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WTR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PASR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_XP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XSR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_XSR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_READ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_READ_TO_READ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_READ_TO_WRITE_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_TO_WRITE_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_READ_TO_READ_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_READ_TO_READ_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WRITE_TO_READ_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MIN_READ_IDLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MIN_READ_IDLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MRD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_QOFF (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_QOFF_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RTT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DLL_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DLL_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REF_PER (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REF_PER_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARTUP_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARTUP_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_COLBITS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_COLBITS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_ROWBITS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_ROWBITS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_BANKBITS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_BANKBITS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS5 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS5_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS6 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS6_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS7 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_MAP_CS7_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS5 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS5_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS6 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS6_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS7 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_MAP_CS7_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_ON (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_ON_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_ON (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_ON_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_OFF (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_RD_TURN_OFF_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_OFF (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_WR_TURN_OFF_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EMR3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_EMR3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TWO_T (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TWO_T_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TWO_T_SEL_CYCLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TWO_T_SEL_CYCLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REGDIMM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REGDIMM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MOD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MOD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_XS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XSDLL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_XSDLL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_XPR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_XPR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AL_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AL_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CWL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CWL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BL_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BL_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TDQS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TDQS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RTT_WR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RTT_WR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LP_ASR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_LP_ASR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_SR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AUTO_SR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_SRT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_SRT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ADDR_MIRROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ADDR_MIRROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_TYPE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_TYPE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_PER (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_PER_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AUTO_ZQ_CAL_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AUTO_ZQ_CAL_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEMORY_TYPE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEMORY_TYPE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ONLY_SRANK_CMDS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ONLY_SRANK_CMDS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_RANKS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_NUM_RANKS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_QUAD_RANK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_QUAD_RANK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_WR_START (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_WR_START_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_RD_START (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_EARLY_RANK_TO_RD_START_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR_BANK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PASR_BANK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PASR_SEG (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PASR_SEG_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MRR_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MRR_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_W_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MR_W_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_ADDR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MR_ADDR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_WR_DATA (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MR_WR_DATA_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MR_WR_MASK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MR_WR_MASK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_NOP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_NOP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INIT_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_INIT_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQINIT_CAL_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQINIT_CAL_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_L_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_L_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_S_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_S_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_R_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_R_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MRR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRW (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MRW_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ODT_POWERDOWN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ODT_POWERDOWN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CAL_READ_PERIOD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CAL_READ_PERIOD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_NUM_CAL_READS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_NUM_CAL_READS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_SELF_REFRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_SELF_REFRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_SELF_REFRESH_STATUS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_SELF_REFRESH_STATUS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_POWER_DOWN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_POWER_DOWN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_POWER_DOWN_STATUS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_POWER_DOWN_STATUS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_CS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_FORCE_WRITE_CS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_INIT_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_INIT_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CTRLR_READY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CTRLR_READY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RDIMM_READY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_RDIMM_READY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RDIMM_COMPLETE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_RDIMM_COMPLETE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RDIMM_LAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RDIMM_LAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RDIMM_BSIDE_INVERT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RDIMM_BSIDE_INVERT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_LRDIMM (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_LRDIMM_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_MEMORY_RESET_MASK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_MEMORY_RESET_MASK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TOGGLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RD_PREAMB_TOGGLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RD_POSTAMBLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RD_POSTAMBLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PU_CAL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PU_CAL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DQ_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DQ_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CA_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CA_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQLATCH_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQLATCH_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_SELECT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_SELECT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_R_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_R_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_B_SIZE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_B_SIZE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_R_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_R_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_READ_COMPLETE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_READ_COMPLETE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RWFIFO (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_RWFIFO_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_RD_DQCAL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_RD_DQCAL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_START_DQSOSC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_START_DQSOSC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_STOP_DQSOSC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_STOP_DQSOSC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ZQ_CAL_START (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_ZQ_CAL_START_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_WR_POSTAMBLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_WR_POSTAMBLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CAL_L_ADDR_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLUPD_TRIG (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLUPD_TRIG_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLUPD_START_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLUPD_START_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_CTRLUPD_MAX (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_CTRLUPD_MAX_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SEL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SEL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_VALUE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_VALUE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_TURN_OFF_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_TURN_OFF_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_SLOW_RESTART_WINDOW_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_RESTART_HOLDOFF (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_RESTART_HOLDOFF_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PARITY_RDIMM_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PARITY_RDIMM_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CTRLR_BUSY_ENABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ASYNC_ODT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ASYNC_ODT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ZQ_CAL_DURATION (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ZQ_CAL_DURATION_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MRRI (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MRRI_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ODT_FORCE_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_ODT_FORCE_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_ODT_FORCE_RANK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_ODT_FORCE_RANK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PHYUPD_ACK_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PHYUPD_ACK_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MIRROR_X16_BG0_BG1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MIRROR_X16_BG0_BG1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PDA_MR_W_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_PDA_MR_W_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_PDA_NIBBLE_SELECT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_PDA_NIBBLE_SELECT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DRAM_CLK_DISABLE_IN_SELF_REFRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CKSRE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CKSRE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_CKSRX (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_CKSRX_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RCD_STAB (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RCD_STAB_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_CTRL_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_CTRL_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_DRAM_CLK_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_DRAM_CLK_ENABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_SELF_REFRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_SELF_REFRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_POWER_DOWN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_IDLE_TIME_TO_POWER_DOWN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BURST_RW_REFRESH_HOLDOFF (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BURST_RW_REFRESH_HOLDOFF_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_REFRESH_COUNT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_REFRESH_COUNT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_BG_INTERLEAVE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_BG_INTERLEAVE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REFRESH_DURING_PHY_TRAINING (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REFRESH_DURING_PHY_TRAINING_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_EN_SINGLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_EN_SINGLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_STOP_ON_ERROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_STOP_ON_ERROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_RD_ONLY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_RD_ONLY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_WR_ONLY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_WR_ONLY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DATA_PATTERN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_DATA_PATTERN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ADDR_PATTERN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ADDR_PATTERN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DATA_INVERT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_DATA_INVERT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ADDR_BITS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ADDR_BITS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_STS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_STS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_DONE_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_DONE_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_START_ADDR_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_START_ADDR_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_START_ADDR_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_START_ADDR_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_MASK_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_MASK_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_MASK_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_MASK_3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ERROR_MASK_4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ERROR_MASK_4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_USER_DATA_PATTERN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_USER_DATA_PATTERN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MT_ALG_AUTO_PCH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MT_ALG_AUTO_PCH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P5 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P5_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P6 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P6_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P7 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_STARVE_TIMEOUT_P7_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REORDER_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_QUEUE_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REORDER_QUEUE_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_INTRAPORT_REORDER_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_INTRAPORT_REORDER_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MAINTAIN_COHERENCY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MAINTAIN_COHERENCY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_Q_AGE_LIMIT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_Q_AGE_LIMIT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RO_CLOSED_PAGE_POLICY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RO_CLOSED_PAGE_POLICY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_REORDER_RW_ONLY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_REORDER_RW_ONLY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RO_PRIORITY_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RO_PRIORITY_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DM_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DM_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_RMW_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_RMW_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_CORRECTION_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ECC_CORRECTION_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_BYPASS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ECC_BYPASS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_WRITE_DATA_1B_ECC_ERROR_GEN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_WRITE_DATA_1B_ECC_ERROR_GEN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_WRITE_DATA_2B_ECC_ERROR_GEN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_WRITE_DATA_2B_ECC_ERROR_GEN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ECC_1BIT_INT_THRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ECC_1BIT_INT_THRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_INT_ECC_1BIT_THRESH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_INT_ECC_1BIT_THRESH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_ADDR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_ADDR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_READ_CAPTURE_DATA_4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ERROR_GROUP_SEL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ERROR_GROUP_SEL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_SEL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DATA_SEL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MODE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_MODE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_POST_TRIG_CYCS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_POST_TRIG_CYCS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MASK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_MASK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_EN_MASK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_EN_MASK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ADDR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_ADDR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_CYCS_STORED (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_CYCS_STORED_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_TRIG_DETECT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_TRIG_DETECT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_MEM_TRIG_ADDR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_MEM_TRIG_ADDR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_MEM_LAST_ADDR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_MEM_LAST_ADDR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_MT_ADDR_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_3 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_3_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_4 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_TRIG_ERR_MASK_4_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_WR_DATA_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_RD_DATA_2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_PRE_TRIG_CYCS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_PRE_TRIG_CYCS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OVFL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_MTC_ACQ_ERROR_CNT_OVFL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DATA_SEL_FIRST_ERROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DATA_SEL_FIRST_ERROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DQ_WIDTH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DQ_WIDTH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ACTIVE_DQ_SEL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ACTIVE_DQ_SEL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_CA_PARITY_ERROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_CA_PARITY_ERROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_CMD (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_CMD_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_CA_PARITY_ERROR_GEN_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_RDDATA_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_RDDATA_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_RDLAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_RDLAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_WRLAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_T_PHY_WRLAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_PHYUPD_EN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_PHYUPD_EN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_DATA_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_DFI_LP_DATA_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_CTRL_REQ (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_DFI_LP_CTRL_REQ_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_LP_ACK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_LP_ACK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_LP_WAKEUP (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_DFI_LP_WAKEUP_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_INIT_DFI_DRAM_CLK_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_INIT_DFI_DRAM_CLK_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_ERROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_ERROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_ERROR (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_ERROR_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_ERROR_INFO (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_ERROR_INFO_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_DATA_BYTE_DISABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_DATA_BYTE_DISABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_INIT_COMPLETE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_INIT_COMPLETE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_COMPLETE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_STAT_DFI_TRAINING_COMPLETE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_SEL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_LVL_SEL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_PERIODIC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_LVL_PERIODIC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_DFI_LVL_PATTERN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_DFI_LVL_PATTERN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_DFI_INIT_START (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_DFI_INIT_START_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI1_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_START_ADDRESS_AXI2_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI1_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_END_ADDRESS_AXI2_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI1_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_0 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_0_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_MEM_START_ADDRESS_AXI2_1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI1 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI1_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI2 (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_ENABLE_BUS_HOLD_AXI2_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_CFG_AXI_AUTO_PCH (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_CFG_AXI_AUTO_PCH_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_RESET_CONTROL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_RESET_CONTROL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_PC_RANK (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_PC_RANK_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_RANKS_TO_TRAIN (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_RANKS_TO_TRAIN_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST_DONE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_WRITE_REQUEST_DONE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_READ_REQUEST (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_READ_REQUEST_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_READ_REQUEST_DONE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_READ_REQUEST_DONE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_WRITE_LEVEL_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_WRITE_LEVEL_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_GATE_TRAIN_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_GATE_TRAIN_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_EYE_TRAIN_DELAY (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_EYE_TRAIN_DELAY_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_EYE_PAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_EYE_PAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_START_RECAL (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_START_RECAL_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_CLR_DFI_LVL_PERIODIC (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_CLR_DFI_LVL_PERIODIC_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_TRAIN_STEP_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_TRAIN_STEP_ENABLE_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_LPDDR_DQ_CAL_PAT (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_LPDDR_DQ_CAL_PAT_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_INDPNDT_TRAINING (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_INDPNDT_TRAINING_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_ENCODED_QUAD_CS (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_ENCODED_QUAD_CS_OFFSET)
|
||||||
|
#define MPFS_DDR_CSR_APB_PHY_HALF_CLK_DLY_ENABLE (MPFS_DDRCFG_BASE + MPFS_DDR_CSR_APB_PHY_HALF_CLK_DLY_ENABLE_OFFSET)
|
||||||
|
|
||||||
|
#endif /* __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_DDR_H */
|
747
arch/risc-v/src/mpfs/hardware/mpfs_sgmii.h
Normal file
747
arch/risc-v/src/mpfs/hardware/mpfs_sgmii.h
Normal file
@ -0,0 +1,747 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
* arch/risc-v/src/mpfs/hardware/mpfs_sgmii.h
|
||||||
|
*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance with the
|
||||||
|
* License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_SGMII_H
|
||||||
|
#define __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_SGMII_H
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Included Files
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "hardware/mpfs_memorymap.h"
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Pre-processor Definitions
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG0_OFFSET 0xd00
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG1_OFFSET 0xd08
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG2_OFFSET 0xd10
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG3_OFFSET 0xd18
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG4_OFFSET 0xd20
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG5_OFFSET 0xd28
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG6_OFFSET 0xd30
|
||||||
|
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG0_OFFSET 0xe00
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG1_OFFSET 0xe08
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG2_OFFSET 0xe10
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG3_OFFSET 0xe18
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG4_OFFSET 0xe20
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG5_OFFSET 0xe28
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG6_OFFSET 0xe30
|
||||||
|
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG0 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG0_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG1 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG1_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG2 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG2_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG3 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG3_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG4 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG4_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG5 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG5_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG0_REG6 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG0_REG6_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG0 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG0_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG1 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG1_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG2 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG2_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG3 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG3_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG4 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG4_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG5 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG5_OFFSET)
|
||||||
|
#define MPFS_MPUCFG_SEG1_REG6 (MPFS_MPUCFG_BASE + MPFS_MPUCFG_SEG1_REG6_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCBCFG_TIMER_OFFSET 0x08
|
||||||
|
|
||||||
|
#define MPFS_SYSREGSCB_MSS_RESET_CR_OFFSET 0x100
|
||||||
|
#define MPFS_SYSREGSCB_MSSIO_CONTROL_CR_OFFSET 0x1bc
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_DLL_SGMII_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_BANK_CNTL_SGMII_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_BANK_CNTL_DDR_SOFT_RESET_OFFSET 0x000
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_CALIB_SGMII_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_CALIB_SGMII_IOC_REG0_OFFSET 0x004
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG0_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG1_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG2_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG3_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG4_OFFSET 0x014
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG5_OFFSET 0x018
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG6_OFFSET 0x01c
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_LANE01_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_SGMII_LANE23_SOFT_RESET_OFFSET 0x000
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_RFCKMUX_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_SGMII_CLKMUX_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_SPARE0_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_CLK_XCVR_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_TEST_CTRL_OFFSET 0x014
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_BCLKMUX_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_PLL_CKMUX_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_MSSCLKMUX_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_SPARE0_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_ADDR_OFFSET 0x014
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_DATAW_OFFSET 0x018
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_DATAR_OFFSET 0x01c
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_TEST_CTRL_OFFSET 0x020
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_CTRL_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_REF_FB_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_FRACN_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_DIV_0_1_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_DIV_2_3_OFFSET 0x014
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_CTRL2_OFFSET 0x018
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_CAL_OFFSET 0x01c
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_PHADJ_OFFSET 0x020
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_0_OFFSET 0x024
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_1_OFFSET 0x028
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_2_OFFSET 0x02c
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_3_OFFSET 0x030
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_CTRL_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_REF_FB_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_FRACN_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_DIV_0_1_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_DIV_2_3_OFFSET 0x014
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_CTRL2_OFFSET 0x018
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_CAL_OFFSET 0x01c
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_PHADJ_OFFSET 0x020
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_0_OFFSET 0x024
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_1_OFFSET 0x028
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_2_OFFSET 0x02c
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_3_OFFSET 0x030
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SOFT_RESET_OFFSET 0x000
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_CTRL_OFFSET 0x004
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_REF_FB_OFFSET 0x008
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_FRACN_OFFSET 0x00c
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_DIV_0_1_OFFSET 0x010
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_DIV_2_3_OFFSET 0x014
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_CTRL2_OFFSET 0x018
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_CAL_OFFSET 0x01c
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_PHADJ_OFFSET 0x020
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_0_OFFSET 0x024
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_1_OFFSET 0x028
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_2_OFFSET 0x02c
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_3_OFFSET 0x030
|
||||||
|
|
||||||
|
#define MPFS_GEM0_NETWORK_CONFIG_OFFSET 0x004
|
||||||
|
#define MPFS_GEM1_NETWORK_CONFIG_OFFSET 0x004
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DDR_PHY_OFFSET 0x000
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DDRPHY_MODE_OFFSET 0x004
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_STARTUP_OFFSET 0x008
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_0_OFFSET 0x00c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_MAIN_PLL_OFFSET 0x080
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL_MAIN_OFFSET 0x084
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_REF_FB_MAIN_OFFSET 0x088
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_FRACN_MAIN_OFFSET 0x08c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_0_1_MAIN_OFFSET 0x090
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_2_3_MAIN_OFFSET 0x094
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL2_MAIN_OFFSET 0x098
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CAL_MAIN_OFFSET 0x09c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_PHADJ_MAIN_OFFSET 0x0a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_0_MAIN_OFFSET 0x0a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_1_MAIN_OFFSET 0x0a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_2_MAIN_OFFSET 0x0ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_3_MAIN_OFFSET 0x0b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_RESET_MAIN_PLL_OFFSET 0x0b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_IOSCB_PLL_OFFSET 0x100
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL_IOSCB_OFFSET 0x104
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_REF_FB_IOSCB_OFFSET 0x108
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_FRACN_IOSCB_OFFSET 0x10c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_0_1_IOSCB_OFFSET 0x110
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_2_3_IOSCB_OFFSET 0x114
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL2_IOSCB_OFFSET 0x118
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CAL_IOSCB_OFFSET 0x11c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_PHADJ_IOSCB_OFFSET 0x120
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_0_IOSCB_OFFSET 0x124
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_1_IOSCB_OFFSET 0x128
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_2_IOSCB_OFFSET 0x12c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_3_IOSCB_OFFSET 0x130
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_RESET_IOSCB_OFFSET 0x134
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_BANK_CTRL_OFFSET 0x180
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DPC_BITS_OFFSET 0x184
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_BANK_STATUS_OFFSET 0x188
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_RESET_BANK_CTRL_OFFSET 0x18c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_IOCALIB_OFFSET 0x200
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG0_OFFSET 0x204
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG1_OFFSET 0x208
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG2_OFFSET 0x20c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG3_OFFSET 0x210
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG4_OFFSET 0x214
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG5_OFFSET 0x218
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG6_OFFSET 0x21c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_RESET_IOCALIB_OFFSET 0x220
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_CALIB_OFFSET 0x224
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_OFFSET 0x280
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_BCLKMUX_OFFSET 0x284
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CKMUX_OFFSET 0x288
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_MSSCLKMUX_OFFSET 0x28c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE0_OFFSET 0x290
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_FMETER_ADDR_OFFSET 0x294
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_FMETER_DATAW_OFFSET 0x298
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_FMETER_DATAR_OFFSET 0x29c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TEST_CTRL_OFFSET 0x2a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC_RESET_OFFSET 0x2a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_DRIVER_OFFSET 0x300
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC1_DRV_OFFSET 0x304
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC2_DRV_OFFSET 0x308
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC3_DRV_OFFSET 0x30c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC4_DRV_OFFSET 0x310
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_ODT_OFFSET 0x380
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC1_ODT_OFFSET 0x384
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC2_ODT_OFFSET 0x388
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC3_ODT_OFFSET 0x38c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC4_ODT_OFFSET 0x390
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC5_ODT_OFFSET 0x394
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC6_ODT_OFFSET 0x398
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC7_ODT_OFFSET 0x39c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC8_ODT_OFFSET 0x3a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC9_ODT_OFFSET 0x3a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC10_ODT_OFFSET 0x3a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC11_ODT_OFFSET 0x3ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_IO_OFFSET 0x400
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT1_OFFSET 0x404
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT2_OFFSET 0x408
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT3_OFFSET 0x40c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT4_OFFSET 0x410
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT5_OFFSET 0x414
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT6_OFFSET 0x418
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT7_OFFSET 0x41c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT8_OFFSET 0x420
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT9_OFFSET 0x424
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT10_OFFSET 0x428
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT11_OFFSET 0x42c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT12_OFFSET 0x430
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT13_OFFSET 0x434
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT14_OFFSET 0x438
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT15_OFFSET 0x43c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT16_OFFSET 0x440
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC17_OFFSET 0x444
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC18_OFFSET 0x448
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC19_OFFSET 0x44c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC20_OFFSET 0x450
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC21_OFFSET 0x454
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC22_OFFSET 0x458
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC23_OFFSET 0x45c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC24_OFFSET 0x460
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC25_OFFSET 0x464
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC26_OFFSET 0x468
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC27_OFFSET 0x46c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC28_OFFSET 0x470
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC29_OFFSET 0x474
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC30_OFFSET 0x478
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC31_OFFSET 0x47c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC32_OFFSET 0x480
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC33_OFFSET 0x484
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC34_OFFSET 0x488
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC35_OFFSET 0x48c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC36_OFFSET 0x490
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC37_OFFSET 0x494
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC38_OFFSET 0x498
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC39_OFFSET 0x49c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC40_OFFSET 0x4a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC41_OFFSET 0x4a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC42_OFFSET 0x4a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC43_OFFSET 0x4ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC44_OFFSET 0x4b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC45_OFFSET 0x4b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC46_OFFSET 0x4b8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC47_OFFSET 0x4bc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC48_OFFSET 0x4c0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC49_OFFSET 0x4c4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC50_OFFSET 0x4c8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC51_OFFSET 0x4cc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC52_OFFSET 0x4d0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC53_OFFSET 0x4d4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC54_OFFSET 0x4d8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC55_OFFSET 0x4dc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC56_OFFSET 0x4e0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC57_OFFSET 0x4e4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC58_OFFSET 0x4e8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC59_OFFSET 0x4ec
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC60_OFFSET 0x4f0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC61_OFFSET 0x4f4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC62_OFFSET 0x4f8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC63_OFFSET 0x4fc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC64_OFFSET 0x500
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC65_OFFSET 0x504
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC66_OFFSET 0x508
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC67_OFFSET 0x50c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC68_OFFSET 0x510
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC69_OFFSET 0x514
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC70_OFFSET 0x518
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC71_OFFSET 0x51c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC72_OFFSET 0x520
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC73_OFFSET 0x524
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC74_OFFSET 0x528
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC75_OFFSET 0x52c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC76_OFFSET 0x530
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC77_OFFSET 0x534
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC78_OFFSET 0x538
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC79_OFFSET 0x53c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC80_OFFSET 0x540
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC81_OFFSET 0x544
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC82_OFFSET 0x548
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC83_OFFSET 0x54c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC84_OFFSET 0x550
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC85_OFFSET 0x554
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC86_OFFSET 0x558
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC87_OFFSET 0x55c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC88_OFFSET 0x560
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC89_OFFSET 0x564
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC90_OFFSET 0x568
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC91_OFFSET 0x56c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC92_OFFSET 0x570
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC93_OFFSET 0x574
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC94_OFFSET 0x578
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC95_OFFSET 0x57c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC96_OFFSET 0x580
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC97_OFFSET 0x584
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC98_OFFSET 0x588
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC99_OFFSET 0x58c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC100_OFFSET 0x590
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC101_OFFSET 0x594
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC102_OFFSET 0x598
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC103_OFFSET 0x59c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC104_OFFSET 0x5a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC105_OFFSET 0x5a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC106_OFFSET 0x5a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC107_OFFSET 0x5ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC108_OFFSET 0x5b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC109_OFFSET 0x5b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC110_OFFSET 0x5b8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC111_OFFSET 0x5bc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC112_OFFSET 0x5c0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC113_OFFSET 0x5c4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC114_OFFSET 0x5c8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC115_OFFSET 0x5cc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC116_OFFSET 0x5d0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC117_OFFSET 0x5d4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC118_OFFSET 0x5d8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC119_OFFSET 0x5dc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC120_OFFSET 0x5e0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC121_OFFSET 0x5e4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC122_OFFSET 0x5e8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC123_OFFSET 0x5ec
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC124_OFFSET 0x5f0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC125_OFFSET 0x5f4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC126_OFFSET 0x5f8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC127_OFFSET 0x5fc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC128_OFFSET 0x600
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC129_OFFSET 0x604
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC130_OFFSET 0x608
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC131_OFFSET 0x60c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC132_OFFSET 0x610
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC133_OFFSET 0x614
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC134_OFFSET 0x618
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC135_OFFSET 0x61c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC136_OFFSET 0x620
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC137_OFFSET 0x624
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC138_OFFSET 0x628
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC139_OFFSET 0x62c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC140_OFFSET 0x630
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC141_OFFSET 0x634
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC142_OFFSET 0x638
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC143_OFFSET 0x63c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC144_OFFSET 0x640
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC145_OFFSET 0x644
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC146_OFFSET 0x648
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC147_OFFSET 0x64c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC148_OFFSET 0x650
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC149_OFFSET 0x654
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC150_OFFSET 0x658
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC151_OFFSET 0x65c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC152_OFFSET 0x660
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC153_OFFSET 0x664
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC154_OFFSET 0x668
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC155_OFFSET 0x66c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC156_OFFSET 0x670
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC157_OFFSET 0x674
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC158_OFFSET 0x678
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC159_OFFSET 0x67c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC160_OFFSET 0x680
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC161_OFFSET 0x684
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC162_OFFSET 0x688
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC163_OFFSET 0x68c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC164_OFFSET 0x690
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC165_OFFSET 0x694
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC166_OFFSET 0x698
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC167_OFFSET 0x69c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC168_OFFSET 0x6a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC169_OFFSET 0x6a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC170_OFFSET 0x6a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC171_OFFSET 0x6ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC172_OFFSET 0x6b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC173_OFFSET 0x6b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC174_OFFSET 0x6b8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC175_OFFSET 0x6bc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC176_OFFSET 0x6c0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC177_OFFSET 0x6c4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC178_OFFSET 0x6c8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC179_OFFSET 0x6cc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC180_OFFSET 0x6d0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC181_OFFSET 0x6d4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC182_OFFSET 0x6d8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC183_OFFSET 0x6dc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC184_OFFSET 0x6e0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC185_OFFSET 0x6e4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC186_OFFSET 0x6e8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC187_OFFSET 0x6ec
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC188_OFFSET 0x6f0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC189_OFFSET 0x6f4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC190_OFFSET 0x6f8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC191_OFFSET 0x6fc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC192_OFFSET 0x700
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC193_OFFSET 0x704
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC194_OFFSET 0x708
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC195_OFFSET 0x70c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC196_OFFSET 0x710
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC197_OFFSET 0x714
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC198_OFFSET 0x718
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC199_OFFSET 0x71c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC200_OFFSET 0x720
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC201_OFFSET 0x724
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC202_OFFSET 0x728
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC203_OFFSET 0x72c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC204_OFFSET 0x730
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC205_OFFSET 0x734
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC206_OFFSET 0x738
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC207_OFFSET 0x73c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC208_OFFSET 0x740
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC209_OFFSET 0x744
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC210_OFFSET 0x748
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC211_OFFSET 0x74c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC212_OFFSET 0x750
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC213_OFFSET 0x754
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC214_OFFSET 0x758
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC215_OFFSET 0x75c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC216_OFFSET 0x760
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC217_OFFSET 0x764
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC218_OFFSET 0x768
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC219_OFFSET 0x76c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC220_OFFSET 0x770
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC221_OFFSET 0x774
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC222_OFFSET 0x778
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC223_OFFSET 0x77c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC224_OFFSET 0x780
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC225_OFFSET 0x784
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC226_OFFSET 0x788
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC227_OFFSET 0x78c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC228_OFFSET 0x790
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC229_OFFSET 0x794
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC230_OFFSET 0x798
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC231_OFFSET 0x79c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC232_OFFSET 0x7a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC233_OFFSET 0x7a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC234_OFFSET 0x7a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC235_OFFSET 0x7ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC236_OFFSET 0x7b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC237_OFFSET 0x7b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC238_OFFSET 0x7b8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC239_OFFSET 0x7bc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC240_OFFSET 0x7c0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC241_OFFSET 0x7c4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC242_OFFSET 0x7c8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC243_OFFSET 0x7cc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC244_OFFSET 0x7d0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC245_OFFSET 0x7d4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC246_OFFSET 0x7d8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC247_OFFSET 0x7dc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC248_OFFSET 0x7e0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC249_OFFSET 0x7e4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC250_OFFSET 0x7e8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPIO251_OFFSET 0x7ec
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPIO252_OFFSET 0x7f0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPIO253_OFFSET 0x7f4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_TIP_OFFSET 0x800
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RANK_SELECT_OFFSET 0x804
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_LANE_SELECT_OFFSET 0x808
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_SKIP_OFFSET 0x80c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_START_OFFSET 0x810
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_STATUS_OFFSET 0x814
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_RESET_OFFSET 0x818
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_ERR_COMB_OFFSET 0x81c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_CLK_SEL_OFFSET 0x820
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_TXDLY_OFFSET 0x824
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_STEPS_180_OFFSET 0x828
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_STATE_OFFSET 0x82c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_WL_DELAY_0_OFFSET 0x830
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQ_DQS_ERR_DONE_OFFSET 0x834
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_WINDOW_OFFSET 0x838
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATE_OFFSET 0x83c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DELTA0_OFFSET 0x840
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DELTA1_OFFSET 0x844
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS0_OFFSET 0x848
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS1_OFFSET 0x84c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS2_OFFSET 0x850
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS3_OFFSET 0x854
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS4_OFFSET 0x858
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS5_OFFSET 0x85c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS6_OFFSET 0x860
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS0_OFFSET 0x864
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS1_OFFSET 0x868
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_ADDCMD_ANSWER_OFFSET 0x86c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_BCLKSCLK_ANSWER_OFFSET 0x870
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_WRCALIB_OFFSET_OFFSET 0x874
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_MODE_EN_OFFSET 0x878
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG0_OFFSET 0x87c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG1_OFFSET 0x880
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_DIRECTION_REG0_OFFSET 0x884
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_DIRECTION_REG1_OFFSET 0x888
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG0_OFFSET 0x88c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG1_OFFSET 0x890
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_OOR_REG0_OFFSET 0x894
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_OOR_REG1_OFFSET 0x898
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MV_RD_DLY_REG_OFFSET 0x89c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_PAUSE_OFFSET 0x8a0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_PLLCNT_OFFSET 0x8a4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DQLANE_READBACK_OFFSET 0x8a8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_ADDCMD_LN_READBACK_OFFSET 0x8ac
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_READ_GATE_CONTROLS_OFFSET 0x8b0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DQ_DQS_OPTIMIZATION0_OFFSET 0x8b4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DQ_DQS_OPTIMIZATION1_OFFSET 0x8b8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_WRCALIB_OFFSET 0x8bc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_CALIF_OFFSET 0x8c0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_CALIF_READBACK_OFFSET 0x8c4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_CALIF_READBACK1_OFFSET 0x8c8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DFI_STATUS_OVERRIDE_OFFSET 0x8cc
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TIP_CFG_PARAMS_OFFSET 0x8d0
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TIP_VREF_PARAM_OFFSET 0x8d4
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_LANE_ALIGNMENT_FIFO_CONTROL_OFFSET 0x8d8
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_SGMII_OFFSET 0xc00
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SGMII_MODE_OFFSET 0xc04
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CNTL_OFFSET 0xc08
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CH0_CNTL_OFFSET 0xc0c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CH1_CNTL_OFFSET 0xc10
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RECAL_CNTL_OFFSET 0xc14
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CLK_CNTL_OFFSET 0xc18
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DYN_CNTL_OFFSET 0xc1c
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PVT_STAT_OFFSET 0xc20
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_CNTL_OFFSET 0xc24
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_STAT_OFFSET 0xc28
|
||||||
|
|
||||||
|
#define MPFS_SYSREG_CLOCK_CONFIG_CR (MPFS_SYSREG_BASE + MPFS_SYSREG_CLOCK_CONFIG_CR_OFFSET)
|
||||||
|
#define MPFS_SYSREG_RTC_CLOCK_CR (MPFS_SYSREG_BASE + MPFS_SYSREG_RTC_CLOCK_CR_OFFSET)
|
||||||
|
#define MPFS_SYSREG_ENVM_CR (MPFS_SYSREG_BASE + MPFS_SYSREG_ENVM_CR_OFFSET)
|
||||||
|
#define MPFS_SYSREG_DFIAPB_CR (MPFS_SYSREG_BASE + MPFS_SYSREG_DFIAPB_CR_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCBCFG_TIMER (MPFS_IOSCBCFG_BASE + MPFS_IOSCBCFG_TIMER_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DDR_PHY (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DDR_PHY_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_STARTUP (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_STARTUP_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DYN_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DYN_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SGMII_MODE (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SGMII_MODE_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CH0_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_CH0_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CH1_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_CH1_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RECAL_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RECAL_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_CLK_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_CLK_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PVT_STAT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PVT_STAT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SPARE_CNTL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_STAT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SPARE_STAT_OFFSET)
|
||||||
|
|
||||||
|
/* SGMII register definitions */
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_DRIVER (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_DRIVER_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_IO (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SOFT_RESET_DECODER_IO_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_START (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_TRAINING_START_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DDRPHY_MODE (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DDRPHY_MODE_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DPC_BITS (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DPC_BITS_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC95 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC95_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC96 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC96_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC97 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC97_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC98 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC98_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPARE_0 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SPARE_0_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SPIO253 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SPIO253_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC10_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC10_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC11_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC11_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT9 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT9_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT10 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT10_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC245 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC245_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC237 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC237_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT11 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT11_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT12 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT12_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT13 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT13_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT14 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT14_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT15 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT15_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_OVRT16 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_OVRT16_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC27 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC27_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC203 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC203_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC1_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC1_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC2_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC2_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC3_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC3_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC4_ODT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC4_ODT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC19 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC19_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC20 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC20_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC145 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC145_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC147 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC147_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC166 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC166_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC168 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC168_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC220 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC220_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC235 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC235_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC236 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC236_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC237 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC237_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC238 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC238_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC239 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC239_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC240 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC240_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC241 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC241_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC242 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC242_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC243 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC243_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC244 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC244_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC245 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC245_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC246 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC246_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC247 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC247_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC248 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC248_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC249 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC249_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC250 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC250_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_REF_FB_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_REF_FB_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_0_1_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_0_1_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_2_3_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_DIV_2_3_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL2_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_CTRL2_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_PLL_PHADJ_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_PLL_PHADJ_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_2_MAIN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_SSCG_REG_2_MAIN_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_RESET (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_TRAINING_RESET_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_SKIP (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_TRAINING_SKIP_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TRAINING_STATUS (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_TRAINING_STATUS_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_MODE_EN (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_MODE_EN_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG0 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG0_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_PLLCNT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_PLLCNT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MV_RD_DLY_REG (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MV_RD_DLY_REG_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG0 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG0_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_LOAD_REG1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_PAUSE (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_PAUSE_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_MOVE_REG1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_DIRECTION_REG1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DLYCNT_DIRECTION_REG1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_WRCALIB (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_WRCALIB_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_TIP_CFG_PARAMS (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_TIP_CFG_PARAMS_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_DFI_STATUS_OVERRIDE (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_DFI_STATUS_OVERRIDE_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_EXPERT_ADDCMD_LN_READBACK (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_EXPERT_ADDCMD_LN_READBACK_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_RPC1_DRV (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_RPC1_DRV_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_LANE_SELECT (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_LANE_SELECT_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS0 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS0_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_ADDCMD_STATUS1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_ERR_COMB (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_GT_ERR_COMB_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQ_DQS_ERR_DONE (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DQ_DQS_ERR_DONE_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DQDQS_STATUS1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_CLK_SEL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_GT_CLK_SEL_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_GT_TXDLY (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_GT_TXDLY_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_DYN_CNTL (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_DYN_CNTL_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_BANK_CNTL_SGMII_SOFT_RESET (MPFS_IOSCB_BANK_SGMII_BASE + MPFS_IOSCB_BANK_CNTL_SGMII_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_BANK_CNTL_DDR_SOFT_RESET (MOFS_IOSCB_BANK_DDR_BASE + MPFS_IOSCB_BANK_CNTL_DDR_SOFT_RESET_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG0 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_IOC_REG0_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG1 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_IOC_REG1_OFFSET)
|
||||||
|
#define MPFS_CFG_DDR_SGMII_PHY_IOC_REG6 (MPFS_CFG_DDR_SGMII_PHY_BASE + MPFS_CFG_DDR_SGMII_PHY_IOC_REG6_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_SYSREGSCB_MSS_RESET_CR (MPFS_SYSREGSCB_BASE + MPFS_SYSREGSCB_MSS_RESET_CR_OFFSET)
|
||||||
|
#define MPFS_SYSREGSCB_MSSIO_CONTROL_CR (MPFS_SYSREGSCB_BASE + MPFS_SYSREGSCB_MSSIO_CONTROL_CR_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_SYSREGSCB_MSSIO_BANK2_CFG_CR (MPFS_SYSREGSCB_BASE + MPFS_SYSREGSCB_MSSIO_BANK2_CFG_CR_OFFSET)
|
||||||
|
#define MPFS_SYSREGSCB_MSSIO_BANK4_CFG_CR (MPFS_SYSREGSCB_BASE + MPFS_SYSREGSCB_MSSIO_BANK4_CFG_CR_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_DLL_SGMII_SOFT_RESET (MPFS_IOSCB_DLL_SGMII_BASE + MPFS_IOSCB_DLL_SGMII_SOFT_RESET_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_LANE01_SOFT_RESET (MPFS_IOSCB_SGMII_LANE01_BASE + MPFS_IOSCB_SGMII_LANE01_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_LANE23_SOFT_RESET (MPFS_IOSCB_SGMII_LANE23_BASE + MPFS_IOSCB_SGMII_LANE23_SOFT_RESET_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_CALIB_SGMII_SOFT_RESET (MPFS_IOSCB_IO_CALIB_SGMII_BASE + MPFS_IOSCB_CALIB_SGMII_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_SGMII_IOC_REG0 (MPFS_IOSCB_IO_CALIB_SGMII_BASE + MPFS_IOSCB_CALIB_SGMII_IOC_REG0_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_SOFT_RESET (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG0 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG0_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG1 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG2 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG3 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG3_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG4 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG4_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG5 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG5_OFFSET)
|
||||||
|
#define MPFS_IOSCB_CALIB_DDR_IOC_REG6 (MPFS_IOSCB_IO_CALIB_DDR_BASE + MPFS_IOSCB_CALIB_DDR_IOC_REG6_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_SOFT_RESET (MPFS_IOSCB_SGMII_MUX_BASE + MPFS_IOSCB_SGMII_MUX_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_SGMII_CLKMUX (MPFS_IOSCB_SGMII_MUX_BASE + MPFS_IOSCB_SGMII_MUX_SGMII_CLKMUX_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_RFCKMUX (MPFS_IOSCB_SGMII_MUX_BASE + MPFS_IOSCB_SGMII_MUX_RFCKMUX_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_MUX_CLK_XCVR (MPFS_IOSCB_SGMII_MUX_BASE + MPFS_IOSCB_SGMII_MUX_CLK_XCVR_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_SOFT_RESET (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_BCLKMUX (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_BCLKMUX_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_PLL_CKMUX (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_PLL_CKMUX_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_MSSCLKMUX (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_MSSCLKMUX_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_SPARE0 (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_SPARE0_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_ADDR (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_FMETER_ADDR_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_DATAW (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_FMETER_DATAW_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_FMETER_DATAR (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_FMETER_DATAR_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_MUX_TEST_CTRL (MPFS_IOSCB_MSS_MUX_BASE + MPFS_IOSCB_MSS_MUX_TEST_CTRL_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SOFT_RESET (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_CTRL (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_CTRL_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_CTRL2 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_CTRL2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_REF_FB (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_REF_FB_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_DIV_0_1 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_DIV_0_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_DIV_2_3 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_DIV_2_3_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_FRACN (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_FRACN_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_PHADJ (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_PHADJ_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_0 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_SSCG_REG_0_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_1 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_SSCG_REG_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_2 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_SSCG_REG_2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_SGMII_PLL_SSCG_REG_3 (MPFS_IOSCB_SGMII_PLL_BASE + MPFS_IOSCB_SGMII_PLL_SSCG_REG_3_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SOFT_RESET (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_CTRL (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_CTRL_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_CTRL2 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_CTRL2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_REF_FB (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_REF_FB_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_DIV_0_1 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_DIV_0_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_DIV_2_3 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_DIV_2_3_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_FRACN (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_FRACN_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_PHADJ (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_PHADJ_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_0 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_SSCG_REG_0_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_1 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_SSCG_REG_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_2 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_SSCG_REG_2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_MSS_PLL_SSCG_REG_3 (MPFS_IOSCB_MSS_PLL_BASE + MPFS_IOSCB_MSS_PLL_SSCG_REG_3_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SOFT_RESET (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_SOFT_RESET_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_CTRL (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_CTRL_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_CTRL2 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_CTRL2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_REF_FB (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_REF_FB_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_DIV_0_1 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_DIV_0_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_DIV_2_3 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_DIV_2_3_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_FRACN (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_FRACN_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_PHADJ (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_PHADJ_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_0 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_SSCG_REG_0_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_1 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_SSCG_REG_1_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_2 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_SSCG_REG_2_OFFSET)
|
||||||
|
#define MPFS_IOSCB_DDR_PLL_SSCG_REG_3 (MPFS_IOSCB_DDR_PLL_BASE + MPFS_IOSCB_DDR_PLL_SSCG_REG_3_OFFSET)
|
||||||
|
|
||||||
|
#define MPFS_GEM0_NETWORK_CONFIG (MPFS_GEM0_LO_BASE + MPFS_GEM0_NETWORK_CONFIG_OFFSET)
|
||||||
|
#define MPFS_GEM1_NETWORK_CONFIG (MPFS_GEM1_LO_BASE + MPFS_GEM0_NETWORK_CONFIG_OFFSET)
|
||||||
|
|
||||||
|
#endif /* __ARCH_RISCV_SRC_MPFS_HARDWARE_MPFS_SGMII_H */
|
4090
arch/risc-v/src/mpfs/mpfs_ddr.c
Normal file
4090
arch/risc-v/src/mpfs/mpfs_ddr.c
Normal file
File diff suppressed because it is too large
Load Diff
47
arch/risc-v/src/mpfs/mpfs_ddr.h
Normal file
47
arch/risc-v/src/mpfs/mpfs_ddr.h
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
* arch/risc-v/src/mpfs/mpfs_ddr.h
|
||||||
|
*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance with the
|
||||||
|
* License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ARCH_RISCV_SRC_MPFS_MPFS_DDR_H
|
||||||
|
#define __ARCH_RISCV_SRC_MPFS_MPFS_DDR_H
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Public Function Prototypes
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
#define EXTERN extern "C"
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#else
|
||||||
|
#define EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EXTERN int mpfs_ddr_init(void);
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#undef EXTERN
|
||||||
|
|
||||||
|
#endif /* __ASSEMBLY__ */
|
||||||
|
#endif /* __ARCH_RISCV_SRC_MPFS_MPFS_DDR_H */
|
596
boards/risc-v/mpfs/icicle/include/board_liberodefs.h
Normal file
596
boards/risc-v/mpfs/icicle/include/board_liberodefs.h
Normal file
@ -0,0 +1,596 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
* boards/risc-v/mpfs/icicle/include/board_liberodefs.h
|
||||||
|
*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
* this work for additional information regarding copyright ownership. The
|
||||||
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance with the
|
||||||
|
* License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
* License for the specific language governing permissions and limitations
|
||||||
|
* under the License.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef __BOARDS_RISCV_MPFS_ICICLE_INCLUDE_BOARD_LIBERODEFS_H
|
||||||
|
#define __BOARDS_RISCV_MPFS_ICICLE_INCLUDE_BOARD_LIBERODEFS_H
|
||||||
|
|
||||||
|
/* These are board specific constants provided by the vendor. Values have
|
||||||
|
* been synced from hart-software-services (HSS) with the tag: 2021.08.
|
||||||
|
* Different memories have their own subset of defines.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_MSS_EXT_SGMII_REF_CLK 125000000
|
||||||
|
#define LIBERO_SETTING_MSS_RTC_TOGGLE_CLK 1000000
|
||||||
|
#define LIBERO_SETTING_MSS_ENVM_CR 0x40050006
|
||||||
|
#define LIBERO_SETTING_MSS_CLOCK_CONFIG_CR 0x00000024
|
||||||
|
#define LIBERO_SETTING_MSS_MSSCLKMUX 0x00000003
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_CKMUX 0x00000155
|
||||||
|
#define LIBERO_SETTING_MSS_BCLKMUX 0x00000208
|
||||||
|
#define LIBERO_SETTING_MSS_FMETER_ADDR 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_FMETER_DATAW 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_FMETER_DATAR 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_REF_FB 0x00000500
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_CTRL 0x01000037
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_DIV_0_1 0x01000200
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_DIV_2_3 0x0f000600
|
||||||
|
#define LIBERO_SETTING_MSS_SSCG_REG_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_SSCG_REG_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_SSCG_REG_2 0x000000c0
|
||||||
|
#define LIBERO_SETTING_MSS_SSCG_REG_3 0x00000001
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_FRACN 0x00000000
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_CTRL2 0x00001020
|
||||||
|
#define LIBERO_SETTING_MSS_PLL_PHADJ 0x00004003
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CH0_CNTL 0x37f07770
|
||||||
|
#define LIBERO_SETTING_CH1_CNTL 0x37f07770
|
||||||
|
#define LIBERO_SETTING_SPARE_CNTL 0xff000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_SGMII_SGMII_CLKMUX 0x00000005
|
||||||
|
#define LIBERO_SETTING_SGMII_CLK_XCVR 0x00002c30
|
||||||
|
#define LIBERO_SETTING_SGMII_REFCLKMUX 0x00000005
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_CTRL 0x0100003f
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_REF_FB 0x00000100
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_DIV_0_1 0x01000100
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_DIV_2_3 0x01000100
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_CTRL2 0x00001020
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_FRACN 0x00000000
|
||||||
|
#define LIBERO_SETTING_SGMII_SSCG_REG_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_SGMII_SSCG_REG_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_SGMII_SSCG_REG_2 0x00000014
|
||||||
|
#define LIBERO_SETTING_SGMII_SSCG_REG_3 0x00000001
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_PHADJ 0x00007443
|
||||||
|
#define LIBERO_SETTING_SGMII_PLL_CTRL 0x0100003f
|
||||||
|
#define LIBERO_SETTING_SGMII_MODE 0x08c0e6ff
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_RECAL_CNTL 0x000020c8
|
||||||
|
#define LIBERO_SETTING_CLK_CNTL 0xf00050cc
|
||||||
|
#define LIBERO_SETTING_PLL_CNTL 0x80140101
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_TRAINING_SKIP_SETTING 0x00000002
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_DDRPHY_MODE_OFF 0x00000000
|
||||||
|
#define LIBERO_SETTING_DPC_BITS_OFF_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_DDRPHY_MODE 0x00014a24
|
||||||
|
#define LIBERO_SETTING_RPC_ODT_DQ 0x00000006
|
||||||
|
#define LIBERO_SETTING_RPC_ODT_DQS 0x00000006
|
||||||
|
#define LIBERO_SETTING_RPC_ODT_ADDCMD 0x00000002
|
||||||
|
#define LIBERO_SETTING_RPC_ODT_CLK 0x00000002
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ADDCMD0_OVRT9 0x00000f00
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ADDCMD1_OVRT10 0x00000fff
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ADDCMD2_OVRT11 0x00000fe6
|
||||||
|
#define LIBERO_SETTING_RPC_EN_DATA0_OVRT12 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC_EN_DATA1_OVRT13 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC_EN_DATA2_OVRT14 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC_EN_DATA3_OVRT15 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ECC_OVRT16 0x0000007f
|
||||||
|
#define LIBERO_SETTING_RPC235_WPD_ADD_CMD0 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC236_WPD_ADD_CMD1 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC237_WPD_ADD_CMD2 0x00000120
|
||||||
|
#define LIBERO_SETTING_RPC238_WPD_DATA0 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC239_WPD_DATA1 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC240_WPD_DATA2 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC241_WPD_DATA3 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC242_WPD_ECC 0x00000000
|
||||||
|
#define LIBERO_SETTING_RPC243_WPU_ADD_CMD0 0x00000fff
|
||||||
|
#define LIBERO_SETTING_RPC244_WPU_ADD_CMD1 0x00000fff
|
||||||
|
#define LIBERO_SETTING_RPC245_WPU_ADD_CMD2 0x00000edf
|
||||||
|
#define LIBERO_SETTING_RPC246_WPU_DATA0 0x000007ff
|
||||||
|
#define LIBERO_SETTING_RPC247_WPU_DATA1 0x000007ff
|
||||||
|
#define LIBERO_SETTING_RPC248_WPU_DATA2 0x000007ff
|
||||||
|
#define LIBERO_SETTING_RPC249_WPU_DATA3 0x000007ff
|
||||||
|
#define LIBERO_SETTING_RPC250_WPU_ECC 0x0000007f
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ADDCMD1_OVRT10 0x00000fff
|
||||||
|
#define LIBERO_SETTING_RPC_EN_ADDCMD2_OVRT11 0x00000fe6
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_DDR_SOFT_RESET 0x00000000
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_CTRL 0x0100003f
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_REF_FB 0x00000500
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_FRACN 0x00000000
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_DIV_0_1 0x02000100
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_DIV_2_3 0x01000100
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_CTRL2 0x00001020
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_CAL 0x00000d06
|
||||||
|
#define LIBERO_SETTING_DDR_PLL_PHADJ 0x00005003
|
||||||
|
#define LIBERO_SETTING_DDR_SSCG_REG_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_DDR_SSCG_REG_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_DDR_SSCG_REG_2 0x00000080
|
||||||
|
#define LIBERO_SETTING_DDR_SSCG_REG_3 0x00000001
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_MANUAL_ADDRESS_MAP 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CHIPADDR_MAP 0x0000001d
|
||||||
|
#define LIBERO_SETTING_CFG_CIDADDR_MAP 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_BANKADDR_MAP_0 0x0000c2ca
|
||||||
|
#define LIBERO_SETTING_CFG_BANKADDR_MAP_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ROWADDR_MAP_0 0x9140f38d
|
||||||
|
#define LIBERO_SETTING_CFG_ROWADDR_MAP_1 0x75955134
|
||||||
|
#define LIBERO_SETTING_CFG_ROWADDR_MAP_2 0x71b69961
|
||||||
|
#define LIBERO_SETTING_CFG_ROWADDR_MAP_3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_COLADDR_MAP_0 0x440c2040
|
||||||
|
#define LIBERO_SETTING_CFG_COLADDR_MAP_1 0x02481c61
|
||||||
|
#define LIBERO_SETTING_CFG_COLADDR_MAP_2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_VRCG_ENABLE 0x00000140
|
||||||
|
#define LIBERO_SETTING_CFG_VRCG_DISABLE 0x000000a0
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_LATENCY_SET 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_THERMAL_OFFSET 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_SOC_ODT 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_ODTE_CK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODTE_CS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODTD_CA 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_LPDDR4_FSP_OP 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_DBI_CL 0x00000016
|
||||||
|
#define LIBERO_SETTING_CFG_NON_DBI_CL 0x00000016
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_CRC 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MPR_READ_FORMAT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_WR_CMD_LAT_CRC_DM 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_FINE_GRAN_REF_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TEMP_SENSOR_READOUT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_PER_DRAM_ADDR_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_GEARDOWN_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_WR_PREAMBLE 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_RD_PREAMBLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RD_PREAMB_TRN_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_SR_ABORT 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_INT_VREF_MON 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MAX_PWR_DOWN_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_READ_DBI 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_DBI 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DATA_MASK 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_RTT_PARK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_INBUF_4_PD 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CCD_S 0x00000005
|
||||||
|
#define LIBERO_SETTING_CFG_CCD_L 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_VREFDQ_TRN_ENABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_VREFDQ_TRN_RANGE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_VREFDQ_TRN_VALUE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RRD_S 0x00000004
|
||||||
|
#define LIBERO_SETTING_CFG_RRD_L 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_WTR_S 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_WTR_L 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_WTR_S_CRC_DM 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_WTR_L_CRC_DM 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_WR_CRC_DM 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_RFC1 0x00000036
|
||||||
|
#define LIBERO_SETTING_CFG_RFC2 0x00000036
|
||||||
|
#define LIBERO_SETTING_CFG_RFC4 0x00000036
|
||||||
|
#define LIBERO_SETTING_CFG_NIBBLE_DEVICES 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_MB_AUTOPCH_COL_BIT_POS_LOW 0x00000004
|
||||||
|
#define LIBERO_SETTING_CFG_MB_AUTOPCH_COL_BIT_POS_HIGH 0x0000000a
|
||||||
|
#define LIBERO_SETTING_CFG_CA_PARITY_ERR_STATUS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CRC_ERROR_CLEAR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CA_PARITY_LATENCY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CA_PARITY_PERSIST_ERR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_GENERATE_REFRESH_ON_SRX 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_CS_TO_CMDADDR_LATENCY 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_TEMP_CTRL_REF_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TEMP_CTRL_REF_RANGE 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS0_0 0x81881881
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS0_1 0x00008818
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS1_0 0xa92a92a9
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS1_1 0x00002a92
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS2_0 0xc28c28c2
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS2_1 0x00008c28
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS3_0 0xea2ea2ea
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS3_1 0x00002ea2
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS4_0 0x03903903
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS4_1 0x00009039
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS5_0 0x2b32b32b
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS5_1 0x000032b3
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS6_0 0x44944944
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS6_1 0x00009449
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS7_0 0x6c36c36c
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS7_1 0x000036c3
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS8_0 0x85985985
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS8_1 0x00009859
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS9_0 0xad3ad3ad
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS9_1 0x00003ad3
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS10_0 0xc69c69c6
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS10_1 0x00009c69
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS11_0 0xee3ee3ee
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS11_1 0x00003ee3
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS12_0 0x07a07a07
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS12_1 0x0000a07a
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS13_0 0x2f42f42f
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS13_1 0x000042f4
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS14_0 0x48a48a48
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS14_1 0x0000a48a
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS15_0 0x70470470
|
||||||
|
#define LIBERO_SETTING_CFG_BIT_MAP_INDEX_CS15_1 0x00004704
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_NUM_LOGICAL_RANKS_PER_3DS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ADVANCE_ACTIVATE_READY 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_RFC_DLR1 0x00000048
|
||||||
|
#define LIBERO_SETTING_CFG_RFC_DLR2 0x0000002c
|
||||||
|
#define LIBERO_SETTING_CFG_RFC_DLR4 0x00000020
|
||||||
|
#define LIBERO_SETTING_CFG_RRD_DLR 0x00000004
|
||||||
|
#define LIBERO_SETTING_CFG_FAW_DLR 0x00000010
|
||||||
|
#define LIBERO_SETTING_CTRLR_SOFT_RESET_N 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_LOOKAHEAD_PCH 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_LOOKAHEAD_ACT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_BL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CTRLR_INIT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AUTO_REF_EN 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_RAS 0x00000022
|
||||||
|
#define LIBERO_SETTING_CFG_RCD 0x0000000f
|
||||||
|
#define LIBERO_SETTING_CFG_RRD 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_RP 0x00000011
|
||||||
|
#define LIBERO_SETTING_CFG_RC 0x00000033
|
||||||
|
#define LIBERO_SETTING_CFG_FAW 0x00000020
|
||||||
|
#define LIBERO_SETTING_CFG_RFC 0x00000130
|
||||||
|
#define LIBERO_SETTING_CFG_RTP 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_WR 0x00000010
|
||||||
|
#define LIBERO_SETTING_CFG_WTR 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_PASR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_XP 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_XSR 0x0000001f
|
||||||
|
#define LIBERO_SETTING_CFG_CL 0x00000005
|
||||||
|
#define LIBERO_SETTING_CFG_READ_TO_WRITE 0x0000000f
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_TO_WRITE 0x0000000f
|
||||||
|
#define LIBERO_SETTING_CFG_READ_TO_READ 0x0000000f
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_TO_READ 0x0000001f
|
||||||
|
#define LIBERO_SETTING_CFG_READ_TO_WRITE_ODT 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_TO_WRITE_ODT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_READ_TO_READ_ODT 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_WRITE_TO_READ_ODT 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_MIN_READ_IDLE 0x00000007
|
||||||
|
#define LIBERO_SETTING_CFG_MRD 0x0000000c
|
||||||
|
#define LIBERO_SETTING_CFG_BT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DS 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_QOFF 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RTT 0x00000002
|
||||||
|
#define LIBERO_SETTING_CFG_DLL_DISABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_REF_PER 0x00000c34
|
||||||
|
#define LIBERO_SETTING_CFG_STARTUP_DELAY 0x00027100
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_COLBITS 0x0000000a
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_ROWBITS 0x00000010
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_BANKBITS 0x00000003
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS4 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS5 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS6 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_MAP_CS7 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS4 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS5 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS6 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_MAP_CS7 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_TURN_ON 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_TURN_ON 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_RD_TURN_OFF 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_WR_TURN_OFF 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_EMR3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TWO_T 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TWO_T_SEL_CYCLE 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_REGDIMM 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MOD 0x0000000c
|
||||||
|
#define LIBERO_SETTING_CFG_XS 0x00000005
|
||||||
|
#define LIBERO_SETTING_CFG_XSDLL 0x00000200
|
||||||
|
#define LIBERO_SETTING_CFG_XPR 0x00000005
|
||||||
|
#define LIBERO_SETTING_CFG_AL_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CWL 0x00000005
|
||||||
|
#define LIBERO_SETTING_CFG_BL_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TDQS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RTT_WR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_LP_ASR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AUTO_SR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_SRT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ADDR_MIRROR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_TYPE 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_PER 0x00027100
|
||||||
|
#define LIBERO_SETTING_CFG_AUTO_ZQ_CAL_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MEMORY_TYPE 0x00000400
|
||||||
|
#define LIBERO_SETTING_CFG_ONLY_SRANK_CMDS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_NUM_RANKS 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_QUAD_RANK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_EARLY_RANK_TO_WR_START 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_EARLY_RANK_TO_RD_START 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_PASR_BANK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_PASR_SEG 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_INIT_DURATION 0x00000640
|
||||||
|
#define LIBERO_SETTING_CFG_ZQINIT_CAL_DURATION 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_L_DURATION 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_S_DURATION 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_R_DURATION 0x00000028
|
||||||
|
#define LIBERO_SETTING_CFG_MRR 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_MRW 0x0000000a
|
||||||
|
#define LIBERO_SETTING_CFG_ODT_POWERDOWN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_WL 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_RL 0x0000000e
|
||||||
|
#define LIBERO_SETTING_CFG_CAL_READ_PERIOD 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_NUM_CAL_READS 0x00000001
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_INIT_FORCE_WRITE_DATA_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_AUTOINIT_DISABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_FORCE_RESET 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_GEARDOWN_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_DISABLE_CKE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CS 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_PRECHARGE_ALL 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_REFRESH 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_ZQ_CAL_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MRR_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MR_W_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MR_ADDR 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MR_WR_DATA 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MR_WR_MASK 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_NOP 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_SELF_REFRESH 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_POWER_DOWN 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_FORCE_WRITE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_FORCE_WRITE_CS 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_RDIMM_COMPLETE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_MEMORY_RESET_MASK 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CAL_SELECT 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CAL_L_R_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CAL_L_B_SIZE 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_RWFIFO 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_RD_DQCAL 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_START_DQSOSC 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_STOP_DQSOSC 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_ZQ_CAL_START 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CAL_L_ADDR_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CAL_L_ADDR_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_ODT_FORCE_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_ODT_FORCE_RANK 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_PDA_MR_W_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_PDA_NIBBLE_SELECT 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_WRITE_DATA_1B_ECC_ERROR_GEN 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_WRITE_DATA_2B_ECC_ERROR_GEN 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_READ_CAPTURE_ADDR 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CA_PARITY_ERROR_GEN_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_CA_PARITY_ERROR_GEN_CMD 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_DFI_LP_DATA_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_DFI_LP_CTRL_REQ 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_DFI_LP_WAKEUP 0x00000000
|
||||||
|
#define LIBERO_SETTING_INIT_DFI_DRAM_CLK_DISABLE 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_INIT_DISABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RDIMM_LAT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RDIMM_BSIDE_INVERT 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_LRDIMM 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RD_PREAMB_TOGGLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RD_POSTAMBLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_PU_CAL 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_DQ_ODT 0x00000002
|
||||||
|
#define LIBERO_SETTING_CFG_CA_ODT 0x00000004
|
||||||
|
#define LIBERO_SETTING_CFG_ZQLATCH_DURATION 0x00000018
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_WR_POSTAMBLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLUPD_TRIG 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLUPD_START_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_CTRLUPD_MAX 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_SEL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_VALUE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_TURN_OFF_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_SLOW_RESTART_WIN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_RESTART_HOLDOFF 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_PARITY_RDIMM_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CTRLR_BUSY_ENABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ASYNC_ODT 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ZQ_CAL_DURATION 0x00000320
|
||||||
|
#define LIBERO_SETTING_CFG_MRRI 0x00000012
|
||||||
|
#define LIBERO_SETTING_CFG_PHYUPD_ACK_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MIRROR_X16_BG0_BG1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DRAM_CLK_DISABLE_IN_SELF_RFH 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_CKSRE 0x00000008
|
||||||
|
#define LIBERO_SETTING_CFG_CKSRX 0x0000000b
|
||||||
|
#define LIBERO_SETTING_CFG_RCD_STAB 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_CTRL_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_DRAM_CLK_ENABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_IDLE_TIME_TO_SELF_REFRESH 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_IDLE_TIME_TO_POWER_DOWN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_BURST_RW_REFRESH_HOLDOFF 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_BG_INTERLEAVE 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_REFRESH_DURING_PHY_TRAINING 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P4 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P5 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P6 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_STARVE_TIMEOUT_P7 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_REORDER_EN 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_REORDER_QUEUE_EN 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_INTRAPORT_REORDER_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MAINTAIN_COHERENCY 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_Q_AGE_LIMIT 0x000000ff
|
||||||
|
#define LIBERO_SETTING_CFG_RO_CLOSED_PAGE_POLICY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_REORDER_RW_ONLY 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_RO_PRIORITY_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DM_EN 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_RMW_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ECC_CORRECTION_EN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ECC_BYPASS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ECC_1BIT_INT_THRESH 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ERROR_GROUP_SEL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DATA_SEL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_MODE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_POST_TRIG_CYCS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_MASK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_EN_MASK 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_MT_ADDR_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_MT_ADDR_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_ERR_MASK_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_ERR_MASK_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_ERR_MASK_2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_ERR_MASK_3 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_TRIG_ERR_MASK_4 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_MTC_ACQ_ADDR 0x00000000
|
||||||
|
#define LIBERO_SETTING_MTC_ACQ_WR_DATA_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_MTC_ACQ_WR_DATA_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_MTC_ACQ_WR_DATA_2 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_CFG_PRE_TRIG_CYCS 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DATA_SEL_FIRST_ERROR 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DQ_WIDTH 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ACTIVE_DQ_SEL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_RDDATA_EN 0x00000015
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_PHY_RDLAT 0x00000006
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_T_PHY_WRLAT 0x00000003
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_PHYUPD_EN 0x00000001
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_DATA_BYTE_DISABLE 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_LVL_SEL 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_LVL_PERIODIC 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_DFI_LVL_PATTERN 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_START_ADDRESS_AXI1_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_START_ADDRESS_AXI1_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_START_ADDRESS_AXI2_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_START_ADDRESS_AXI2_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_END_ADDRESS_AXI1_0 0x7fffffff
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_END_ADDRESS_AXI1_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_END_ADDRESS_AXI2_0 0x7fffffff
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_END_ADDRESS_AXI2_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_START_ADDRESS_AXI1_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_START_ADDRESS_AXI1_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_START_ADDRESS_AXI2_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_MEM_START_ADDRESS_AXI2_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ENABLE_BUS_HOLD_AXI1 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_ENABLE_BUS_HOLD_AXI2 0x00000000
|
||||||
|
#define LIBERO_SETTING_CFG_AXI_AUTO_PCH 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_PHY_DFI_INIT_START 0x00000001
|
||||||
|
#define LIBERO_SETTING_PHY_RESET_CONTROL 0x00008001
|
||||||
|
#define LIBERO_SETTING_PHY_PC_RANK 0x00000001
|
||||||
|
#define LIBERO_SETTING_PHY_RANKS_TO_TRAIN 0x00000001
|
||||||
|
#define LIBERO_SETTING_PHY_WRITE_REQUEST 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_READ_REQUEST 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_WRITE_LEVEL_DELAY 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_GATE_TRAIN_DELAY 0x0000003f
|
||||||
|
#define LIBERO_SETTING_PHY_EYE_TRAIN_DELAY 0x0000003f
|
||||||
|
#define LIBERO_SETTING_PHY_EYE_PAT 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_START_RECAL 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_CLR_DFI_LVL_PERIODIC 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_TRAIN_STEP_ENABLE 0x00000018
|
||||||
|
#define LIBERO_SETTING_PHY_LPDDR_DQ_CAL_PAT 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_INDPNDT_TRAINING 0x00000001
|
||||||
|
#define LIBERO_SETTING_PHY_ENCODED_QUAD_CS 0x00000000
|
||||||
|
#define LIBERO_SETTING_PHY_HALF_CLK_DLY_ENABLE 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_SEG0_0 0x80007f80
|
||||||
|
#define LIBERO_SETTING_SEG0_1 0x80007030
|
||||||
|
#define LIBERO_SETTING_SEG0_2 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG0_3 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG0_4 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG0_5 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG0_6 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG0_7 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG1_0 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG1_1 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG1_2 0x80007fb0
|
||||||
|
#define LIBERO_SETTING_SEG1_3 0x80000000
|
||||||
|
#define LIBERO_SETTING_SEG1_4 0x80007fa0
|
||||||
|
#define LIBERO_SETTING_SEG1_5 0x80000000
|
||||||
|
#define LIBERO_SETTING_SEG1_6 0x00000000
|
||||||
|
#define LIBERO_SETTING_SEG1_7 0x00000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_TIP_CONFIG_PARAMS_BCLK_VCOPHS_OFFSET 0x00000002
|
||||||
|
#define LIBERO_SETTING_DDR_CLK 1600000000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1333_NUM_OFFSETS 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1333_NUM_OFFSETS 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1600_NUM_OFFSETS 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1600_NUM_OFFSETS 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1600_NUM_OFFSETS 4
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1067_NUM_OFFSETS 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1067_NUM_OFFSETS 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1333_NUM_OFFSETS 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1333_NUM_OFFSETS 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1333_NUM_OFFSETS 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1333_OFFSET_0 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1333_OFFSET_1 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1333_OFFSET_2 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1333_OFFSET_3 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1333_OFFSET_0 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1333_OFFSET_1 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1333_OFFSET_2 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1333_OFFSET_3 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1600_OFFSET_0 7
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1600_OFFSET_1 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1600_OFFSET_2 7
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1600_OFFSET_3 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1600_OFFSET_0 7
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1600_OFFSET_1 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1600_OFFSET_2 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1600_OFFSET_3 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1600_OFFSET_0 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1600_OFFSET_1 5
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1600_OFFSET_2 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1600_OFFSET_3 5
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1067_OFFSET_0 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1067_OFFSET_1 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1067_OFFSET_2 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3_1067_OFFSET_3 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1067_OFFSET_0 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1067_OFFSET_1 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1067_OFFSET_2 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR3L_1067_OFFSET_3 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1333_OFFSET_0 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1333_OFFSET_1 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1333_OFFSET_2 7
|
||||||
|
#define LIBERO_SETTING_REFCLK_DDR4_1333_OFFSET_3 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1333_OFFSET_0 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1333_OFFSET_1 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1333_OFFSET_2 6
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR3_1333_OFFSET_3 0
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1333_OFFSET_0 1
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1333_OFFSET_1 2
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1333_OFFSET_2 3
|
||||||
|
#define LIBERO_SETTING_REFCLK_LPDDR4_1333_OFFSET_3 0
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_TIP_CFG_PARAMS 0x07cfe02f
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_DDR_32_CACHE 0x80000000
|
||||||
|
#define LIBERO_SETTING_DDR_32_CACHE_SIZE 0x100000
|
||||||
|
#define LIBERO_SETTING_DDR_64_CACHE 0x1000000000
|
||||||
|
#define LIBERO_SETTING_DDR_64_CACHE_SIZE 0x100000
|
||||||
|
#define LIBERO_SETTING_DDR_32_NON_CACHE 0xc0000000
|
||||||
|
#define LIBERO_SETTING_DDR_32_NON_CACHE_SIZE 0x100000
|
||||||
|
#define LIBERO_SETTING_DDR_64_NON_CACHE 0x1400000000
|
||||||
|
#define LIBERO_SETTING_DDR_64_NON_CACHE_SIZE 0x100000
|
||||||
|
|
||||||
|
#define LIBERO_SETTING_DPC_BITS 0x00050422
|
||||||
|
#define LIBERO_SETTING_DATA_LANES_USED 0x00000004
|
||||||
|
|
||||||
|
#endif /* __BOARDS_RISCV_MPFS_ICICLE_INCLUDE_BOARD_LIBERODEFS_H */
|
Loading…
Reference in New Issue
Block a user