1*a2e927b0SBjorn Andersson /* SPDX-License-Identifier: GPL-2.0 */ 2*a2e927b0SBjorn Andersson /* 3*a2e927b0SBjorn Andersson * Copyright (c) 2021, The Linux Foundation. All rights reserved. 4*a2e927b0SBjorn Andersson */ 5*a2e927b0SBjorn Andersson 6*a2e927b0SBjorn Andersson #ifndef QCOM_PHY_QMP_QSERDES_TXRX_V5_5NM_H_ 7*a2e927b0SBjorn Andersson #define QCOM_PHY_QMP_QSERDES_TXRX_V5_5NM_H_ 8*a2e927b0SBjorn Andersson 9*a2e927b0SBjorn Andersson /* Only for QMP V5 5NM PHY - TX registers */ 10*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_MODE_LANENO 0x00 11*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_INVERT 0x04 12*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_CLKBUF_ENABLE 0x08 13*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_EMP_POST1_LVL 0x0c 14*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_IDLE_LVL_LARGE_AMP 0x10 15*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_DRV_LVL 0x14 16*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_DRV_LVL_OFFSET 0x18 17*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RESET_TSYNC_EN 0x1c 18*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRE_STALL_LDO_BOOST_EN 0x20 19*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_LPB_EN 0x24 20*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RES_CODE_LANE_TX 0x28 21*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RES_CODE_LANE_RX 0x2c 22*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RES_CODE_LANE_OFFSET_TX 0x30 23*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RES_CODE_LANE_OFFSET_RX 0x34 24*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PERL_LENGTH1 0x38 25*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PERL_LENGTH2 0x3c 26*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_SERDES_BYP_EN_OUT 0x40 27*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DEBUG_BUS_SEL 0x44 28*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TRANSCEIVER_BIAS_EN 0x48 29*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_HIGHZ_DRVR_EN 0x4c 30*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_POL_INV 0x50 31*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PARRATE_REC_DETECT_IDLE_EN 0x54 32*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN1 0x58 33*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN2 0x5c 34*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN3 0x60 35*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN4 0x64 36*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN5 0x68 37*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN6 0x6c 38*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN7 0x70 39*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_PATTERN8 0x74 40*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_LANE_MODE_1 0x78 41*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_LANE_MODE_2 0x7c 42*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_LANE_MODE_3 0x80 43*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_ATB_SEL1 0x84 44*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_ATB_SEL2 0x88 45*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RCV_DETECT_LVL 0x8c 46*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RCV_DETECT_LVL_2 0x90 47*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRBS_SEED1 0x94 48*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRBS_SEED2 0x98 49*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRBS_SEED3 0x9c 50*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRBS_SEED4 0xa0 51*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RESET_GEN 0xa4 52*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_RESET_GEN_MUXES 0xa8 53*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TRAN_DRVR_EMP_EN 0xac 54*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_VMODE_CTRL1 0xb0 55*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_ALOG_OBSV_BUS_CTRL_1 0xb4 56*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_STATUS 0xb8 57*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_ERROR_COUNT1 0xbc 58*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_BIST_ERROR_COUNT2 0xc0 59*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_ALOG_OBSV_BUS_STATUS_1 0xc4 60*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_LANE_DIG_CONFIG 0xc8 61*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PI_QEC_CTRL 0xcc 62*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_PRE_EMPH 0xd0 63*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_SW_RESET 0xd4 64*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_BAND 0xd8 65*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_SLEW_CNTL0 0xdc 66*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_SLEW_CNTL1 0xe0 67*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_INTERFACE_SELECT 0xe4 68*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DIG_BKUP_CTRL 0xe8 69*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DEBUG_BUS0 0xec 70*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DEBUG_BUS1 0xf0 71*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DEBUG_BUS2 0xf4 72*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_DEBUG_BUS3 0xf8 73*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_TX_TX_BKUP_RO_BUS 0xfc 74*a2e927b0SBjorn Andersson 75*a2e927b0SBjorn Andersson /* Only for QMP V5 5NM PHY - RX registers */ 76*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_FO_GAIN_RATE0 0x000 77*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_FO_GAIN_RATE1 0x004 78*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_FO_GAIN_RATE2 0x008 79*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_FO_GAIN_RATE3 0x00c 80*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_SO_GAIN_RATE0 0x010 81*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_SO_GAIN_RATE1 0x014 82*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_SO_GAIN_RATE2 0x018 83*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_SO_GAIN_RATE3 0x01c 84*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_SATURATION 0x020 85*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FO_TO_SO_DELAY 0x024 86*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_LOW_RATE0 0x028 87*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_HIGH_RATE0 0x02c 88*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_LOW_RATE1 0x030 89*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_HIGH_RATE1 0x034 90*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_LOW_RATE2 0x038 91*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_HIGH_RATE2 0x03c 92*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_LOW_RATE3 0x040 93*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FASTLOCK_COUNT_HIGH_RATE3 0x044 94*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_PI_CTRL1 0x048 95*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_PI_CTRL2 0x04c 96*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH1_RATE0 0x050 97*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH1_RATE1 0x054 98*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH1_RATE2 0x058 99*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH1_RATE3 0x05c 100*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH2_RATE0 0x060 101*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH2_RATE1 0x064 102*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH2_RATE2 0x068 103*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_THRESH2_RATE3 0x06c 104*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN1_RATE0 0x070 105*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN1_RATE1 0x074 106*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN1_RATE2 0x078 107*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN1_RATE3 0x07c 108*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN2_RATE0 0x080 109*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN2_RATE1 0x084 110*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN2_RATE2 0x088 111*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SB2_GAIN2_RATE3 0x08c 112*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RXCLK_DIV2_CTRL 0x090 113*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BAND 0x094 114*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_TERM_BW 0x098 115*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FO_GAIN_RATE0 0x09c 116*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FO_GAIN_RATE1 0x0a0 117*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FO_GAIN_RATE2 0x0a4 118*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_FO_GAIN_RATE3 0x0a8 119*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_GAIN_RATE0 0x0ac 120*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_GAIN_RATE1 0x0b0 121*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_GAIN_RATE2 0x0b4 122*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_GAIN_RATE3 0x0b8 123*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_PI_CONTROLS 0x0bc 124*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_PD_DATA_FILTER_ENABLES 0x0c0 125*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_ACC_DEFAULT_VAL_RATE0 0x0c4 126*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_ACC_DEFAULT_VAL_RATE1 0x0c8 127*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_ACC_DEFAULT_VAL_RATE2 0x0cc 128*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_UCDR_SO_ACC_DEFAULT_VAL_RATE3 0x0d0 129*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AUX_CONTROL 0x0d4 130*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AUXDATA_TB 0x0d8 131*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RCLK_AUXDATA_SEL 0x0dc 132*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_EOM_CTRL 0x0e0 133*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_ENABLE 0x0e4 134*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_INITP 0x0e8 135*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_INITN 0x0ec 136*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_LVL 0x0f0 137*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_MODE 0x0f4 138*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_RESET 0x0f8 139*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_RCVR_IQ_EN 0x0fc 140*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_Q_EN_RATES 0x100 141*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_I0_DC_OFFSETS 0x104 142*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_I0BAR_DC_OFFSETS 0x108 143*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_I1_DC_OFFSETS 0x10c 144*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_I1BAR_DC_OFFSETS 0x110 145*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_Q_DC_OFFSETS 0x114 146*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_QBAR_DC_OFFSETS 0x118 147*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_A_DC_OFFSETS 0x11c 148*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_ABAR_DC_OFFSETS 0x120 149*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_EN 0x124 150*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_ENABLES 0x128 151*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_SIGN 0x12c 152*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IVCM_CAL_CODE_OVERRIDE 0x130 153*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IVCM_CAL_CTRL1 0x134 154*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IVCM_CAL_CTRL2 0x138 155*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IVCM_POSTCAL_OFFSET 0x13c 156*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_SUMMER_CAL_SPD_MODE 0x140 157*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_HIGHZ_PARRATE 0x144 158*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_TERM_AC_BYPASS_DC_COUPLE_OFFSET 0x148 159*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_1 0x14c 160*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_2 0x150 161*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_3 0x154 162*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_4 0x158 163*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP3_CTRL 0x15c 164*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP3_MANVAL_KTAP 0x160 165*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP4_CTRL 0x164 166*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP4_MANVAL_KTAP 0x168 167*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP5_CTRL 0x16c 168*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP5_MANVAL_KTAP 0x170 169*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADPT_CTRL 0x174 170*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_DAC_ENABLE1 0x178 171*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_DAC_ENABLE2 0x17c 172*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_PRE_THRESH1 0x180 173*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_PRE_THRESH2 0x184 174*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_POST_THRESH1 0x188 175*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_POST_THRESH2 0x18c 176*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_MAIN_THRESH1 0x190 177*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_TX_ADAPT_MAIN_THRESH2 0x194 178*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VGA_CAL_CNTRL1 0x198 179*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VGA_CAL_CNTRL2 0x19c 180*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VGA_CAL_MAN_VAL 0x1a0 181*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_CNTRL1 0x1a4 182*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_CNTRL2 0x1a8 183*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_MAN_VAL_RATE0 0x1ac 184*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_MAN_VAL_RATE1 0x1b0 185*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_MAN_VAL_RATE2 0x1b4 186*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_CAL_MAN_VAL_RATE3 0x1b8 187*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_GM_CAL 0x1bc 188*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_VGA_GAIN2_BLK1 0x1c0 189*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_VGA_GAIN2_BLK2 0x1c4 190*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQU_ADAPTOR_CNTRL2 0x1c8 191*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQU_ADAPTOR_CNTRL3 0x1cc 192*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQU_ADAPTOR_CNTRL4 0x1d0 193*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_IDAC_TSETTLE_LOW 0x1d4 194*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQ_OFFSET_LSB 0x1d8 195*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQ_OFFSET_MSB 0x1dc 196*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_EQ_OFFSET_ADAPTOR_CNTRL1 0x1e0 197*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_OFFSET_ADAPTOR_CNTRL2 0x1e4 198*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGDET_ENABLES 0x1e8 199*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGDET_CNTRL 0x1ec 200*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGDET_LVL 0x1f0 201*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGDET_DEGLITCH_CNTRL 0x1f4 202*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_CDR_FREEZE_UP_DN 0x1f8 203*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_CDR_RESET_OVERRIDE 0x1fc 204*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_INTERFACE_MODE 0x200 205*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_JITTER_GEN_MODE 0x204 206*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SJ_AMP1 0x208 207*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SJ_AMP2 0x20c 208*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SJ_PER1 0x210 209*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SJ_PER2 0x214 210*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PPM_OFFSET1 0x218 211*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PPM_OFFSET2 0x21c 212*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGN_PPM_PERIOD1 0x220 213*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_SIGN_PPM_PERIOD2 0x224 214*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B0 0x228 215*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B1 0x22c 216*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B2 0x230 217*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B3 0x234 218*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B4 0x238 219*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B5 0x23c 220*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B6 0x240 221*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE_0_1_B7 0x244 222*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B0 0x248 223*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B1 0x24c 224*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B2 0x250 225*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B3 0x254 226*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B4 0x258 227*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B5 0x25c 228*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B6 0x260 229*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE2_B7 0x264 230*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B0 0x268 231*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B1 0x26c 232*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B2 0x270 233*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B3 0x274 234*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B4 0x278 235*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B5 0x27c 236*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B6 0x280 237*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MODE_RATE3_B7 0x284 238*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PHPRE_CTRL 0x288 239*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PHPRE_INITVAL 0x28c 240*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_EN_TIMER 0x290 241*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_CTLE_POST_CAL_OFFSET 0x294 242*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CTRL1 0x298 243*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CTRL2 0x29c 244*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_OFFSET 0x2a0 245*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CMUX_POSTCAL_OFFSET 0x2a4 246*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CMUX_CAL_CTRL1 0x2a8 247*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CMUX_CAL_CTRL2 0x2ac 248*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_ALOG_OBSV_BUS_CTRL_1 0x2b0 249*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CTRL1 0x2b4 250*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CTRL2 0x2b8 251*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CTRL3 0x2bc 252*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CTRL_4 0x2c0 253*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CFG_RATE_0_1 0x2c4 254*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_CFG_RATE_2_3 0x2c8 255*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_CTRL1 0x2cc 256*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_CTRL2 0x2d0 257*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH1_RATE210 0x2d4 258*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH1_RATE3 0x2d8 259*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH2_RATE210 0x2dc 260*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH2_RATE3 0x2e0 261*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH3_RATE210 0x2e4 262*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH3_RATE3 0x2e8 263*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH4_RATE210 0x2ec 264*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH4_RATE3 0x2f0 265*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH5_RATE210 0x2f4 266*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH5_RATE3 0x2f8 267*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH6_RATE210 0x2fc 268*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH6_RATE3 0x300 269*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH7_RATE210 0x304 270*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_THRESH7_RATE3 0x308 271*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_Q_PI_INTRINSIC_BIAS_RATE10 0x30c 272*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_Q_PI_INTRINSIC_BIAS_RATE32 0x310 273*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_VERTICAL_CTRL 0x314 274*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_VERTICAL_CODE 0x318 275*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RES_CODE_THRESH_HIGH_AND_BYP 0x31c 276*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RES_CODE_THRESH_LOW 0x320 277*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_CTRL1 0x324 278*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_CTRL2 0x328 279*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_CTRL3 0x32c 280*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PI_CTRL1 0x330 281*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PI_CTRL2 0x334 282*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_PI_QUAD 0x338 283*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_QPI_CTRL1 0x33c 284*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_QPI_CTRL2 0x340 285*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_QPI_QUAD 0x344 286*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDATA1 0x348 287*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDATA2 0x34c 288*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDATA3 0x350 289*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_OUTP 0x354 290*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_AC_JTAG_OUTN 0x358 291*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_SIGDET 0x35c 292*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_ALOG_OBSV_BUS_STATUS_1 0x360 293*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_READ_EQCODE 0x364 294*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_READ_OFFSETCODE 0x368 295*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IA_ERROR_COUNTER_LOW 0x36c 296*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IA_ERROR_COUNTER_HIGH 0x370 297*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VGA_READ_CODE 0x374 298*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_VTHRESH_READ_CODE 0x378 299*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP1_READ_CODE 0x37c 300*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP2_READ_CODE 0x380 301*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP3_READ_CODE 0x384 302*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP4_READ_CODE 0x388 303*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DFE_TAP5_READ_CODE 0x38c 304*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_I0 0x390 305*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_I0BAR 0x394 306*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_I1 0x398 307*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_I1BAR 0x39c 308*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_Q 0x3a0 309*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_QBAR 0x3a4 310*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_A 0x3a8 311*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_ABAR 0x3ac 312*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_SM_ON 0x3b0 313*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IDAC_STATUS_SIGNERROR 0x3b4 314*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IVCM_CAL_STATUS 0x3b8 315*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_IVCM_CAL_DEBUG_STATUS 0x3bc 316*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_CAL_STATUS 0x3c0 317*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_DCC_READ_CODE_STATUS 0x3c4 318*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_DEBUG1_STATUS 0x3c8 319*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_DEBUG2_STATUS 0x3cc 320*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_READ_CODE_STATUS 0x3d0 321*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_EOM_ERR_CNT_LSB_STATUS 0x3d4 322*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_EOM_ERR_CNT_MSB_STATUS 0x3d8 323*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_MARG_COARSE_TUNE_STATUS 0x3dc 324*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_READ_BUS1_STATUS 0x3e0 325*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_READ_BUS2_STATUS 0x3e4 326*a2e927b0SBjorn Andersson #define QSERDES_V5_5NM_RX_RX_BKUP_READ_BUS3_STATUS 0x3e8 327*a2e927b0SBjorn Andersson 328*a2e927b0SBjorn Andersson #endif 329