qcom,gcc-ipq806x.h 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. /*
  2. * Copyright (c) 2014, The Linux Foundation. All rights reserved.
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef _DT_BINDINGS_CLK_GCC_IPQ806X_H
  14. #define _DT_BINDINGS_CLK_GCC_IPQ806X_H
  15. #define AFAB_CLK_SRC 0
  16. #define QDSS_STM_CLK 1
  17. #define SCSS_A_CLK 2
  18. #define SCSS_H_CLK 3
  19. #define AFAB_CORE_CLK 4
  20. #define SCSS_XO_SRC_CLK 5
  21. #define AFAB_EBI1_CH0_A_CLK 6
  22. #define AFAB_EBI1_CH1_A_CLK 7
  23. #define AFAB_AXI_S0_FCLK 8
  24. #define AFAB_AXI_S1_FCLK 9
  25. #define AFAB_AXI_S2_FCLK 10
  26. #define AFAB_AXI_S3_FCLK 11
  27. #define AFAB_AXI_S4_FCLK 12
  28. #define SFAB_CORE_CLK 13
  29. #define SFAB_AXI_S0_FCLK 14
  30. #define SFAB_AXI_S1_FCLK 15
  31. #define SFAB_AXI_S2_FCLK 16
  32. #define SFAB_AXI_S3_FCLK 17
  33. #define SFAB_AXI_S4_FCLK 18
  34. #define SFAB_AXI_S5_FCLK 19
  35. #define SFAB_AHB_S0_FCLK 20
  36. #define SFAB_AHB_S1_FCLK 21
  37. #define SFAB_AHB_S2_FCLK 22
  38. #define SFAB_AHB_S3_FCLK 23
  39. #define SFAB_AHB_S4_FCLK 24
  40. #define SFAB_AHB_S5_FCLK 25
  41. #define SFAB_AHB_S6_FCLK 26
  42. #define SFAB_AHB_S7_FCLK 27
  43. #define QDSS_AT_CLK_SRC 28
  44. #define QDSS_AT_CLK 29
  45. #define QDSS_TRACECLKIN_CLK_SRC 30
  46. #define QDSS_TRACECLKIN_CLK 31
  47. #define QDSS_TSCTR_CLK_SRC 32
  48. #define QDSS_TSCTR_CLK 33
  49. #define SFAB_ADM0_M0_A_CLK 34
  50. #define SFAB_ADM0_M1_A_CLK 35
  51. #define SFAB_ADM0_M2_H_CLK 36
  52. #define ADM0_CLK 37
  53. #define ADM0_PBUS_CLK 38
  54. #define IMEM0_A_CLK 39
  55. #define QDSS_H_CLK 40
  56. #define PCIE_A_CLK 41
  57. #define PCIE_AUX_CLK 42
  58. #define PCIE_H_CLK 43
  59. #define PCIE_PHY_CLK 44
  60. #define SFAB_CLK_SRC 45
  61. #define SFAB_LPASS_Q6_A_CLK 46
  62. #define SFAB_AFAB_M_A_CLK 47
  63. #define AFAB_SFAB_M0_A_CLK 48
  64. #define AFAB_SFAB_M1_A_CLK 49
  65. #define SFAB_SATA_S_H_CLK 50
  66. #define DFAB_CLK_SRC 51
  67. #define DFAB_CLK 52
  68. #define SFAB_DFAB_M_A_CLK 53
  69. #define DFAB_SFAB_M_A_CLK 54
  70. #define DFAB_SWAY0_H_CLK 55
  71. #define DFAB_SWAY1_H_CLK 56
  72. #define DFAB_ARB0_H_CLK 57
  73. #define DFAB_ARB1_H_CLK 58
  74. #define PPSS_H_CLK 59
  75. #define PPSS_PROC_CLK 60
  76. #define PPSS_TIMER0_CLK 61
  77. #define PPSS_TIMER1_CLK 62
  78. #define PMEM_A_CLK 63
  79. #define DMA_BAM_H_CLK 64
  80. #define SIC_H_CLK 65
  81. #define SPS_TIC_H_CLK 66
  82. #define CFPB_2X_CLK_SRC 67
  83. #define CFPB_CLK 68
  84. #define CFPB0_H_CLK 69
  85. #define CFPB1_H_CLK 70
  86. #define CFPB2_H_CLK 71
  87. #define SFAB_CFPB_M_H_CLK 72
  88. #define CFPB_MASTER_H_CLK 73
  89. #define SFAB_CFPB_S_H_CLK 74
  90. #define CFPB_SPLITTER_H_CLK 75
  91. #define TSIF_H_CLK 76
  92. #define TSIF_INACTIVITY_TIMERS_CLK 77
  93. #define TSIF_REF_SRC 78
  94. #define TSIF_REF_CLK 79
  95. #define CE1_H_CLK 80
  96. #define CE1_CORE_CLK 81
  97. #define CE1_SLEEP_CLK 82
  98. #define CE2_H_CLK 83
  99. #define CE2_CORE_CLK 84
  100. #define SFPB_H_CLK_SRC 85
  101. #define SFPB_H_CLK 86
  102. #define SFAB_SFPB_M_H_CLK 87
  103. #define SFAB_SFPB_S_H_CLK 88
  104. #define RPM_PROC_CLK 89
  105. #define RPM_BUS_H_CLK 90
  106. #define RPM_SLEEP_CLK 91
  107. #define RPM_TIMER_CLK 92
  108. #define RPM_MSG_RAM_H_CLK 93
  109. #define PMIC_ARB0_H_CLK 94
  110. #define PMIC_ARB1_H_CLK 95
  111. #define PMIC_SSBI2_SRC 96
  112. #define PMIC_SSBI2_CLK 97
  113. #define SDC1_H_CLK 98
  114. #define SDC2_H_CLK 99
  115. #define SDC3_H_CLK 100
  116. #define SDC4_H_CLK 101
  117. #define SDC1_SRC 102
  118. #define SDC1_CLK 103
  119. #define SDC2_SRC 104
  120. #define SDC2_CLK 105
  121. #define SDC3_SRC 106
  122. #define SDC3_CLK 107
  123. #define SDC4_SRC 108
  124. #define SDC4_CLK 109
  125. #define USB_HS1_H_CLK 110
  126. #define USB_HS1_XCVR_SRC 111
  127. #define USB_HS1_XCVR_CLK 112
  128. #define USB_HSIC_H_CLK 113
  129. #define USB_HSIC_XCVR_SRC 114
  130. #define USB_HSIC_XCVR_CLK 115
  131. #define USB_HSIC_SYSTEM_CLK_SRC 116
  132. #define USB_HSIC_SYSTEM_CLK 117
  133. #define CFPB0_C0_H_CLK 118
  134. #define CFPB0_D0_H_CLK 119
  135. #define CFPB0_C1_H_CLK 120
  136. #define CFPB0_D1_H_CLK 121
  137. #define USB_FS1_H_CLK 122
  138. #define USB_FS1_XCVR_SRC 123
  139. #define USB_FS1_XCVR_CLK 124
  140. #define USB_FS1_SYSTEM_CLK 125
  141. #define GSBI_COMMON_SIM_SRC 126
  142. #define GSBI1_H_CLK 127
  143. #define GSBI2_H_CLK 128
  144. #define GSBI3_H_CLK 129
  145. #define GSBI4_H_CLK 130
  146. #define GSBI5_H_CLK 131
  147. #define GSBI6_H_CLK 132
  148. #define GSBI7_H_CLK 133
  149. #define GSBI1_QUP_SRC 134
  150. #define GSBI1_QUP_CLK 135
  151. #define GSBI2_QUP_SRC 136
  152. #define GSBI2_QUP_CLK 137
  153. #define GSBI3_QUP_SRC 138
  154. #define GSBI3_QUP_CLK 139
  155. #define GSBI4_QUP_SRC 140
  156. #define GSBI4_QUP_CLK 141
  157. #define GSBI5_QUP_SRC 142
  158. #define GSBI5_QUP_CLK 143
  159. #define GSBI6_QUP_SRC 144
  160. #define GSBI6_QUP_CLK 145
  161. #define GSBI7_QUP_SRC 146
  162. #define GSBI7_QUP_CLK 147
  163. #define GSBI1_UART_SRC 148
  164. #define GSBI1_UART_CLK 149
  165. #define GSBI2_UART_SRC 150
  166. #define GSBI2_UART_CLK 151
  167. #define GSBI3_UART_SRC 152
  168. #define GSBI3_UART_CLK 153
  169. #define GSBI4_UART_SRC 154
  170. #define GSBI4_UART_CLK 155
  171. #define GSBI5_UART_SRC 156
  172. #define GSBI5_UART_CLK 157
  173. #define GSBI6_UART_SRC 158
  174. #define GSBI6_UART_CLK 159
  175. #define GSBI7_UART_SRC 160
  176. #define GSBI7_UART_CLK 161
  177. #define GSBI1_SIM_CLK 162
  178. #define GSBI2_SIM_CLK 163
  179. #define GSBI3_SIM_CLK 164
  180. #define GSBI4_SIM_CLK 165
  181. #define GSBI5_SIM_CLK 166
  182. #define GSBI6_SIM_CLK 167
  183. #define GSBI7_SIM_CLK 168
  184. #define USB_HSIC_HSIC_CLK_SRC 169
  185. #define USB_HSIC_HSIC_CLK 170
  186. #define USB_HSIC_HSIO_CAL_CLK 171
  187. #define SPDM_CFG_H_CLK 172
  188. #define SPDM_MSTR_H_CLK 173
  189. #define SPDM_FF_CLK_SRC 174
  190. #define SPDM_FF_CLK 175
  191. #define SEC_CTRL_CLK 176
  192. #define SEC_CTRL_ACC_CLK_SRC 177
  193. #define SEC_CTRL_ACC_CLK 178
  194. #define TLMM_H_CLK 179
  195. #define TLMM_CLK 180
  196. #define SATA_H_CLK 181
  197. #define SATA_CLK_SRC 182
  198. #define SATA_RXOOB_CLK 183
  199. #define SATA_PMALIVE_CLK 184
  200. #define SATA_PHY_REF_CLK 185
  201. #define SATA_A_CLK 186
  202. #define SATA_PHY_CFG_CLK 187
  203. #define TSSC_CLK_SRC 188
  204. #define TSSC_CLK 189
  205. #define PDM_SRC 190
  206. #define PDM_CLK 191
  207. #define GP0_SRC 192
  208. #define GP0_CLK 193
  209. #define GP1_SRC 194
  210. #define GP1_CLK 195
  211. #define GP2_SRC 196
  212. #define GP2_CLK 197
  213. #define MPM_CLK 198
  214. #define EBI1_CLK_SRC 199
  215. #define EBI1_CH0_CLK 200
  216. #define EBI1_CH1_CLK 201
  217. #define EBI1_2X_CLK 202
  218. #define EBI1_CH0_DQ_CLK 203
  219. #define EBI1_CH1_DQ_CLK 204
  220. #define EBI1_CH0_CA_CLK 205
  221. #define EBI1_CH1_CA_CLK 206
  222. #define EBI1_XO_CLK 207
  223. #define SFAB_SMPSS_S_H_CLK 208
  224. #define PRNG_SRC 209
  225. #define PRNG_CLK 210
  226. #define PXO_SRC 211
  227. #define SPDM_CY_PORT0_CLK 212
  228. #define SPDM_CY_PORT1_CLK 213
  229. #define SPDM_CY_PORT2_CLK 214
  230. #define SPDM_CY_PORT3_CLK 215
  231. #define SPDM_CY_PORT4_CLK 216
  232. #define SPDM_CY_PORT5_CLK 217
  233. #define SPDM_CY_PORT6_CLK 218
  234. #define SPDM_CY_PORT7_CLK 219
  235. #define PLL0 220
  236. #define PLL0_VOTE 221
  237. #define PLL3 222
  238. #define PLL3_VOTE 223
  239. #define PLL4_VOTE 225
  240. #define PLL8 226
  241. #define PLL8_VOTE 227
  242. #define PLL9 228
  243. #define PLL10 229
  244. #define PLL11 230
  245. #define PLL12 231
  246. #define PLL14 232
  247. #define PLL14_VOTE 233
  248. #define PLL18 234
  249. #define CE5_SRC 235
  250. #define CE5_H_CLK 236
  251. #define CE5_CORE_CLK 237
  252. #define CE3_SLEEP_CLK 238
  253. #define SFAB_AHB_S8_FCLK 239
  254. #define SPDM_CY_PORT8_CLK 246
  255. #define PCIE_ALT_REF_SRC 247
  256. #define PCIE_ALT_REF_CLK 248
  257. #define PCIE_1_A_CLK 249
  258. #define PCIE_1_AUX_CLK 250
  259. #define PCIE_1_H_CLK 251
  260. #define PCIE_1_PHY_CLK 252
  261. #define PCIE_1_ALT_REF_SRC 253
  262. #define PCIE_1_ALT_REF_CLK 254
  263. #define PCIE_2_A_CLK 255
  264. #define PCIE_2_AUX_CLK 256
  265. #define PCIE_2_H_CLK 257
  266. #define PCIE_2_PHY_CLK 258
  267. #define PCIE_2_ALT_REF_SRC 259
  268. #define PCIE_2_ALT_REF_CLK 260
  269. #define EBI2_CLK 261
  270. #define USB30_SLEEP_CLK 262
  271. #define USB30_UTMI_SRC 263
  272. #define USB30_0_UTMI_CLK 264
  273. #define USB30_1_UTMI_CLK 265
  274. #define USB30_MASTER_SRC 266
  275. #define USB30_0_MASTER_CLK 267
  276. #define USB30_1_MASTER_CLK 268
  277. #define GMAC_CORE1_CLK_SRC 269
  278. #define GMAC_CORE2_CLK_SRC 270
  279. #define GMAC_CORE3_CLK_SRC 271
  280. #define GMAC_CORE4_CLK_SRC 272
  281. #define GMAC_CORE1_CLK 273
  282. #define GMAC_CORE2_CLK 274
  283. #define GMAC_CORE3_CLK 275
  284. #define GMAC_CORE4_CLK 276
  285. #define UBI32_CORE1_CLK_SRC 277
  286. #define UBI32_CORE2_CLK_SRC 278
  287. #define UBI32_CORE1_CLK 279
  288. #define UBI32_CORE2_CLK 280
  289. #define EBI2_AON_CLK 281
  290. #define NSSTCM_CLK_SRC 282
  291. #define NSSTCM_CLK 283
  292. #endif