0008-clk-mediatek-Add-dt-bindings-for-MT2701-clocks.patch 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. From 190696e3995be38fa01490e4ab88ea2c859829c9 Mon Sep 17 00:00:00 2001
  2. From: Shunli Wang <shunli.wang@mediatek.com>
  3. Date: Tue, 5 Jan 2016 14:30:19 +0800
  4. Subject: [PATCH 008/102] clk: mediatek: Add dt-bindings for MT2701 clocks
  5. Add MT2701 clock dt-bindings, include topckgen, apmixedsys,
  6. infracfg, pericfg and subsystem clocks.
  7. Signed-off-by: Shunli Wang <shunli.wang@mediatek.com>
  8. Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
  9. ---
  10. include/dt-bindings/clock/mt2701-clk.h | 481 ++++++++++++++++++++++++++++++++
  11. 1 file changed, 481 insertions(+)
  12. create mode 100644 include/dt-bindings/clock/mt2701-clk.h
  13. --- /dev/null
  14. +++ b/include/dt-bindings/clock/mt2701-clk.h
  15. @@ -0,0 +1,481 @@
  16. +/*
  17. + * Copyright (c) 2014 MediaTek Inc.
  18. + * Author: Shunli Wang <shunli.wang@mediatek.com>
  19. + *
  20. + * This program is free software; you can redistribute it and/or modify
  21. + * it under the terms of the GNU General Public License version 2 as
  22. + * published by the Free Software Foundation.
  23. + *
  24. + * This program is distributed in the hope that it will be useful,
  25. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  27. + * GNU General Public License for more details.
  28. + */
  29. +
  30. +#ifndef _DT_BINDINGS_CLK_MT2701_H
  31. +#define _DT_BINDINGS_CLK_MT2701_H
  32. +
  33. +/* TOPCKGEN */
  34. +#define CLK_TOP_SYSPLL 1
  35. +#define CLK_TOP_SYSPLL_D2 2
  36. +#define CLK_TOP_SYSPLL_D3 3
  37. +#define CLK_TOP_SYSPLL_D5 4
  38. +#define CLK_TOP_SYSPLL_D7 5
  39. +#define CLK_TOP_SYSPLL1_D2 6
  40. +#define CLK_TOP_SYSPLL1_D4 7
  41. +#define CLK_TOP_SYSPLL1_D8 8
  42. +#define CLK_TOP_SYSPLL1_D16 9
  43. +#define CLK_TOP_SYSPLL2_D2 10
  44. +#define CLK_TOP_SYSPLL2_D4 11
  45. +#define CLK_TOP_SYSPLL2_D8 12
  46. +#define CLK_TOP_SYSPLL3_D2 13
  47. +#define CLK_TOP_SYSPLL3_D4 14
  48. +#define CLK_TOP_SYSPLL4_D2 15
  49. +#define CLK_TOP_SYSPLL4_D4 16
  50. +#define CLK_TOP_UNIVPLL 17
  51. +#define CLK_TOP_UNIVPLL_D2 18
  52. +#define CLK_TOP_UNIVPLL_D3 19
  53. +#define CLK_TOP_UNIVPLL_D5 20
  54. +#define CLK_TOP_UNIVPLL_D7 21
  55. +#define CLK_TOP_UNIVPLL_D26 22
  56. +#define CLK_TOP_UNIVPLL_D52 23
  57. +#define CLK_TOP_UNIVPLL_D108 24
  58. +#define CLK_TOP_USB_PHY48M 25
  59. +#define CLK_TOP_UNIVPLL1_D2 26
  60. +#define CLK_TOP_UNIVPLL1_D4 27
  61. +#define CLK_TOP_UNIVPLL1_D8 28
  62. +#define CLK_TOP_UNIVPLL2_D2 29
  63. +#define CLK_TOP_UNIVPLL2_D4 30
  64. +#define CLK_TOP_UNIVPLL2_D8 31
  65. +#define CLK_TOP_UNIVPLL2_D16 32
  66. +#define CLK_TOP_UNIVPLL2_D32 33
  67. +#define CLK_TOP_UNIVPLL3_D2 34
  68. +#define CLK_TOP_UNIVPLL3_D4 35
  69. +#define CLK_TOP_UNIVPLL3_D8 36
  70. +#define CLK_TOP_MSDCPLL 37
  71. +#define CLK_TOP_MSDCPLL_D2 38
  72. +#define CLK_TOP_MSDCPLL_D4 39
  73. +#define CLK_TOP_MSDCPLL_D8 40
  74. +#define CLK_TOP_MMPLL 41
  75. +#define CLK_TOP_MMPLL_D2 42
  76. +#define CLK_TOP_DMPLL 43
  77. +#define CLK_TOP_DMPLL_D2 44
  78. +#define CLK_TOP_DMPLL_D4 45
  79. +#define CLK_TOP_DMPLL_X2 46
  80. +#define CLK_TOP_TVDPLL 47
  81. +#define CLK_TOP_TVDPLL_D2 48
  82. +#define CLK_TOP_TVDPLL_D4 49
  83. +#define CLK_TOP_TVD2PLL 50
  84. +#define CLK_TOP_TVD2PLL_D2 51
  85. +#define CLK_TOP_HADDS2PLL_98M 52
  86. +#define CLK_TOP_HADDS2PLL_294M 53
  87. +#define CLK_TOP_HADDS2_FB 54
  88. +#define CLK_TOP_MIPIPLL_D2 55
  89. +#define CLK_TOP_MIPIPLL_D4 56
  90. +#define CLK_TOP_HDMIPLL 57
  91. +#define CLK_TOP_HDMIPLL_D2 58
  92. +#define CLK_TOP_HDMIPLL_D3 59
  93. +#define CLK_TOP_HDMI_SCL_RX 60
  94. +#define CLK_TOP_HDMI_0_PIX340M 61
  95. +#define CLK_TOP_HDMI_0_DEEP340M 62
  96. +#define CLK_TOP_HDMI_0_PLL340M 63
  97. +#define CLK_TOP_AUD1PLL_98M 64
  98. +#define CLK_TOP_AUD2PLL_90M 65
  99. +#define CLK_TOP_AUDPLL 66
  100. +#define CLK_TOP_AUDPLL_D4 67
  101. +#define CLK_TOP_AUDPLL_D8 68
  102. +#define CLK_TOP_AUDPLL_D16 69
  103. +#define CLK_TOP_AUDPLL_D24 70
  104. +#define CLK_TOP_ETHPLL_500M 71
  105. +#define CLK_TOP_VDECPLL 72
  106. +#define CLK_TOP_VENCPLL 73
  107. +#define CLK_TOP_MIPIPLL 74
  108. +#define CLK_TOP_ARMPLL_1P3G 75
  109. +
  110. +#define CLK_TOP_MM_SEL 76
  111. +#define CLK_TOP_DDRPHYCFG_SEL 77
  112. +#define CLK_TOP_MEM_SEL 78
  113. +#define CLK_TOP_AXI_SEL 79
  114. +#define CLK_TOP_CAMTG_SEL 80
  115. +#define CLK_TOP_MFG_SEL 81
  116. +#define CLK_TOP_VDEC_SEL 82
  117. +#define CLK_TOP_PWM_SEL 83
  118. +#define CLK_TOP_MSDC30_0_SEL 84
  119. +#define CLK_TOP_USB20_SEL 85
  120. +#define CLK_TOP_SPI0_SEL 86
  121. +#define CLK_TOP_UART_SEL 87
  122. +#define CLK_TOP_AUDINTBUS_SEL 88
  123. +#define CLK_TOP_AUDIO_SEL 89
  124. +#define CLK_TOP_MSDC30_2_SEL 90
  125. +#define CLK_TOP_MSDC30_1_SEL 91
  126. +#define CLK_TOP_DPI1_SEL 92
  127. +#define CLK_TOP_DPI0_SEL 93
  128. +#define CLK_TOP_SCP_SEL 94
  129. +#define CLK_TOP_PMICSPI_SEL 95
  130. +#define CLK_TOP_APLL_SEL 96
  131. +#define CLK_TOP_HDMI_SEL 97
  132. +#define CLK_TOP_TVE_SEL 98
  133. +#define CLK_TOP_EMMC_HCLK_SEL 99
  134. +#define CLK_TOP_NFI2X_SEL 100
  135. +#define CLK_TOP_RTC_SEL 101
  136. +#define CLK_TOP_OSD_SEL 102
  137. +#define CLK_TOP_NR_SEL 103
  138. +#define CLK_TOP_DI_SEL 104
  139. +#define CLK_TOP_FLASH_SEL 105
  140. +#define CLK_TOP_ASM_M_SEL 106
  141. +#define CLK_TOP_ASM_I_SEL 107
  142. +#define CLK_TOP_INTDIR_SEL 108
  143. +#define CLK_TOP_HDMIRX_BIST_SEL 109
  144. +#define CLK_TOP_ETHIF_SEL 110
  145. +#define CLK_TOP_MS_CARD_SEL 111
  146. +#define CLK_TOP_ASM_H_SEL 112
  147. +#define CLK_TOP_SPI1_SEL 113
  148. +#define CLK_TOP_CMSYS_SEL 114
  149. +#define CLK_TOP_MSDC30_3_SEL 115
  150. +#define CLK_TOP_HDMIRX26_24_SEL 116
  151. +#define CLK_TOP_AUD2DVD_SEL 117
  152. +#define CLK_TOP_8BDAC_SEL 118
  153. +#define CLK_TOP_SPI2_SEL 119
  154. +#define CLK_TOP_AUD_MUX1_SEL 120
  155. +#define CLK_TOP_AUD_MUX2_SEL 121
  156. +#define CLK_TOP_AUDPLL_MUX_SEL 122
  157. +#define CLK_TOP_AUD_K1_SRC_SEL 123
  158. +#define CLK_TOP_AUD_K2_SRC_SEL 124
  159. +#define CLK_TOP_AUD_K3_SRC_SEL 125
  160. +#define CLK_TOP_AUD_K4_SRC_SEL 126
  161. +#define CLK_TOP_AUD_K5_SRC_SEL 127
  162. +#define CLK_TOP_AUD_K6_SRC_SEL 128
  163. +#define CLK_TOP_PADMCLK_SEL 129
  164. +#define CLK_TOP_AUD_EXTCK1_DIV 130
  165. +#define CLK_TOP_AUD_EXTCK2_DIV 131
  166. +#define CLK_TOP_AUD_MUX1_DIV 132
  167. +#define CLK_TOP_AUD_MUX2_DIV 133
  168. +#define CLK_TOP_AUD_K1_SRC_DIV 134
  169. +#define CLK_TOP_AUD_K2_SRC_DIV 135
  170. +#define CLK_TOP_AUD_K3_SRC_DIV 136
  171. +#define CLK_TOP_AUD_K4_SRC_DIV 137
  172. +#define CLK_TOP_AUD_K5_SRC_DIV 138
  173. +#define CLK_TOP_AUD_K6_SRC_DIV 139
  174. +#define CLK_TOP_AUD_I2S1_MCLK 140
  175. +#define CLK_TOP_AUD_I2S2_MCLK 141
  176. +#define CLK_TOP_AUD_I2S3_MCLK 142
  177. +#define CLK_TOP_AUD_I2S4_MCLK 143
  178. +#define CLK_TOP_AUD_I2S5_MCLK 144
  179. +#define CLK_TOP_AUD_I2S6_MCLK 145
  180. +#define CLK_TOP_AUD_48K_TIMING 146
  181. +#define CLK_TOP_AUD_44K_TIMING 147
  182. +
  183. +#define CLK_TOP_32K_INTERNAL 148
  184. +#define CLK_TOP_32K_EXTERNAL 149
  185. +#define CLK_TOP_CLK26M_D8 150
  186. +#define CLK_TOP_8BDAC 151
  187. +#define CLK_TOP_WBG_DIG_416M 152
  188. +#define CLK_TOP_DPI 153
  189. +#define CLK_TOP_HDMITX_CLKDIG_CTS 154
  190. +#define CLK_TOP_NR 155
  191. +
  192. +/* APMIXEDSYS */
  193. +
  194. +#define CLK_APMIXED_ARMPLL 1
  195. +#define CLK_APMIXED_MAINPLL 2
  196. +#define CLK_APMIXED_UNIVPLL 3
  197. +#define CLK_APMIXED_MMPLL 4
  198. +#define CLK_APMIXED_MSDCPLL 5
  199. +#define CLK_APMIXED_TVDPLL 6
  200. +#define CLK_APMIXED_AUD1PLL 7
  201. +#define CLK_APMIXED_TRGPLL 8
  202. +#define CLK_APMIXED_ETHPLL 9
  203. +#define CLK_APMIXED_VDECPLL 10
  204. +#define CLK_APMIXED_HADDS2PLL 11
  205. +#define CLK_APMIXED_AUD2PLL 12
  206. +#define CLK_APMIXED_TVD2PLL 13
  207. +#define CLK_APMIXED_NR 14
  208. +
  209. +/* DDRPHY */
  210. +
  211. +#define CLK_DDRPHY_VENCPLL 1
  212. +#define CLK_DDRPHY_NR 2
  213. +
  214. +/* INFRACFG */
  215. +
  216. +#define CLK_INFRA_DBG 1
  217. +#define CLK_INFRA_SMI 2
  218. +#define CLK_INFRA_QAXI_CM4 3
  219. +#define CLK_INFRA_AUD_SPLIN_B 4
  220. +#define CLK_INFRA_AUDIO 5
  221. +#define CLK_INFRA_EFUSE 6
  222. +#define CLK_INFRA_L2C_SRAM 7
  223. +#define CLK_INFRA_M4U 8
  224. +#define CLK_INFRA_CONNMCU 9
  225. +#define CLK_INFRA_TRNG 10
  226. +#define CLK_INFRA_RAMBUFIF 11
  227. +#define CLK_INFRA_CPUM 12
  228. +#define CLK_INFRA_KP 13
  229. +#define CLK_INFRA_CEC 14
  230. +#define CLK_INFRA_IRRX 15
  231. +#define CLK_INFRA_PMICSPI 16
  232. +#define CLK_INFRA_PMICWRAP 17
  233. +#define CLK_INFRA_DDCCI 18
  234. +#define CLK_INFRA_CLK_13M 19
  235. +#define CLK_INFRA_NR 20
  236. +
  237. +/* PERICFG */
  238. +
  239. +#define CLK_PERI_NFI 1
  240. +#define CLK_PERI_THERM 2
  241. +#define CLK_PERI_PWM1 3
  242. +#define CLK_PERI_PWM2 4
  243. +#define CLK_PERI_PWM3 5
  244. +#define CLK_PERI_PWM4 6
  245. +#define CLK_PERI_PWM5 7
  246. +#define CLK_PERI_PWM6 8
  247. +#define CLK_PERI_PWM7 9
  248. +#define CLK_PERI_PWM 10
  249. +#define CLK_PERI_USB0 11
  250. +#define CLK_PERI_USB1 12
  251. +#define CLK_PERI_AP_DMA 13
  252. +#define CLK_PERI_MSDC30_0 14
  253. +#define CLK_PERI_MSDC30_1 15
  254. +#define CLK_PERI_MSDC30_2 16
  255. +#define CLK_PERI_MSDC30_3 17
  256. +#define CLK_PERI_MSDC50_3 18
  257. +#define CLK_PERI_NLI 19
  258. +#define CLK_PERI_UART0 20
  259. +#define CLK_PERI_UART1 21
  260. +#define CLK_PERI_UART2 22
  261. +#define CLK_PERI_UART3 23
  262. +#define CLK_PERI_BTIF 24
  263. +#define CLK_PERI_I2C0 25
  264. +#define CLK_PERI_I2C1 26
  265. +#define CLK_PERI_I2C2 27
  266. +#define CLK_PERI_I2C3 28
  267. +#define CLK_PERI_AUXADC 29
  268. +#define CLK_PERI_SPI0 30
  269. +#define CLK_PERI_ETH 31
  270. +#define CLK_PERI_USB0_MCU 32
  271. +
  272. +#define CLK_PERI_USB1_MCU 33
  273. +#define CLK_PERI_USB_SLV 34
  274. +#define CLK_PERI_GCPU 35
  275. +#define CLK_PERI_NFI_ECC 36
  276. +#define CLK_PERI_NFI_PAD 37
  277. +#define CLK_PERI_FLASH 38
  278. +#define CLK_PERI_HOST89_INT 39
  279. +#define CLK_PERI_HOST89_SPI 40
  280. +#define CLK_PERI_HOST89_DVD 41
  281. +#define CLK_PERI_SPI1 42
  282. +#define CLK_PERI_SPI2 43
  283. +#define CLK_PERI_FCI 44
  284. +
  285. +#define CLK_PERI_UART0_SEL 45
  286. +#define CLK_PERI_UART1_SEL 46
  287. +#define CLK_PERI_UART2_SEL 47
  288. +#define CLK_PERI_UART3_SEL 48
  289. +#define CLK_PERI_NR 49
  290. +
  291. +/* AUDIO */
  292. +
  293. +#define CLK_AUD_AFE 1
  294. +#define CLK_AUD_LRCK_DETECT 2
  295. +#define CLK_AUD_I2S 3
  296. +#define CLK_AUD_APLL_TUNER 4
  297. +#define CLK_AUD_HDMI 5
  298. +#define CLK_AUD_SPDF 6
  299. +#define CLK_AUD_SPDF2 7
  300. +#define CLK_AUD_APLL 8
  301. +#define CLK_AUD_TML 9
  302. +#define CLK_AUD_AHB_IDLE_EXT 10
  303. +#define CLK_AUD_AHB_IDLE_INT 11
  304. +
  305. +#define CLK_AUD_I2SIN1 12
  306. +#define CLK_AUD_I2SIN2 13
  307. +#define CLK_AUD_I2SIN3 14
  308. +#define CLK_AUD_I2SIN4 15
  309. +#define CLK_AUD_I2SIN5 16
  310. +#define CLK_AUD_I2SIN6 17
  311. +#define CLK_AUD_I2SO1 18
  312. +#define CLK_AUD_I2SO2 19
  313. +#define CLK_AUD_I2SO3 20
  314. +#define CLK_AUD_I2SO4 21
  315. +#define CLK_AUD_I2SO5 22
  316. +#define CLK_AUD_I2SO6 23
  317. +#define CLK_AUD_ASRCI1 24
  318. +#define CLK_AUD_ASRCI2 25
  319. +#define CLK_AUD_ASRCO1 26
  320. +#define CLK_AUD_ASRCO2 27
  321. +#define CLK_AUD_ASRC11 28
  322. +#define CLK_AUD_ASRC12 29
  323. +#define CLK_AUD_HDMIRX 30
  324. +#define CLK_AUD_INTDIR 31
  325. +#define CLK_AUD_A1SYS 32
  326. +#define CLK_AUD_A2SYS 33
  327. +#define CLK_AUD_AFE_CONN 34
  328. +#define CLK_AUD_AFE_PCMIF 35
  329. +#define CLK_AUD_AFE_MRGIF 36
  330. +
  331. +#define CLK_AUD_MMIF_UL1 37
  332. +#define CLK_AUD_MMIF_UL2 38
  333. +#define CLK_AUD_MMIF_UL3 39
  334. +#define CLK_AUD_MMIF_UL4 40
  335. +#define CLK_AUD_MMIF_UL5 41
  336. +#define CLK_AUD_MMIF_UL6 42
  337. +#define CLK_AUD_MMIF_DL1 43
  338. +#define CLK_AUD_MMIF_DL2 44
  339. +#define CLK_AUD_MMIF_DL3 45
  340. +#define CLK_AUD_MMIF_DL4 46
  341. +#define CLK_AUD_MMIF_DL5 47
  342. +#define CLK_AUD_MMIF_DL6 48
  343. +#define CLK_AUD_MMIF_DLMCH 49
  344. +#define CLK_AUD_MMIF_ARB1 50
  345. +#define CLK_AUD_MMIF_AWB1 51
  346. +#define CLK_AUD_MMIF_AWB2 52
  347. +#define CLK_AUD_MMIF_DAI 53
  348. +
  349. +#define CLK_AUD_DMIC1 54
  350. +#define CLK_AUD_DMIC2 55
  351. +#define CLK_AUD_ASRCI3 56
  352. +#define CLK_AUD_ASRCI4 57
  353. +#define CLK_AUD_ASRCI5 58
  354. +#define CLK_AUD_ASRCI6 59
  355. +#define CLK_AUD_ASRCO3 60
  356. +#define CLK_AUD_ASRCO4 61
  357. +#define CLK_AUD_ASRCO5 62
  358. +#define CLK_AUD_ASRCO6 63
  359. +#define CLK_AUD_MEM_ASRC1 64
  360. +#define CLK_AUD_MEM_ASRC2 65
  361. +#define CLK_AUD_MEM_ASRC3 66
  362. +#define CLK_AUD_MEM_ASRC4 67
  363. +#define CLK_AUD_MEM_ASRC5 68
  364. +#define CLK_AUD_DSD_ENC 69
  365. +#define CLK_AUD_ASRC_BRG 70
  366. +#define CLK_AUD_NR 71
  367. +
  368. +/* MMSYS */
  369. +
  370. +#define CLK_MM_SMI_COMMON 1
  371. +#define CLK_MM_SMI_LARB0 2
  372. +#define CLK_MM_CMDQ 3
  373. +#define CLK_MM_MUTEX 4
  374. +#define CLK_MM_DISP_COLOR 5
  375. +#define CLK_MM_DISP_BLS 6
  376. +#define CLK_MM_DISP_WDMA 7
  377. +#define CLK_MM_DISP_RDMA 8
  378. +#define CLK_MM_DISP_OVL 9
  379. +#define CLK_MM_MDP_TDSHP 10
  380. +#define CLK_MM_MDP_WROT 11
  381. +#define CLK_MM_MDP_WDMA 12
  382. +#define CLK_MM_MDP_RSZ1 13
  383. +#define CLK_MM_MDP_RSZ0 14
  384. +#define CLK_MM_MDP_RDMA 15
  385. +#define CLK_MM_MDP_BLS_26M 16
  386. +#define CLK_MM_CAM_MDP 17
  387. +#define CLK_MM_FAKE_ENG 18
  388. +#define CLK_MM_MUTEX_32K 19
  389. +#define CLK_MM_DISP_RDMA1 20
  390. +#define CLK_MM_DISP_UFOE 21
  391. +
  392. +#define CLK_MM_DSI_ENGINE 22
  393. +#define CLK_MM_DSI_DIG 23
  394. +#define CLK_MM_DPI_DIGL 24
  395. +#define CLK_MM_DPI_ENGINE 25
  396. +#define CLK_MM_DPI1_DIGL 26
  397. +#define CLK_MM_DPI1_ENGINE 27
  398. +#define CLK_MM_TVE_OUTPUT 28
  399. +#define CLK_MM_TVE_INPUT 29
  400. +#define CLK_MM_HDMI_PIXEL 30
  401. +#define CLK_MM_HDMI_PLL 31
  402. +#define CLK_MM_HDMI_AUDIO 32
  403. +#define CLK_MM_HDMI_SPDIF 33
  404. +#define CLK_MM_TVE_FMM 34
  405. +#define CLK_MM_NR 35
  406. +
  407. +/* IMGSYS */
  408. +
  409. +#define CLK_IMG_SMI_COMM 1
  410. +#define CLK_IMG_RESZ 2
  411. +#define CLK_IMG_JPGDEC 3
  412. +#define CLK_IMG_VENC_LT 4
  413. +#define CLK_IMG_VENC 5
  414. +#define CLK_IMG_NR 6
  415. +
  416. +/* VDEC */
  417. +
  418. +#define CLK_VDEC_CKGEN 1
  419. +#define CLK_VDEC_LARB 2
  420. +#define CLK_VDEC_NR 3
  421. +
  422. +/* HIFSYS */
  423. +
  424. +#define CLK_HIFSYS_USB0PHY 1
  425. +#define CLK_HIFSYS_USB1PHY 2
  426. +#define CLK_HIFSYS_PCIE0 3
  427. +#define CLK_HIFSYS_PCIE1 4
  428. +#define CLK_HIFSYS_PCIE2 5
  429. +#define CLK_HIFSYS_NR 6
  430. +
  431. +/* ETHSYS */
  432. +#define CLK_ETHSYS_HSDMA 1
  433. +#define CLK_ETHSYS_ESW 2
  434. +#define CLK_ETHSYS_GP2 3
  435. +#define CLK_ETHSYS_GP1 4
  436. +#define CLK_ETHSYS_PCM 5
  437. +#define CLK_ETHSYS_GDMA 6
  438. +#define CLK_ETHSYS_I2S 7
  439. +#define CLK_ETHSYS_CRYPTO 8
  440. +#define CLK_ETHSYS_NR 9
  441. +
  442. +/* BDP */
  443. +
  444. +#define CLK_BDP_BRG_BA 1
  445. +#define CLK_BDP_BRG_DRAM 2
  446. +#define CLK_BDP_LARB_DRAM 3
  447. +#define CLK_BDP_WR_VDI_PXL 4
  448. +#define CLK_BDP_WR_VDI_DRAM 5
  449. +#define CLK_BDP_WR_B 6
  450. +#define CLK_BDP_DGI_IN 7
  451. +#define CLK_BDP_DGI_OUT 8
  452. +#define CLK_BDP_FMT_MAST_27 9
  453. +#define CLK_BDP_FMT_B 10
  454. +#define CLK_BDP_OSD_B 11
  455. +#define CLK_BDP_OSD_DRAM 12
  456. +#define CLK_BDP_OSD_AGENT 13
  457. +#define CLK_BDP_OSD_PXL 14
  458. +#define CLK_BDP_RLE_B 15
  459. +#define CLK_BDP_RLE_AGENT 16
  460. +#define CLK_BDP_RLE_DRAM 17
  461. +#define CLK_BDP_F27M 18
  462. +#define CLK_BDP_F27M_VDOUT 19
  463. +#define CLK_BDP_F27_74_74 20
  464. +#define CLK_BDP_F2FS 21
  465. +#define CLK_BDP_F2FS74_148 22
  466. +#define CLK_BDP_FB 23
  467. +#define CLK_BDP_VDO_DRAM 24
  468. +#define CLK_BDP_VDO_2FS 25
  469. +#define CLK_BDP_VDO_B 26
  470. +#define CLK_BDP_WR_DI_PXL 27
  471. +#define CLK_BDP_WR_DI_DRAM 28
  472. +#define CLK_BDP_WR_DI_B 29
  473. +#define CLK_BDP_NR_PXL 30
  474. +#define CLK_BDP_NR_DRAM 31
  475. +#define CLK_BDP_NR_B 32
  476. +
  477. +#define CLK_BDP_RX_F 33
  478. +#define CLK_BDP_RX_X 34
  479. +#define CLK_BDP_RXPDT 35
  480. +#define CLK_BDP_RX_CSCL_N 36
  481. +#define CLK_BDP_RX_CSCL 37
  482. +#define CLK_BDP_RX_DDCSCL_N 38
  483. +#define CLK_BDP_RX_DDCSCL 39
  484. +#define CLK_BDP_RX_VCO 40
  485. +#define CLK_BDP_RX_DP 41
  486. +#define CLK_BDP_RX_P 42
  487. +#define CLK_BDP_RX_M 43
  488. +#define CLK_BDP_RX_PLL 44
  489. +#define CLK_BDP_BRG_RT_B 45
  490. +#define CLK_BDP_BRG_RT_DRAM 46
  491. +#define CLK_BDP_LARBRT_DRAM 47
  492. +#define CLK_BDP_TMDS_SYN 48
  493. +#define CLK_BDP_HDMI_MON 49
  494. +#define CLK_BDP_NR 50
  495. +
  496. +#endif /* _DT_BINDINGS_CLK_MT2701_H */