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