imx6sx-clock.h 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /*
  2. * Copyright (C) 2014 Freescale Semiconductor, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. *
  8. */
  9. #ifndef __DT_BINDINGS_CLOCK_IMX6SX_H
  10. #define __DT_BINDINGS_CLOCK_IMX6SX_H
  11. #define IMX6SX_CLK_DUMMY 0
  12. #define IMX6SX_CLK_CKIL 1
  13. #define IMX6SX_CLK_CKIH 2
  14. #define IMX6SX_CLK_OSC 3
  15. #define IMX6SX_CLK_PLL1_SYS 4
  16. #define IMX6SX_CLK_PLL2_BUS 5
  17. #define IMX6SX_CLK_PLL3_USB_OTG 6
  18. #define IMX6SX_CLK_PLL4_AUDIO 7
  19. #define IMX6SX_CLK_PLL5_VIDEO 8
  20. #define IMX6SX_CLK_PLL6_ENET 9
  21. #define IMX6SX_CLK_PLL7_USB_HOST 10
  22. #define IMX6SX_CLK_USBPHY1 11
  23. #define IMX6SX_CLK_USBPHY2 12
  24. #define IMX6SX_CLK_USBPHY1_GATE 13
  25. #define IMX6SX_CLK_USBPHY2_GATE 14
  26. #define IMX6SX_CLK_PCIE_REF 15
  27. #define IMX6SX_CLK_PCIE_REF_125M 16
  28. #define IMX6SX_CLK_ENET_REF 17
  29. #define IMX6SX_CLK_PLL2_PFD0 18
  30. #define IMX6SX_CLK_PLL2_PFD1 19
  31. #define IMX6SX_CLK_PLL2_PFD2 20
  32. #define IMX6SX_CLK_PLL2_PFD3 21
  33. #define IMX6SX_CLK_PLL3_PFD0 22
  34. #define IMX6SX_CLK_PLL3_PFD1 23
  35. #define IMX6SX_CLK_PLL3_PFD2 24
  36. #define IMX6SX_CLK_PLL3_PFD3 25
  37. #define IMX6SX_CLK_PLL2_198M 26
  38. #define IMX6SX_CLK_PLL3_120M 27
  39. #define IMX6SX_CLK_PLL3_80M 28
  40. #define IMX6SX_CLK_PLL3_60M 29
  41. #define IMX6SX_CLK_TWD 30
  42. #define IMX6SX_CLK_PLL4_POST_DIV 31
  43. #define IMX6SX_CLK_PLL4_AUDIO_DIV 32
  44. #define IMX6SX_CLK_PLL5_POST_DIV 33
  45. #define IMX6SX_CLK_PLL5_VIDEO_DIV 34
  46. #define IMX6SX_CLK_STEP 35
  47. #define IMX6SX_CLK_PLL1_SW 36
  48. #define IMX6SX_CLK_OCRAM_SEL 37
  49. #define IMX6SX_CLK_PERIPH_PRE 38
  50. #define IMX6SX_CLK_PERIPH2_PRE 39
  51. #define IMX6SX_CLK_PERIPH_CLK2_SEL 40
  52. #define IMX6SX_CLK_PERIPH2_CLK2_SEL 41
  53. #define IMX6SX_CLK_PCIE_AXI_SEL 42
  54. #define IMX6SX_CLK_GPU_AXI_SEL 43
  55. #define IMX6SX_CLK_GPU_CORE_SEL 44
  56. #define IMX6SX_CLK_EIM_SLOW_SEL 45
  57. #define IMX6SX_CLK_USDHC1_SEL 46
  58. #define IMX6SX_CLK_USDHC2_SEL 47
  59. #define IMX6SX_CLK_USDHC3_SEL 48
  60. #define IMX6SX_CLK_USDHC4_SEL 49
  61. #define IMX6SX_CLK_SSI1_SEL 50
  62. #define IMX6SX_CLK_SSI2_SEL 51
  63. #define IMX6SX_CLK_SSI3_SEL 52
  64. #define IMX6SX_CLK_QSPI1_SEL 53
  65. #define IMX6SX_CLK_PERCLK_SEL 54
  66. #define IMX6SX_CLK_VID_SEL 55
  67. #define IMX6SX_CLK_ESAI_SEL 56
  68. #define IMX6SX_CLK_LDB_DI0_DIV_SEL 57
  69. #define IMX6SX_CLK_LDB_DI1_DIV_SEL 58
  70. #define IMX6SX_CLK_CAN_SEL 59
  71. #define IMX6SX_CLK_UART_SEL 60
  72. #define IMX6SX_CLK_QSPI2_SEL 61
  73. #define IMX6SX_CLK_LDB_DI1_SEL 62
  74. #define IMX6SX_CLK_LDB_DI0_SEL 63
  75. #define IMX6SX_CLK_SPDIF_SEL 64
  76. #define IMX6SX_CLK_AUDIO_SEL 65
  77. #define IMX6SX_CLK_ENET_PRE_SEL 66
  78. #define IMX6SX_CLK_ENET_SEL 67
  79. #define IMX6SX_CLK_M4_PRE_SEL 68
  80. #define IMX6SX_CLK_M4_SEL 69
  81. #define IMX6SX_CLK_ECSPI_SEL 70
  82. #define IMX6SX_CLK_LCDIF1_PRE_SEL 71
  83. #define IMX6SX_CLK_LCDIF2_PRE_SEL 72
  84. #define IMX6SX_CLK_LCDIF1_SEL 73
  85. #define IMX6SX_CLK_LCDIF2_SEL 74
  86. #define IMX6SX_CLK_DISPLAY_SEL 75
  87. #define IMX6SX_CLK_CSI_SEL 76
  88. #define IMX6SX_CLK_CKO1_SEL 77
  89. #define IMX6SX_CLK_CKO2_SEL 78
  90. #define IMX6SX_CLK_CKO 79
  91. #define IMX6SX_CLK_PERIPH_CLK2 80
  92. #define IMX6SX_CLK_PERIPH2_CLK2 81
  93. #define IMX6SX_CLK_IPG 82
  94. #define IMX6SX_CLK_GPU_CORE_PODF 83
  95. #define IMX6SX_CLK_GPU_AXI_PODF 84
  96. #define IMX6SX_CLK_LCDIF1_PODF 85
  97. #define IMX6SX_CLK_QSPI1_PODF 86
  98. #define IMX6SX_CLK_EIM_SLOW_PODF 87
  99. #define IMX6SX_CLK_LCDIF2_PODF 88
  100. #define IMX6SX_CLK_PERCLK 89
  101. #define IMX6SX_CLK_VID_PODF 90
  102. #define IMX6SX_CLK_CAN_PODF 91
  103. #define IMX6SX_CLK_USDHC1_PODF 92
  104. #define IMX6SX_CLK_USDHC2_PODF 93
  105. #define IMX6SX_CLK_USDHC3_PODF 94
  106. #define IMX6SX_CLK_USDHC4_PODF 95
  107. #define IMX6SX_CLK_UART_PODF 96
  108. #define IMX6SX_CLK_ESAI_PRED 97
  109. #define IMX6SX_CLK_ESAI_PODF 98
  110. #define IMX6SX_CLK_SSI3_PRED 99
  111. #define IMX6SX_CLK_SSI3_PODF 100
  112. #define IMX6SX_CLK_SSI1_PRED 101
  113. #define IMX6SX_CLK_SSI1_PODF 102
  114. #define IMX6SX_CLK_QSPI2_PRED 103
  115. #define IMX6SX_CLK_QSPI2_PODF 104
  116. #define IMX6SX_CLK_SSI2_PRED 105
  117. #define IMX6SX_CLK_SSI2_PODF 106
  118. #define IMX6SX_CLK_SPDIF_PRED 107
  119. #define IMX6SX_CLK_SPDIF_PODF 108
  120. #define IMX6SX_CLK_AUDIO_PRED 109
  121. #define IMX6SX_CLK_AUDIO_PODF 110
  122. #define IMX6SX_CLK_ENET_PODF 111
  123. #define IMX6SX_CLK_M4_PODF 112
  124. #define IMX6SX_CLK_ECSPI_PODF 113
  125. #define IMX6SX_CLK_LCDIF1_PRED 114
  126. #define IMX6SX_CLK_LCDIF2_PRED 115
  127. #define IMX6SX_CLK_DISPLAY_PODF 116
  128. #define IMX6SX_CLK_CSI_PODF 117
  129. #define IMX6SX_CLK_LDB_DI0_DIV_3_5 118
  130. #define IMX6SX_CLK_LDB_DI0_DIV_7 119
  131. #define IMX6SX_CLK_LDB_DI1_DIV_3_5 120
  132. #define IMX6SX_CLK_LDB_DI1_DIV_7 121
  133. #define IMX6SX_CLK_CKO1_PODF 122
  134. #define IMX6SX_CLK_CKO2_PODF 123
  135. #define IMX6SX_CLK_PERIPH 124
  136. #define IMX6SX_CLK_PERIPH2 125
  137. #define IMX6SX_CLK_OCRAM 126
  138. #define IMX6SX_CLK_AHB 127
  139. #define IMX6SX_CLK_MMDC_PODF 128
  140. #define IMX6SX_CLK_ARM 129
  141. #define IMX6SX_CLK_AIPS_TZ1 130
  142. #define IMX6SX_CLK_AIPS_TZ2 131
  143. #define IMX6SX_CLK_APBH_DMA 132
  144. #define IMX6SX_CLK_ASRC_GATE 133
  145. #define IMX6SX_CLK_CAAM_MEM 134
  146. #define IMX6SX_CLK_CAAM_ACLK 135
  147. #define IMX6SX_CLK_CAAM_IPG 136
  148. #define IMX6SX_CLK_CAN1_IPG 137
  149. #define IMX6SX_CLK_CAN1_SERIAL 138
  150. #define IMX6SX_CLK_CAN2_IPG 139
  151. #define IMX6SX_CLK_CAN2_SERIAL 140
  152. #define IMX6SX_CLK_CPU_DEBUG 141
  153. #define IMX6SX_CLK_DCIC1 142
  154. #define IMX6SX_CLK_DCIC2 143
  155. #define IMX6SX_CLK_AIPS_TZ3 144
  156. #define IMX6SX_CLK_ECSPI1 145
  157. #define IMX6SX_CLK_ECSPI2 146
  158. #define IMX6SX_CLK_ECSPI3 147
  159. #define IMX6SX_CLK_ECSPI4 148
  160. #define IMX6SX_CLK_ECSPI5 149
  161. #define IMX6SX_CLK_EPIT1 150
  162. #define IMX6SX_CLK_EPIT2 151
  163. #define IMX6SX_CLK_ESAI_EXTAL 152
  164. #define IMX6SX_CLK_WAKEUP 153
  165. #define IMX6SX_CLK_GPT_BUS 154
  166. #define IMX6SX_CLK_GPT_SERIAL 155
  167. #define IMX6SX_CLK_GPU 156
  168. #define IMX6SX_CLK_OCRAM_S 157
  169. #define IMX6SX_CLK_CANFD 158
  170. #define IMX6SX_CLK_CSI 159
  171. #define IMX6SX_CLK_I2C1 160
  172. #define IMX6SX_CLK_I2C2 161
  173. #define IMX6SX_CLK_I2C3 162
  174. #define IMX6SX_CLK_OCOTP 163
  175. #define IMX6SX_CLK_IOMUXC 164
  176. #define IMX6SX_CLK_IPMUX1 165
  177. #define IMX6SX_CLK_IPMUX2 166
  178. #define IMX6SX_CLK_IPMUX3 167
  179. #define IMX6SX_CLK_TZASC1 168
  180. #define IMX6SX_CLK_LCDIF_APB 169
  181. #define IMX6SX_CLK_PXP_AXI 170
  182. #define IMX6SX_CLK_M4 171
  183. #define IMX6SX_CLK_ENET 172
  184. #define IMX6SX_CLK_DISPLAY_AXI 173
  185. #define IMX6SX_CLK_LCDIF2_PIX 174
  186. #define IMX6SX_CLK_LCDIF1_PIX 175
  187. #define IMX6SX_CLK_LDB_DI0 176
  188. #define IMX6SX_CLK_QSPI1 177
  189. #define IMX6SX_CLK_MLB 178
  190. #define IMX6SX_CLK_MMDC_P0_FAST 179
  191. #define IMX6SX_CLK_MMDC_P0_IPG 180
  192. #define IMX6SX_CLK_AXI 181
  193. #define IMX6SX_CLK_PCIE_AXI 182
  194. #define IMX6SX_CLK_QSPI2 183
  195. #define IMX6SX_CLK_PER1_BCH 184
  196. #define IMX6SX_CLK_PER2_MAIN 185
  197. #define IMX6SX_CLK_PWM1 186
  198. #define IMX6SX_CLK_PWM2 187
  199. #define IMX6SX_CLK_PWM3 188
  200. #define IMX6SX_CLK_PWM4 189
  201. #define IMX6SX_CLK_GPMI_BCH_APB 190
  202. #define IMX6SX_CLK_GPMI_BCH 191
  203. #define IMX6SX_CLK_GPMI_IO 192
  204. #define IMX6SX_CLK_GPMI_APB 193
  205. #define IMX6SX_CLK_ROM 194
  206. #define IMX6SX_CLK_SDMA 195
  207. #define IMX6SX_CLK_SPBA 196
  208. #define IMX6SX_CLK_SPDIF 197
  209. #define IMX6SX_CLK_SSI1_IPG 198
  210. #define IMX6SX_CLK_SSI2_IPG 199
  211. #define IMX6SX_CLK_SSI3_IPG 200
  212. #define IMX6SX_CLK_SSI1 201
  213. #define IMX6SX_CLK_SSI2 202
  214. #define IMX6SX_CLK_SSI3 203
  215. #define IMX6SX_CLK_UART_IPG 204
  216. #define IMX6SX_CLK_UART_SERIAL 205
  217. #define IMX6SX_CLK_SAI1 206
  218. #define IMX6SX_CLK_SAI2 207
  219. #define IMX6SX_CLK_USBOH3 208
  220. #define IMX6SX_CLK_USDHC1 209
  221. #define IMX6SX_CLK_USDHC2 210
  222. #define IMX6SX_CLK_USDHC3 211
  223. #define IMX6SX_CLK_USDHC4 212
  224. #define IMX6SX_CLK_EIM_SLOW 213
  225. #define IMX6SX_CLK_PWM8 214
  226. #define IMX6SX_CLK_VADC 215
  227. #define IMX6SX_CLK_GIS 216
  228. #define IMX6SX_CLK_I2C4 217
  229. #define IMX6SX_CLK_PWM5 218
  230. #define IMX6SX_CLK_PWM6 219
  231. #define IMX6SX_CLK_PWM7 220
  232. #define IMX6SX_CLK_CKO1 221
  233. #define IMX6SX_CLK_CKO2 222
  234. #define IMX6SX_CLK_IPP_DI0 223
  235. #define IMX6SX_CLK_IPP_DI1 224
  236. #define IMX6SX_CLK_ENET_AHB 225
  237. #define IMX6SX_CLK_OCRAM_PODF 226
  238. #define IMX6SX_CLK_GPT_3M 227
  239. #define IMX6SX_CLK_ENET_PTP 228
  240. #define IMX6SX_CLK_ENET_PTP_REF 229
  241. #define IMX6SX_CLK_ENET2_REF 230
  242. #define IMX6SX_CLK_ENET2_REF_125M 231
  243. #define IMX6SX_CLK_AUDIO 232
  244. #define IMX6SX_CLK_LVDS1_SEL 233
  245. #define IMX6SX_CLK_LVDS1_OUT 234
  246. #define IMX6SX_CLK_ASRC_IPG 235
  247. #define IMX6SX_CLK_ASRC_MEM 236
  248. #define IMX6SX_CLK_SAI1_IPG 237
  249. #define IMX6SX_CLK_SAI2_IPG 238
  250. #define IMX6SX_CLK_ESAI_IPG 239
  251. #define IMX6SX_CLK_ESAI_MEM 240
  252. #define IMX6SX_CLK_LVDS1_IN 241
  253. #define IMX6SX_CLK_ANACLK1 242
  254. #define IMX6SX_PLL1_BYPASS_SRC 243
  255. #define IMX6SX_PLL2_BYPASS_SRC 244
  256. #define IMX6SX_PLL3_BYPASS_SRC 245
  257. #define IMX6SX_PLL4_BYPASS_SRC 246
  258. #define IMX6SX_PLL5_BYPASS_SRC 247
  259. #define IMX6SX_PLL6_BYPASS_SRC 248
  260. #define IMX6SX_PLL7_BYPASS_SRC 249
  261. #define IMX6SX_CLK_PLL1 250
  262. #define IMX6SX_CLK_PLL2 251
  263. #define IMX6SX_CLK_PLL3 252
  264. #define IMX6SX_CLK_PLL4 253
  265. #define IMX6SX_CLK_PLL5 254
  266. #define IMX6SX_CLK_PLL6 255
  267. #define IMX6SX_CLK_PLL7 256
  268. #define IMX6SX_PLL1_BYPASS 257
  269. #define IMX6SX_PLL2_BYPASS 258
  270. #define IMX6SX_PLL3_BYPASS 259
  271. #define IMX6SX_PLL4_BYPASS 260
  272. #define IMX6SX_PLL5_BYPASS 261
  273. #define IMX6SX_PLL6_BYPASS 262
  274. #define IMX6SX_PLL7_BYPASS 263
  275. #define IMX6SX_CLK_SPDIF_GCLK 264
  276. #define IMX6SX_CLK_CLK_END 265
  277. #endif /* __DT_BINDINGS_CLOCK_IMX6SX_H */