qcom,usb3-8nm_qmp-combo.h 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef _DT_BINDINGS_PHY_QCOM_8NM_QMP_USB_H
  6. #define _DT_BINDINGS_PHY_QCOM_8NM_QMP_USB_H
  7. /* USB3-DP Combo PHY register offsets */
  8. /* Module: USB3_DP_PHY_USB3_DP_COM_USB3_DP_COM_USB3_DP_COM */
  9. #define USB3PHY_COM_PHY_MODE_CTRL 0x0000
  10. #define USB3PHY_COM_SW_RESET 0x0004
  11. #define USB3PHY_COM_POWER_DOWN_CTRL 0x0008
  12. #define USB3PHY_COM_SWI_CTRL 0x000c
  13. #define USB3PHY_COM_TYPEC_CTRL 0x0010
  14. #define USB3PHY_COM_TYPEC_PWRDN_CTRL 0x0014
  15. #define USB3PHY_COM_DP_BIST_CFG_0 0x0018
  16. #define USB3PHY_COM_RESET_OVRD_CTRL 0x001c
  17. #define USB3PHY_COM_TYPEC_STATUS 0x0020
  18. #define USB3PHY_COM_PLACEHOLDER_STATUS 0x0024
  19. #define USB3PHY_COM_REVISION_ID0 0x0028
  20. #define USB3PHY_COM_REVISION_ID1 0x002c
  21. #define USB3PHY_COM_REVISION_ID2 0x0030
  22. #define USB3PHY_COM_REVISION_ID3 0x0034
  23. /* Module: USB3_DP_PHY_USB3_QSERDES_COM_USB3_QSERDES_COM_USB3_DP_QMP_PLL */
  24. #define USB3PHY_QSERDES_COM_ATB_SEL1 0x1000
  25. #define USB3PHY_QSERDES_COM_ATB_SEL2 0x1004
  26. #define USB3PHY_QSERDES_COM_FREQ_UPDATE 0x1008
  27. #define USB3PHY_QSERDES_COM_BG_TIMER 0x100c
  28. #define USB3PHY_QSERDES_COM_SSC_EN_CENTER 0x1010
  29. #define USB3PHY_QSERDES_COM_SSC_ADJ_PER1 0x1014
  30. #define USB3PHY_QSERDES_COM_SSC_ADJ_PER2 0x1018
  31. #define USB3PHY_QSERDES_COM_SSC_PER1 0x101c
  32. #define USB3PHY_QSERDES_COM_SSC_PER2 0x1020
  33. #define USB3PHY_QSERDES_COM_SSC_STEP_SIZE1 0x1024
  34. #define USB3PHY_QSERDES_COM_SSC_STEP_SIZE2 0x1028
  35. #define USB3PHY_QSERDES_COM_POST_DIV 0x102c
  36. #define USB3PHY_QSERDES_COM_POST_DIV_MUX 0x1030
  37. #define USB3PHY_QSERDES_COM_BIAS_EN_CLKBUFLR_EN 0x1034
  38. #define USB3PHY_QSERDES_COM_CLK_ENABLE1 0x1038
  39. #define USB3PHY_QSERDES_COM_SYS_CLK_CTRL 0x103c
  40. #define USB3PHY_QSERDES_COM_SYSCLK_BUF_ENABLE 0x1040
  41. #define USB3PHY_QSERDES_COM_PLL_EN 0x1044
  42. #define USB3PHY_QSERDES_COM_PLL_IVCO 0x1048
  43. #define USB3PHY_QSERDES_COM_CMN_IETRIM 0x104c
  44. #define USB3PHY_QSERDES_COM_CMN_IPTRIM 0x1050
  45. #define USB3PHY_QSERDES_COM_EP_CLOCK_DETECT_CTRL 0x1054
  46. #define USB3PHY_QSERDES_COM_SYSCLK_DET_COMP_STATUS 0x1058
  47. #define USB3PHY_QSERDES_COM_CLK_EP_DIV 0x105c
  48. #define USB3PHY_QSERDES_COM_CP_CTRL_MODE0 0x1060
  49. #define USB3PHY_QSERDES_COM_CP_CTRL_MODE1 0x1064
  50. #define USB3PHY_QSERDES_COM_PLL_RCTRL_MODE0 0x1068
  51. #define USB3PHY_QSERDES_COM_PLL_RCTRL_MODE1 0x106c
  52. #define USB3PHY_QSERDES_COM_PLL_CCTRL_MODE0 0x1070
  53. #define USB3PHY_QSERDES_COM_PLL_CCTRL_MODE1 0x1074
  54. #define USB3PHY_QSERDES_COM_PLL_CNTRL 0x1078
  55. #define USB3PHY_QSERDES_COM_BIAS_EN_CTRL_BY_PSM 0x107c
  56. #define USB3PHY_QSERDES_COM_SYSCLK_EN_SEL 0x1080
  57. #define USB3PHY_QSERDES_COM_CML_SYSCLK_SEL 0x1084
  58. #define USB3PHY_QSERDES_COM_RESETSM_CNTRL 0x1088
  59. #define USB3PHY_QSERDES_COM_RESETSM_CNTRL2 0x108c
  60. #define USB3PHY_QSERDES_COM_LOCK_CMP_EN 0x1090
  61. #define USB3PHY_QSERDES_COM_LOCK_CMP_CFG 0x1094
  62. #define USB3PHY_QSERDES_COM_LOCK_CMP1_MODE0 0x1098
  63. #define USB3PHY_QSERDES_COM_LOCK_CMP2_MODE0 0x109c
  64. #define USB3PHY_QSERDES_COM_LOCK_CMP3_MODE0 0x10a0
  65. #define USB3PHY_QSERDES_COM_LOCK_CMP1_MODE1 0x10a4
  66. #define USB3PHY_QSERDES_COM_LOCK_CMP2_MODE1 0x10a8
  67. #define USB3PHY_QSERDES_COM_LOCK_CMP3_MODE1 0x10ac
  68. #define USB3PHY_QSERDES_COM_DEC_START_MODE0 0x10b0
  69. #define USB3PHY_QSERDES_COM_DEC_START_MODE1 0x10b4
  70. #define USB3PHY_QSERDES_COM_DIV_FRAC_START1_MODE0 0x10b8
  71. #define USB3PHY_QSERDES_COM_DIV_FRAC_START2_MODE0 0x10bc
  72. #define USB3PHY_QSERDES_COM_DIV_FRAC_START3_MODE0 0x10c0
  73. #define USB3PHY_QSERDES_COM_DIV_FRAC_START1_MODE1 0x10c4
  74. #define USB3PHY_QSERDES_COM_DIV_FRAC_START2_MODE1 0x10c8
  75. #define USB3PHY_QSERDES_COM_DIV_FRAC_START3_MODE1 0x10cc
  76. #define USB3PHY_QSERDES_COM_INTEGLOOP_INITVAL 0x10d0
  77. #define USB3PHY_QSERDES_COM_INTEGLOOP_EN 0x10d4
  78. #define USB3PHY_QSERDES_COM_INTEGLOOP_GAIN0_MODE0 0x10d8
  79. #define USB3PHY_QSERDES_COM_INTEGLOOP_GAIN1_MODE0 0x10dc
  80. #define USB3PHY_QSERDES_COM_INTEGLOOP_GAIN0_MODE1 0x10e0
  81. #define USB3PHY_QSERDES_COM_INTEGLOOP_GAIN1_MODE1 0x10e4
  82. #define USB3PHY_QSERDES_COM_VCOCAL_DEADMAN_CTRL 0x10e8
  83. #define USB3PHY_QSERDES_COM_VCO_TUNE_CTRL 0x10ec
  84. #define USB3PHY_QSERDES_COM_VCO_TUNE_MAP 0x10f0
  85. #define USB3PHY_QSERDES_COM_VCO_TUNE1_MODE0 0x10f4
  86. #define USB3PHY_QSERDES_COM_VCO_TUNE2_MODE0 0x10f8
  87. #define USB3PHY_QSERDES_COM_VCO_TUNE1_MODE1 0x10fc
  88. #define USB3PHY_QSERDES_COM_VCO_TUNE2_MODE1 0x1100
  89. #define USB3PHY_QSERDES_COM_VCO_TUNE_INITVAL1 0x1104
  90. #define USB3PHY_QSERDES_COM_VCO_TUNE_INITVAL2 0x1108
  91. #define USB3PHY_QSERDES_COM_VCO_TUNE_MINVAL1 0x110c
  92. #define USB3PHY_QSERDES_COM_VCO_TUNE_MINVAL2 0x1110
  93. #define USB3PHY_QSERDES_COM_VCO_TUNE_MAXVAL1 0x1114
  94. #define USB3PHY_QSERDES_COM_VCO_TUNE_MAXVAL2 0x1118
  95. #define USB3PHY_QSERDES_COM_VCO_TUNE_TIMER1 0x111c
  96. #define USB3PHY_QSERDES_COM_VCO_TUNE_TIMER2 0x1120
  97. #define USB3PHY_QSERDES_COM_CMN_STATUS 0x1124
  98. #define USB3PHY_QSERDES_COM_RESET_SM_STATUS 0x1128
  99. #define USB3PHY_QSERDES_COM_RESTRIM_CODE_STATUS 0x112c
  100. #define USB3PHY_QSERDES_COM_PLLCAL_CODE1_STATUS 0x1130
  101. #define USB3PHY_QSERDES_COM_PLLCAL_CODE2_STATUS 0x1134
  102. #define USB3PHY_QSERDES_COM_CLK_SELECT 0x1138
  103. #define USB3PHY_QSERDES_COM_HSCLK_SEL 0x113c
  104. #define USB3PHY_QSERDES_COM_INTEGLOOP_BINCODE_STATUS 0x1140
  105. #define USB3PHY_QSERDES_COM_PLL_ANALOG 0x1144
  106. #define USB3PHY_QSERDES_COM_CORECLK_DIV_MODE0 0x1148
  107. #define USB3PHY_QSERDES_COM_CORECLK_DIV_MODE1 0x114c
  108. #define USB3PHY_QSERDES_COM_SW_RESET 0x1150
  109. #define USB3PHY_QSERDES_COM_CORE_CLK_EN 0x1154
  110. #define USB3PHY_QSERDES_COM_C_READY_STATUS 0x1158
  111. #define USB3PHY_QSERDES_COM_CMN_CONFIG 0x115c
  112. #define USB3PHY_QSERDES_COM_CMN_RATE_OVERRIDE 0x1160
  113. #define USB3PHY_QSERDES_COM_SVS_MODE_CLK_SEL 0x1164
  114. #define USB3PHY_QSERDES_COM_DEBUG_BUS0 0x1168
  115. #define USB3PHY_QSERDES_COM_DEBUG_BUS1 0x116c
  116. #define USB3PHY_QSERDES_COM_DEBUG_BUS2 0x1170
  117. #define USB3PHY_QSERDES_COM_DEBUG_BUS3 0x1174
  118. #define USB3PHY_QSERDES_COM_DEBUG_BUS_SEL 0x1178
  119. #define USB3PHY_QSERDES_COM_CMN_MISC1 0x117c
  120. #define USB3PHY_QSERDES_COM_CMN_MISC2 0x1180
  121. #define USB3PHY_QSERDES_COM_CMN_MODE 0x1184
  122. #define USB3PHY_QSERDES_COM_CMN_VREG_SEL 0x1188
  123. /* USB3_DP_PHY_USB3_QSERDES_TXA_USB3_QSERDES_TXA_USB3_DP_QMP_TX */
  124. #define USB3PHY_QSERDES_TXA_BIST_MODE_LANENO 0x1200
  125. #define USB3PHY_QSERDES_TXA_BIST_INVERT 0x1204
  126. #define USB3PHY_QSERDES_TXA_CLKBUF_ENABLE 0x1208
  127. #define USB3PHY_QSERDES_TXA_TX_EMP_POST1_LVL 0x120c
  128. #define USB3PHY_QSERDES_TXA_TX_POST2_EMPH 0x1210
  129. #define USB3PHY_QSERDES_TXA_TX_BOOST_LVL_UP_DN 0x1214
  130. #define USB3PHY_QSERDES_TXA_TX_IDLE_LVL_LARGE_AMP 0x1218
  131. #define USB3PHY_QSERDES_TXA_TX_DRV_LVL 0x121c
  132. #define USB3PHY_QSERDES_TXA_TX_DRV_LVL_OFFSET 0x1220
  133. #define USB3PHY_QSERDES_TXA_RESET_TSYNC_EN 0x1224
  134. #define USB3PHY_QSERDES_TXA_PRE_STALL_LDO_BOOST_EN 0x1228
  135. #define USB3PHY_QSERDES_TXA_TX_BAND 0x122c
  136. #define USB3PHY_QSERDES_TXA_SLEW_CNTL 0x1230
  137. #define USB3PHY_QSERDES_TXA_INTERFACE_SELECT 0x1234
  138. #define USB3PHY_QSERDES_TXA_LPB_EN 0x1238
  139. #define USB3PHY_QSERDES_TXA_RES_CODE_LANE_TX 0x123c
  140. #define USB3PHY_QSERDES_TXA_RES_CODE_LANE_RX 0x1240
  141. #define USB3PHY_QSERDES_TXA_RES_CODE_LANE_OFFSET_TX 0x1244
  142. #define USB3PHY_QSERDES_TXA_RES_CODE_LANE_OFFSET_RX 0x1248
  143. #define USB3PHY_QSERDES_TXA_PERL_LENGTH1 0x124c
  144. #define USB3PHY_QSERDES_TXA_PERL_LENGTH2 0x1250
  145. #define USB3PHY_QSERDES_TXA_SERDES_BYP_EN_OUT 0x1254
  146. #define USB3PHY_QSERDES_TXA_DEBUG_BUS_SEL 0x1258
  147. #define USB3PHY_QSERDES_TXA_TRANSCEIVER_BIAS_EN 0x125c
  148. #define USB3PHY_QSERDES_TXA_HIGHZ_DRVR_EN 0x1260
  149. #define USB3PHY_QSERDES_TXA_TX_POL_INV 0x1264
  150. #define USB3PHY_QSERDES_TXA_PARRATE_REC_DETECT_IDLE_EN 0x1268
  151. #define USB3PHY_QSERDES_TXA_BIST_PATTERN1 0x126c
  152. #define USB3PHY_QSERDES_TXA_BIST_PATTERN2 0x1270
  153. #define USB3PHY_QSERDES_TXA_BIST_PATTERN3 0x1274
  154. #define USB3PHY_QSERDES_TXA_BIST_PATTERN4 0x1278
  155. #define USB3PHY_QSERDES_TXA_BIST_PATTERN5 0x127c
  156. #define USB3PHY_QSERDES_TXA_BIST_PATTERN6 0x1280
  157. #define USB3PHY_QSERDES_TXA_BIST_PATTERN7 0x1284
  158. #define USB3PHY_QSERDES_TXA_BIST_PATTERN8 0x1288
  159. #define USB3PHY_QSERDES_TXA_LANE_MODE_1 0x128c
  160. #define USB3PHY_QSERDES_TXA_LANE_MODE_2 0x1290
  161. #define USB3PHY_QSERDES_TXA_LANE_MODE_3 0x1294
  162. #define USB3PHY_QSERDES_TXA_ATB_SEL1 0x1298
  163. #define USB3PHY_QSERDES_TXA_ATB_SEL2 0x129c
  164. #define USB3PHY_QSERDES_TXA_RCV_DETECT_LVL 0x12a0
  165. #define USB3PHY_QSERDES_TXA_RCV_DETECT_LVL_2 0x12a4
  166. #define USB3PHY_QSERDES_TXA_PRBS_SEED1 0x12a8
  167. #define USB3PHY_QSERDES_TXA_PRBS_SEED2 0x12ac
  168. #define USB3PHY_QSERDES_TXA_PRBS_SEED3 0x12b0
  169. #define USB3PHY_QSERDES_TXA_PRBS_SEED4 0x12b4
  170. #define USB3PHY_QSERDES_TXA_RESET_GEN 0x12b8
  171. #define USB3PHY_QSERDES_TXA_RESET_GEN_MUXES 0x12bc
  172. #define USB3PHY_QSERDES_TXA_TRAN_DRVR_EMP_EN 0x12c0
  173. #define USB3PHY_QSERDES_TXA_TX_INTERFACE_MODE 0x12c4
  174. #define USB3PHY_QSERDES_TXA_PWM_CTRL 0x12c8
  175. #define USB3PHY_QSERDES_TXA_PWM_ENCODED_OR_DATA 0x12cc
  176. #define USB3PHY_QSERDES_TXA_PWM_GEAR_1_DIVIDER_BAND2 0x12d0
  177. #define USB3PHY_QSERDES_TXA_PWM_GEAR_2_DIVIDER_BAND2 0x12d4
  178. #define USB3PHY_QSERDES_TXA_PWM_GEAR_3_DIVIDER_BAND2 0x12d8
  179. #define USB3PHY_QSERDES_TXA_PWM_GEAR_4_DIVIDER_BAND2 0x12dc
  180. #define USB3PHY_QSERDES_TXA_PWM_GEAR_1_DIVIDER_BAND0_1 0x12e0
  181. #define USB3PHY_QSERDES_TXA_PWM_GEAR_2_DIVIDER_BAND0_1 0x12e4
  182. #define USB3PHY_QSERDES_TXA_PWM_GEAR_3_DIVIDER_BAND0_1 0x12e8
  183. #define USB3PHY_QSERDES_TXA_PWM_GEAR_4_DIVIDER_BAND0_1 0x12ec
  184. #define USB3PHY_QSERDES_TXA_VMODE_CTRL1 0x12f0
  185. #define USB3PHY_QSERDES_TXA_ALOG_OBSV_BUS_CTRL_1 0x12f4
  186. #define USB3PHY_QSERDES_TXA_BIST_STATUS 0x12f8
  187. #define USB3PHY_QSERDES_TXA_BIST_ERROR_COUNT1 0x12fc
  188. #define USB3PHY_QSERDES_TXA_BIST_ERROR_COUNT2 0x1300
  189. #define USB3PHY_QSERDES_TXA_ALOG_OBSV_BUS_STATUS_1 0x1304
  190. /* USB3_DP_PHY_USB3_QSERDES_RXA_USB3_QSERDES_RXA_USB3_DP_QMP_RX */
  191. #define USB3PHY_QSERDES_RXA_UCDR_FO_GAIN_HALF 0x1400
  192. #define USB3PHY_QSERDES_RXA_UCDR_FO_GAIN_QUARTER 0x1404
  193. #define USB3PHY_QSERDES_RXA_UCDR_FO_GAIN 0x1408
  194. #define USB3PHY_QSERDES_RXA_UCDR_SO_GAIN_HALF 0x140c
  195. #define USB3PHY_QSERDES_RXA_UCDR_SO_GAIN_QUARTER 0x1410
  196. #define USB3PHY_QSERDES_RXA_UCDR_SO_GAIN 0x1414
  197. #define USB3PHY_QSERDES_RXA_UCDR_SVS_FO_GAIN_HALF 0x1418
  198. #define USB3PHY_QSERDES_RXA_UCDR_SVS_FO_GAIN_QUARTER 0x141c
  199. #define USB3PHY_QSERDES_RXA_UCDR_SVS_FO_GAIN 0x1420
  200. #define USB3PHY_QSERDES_RXA_UCDR_SVS_SO_GAIN_HALF 0x1424
  201. #define USB3PHY_QSERDES_RXA_UCDR_SVS_SO_GAIN_QUARTER 0x1428
  202. #define USB3PHY_QSERDES_RXA_UCDR_SVS_SO_GAIN 0x142c
  203. #define USB3PHY_QSERDES_RXA_UCDR_FASTLOCK_FO_GAIN 0x1430
  204. #define USB3PHY_QSERDES_RXA_UCDR_SO_SATURATION_AND_ENABLE 0x1434
  205. #define USB3PHY_QSERDES_RXA_UCDR_FO_TO_SO_DELAY 0x1438
  206. #define USB3PHY_QSERDES_RXA_UCDR_FASTLOCK_COUNT_LOW 0x143c
  207. #define USB3PHY_QSERDES_RXA_UCDR_FASTLOCK_COUNT_HIGH 0x1440
  208. #define USB3PHY_QSERDES_RXA_UCDR_PI_CONTROLS 0x1444
  209. #define USB3PHY_QSERDES_RXA_UCDR_SB2_THRESH1 0x1448
  210. #define USB3PHY_QSERDES_RXA_UCDR_SB2_THRESH2 0x144c
  211. #define USB3PHY_QSERDES_RXA_UCDR_SB2_GAIN1 0x1450
  212. #define USB3PHY_QSERDES_RXA_UCDR_SB2_GAIN2 0x1454
  213. #define USB3PHY_QSERDES_RXA_AUX_CONTROL 0x1458
  214. #define USB3PHY_QSERDES_RXA_AUX_DATA_TCOARSE_TFINE 0x145c
  215. #define USB3PHY_QSERDES_RXA_RCLK_AUXDATA_SEL 0x1460
  216. #define USB3PHY_QSERDES_RXA_AC_JTAG_ENABLE 0x1464
  217. #define USB3PHY_QSERDES_RXA_AC_JTAG_INITP 0x1468
  218. #define USB3PHY_QSERDES_RXA_AC_JTAG_INITN 0x146c
  219. #define USB3PHY_QSERDES_RXA_AC_JTAG_LVL 0x1470
  220. #define USB3PHY_QSERDES_RXA_AC_JTAG_MODE 0x1474
  221. #define USB3PHY_QSERDES_RXA_AC_JTAG_RESET 0x1478
  222. #define USB3PHY_QSERDES_RXA_RX_TERM_BW 0x147c
  223. #define USB3PHY_QSERDES_RXA_RX_RCVR_IQ_EN 0x1480
  224. #define USB3PHY_QSERDES_RXA_RX_IDAC_I_DC_OFFSETS 0x1484
  225. #define USB3PHY_QSERDES_RXA_RX_IDAC_IBAR_DC_OFFSETS 0x1488
  226. #define USB3PHY_QSERDES_RXA_RX_IDAC_Q_DC_OFFSETS 0x148c
  227. #define USB3PHY_QSERDES_RXA_RX_IDAC_QBAR_DC_OFFSETS 0x1490
  228. #define USB3PHY_QSERDES_RXA_RX_IDAC_A_DC_OFFSETS 0x1494
  229. #define USB3PHY_QSERDES_RXA_RX_IDAC_ABAR_DC_OFFSETS 0x1498
  230. #define USB3PHY_QSERDES_RXA_RX_IDAC_EN 0x149c
  231. #define USB3PHY_QSERDES_RXA_RX_IDAC_ENABLES 0x14a0
  232. #define USB3PHY_QSERDES_RXA_RX_IDAC_SIGN 0x14a4
  233. #define USB3PHY_QSERDES_RXA_RX_HIGHZ_HIGHRATE 0x14a8
  234. #define USB3PHY_QSERDES_RXA_RX_TERM_AC_BYPASS_DC_COUPLE_OFFSET 0x14ac
  235. #define USB3PHY_QSERDES_RXA_DFE_1 0x14b0
  236. #define USB3PHY_QSERDES_RXA_DFE_2 0x14b4
  237. #define USB3PHY_QSERDES_RXA_DFE_3 0x14b8
  238. #define USB3PHY_QSERDES_RXA_VGA_CAL_CNTRL1 0x14bc
  239. #define USB3PHY_QSERDES_RXA_VGA_CAL_CNTRL2 0x14c0
  240. #define USB3PHY_QSERDES_RXA_GM_CAL 0x14c4
  241. #define USB3PHY_QSERDES_RXA_RX_EQ_GAIN2_LSB 0x14c8
  242. #define USB3PHY_QSERDES_RXA_RX_EQ_GAIN2_MSB 0x14cc
  243. #define USB3PHY_QSERDES_RXA_RX_EQU_ADAPTOR_CNTRL1 0x14d0
  244. #define USB3PHY_QSERDES_RXA_RX_EQU_ADAPTOR_CNTRL2 0x14d4
  245. #define USB3PHY_QSERDES_RXA_RX_EQU_ADAPTOR_CNTRL3 0x14d8
  246. #define USB3PHY_QSERDES_RXA_RX_EQU_ADAPTOR_CNTRL4 0x14dc
  247. #define USB3PHY_QSERDES_RXA_RX_IDAC_TSETTLE_LOW 0x14e0
  248. #define USB3PHY_QSERDES_RXA_RX_IDAC_TSETTLE_HIGH 0x14e4
  249. #define USB3PHY_QSERDES_RXA_RX_IDAC_MEASURE_TIME 0x14e8
  250. #define USB3PHY_QSERDES_RXA_RX_IDAC_ACCUMULATOR 0x14ec
  251. #define USB3PHY_QSERDES_RXA_RX_EQ_OFFSET_LSB 0x14f0
  252. #define USB3PHY_QSERDES_RXA_RX_EQ_OFFSET_MSB 0x14f4
  253. #define USB3PHY_QSERDES_RXA_RX_EQ_OFFSET_ADAPTOR_CNTRL1 0x14f8
  254. #define USB3PHY_QSERDES_RXA_RX_OFFSET_ADAPTOR_CNTRL2 0x14fc
  255. #define USB3PHY_QSERDES_RXA_SIGDET_ENABLES 0x1500
  256. #define USB3PHY_QSERDES_RXA_SIGDET_CNTRL 0x1504
  257. #define USB3PHY_QSERDES_RXA_SIGDET_LVL 0x1508
  258. #define USB3PHY_QSERDES_RXA_SIGDET_DEGLITCH_CNTRL 0x150c
  259. #define USB3PHY_QSERDES_RXA_RX_BAND 0x1510
  260. #define USB3PHY_QSERDES_RXA_CDR_FREEZE_UP_DN 0x1514
  261. #define USB3PHY_QSERDES_RXA_CDR_RESET_OVERRIDE 0x1518
  262. #define USB3PHY_QSERDES_RXA_RX_INTERFACE_MODE 0x151c
  263. #define USB3PHY_QSERDES_RXA_JITTER_GEN_MODE 0x1520
  264. #define USB3PHY_QSERDES_RXA_BUJ_AMP 0x1524
  265. #define USB3PHY_QSERDES_RXA_SJ_AMP1 0x1528
  266. #define USB3PHY_QSERDES_RXA_SJ_AMP2 0x152c
  267. #define USB3PHY_QSERDES_RXA_SJ_PER1 0x1530
  268. #define USB3PHY_QSERDES_RXA_SJ_PER2 0x1534
  269. #define USB3PHY_QSERDES_RXA_BUJ_STEP_FREQ1 0x1538
  270. #define USB3PHY_QSERDES_RXA_BUJ_STEP_FREQ2 0x153c
  271. #define USB3PHY_QSERDES_RXA_PPM_OFFSET1 0x1540
  272. #define USB3PHY_QSERDES_RXA_PPM_OFFSET2 0x1544
  273. #define USB3PHY_QSERDES_RXA_SIGN_PPM_PERIOD1 0x1548
  274. #define USB3PHY_QSERDES_RXA_SIGN_PPM_PERIOD2 0x154c
  275. #define USB3PHY_QSERDES_RXA_RX_PWM_ENABLE_AND_DATA 0x1550
  276. #define USB3PHY_QSERDES_RXA_RX_PWM_GEAR1_TIMEOUT_COUNT 0x1554
  277. #define USB3PHY_QSERDES_RXA_RX_PWM_GEAR2_TIMEOUT_COUNT 0x1558
  278. #define USB3PHY_QSERDES_RXA_RX_PWM_GEAR3_TIMEOUT_COUNT 0x155c
  279. #define USB3PHY_QSERDES_RXA_RX_PWM_GEAR4_TIMEOUT_COUNT 0x1560
  280. #define USB3PHY_QSERDES_RXA_RX_MODE_00 0x1564
  281. #define USB3PHY_QSERDES_RXA_RX_MODE_01 0x1568
  282. #define USB3PHY_QSERDES_RXA_RX_MODE_10 0x156c
  283. #define USB3PHY_QSERDES_RXA_ALOG_OBSV_BUS_CTRL_1 0x1570
  284. #define USB3PHY_QSERDES_RXA_PI_CTRL1 0x1574
  285. #define USB3PHY_QSERDES_RXA_PI_CTRL2 0x1578
  286. #define USB3PHY_QSERDES_RXA_PI_QUAD 0x157c
  287. #define USB3PHY_QSERDES_RXA_IDATA1 0x1580
  288. #define USB3PHY_QSERDES_RXA_IDATA2 0x1584
  289. #define USB3PHY_QSERDES_RXA_AUX_DATA1 0x1588
  290. #define USB3PHY_QSERDES_RXA_AUX_DATA2 0x158c
  291. #define USB3PHY_QSERDES_RXA_AC_JTAG_OUTP 0x1590
  292. #define USB3PHY_QSERDES_RXA_AC_JTAG_OUTN 0x1594
  293. #define USB3PHY_QSERDES_RXA_RX_SIGDET 0x1598
  294. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_I 0x159c
  295. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_IBAR 0x15a0
  296. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_Q 0x15a4
  297. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_QBAR 0x15a8
  298. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_A 0x15ac
  299. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_ABAR 0x15b0
  300. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_SM_ON 0x15b4
  301. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_CAL_DONE 0x15b8
  302. #define USB3PHY_QSERDES_RXA_IDAC_STATUS_SIGNERROR 0x15bc
  303. #define USB3PHY_QSERDES_RXA_READ_EQCODE 0x15c0
  304. #define USB3PHY_QSERDES_RXA_READ_OFFSETCODE 0x15c4
  305. #define USB3PHY_QSERDES_RXA_IA_ERROR_COUNTER_LOW 0x15c8
  306. #define USB3PHY_QSERDES_RXA_IA_ERROR_COUNTER_HIGH 0x15cc
  307. #define USB3PHY_QSERDES_RXA_VGA_READ_CODE 0x15d0
  308. #define USB3PHY_QSERDES_RXA_DFE_TAP1_READ_CODE 0x15d4
  309. #define USB3PHY_QSERDES_RXA_DFE_TAP2_READ_CODE 0x15d8
  310. #define USB3PHY_QSERDES_RXA_ALOG_OBSV_BUS_STATUS_1 0x15dc
  311. /* USB3_DP_PHY_USB3_QSERDES_TXB_USB3_QSERDES_TXB_USB3_DP_QMP_TX */
  312. #define USB3PHY_QSERDES_TXB_BIST_MODE_LANENO 0x1600
  313. #define USB3PHY_QSERDES_TXB_BIST_INVERT 0x1604
  314. #define USB3PHY_QSERDES_TXB_CLKBUF_ENABLE 0x1608
  315. #define USB3PHY_QSERDES_TXB_TX_EMP_POST1_LVL 0x160c
  316. #define USB3PHY_QSERDES_TXB_TX_POST2_EMPH 0x1610
  317. #define USB3PHY_QSERDES_TXB_TX_BOOST_LVL_UP_DN 0x1614
  318. #define USB3PHY_QSERDES_TXB_TX_IDLE_LVL_LARGE_AMP 0x1618
  319. #define USB3PHY_QSERDES_TXB_TX_DRV_LVL 0x161c
  320. #define USB3PHY_QSERDES_TXB_TX_DRV_LVL_OFFSET 0x1620
  321. #define USB3PHY_QSERDES_TXB_RESET_TSYNC_EN 0x1624
  322. #define USB3PHY_QSERDES_TXB_PRE_STALL_LDO_BOOST_EN 0x1628
  323. #define USB3PHY_QSERDES_TXB_TX_BAND 0x162c
  324. #define USB3PHY_QSERDES_TXB_SLEW_CNTL 0x1630
  325. #define USB3PHY_QSERDES_TXB_INTERFACE_SELECT 0x1634
  326. #define USB3PHY_QSERDES_TXB_LPB_EN 0x1638
  327. #define USB3PHY_QSERDES_TXB_RES_CODE_LANE_TX 0x163c
  328. #define USB3PHY_QSERDES_TXB_RES_CODE_LANE_RX 0x1640
  329. #define USB3PHY_QSERDES_TXB_RES_CODE_LANE_OFFSET_TX 0x1644
  330. #define USB3PHY_QSERDES_TXB_RES_CODE_LANE_OFFSET_RX 0x1648
  331. #define USB3PHY_QSERDES_TXB_PERL_LENGTH1 0x164c
  332. #define USB3PHY_QSERDES_TXB_PERL_LENGTH2 0x1650
  333. #define USB3PHY_QSERDES_TXB_SERDES_BYP_EN_OUT 0x1654
  334. #define USB3PHY_QSERDES_TXB_DEBUG_BUS_SEL 0x1658
  335. #define USB3PHY_QSERDES_TXB_TRANSCEIVER_BIAS_EN 0x165c
  336. #define USB3PHY_QSERDES_TXB_HIGHZ_DRVR_EN 0x1660
  337. #define USB3PHY_QSERDES_TXB_TX_POL_INV 0x1664
  338. #define USB3PHY_QSERDES_TXB_PARRATE_REC_DETECT_IDLE_EN 0x1668
  339. #define USB3PHY_QSERDES_TXB_BIST_PATTERN1 0x166c
  340. #define USB3PHY_QSERDES_TXB_BIST_PATTERN2 0x1670
  341. #define USB3PHY_QSERDES_TXB_BIST_PATTERN3 0x1674
  342. #define USB3PHY_QSERDES_TXB_BIST_PATTERN4 0x1678
  343. #define USB3PHY_QSERDES_TXB_BIST_PATTERN5 0x167c
  344. #define USB3PHY_QSERDES_TXB_BIST_PATTERN6 0x1680
  345. #define USB3PHY_QSERDES_TXB_BIST_PATTERN7 0x1684
  346. #define USB3PHY_QSERDES_TXB_BIST_PATTERN8 0x1688
  347. #define USB3PHY_QSERDES_TXB_LANE_MODE_1 0x168c
  348. #define USB3PHY_QSERDES_TXB_LANE_MODE_2 0x1690
  349. #define USB3PHY_QSERDES_TXB_LANE_MODE_3 0x1694
  350. #define USB3PHY_QSERDES_TXB_ATB_SEL1 0x1698
  351. #define USB3PHY_QSERDES_TXB_ATB_SEL2 0x169c
  352. #define USB3PHY_QSERDES_TXB_RCV_DETECT_LVL 0x16a0
  353. #define USB3PHY_QSERDES_TXB_RCV_DETECT_LVL_2 0x16a4
  354. #define USB3PHY_QSERDES_TXB_PRBS_SEED1 0x16a8
  355. #define USB3PHY_QSERDES_TXB_PRBS_SEED2 0x16ac
  356. #define USB3PHY_QSERDES_TXB_PRBS_SEED3 0x16b0
  357. #define USB3PHY_QSERDES_TXB_PRBS_SEED4 0x16b4
  358. #define USB3PHY_QSERDES_TXB_RESET_GEN 0x16b8
  359. #define USB3PHY_QSERDES_TXB_RESET_GEN_MUXES 0x16bc
  360. #define USB3PHY_QSERDES_TXB_TRAN_DRVR_EMP_EN 0x16c0
  361. #define USB3PHY_QSERDES_TXB_TX_INTERFACE_MODE 0x16c4
  362. #define USB3PHY_QSERDES_TXB_PWM_CTRL 0x16c8
  363. #define USB3PHY_QSERDES_TXB_PWM_ENCODED_OR_DATA 0x16cc
  364. #define USB3PHY_QSERDES_TXB_PWM_GEAR_1_DIVIDER_BAND2 0x16d0
  365. #define USB3PHY_QSERDES_TXB_PWM_GEAR_2_DIVIDER_BAND2 0x16d4
  366. #define USB3PHY_QSERDES_TXB_PWM_GEAR_3_DIVIDER_BAND2 0x16d8
  367. #define USB3PHY_QSERDES_TXB_PWM_GEAR_4_DIVIDER_BAND2 0x16dc
  368. #define USB3PHY_QSERDES_TXB_PWM_GEAR_1_DIVIDER_BAND0_1 0x16e0
  369. #define USB3PHY_QSERDES_TXB_PWM_GEAR_2_DIVIDER_BAND0_1 0x16e4
  370. #define USB3PHY_QSERDES_TXB_PWM_GEAR_3_DIVIDER_BAND0_1 0x16e8
  371. #define USB3PHY_QSERDES_TXB_PWM_GEAR_4_DIVIDER_BAND0_1 0x16ec
  372. #define USB3PHY_QSERDES_TXB_VMODE_CTRL1 0x16f0
  373. #define USB3PHY_QSERDES_TXB_ALOG_OBSV_BUS_CTRL_1 0x16f4
  374. #define USB3PHY_QSERDES_TXB_BIST_STATUS 0x16f8
  375. #define USB3PHY_QSERDES_TXB_BIST_ERROR_COUNT1 0x16fc
  376. #define USB3PHY_QSERDES_TXB_BIST_ERROR_COUNT2 0x1700
  377. #define USB3PHY_QSERDES_TXB_ALOG_OBSV_BUS_STATUS_1 0x1704
  378. /* USB3_DP_PHY_USB3_QSERDES_RXB_USB3_QSERDES_RXB_USB3_DP_QMP_RX */
  379. #define USB3PHY_QSERDES_RXB_UCDR_FO_GAIN_HALF 0x1800
  380. #define USB3PHY_QSERDES_RXB_UCDR_FO_GAIN_QUARTER 0x1804
  381. #define USB3PHY_QSERDES_RXB_UCDR_FO_GAIN 0x1808
  382. #define USB3PHY_QSERDES_RXB_UCDR_SO_GAIN_HALF 0x180c
  383. #define USB3PHY_QSERDES_RXB_UCDR_SO_GAIN_QUARTER 0x1810
  384. #define USB3PHY_QSERDES_RXB_UCDR_SO_GAIN 0x1814
  385. #define USB3PHY_QSERDES_RXB_UCDR_SVS_FO_GAIN_HALF 0x1818
  386. #define USB3PHY_QSERDES_RXB_UCDR_SVS_FO_GAIN_QUARTER 0x181c
  387. #define USB3PHY_QSERDES_RXB_UCDR_SVS_FO_GAIN 0x1820
  388. #define USB3PHY_QSERDES_RXB_UCDR_SVS_SO_GAIN_HALF 0x1824
  389. #define USB3PHY_QSERDES_RXB_UCDR_SVS_SO_GAIN_QUARTER 0x1828
  390. #define USB3PHY_QSERDES_RXB_UCDR_SVS_SO_GAIN 0x182c
  391. #define USB3PHY_QSERDES_RXB_UCDR_FASTLOCK_FO_GAIN 0x1830
  392. #define USB3PHY_QSERDES_RXB_UCDR_SO_SATURATION_AND_ENABLE 0x1834
  393. #define USB3PHY_QSERDES_RXB_UCDR_FO_TO_SO_DELAY 0x1838
  394. #define USB3PHY_QSERDES_RXB_UCDR_FASTLOCK_COUNT_LOW 0x183c
  395. #define USB3PHY_QSERDES_RXB_UCDR_FASTLOCK_COUNT_HIGH 0x1840
  396. #define USB3PHY_QSERDES_RXB_UCDR_PI_CONTROLS 0x1844
  397. #define USB3PHY_QSERDES_RXB_UCDR_SB2_THRESH1 0x1848
  398. #define USB3PHY_QSERDES_RXB_UCDR_SB2_THRESH2 0x184c
  399. #define USB3PHY_QSERDES_RXB_UCDR_SB2_GAIN1 0x1850
  400. #define USB3PHY_QSERDES_RXB_UCDR_SB2_GAIN2 0x1854
  401. #define USB3PHY_QSERDES_RXB_AUX_CONTROL 0x1858
  402. #define USB3PHY_QSERDES_RXB_AUX_DATA_TCOARSE_TFINE 0x185c
  403. #define USB3PHY_QSERDES_RXB_RCLK_AUXDATA_SEL 0x1860
  404. #define USB3PHY_QSERDES_RXB_AC_JTAG_ENABLE 0x1864
  405. #define USB3PHY_QSERDES_RXB_AC_JTAG_INITP 0x1868
  406. #define USB3PHY_QSERDES_RXB_AC_JTAG_INITN 0x186c
  407. #define USB3PHY_QSERDES_RXB_AC_JTAG_LVL 0x1870
  408. #define USB3PHY_QSERDES_RXB_AC_JTAG_MODE 0x1874
  409. #define USB3PHY_QSERDES_RXB_AC_JTAG_RESET 0x1878
  410. #define USB3PHY_QSERDES_RXB_RX_TERM_BW 0x187c
  411. #define USB3PHY_QSERDES_RXB_RX_RCVR_IQ_EN 0x1880
  412. #define USB3PHY_QSERDES_RXB_RX_IDAC_I_DC_OFFSETS 0x1884
  413. #define USB3PHY_QSERDES_RXB_RX_IDAC_IBAR_DC_OFFSETS 0x1888
  414. #define USB3PHY_QSERDES_RXB_RX_IDAC_Q_DC_OFFSETS 0x188c
  415. #define USB3PHY_QSERDES_RXB_RX_IDAC_QBAR_DC_OFFSETS 0x1890
  416. #define USB3PHY_QSERDES_RXB_RX_IDAC_A_DC_OFFSETS 0x1894
  417. #define USB3PHY_QSERDES_RXB_RX_IDAC_ABAR_DC_OFFSETS 0x1898
  418. #define USB3PHY_QSERDES_RXB_RX_IDAC_EN 0x189c
  419. #define USB3PHY_QSERDES_RXB_RX_IDAC_ENABLES 0x18a0
  420. #define USB3PHY_QSERDES_RXB_RX_IDAC_SIGN 0x18a4
  421. #define USB3PHY_QSERDES_RXB_RX_HIGHZ_HIGHRATE 0x18a8
  422. #define USB3PHY_QSERDES_RXB_RX_TERM_AC_BYPASS_DC_COUPLE_OFFSET 0x18ac
  423. #define USB3PHY_QSERDES_RXB_DFE_1 0x18b0
  424. #define USB3PHY_QSERDES_RXB_DFE_2 0x18b4
  425. #define USB3PHY_QSERDES_RXB_DFE_3 0x18b8
  426. #define USB3PHY_QSERDES_RXB_VGA_CAL_CNTRL1 0x18bc
  427. #define USB3PHY_QSERDES_RXB_VGA_CAL_CNTRL2 0x18c0
  428. #define USB3PHY_QSERDES_RXB_GM_CAL 0x18c4
  429. #define USB3PHY_QSERDES_RXB_RX_EQ_GAIN2_LSB 0x18c8
  430. #define USB3PHY_QSERDES_RXB_RX_EQ_GAIN2_MSB 0x18cc
  431. #define USB3PHY_QSERDES_RXB_RX_EQU_ADAPTOR_CNTRL1 0x18d0
  432. #define USB3PHY_QSERDES_RXB_RX_EQU_ADAPTOR_CNTRL2 0x18d4
  433. #define USB3PHY_QSERDES_RXB_RX_EQU_ADAPTOR_CNTRL3 0x18d8
  434. #define USB3PHY_QSERDES_RXB_RX_EQU_ADAPTOR_CNTRL4 0x18dc
  435. #define USB3PHY_QSERDES_RXB_RX_IDAC_TSETTLE_LOW 0x18e0
  436. #define USB3PHY_QSERDES_RXB_RX_IDAC_TSETTLE_HIGH 0x18e4
  437. #define USB3PHY_QSERDES_RXB_RX_IDAC_MEASURE_TIME 0x18e8
  438. #define USB3PHY_QSERDES_RXB_RX_IDAC_ACCUMULATOR 0x18ec
  439. #define USB3PHY_QSERDES_RXB_RX_EQ_OFFSET_LSB 0x18f0
  440. #define USB3PHY_QSERDES_RXB_RX_EQ_OFFSET_MSB 0x18f4
  441. #define USB3PHY_QSERDES_RXB_RX_EQ_OFFSET_ADAPTOR_CNTRL1 0x18f8
  442. #define USB3PHY_QSERDES_RXB_RX_OFFSET_ADAPTOR_CNTRL2 0x18fc
  443. #define USB3PHY_QSERDES_RXB_SIGDET_ENABLES 0x1900
  444. #define USB3PHY_QSERDES_RXB_SIGDET_CNTRL 0x1904
  445. #define USB3PHY_QSERDES_RXB_SIGDET_LVL 0x1908
  446. #define USB3PHY_QSERDES_RXB_SIGDET_DEGLITCH_CNTRL 0x190c
  447. #define USB3PHY_QSERDES_RXB_RX_BAND 0x1910
  448. #define USB3PHY_QSERDES_RXB_CDR_FREEZE_UP_DN 0x1914
  449. #define USB3PHY_QSERDES_RXB_CDR_RESET_OVERRIDE 0x1918
  450. #define USB3PHY_QSERDES_RXB_RX_INTERFACE_MODE 0x191c
  451. #define USB3PHY_QSERDES_RXB_JITTER_GEN_MODE 0x1920
  452. #define USB3PHY_QSERDES_RXB_BUJ_AMP 0x1924
  453. #define USB3PHY_QSERDES_RXB_SJ_AMP1 0x1928
  454. #define USB3PHY_QSERDES_RXB_SJ_AMP2 0x192c
  455. #define USB3PHY_QSERDES_RXB_SJ_PER1 0x1930
  456. #define USB3PHY_QSERDES_RXB_SJ_PER2 0x1934
  457. #define USB3PHY_QSERDES_RXB_BUJ_STEP_FREQ1 0x1938
  458. #define USB3PHY_QSERDES_RXB_BUJ_STEP_FREQ2 0x193c
  459. #define USB3PHY_QSERDES_RXB_PPM_OFFSET1 0x1940
  460. #define USB3PHY_QSERDES_RXB_PPM_OFFSET2 0x1944
  461. #define USB3PHY_QSERDES_RXB_SIGN_PPM_PERIOD1 0x1948
  462. #define USB3PHY_QSERDES_RXB_SIGN_PPM_PERIOD2 0x194c
  463. #define USB3PHY_QSERDES_RXB_RX_PWM_ENABLE_AND_DATA 0x1950
  464. #define USB3PHY_QSERDES_RXB_RX_PWM_GEAR1_TIMEOUT_COUNT 0x1954
  465. #define USB3PHY_QSERDES_RXB_RX_PWM_GEAR2_TIMEOUT_COUNT 0x1958
  466. #define USB3PHY_QSERDES_RXB_RX_PWM_GEAR3_TIMEOUT_COUNT 0x195c
  467. #define USB3PHY_QSERDES_RXB_RX_PWM_GEAR4_TIMEOUT_COUNT 0x1960
  468. #define USB3PHY_QSERDES_RXB_RX_MODE_00 0x1964
  469. #define USB3PHY_QSERDES_RXB_RX_MODE_01 0x1968
  470. #define USB3PHY_QSERDES_RXB_RX_MODE_10 0x196c
  471. #define USB3PHY_QSERDES_RXB_ALOG_OBSV_BUS_CTRL_1 0x1970
  472. #define USB3PHY_QSERDES_RXB_PI_CTRL1 0x1974
  473. #define USB3PHY_QSERDES_RXB_PI_CTRL2 0x1978
  474. #define USB3PHY_QSERDES_RXB_PI_QUAD 0x197c
  475. #define USB3PHY_QSERDES_RXB_IDATA1 0x1980
  476. #define USB3PHY_QSERDES_RXB_IDATA2 0x1984
  477. #define USB3PHY_QSERDES_RXB_AUX_DATA1 0x1988
  478. #define USB3PHY_QSERDES_RXB_AUX_DATA2 0x198c
  479. #define USB3PHY_QSERDES_RXB_AC_JTAG_OUTP 0x1990
  480. #define USB3PHY_QSERDES_RXB_AC_JTAG_OUTN 0x1994
  481. #define USB3PHY_QSERDES_RXB_RX_SIGDET 0x1998
  482. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_I 0x199c
  483. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_IBAR 0x19a0
  484. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_Q 0x19a4
  485. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_QBAR 0x19a8
  486. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_A 0x19ac
  487. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_ABAR 0x19b0
  488. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_SM_ON 0x19b4
  489. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_CAL_DONE 0x19b8
  490. #define USB3PHY_QSERDES_RXB_IDAC_STATUS_SIGNERROR 0x19bc
  491. #define USB3PHY_QSERDES_RXB_READ_EQCODE 0x19c0
  492. #define USB3PHY_QSERDES_RXB_READ_OFFSETCODE 0x19c4
  493. #define USB3PHY_QSERDES_RXB_IA_ERROR_COUNTER_LOW 0x19c8
  494. #define USB3PHY_QSERDES_RXB_IA_ERROR_COUNTER_HIGH 0x19cc
  495. #define USB3PHY_QSERDES_RXB_VGA_READ_CODE 0x19d0
  496. #define USB3PHY_QSERDES_RXB_DFE_TAP1_READ_CODE 0x19d4
  497. #define USB3PHY_QSERDES_RXB_DFE_TAP2_READ_CODE 0x19d8
  498. #define USB3PHY_QSERDES_RXB_ALOG_OBSV_BUS_STATUS_1 0x19dc
  499. /* USB3_DP_PHY_USB3_PCS_MISC_USB3_PCS_MISC_USB3_PCS_MISC */
  500. #define USB3PHY_PCS_MISC_TYPEC_CTRL 0x1a00
  501. #define USB3PHY_PCS_MISC_TYPEC_PWRDN_CTRL 0x1a04
  502. #define USB3PHY_PCS_MISC_PCS_MISC_CONFIG1 0x1a08
  503. #define USB3PHY_PCS_MISC_CLAMP_ENABLE 0x1a0c
  504. #define USB3PHY_PCS_MISC_TYPEC_STATUS 0x1a10
  505. #define USB3PHY_PCS_MISC_PLACEHOLDER_STATUS 0x1a14
  506. /* USB3_DP_PHY_USB3_PCS_USB3_PCS_USB3_PCS */
  507. #define USB3PHY_PCS_SW_RESET 0x1c00
  508. #define USB3PHY_PCS_POWER_DOWN_CONTROL 0x1c04
  509. #define USB3PHY_PCS_START_CONTROL 0x1c08
  510. #define USB3PHY_PCS_TXMGN_V0 0x1c0c
  511. #define USB3PHY_PCS_TXMGN_V1 0x1c10
  512. #define USB3PHY_PCS_TXMGN_V2 0x1c14
  513. #define USB3PHY_PCS_TXMGN_V3 0x1c18
  514. #define USB3PHY_PCS_TXMGN_V4 0x1c1c
  515. #define USB3PHY_PCS_TXMGN_LS 0x1c20
  516. #define USB3PHY_PCS_TXDEEMPH_M6DB_V0 0x1c24
  517. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_V0 0x1c28
  518. #define USB3PHY_PCS_TXDEEMPH_M6DB_V1 0x1c2c
  519. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_V1 0x1c30
  520. #define USB3PHY_PCS_TXDEEMPH_M6DB_V2 0x1c34
  521. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_V2 0x1c38
  522. #define USB3PHY_PCS_TXDEEMPH_M6DB_V3 0x1c3c
  523. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_V3 0x1c40
  524. #define USB3PHY_PCS_TXDEEMPH_M6DB_V4 0x1c44
  525. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_V4 0x1c48
  526. #define USB3PHY_PCS_TXDEEMPH_M6DB_LS 0x1c4c
  527. #define USB3PHY_PCS_TXDEEMPH_M3P5DB_LS 0x1c50
  528. #define USB3PHY_PCS_ENDPOINT_REFCLK_DRIVE 0x1c54
  529. #define USB3PHY_PCS_RX_IDLE_DTCT_CNTRL 0x1c58
  530. #define USB3PHY_PCS_RATE_SLEW_CNTRL 0x1c5c
  531. #define USB3PHY_PCS_POWER_STATE_CONFIG1 0x1c60
  532. #define USB3PHY_PCS_POWER_STATE_CONFIG2 0x1c64
  533. #define USB3PHY_PCS_POWER_STATE_CONFIG3 0x1c68
  534. #define USB3PHY_PCS_POWER_STATE_CONFIG4 0x1c6c
  535. #define USB3PHY_PCS_RCVR_DTCT_DLY_P1U2_L 0x1c70
  536. #define USB3PHY_PCS_RCVR_DTCT_DLY_P1U2_H 0x1c74
  537. #define USB3PHY_PCS_RCVR_DTCT_DLY_U3_L 0x1c78
  538. #define USB3PHY_PCS_RCVR_DTCT_DLY_U3_H 0x1c7c
  539. #define USB3PHY_PCS_LOCK_DETECT_CONFIG1 0x1c80
  540. #define USB3PHY_PCS_LOCK_DETECT_CONFIG2 0x1c84
  541. #define USB3PHY_PCS_LOCK_DETECT_CONFIG3 0x1c88
  542. #define USB3PHY_PCS_TSYNC_RSYNC_TIME 0x1c8c
  543. #define USB3PHY_PCS_SIGDET_LOW_2_IDLE_TIME 0x1c90
  544. #define USB3PHY_PCS_BEACON_2_IDLE_TIME_L 0x1c94
  545. #define USB3PHY_PCS_BEACON_2_IDLE_TIME_H 0x1c98
  546. #define USB3PHY_PCS_PWRUP_RESET_DLY_TIME_SYSCLK 0x1c9c
  547. #define USB3PHY_PCS_PWRUP_RESET_DLY_TIME_AUXCLK 0x1ca0
  548. #define USB3PHY_PCS_LP_WAKEUP_DLY_TIME_AUXCLK 0x1ca4
  549. #define USB3PHY_PCS_PLL_LOCK_CHK_DLY_TIME 0x1ca8
  550. #define USB3PHY_PCS_LFPS_DET_HIGH_COUNT_VAL 0x1cac
  551. #define USB3PHY_PCS_LFPS_TX_ECSTART_EQTLOCK 0x1cb0
  552. #define USB3PHY_PCS_LFPS_TX_END_CNT_P2U3_START 0x1cb4
  553. #define USB3PHY_PCS_RXEQTRAINING_WAIT_TIME 0x1cb8
  554. #define USB3PHY_PCS_RXEQTRAINING_RUN_TIME 0x1cbc
  555. #define USB3PHY_PCS_TXONESZEROS_RUN_LENGTH 0x1cc0
  556. #define USB3PHY_PCS_FLL_CNTRL1 0x1cc4
  557. #define USB3PHY_PCS_FLL_CNTRL2 0x1cc8
  558. #define USB3PHY_PCS_FLL_CNT_VAL_L 0x1ccc
  559. #define USB3PHY_PCS_FLL_CNT_VAL_H_TOL 0x1cd0
  560. #define USB3PHY_PCS_FLL_MAN_CODE 0x1cd4
  561. #define USB3PHY_PCS_AUTONOMOUS_MODE_CTRL 0x1cd8
  562. #define USB3PHY_PCS_LFPS_RXTERM_IRQ_CLEAR 0x1cdc
  563. #define USB3PHY_PCS_ARCVR_DTCT_EN_PERIOD 0x1ce0
  564. #define USB3PHY_PCS_ARCVR_DTCT_CM_DLY 0x1ce4
  565. #define USB3PHY_PCS_ALFPS_DEGLITCH_VAL 0x1ce8
  566. #define USB3PHY_PCS_INSIG_SW_CTRL1 0x1cec
  567. #define USB3PHY_PCS_INSIG_SW_CTRL2 0x1cf0
  568. #define USB3PHY_PCS_INSIG_SW_CTRL3 0x1cf4
  569. #define USB3PHY_PCS_INSIG_MX_CTRL1 0x1cf8
  570. #define USB3PHY_PCS_INSIG_MX_CTRL2 0x1cfc
  571. #define USB3PHY_PCS_INSIG_MX_CTRL3 0x1d00
  572. #define USB3PHY_PCS_OUTSIG_SW_CTRL1 0x1d04
  573. #define USB3PHY_PCS_OUTSIG_MX_CTRL1 0x1d08
  574. #define USB3PHY_PCS_CLK_DEBUG_BYPASS_CTRL 0x1d0c
  575. #define USB3PHY_PCS_TEST_CONTROL 0x1d10
  576. #define USB3PHY_PCS_TEST_CONTROL2 0x1d14
  577. #define USB3PHY_PCS_TEST_CONTROL3 0x1d18
  578. #define USB3PHY_PCS_TEST_CONTROL4 0x1d1c
  579. #define USB3PHY_PCS_TEST_CONTROL5 0x1d20
  580. #define USB3PHY_PCS_TEST_CONTROL6 0x1d24
  581. #define USB3PHY_PCS_TEST_CONTROL7 0x1d28
  582. #define USB3PHY_PCS_COM_RESET_CONTROL 0x1d2c
  583. #define USB3PHY_PCS_BIST_CTRL 0x1d30
  584. #define USB3PHY_PCS_PRBS_POLY0 0x1d34
  585. #define USB3PHY_PCS_PRBS_POLY1 0x1d38
  586. #define USB3PHY_PCS_PRBS_SEED0 0x1d3c
  587. #define USB3PHY_PCS_PRBS_SEED1 0x1d40
  588. #define USB3PHY_PCS_FIXED_PAT_CTRL 0x1d44
  589. #define USB3PHY_PCS_FIXED_PAT0 0x1d48
  590. #define USB3PHY_PCS_FIXED_PAT1 0x1d4c
  591. #define USB3PHY_PCS_FIXED_PAT2 0x1d50
  592. #define USB3PHY_PCS_FIXED_PAT3 0x1d54
  593. #define USB3PHY_PCS_COM_CLK_SWITCH_CTRL 0x1d58
  594. #define USB3PHY_PCS_ELECIDLE_DLY_SEL 0x1d5c
  595. #define USB3PHY_PCS_SPARE1 0x1d60
  596. #define USB3PHY_PCS_BIST_CHK_ERR_CNT_L_STATUS 0x1d64
  597. #define USB3PHY_PCS_BIST_CHK_ERR_CNT_H_STATUS 0x1d68
  598. #define USB3PHY_PCS_BIST_CHK_STATUS 0x1d6c
  599. #define USB3PHY_PCS_LFPS_RXTERM_IRQ_SOURCE_STATUS 0x1d70
  600. #define USB3PHY_PCS_PCS_STATUS 0x1d74
  601. #define USB3PHY_PCS_PCS_STATUS2 0x1d78
  602. #define USB3PHY_PCS_PCS_STATUS3 0x1d7c
  603. #define USB3PHY_PCS_COM_RESET_STATUS 0x1d80
  604. #define USB3PHY_PCS_OSC_DTCT_STATUS 0x1d84
  605. #define USB3PHY_PCS_REVISION_ID0 0x1d88
  606. #define USB3PHY_PCS_REVISION_ID1 0x1d8c
  607. #define USB3PHY_PCS_REVISION_ID2 0x1d90
  608. #define USB3PHY_PCS_REVISION_ID3 0x1d94
  609. #define USB3PHY_PCS_DEBUG_BUS_0_STATUS 0x1d98
  610. #define USB3PHY_PCS_DEBUG_BUS_1_STATUS 0x1d9c
  611. #define USB3PHY_PCS_DEBUG_BUS_2_STATUS 0x1da0
  612. #define USB3PHY_PCS_DEBUG_BUS_3_STATUS 0x1da4
  613. #define USB3PHY_PCS_LP_WAKEUP_DLY_TIME_AUXCLK_MSB 0x1da8
  614. #define USB3PHY_PCS_OSC_DTCT_ACTIONS 0x1dac
  615. #define USB3PHY_PCS_SIGDET_CNTRL 0x1db0
  616. #define USB3PHY_PCS_IDAC_CAL_CNTRL 0x1db4
  617. #define USB3PHY_PCS_CMN_ACK_OUT_SEL 0x1db8
  618. #define USB3PHY_PCS_PLL_LOCK_CHK_DLY_TIME_SYSCLK 0x1dbc
  619. #define USB3PHY_PCS_AUTONOMOUS_MODE_STATUS 0x1dc0
  620. #define USB3PHY_PCS_ENDPOINT_REFCLK_CNTRL 0x1dc4
  621. #define USB3PHY_PCS_EPCLK_PRE_PLL_LOCK_DLY_SYSCLK 0x1dc8
  622. #define USB3PHY_PCS_EPCLK_PRE_PLL_LOCK_DLY_AUXCLK 0x1dcc
  623. #define USB3PHY_PCS_EPCLK_DLY_COUNT_VAL_L 0x1dd0
  624. #define USB3PHY_PCS_EPCLK_DLY_COUNT_VAL_H 0x1dd4
  625. #define USB3PHY_PCS_RX_SIGDET_LVL 0x1dd8
  626. #define USB3PHY_PCS_L1SS_WAKEUP_DLY_TIME_AUXCLK_LSB 0x1ddc
  627. #define USB3PHY_PCS_L1SS_WAKEUP_DLY_TIME_AUXCLK_MSB 0x1de0
  628. #define USB3PHY_PCS_AUTONOMOUS_MODE_CTRL2 0x1de4
  629. #define USB3PHY_PCS_RXTERMINATION_DLY_SEL 0x1de8
  630. #define USB3PHY_PCS_LFPS_PER_TIMER_VAL 0x1dec
  631. #define USB3PHY_PCS_SIGDET_STARTUP_TIMER_VAL 0x1df0
  632. #define USB3PHY_PCS_LOCK_DETECT_CONFIG4 0x1df4
  633. #define USB3PHY_PCS_RX_SIGDET_DTCT_CNTRL 0x1df8
  634. #define USB3PHY_PCS_PCS_STATUS4 0x1dfc
  635. #define USB3PHY_PCS_PCS_STATUS4_CLEAR 0x1e00
  636. #define USB3PHY_PCS_DEC_ERROR_COUNT_STATUS 0x1e04
  637. #define USB3PHY_PCS_COMMA_POS_STATUS 0x1e08
  638. #define USB3PHY_PCS_REFGEN_REQ_CONFIG1 0x1e0c
  639. #define USB3PHY_PCS_REFGEN_REQ_CONFIG2 0x1e10
  640. #define USB3PHY_PCS_REFGEN_REQ_CONFIG3 0x1e14
  641. #endif /* _DT_BINDINGS_PHY_QCOM_8NM_QMP_USB_H */