zx296702-clock.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /*
  2. * Copyright 2014 Linaro Ltd.
  3. * Copyright (C) 2014 ZTE Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __DT_BINDINGS_CLOCK_ZX296702_H
  10. #define __DT_BINDINGS_CLOCK_ZX296702_H
  11. #define ZX296702_OSC 0
  12. #define ZX296702_PLL_A9 1
  13. #define ZX296702_PLL_A9_350M 2
  14. #define ZX296702_PLL_MAC_1000M 3
  15. #define ZX296702_PLL_MAC_333M 4
  16. #define ZX296702_PLL_MM0_1188M 5
  17. #define ZX296702_PLL_MM0_396M 6
  18. #define ZX296702_PLL_MM0_198M 7
  19. #define ZX296702_PLL_MM1_108M 8
  20. #define ZX296702_PLL_MM1_72M 9
  21. #define ZX296702_PLL_MM1_54M 10
  22. #define ZX296702_PLL_LSP_104M 11
  23. #define ZX296702_PLL_LSP_26M 12
  24. #define ZX296702_PLL_AUDIO_294M912 13
  25. #define ZX296702_PLL_DDR_266M 14
  26. #define ZX296702_CLK_148M5 15
  27. #define ZX296702_MATRIX_ACLK 16
  28. #define ZX296702_MAIN_HCLK 17
  29. #define ZX296702_MAIN_PCLK 18
  30. #define ZX296702_CLK_500 19
  31. #define ZX296702_CLK_250 20
  32. #define ZX296702_CLK_125 21
  33. #define ZX296702_CLK_74M25 22
  34. #define ZX296702_A9_WCLK 23
  35. #define ZX296702_A9_AS1_ACLK_MUX 24
  36. #define ZX296702_A9_TRACE_CLKIN_MUX 25
  37. #define ZX296702_A9_AS1_ACLK_DIV 26
  38. #define ZX296702_CLK_2 27
  39. #define ZX296702_CLK_27 28
  40. #define ZX296702_DECPPU_ACLK_MUX 29
  41. #define ZX296702_PPU_ACLK_MUX 30
  42. #define ZX296702_MALI400_ACLK_MUX 31
  43. #define ZX296702_VOU_ACLK_MUX 32
  44. #define ZX296702_VOU_MAIN_WCLK_MUX 33
  45. #define ZX296702_VOU_AUX_WCLK_MUX 34
  46. #define ZX296702_VOU_SCALER_WCLK_MUX 35
  47. #define ZX296702_R2D_ACLK_MUX 36
  48. #define ZX296702_R2D_WCLK_MUX 37
  49. #define ZX296702_CLK_50 38
  50. #define ZX296702_CLK_25 39
  51. #define ZX296702_CLK_12 40
  52. #define ZX296702_CLK_16M384 41
  53. #define ZX296702_CLK_32K768 42
  54. #define ZX296702_SEC_WCLK_DIV 43
  55. #define ZX296702_DDR_WCLK_MUX 44
  56. #define ZX296702_NAND_WCLK_MUX 45
  57. #define ZX296702_LSP_26_WCLK_MUX 46
  58. #define ZX296702_A9_AS0_ACLK 47
  59. #define ZX296702_A9_AS1_ACLK 48
  60. #define ZX296702_A9_TRACE_CLKIN 49
  61. #define ZX296702_DECPPU_AXI_M_ACLK 50
  62. #define ZX296702_DECPPU_AHB_S_HCLK 51
  63. #define ZX296702_PPU_AXI_M_ACLK 52
  64. #define ZX296702_PPU_AHB_S_HCLK 53
  65. #define ZX296702_VOU_AXI_M_ACLK 54
  66. #define ZX296702_VOU_APB_PCLK 55
  67. #define ZX296702_VOU_MAIN_CHANNEL_WCLK 56
  68. #define ZX296702_VOU_AUX_CHANNEL_WCLK 57
  69. #define ZX296702_VOU_HDMI_OSCLK_CEC 58
  70. #define ZX296702_VOU_SCALER_WCLK 59
  71. #define ZX296702_MALI400_AXI_M_ACLK 60
  72. #define ZX296702_MALI400_APB_PCLK 61
  73. #define ZX296702_R2D_WCLK 62
  74. #define ZX296702_R2D_AXI_M_ACLK 63
  75. #define ZX296702_R2D_AHB_HCLK 64
  76. #define ZX296702_DDR3_AXI_S0_ACLK 65
  77. #define ZX296702_DDR3_APB_PCLK 66
  78. #define ZX296702_DDR3_WCLK 67
  79. #define ZX296702_USB20_0_AHB_HCLK 68
  80. #define ZX296702_USB20_0_EXTREFCLK 69
  81. #define ZX296702_USB20_1_AHB_HCLK 70
  82. #define ZX296702_USB20_1_EXTREFCLK 71
  83. #define ZX296702_USB20_2_AHB_HCLK 72
  84. #define ZX296702_USB20_2_EXTREFCLK 73
  85. #define ZX296702_GMAC_AXI_M_ACLK 74
  86. #define ZX296702_GMAC_APB_PCLK 75
  87. #define ZX296702_GMAC_125_CLKIN 76
  88. #define ZX296702_GMAC_RMII_CLKIN 77
  89. #define ZX296702_GMAC_25M_CLK 78
  90. #define ZX296702_NANDFLASH_AHB_HCLK 79
  91. #define ZX296702_NANDFLASH_WCLK 80
  92. #define ZX296702_LSP0_APB_PCLK 81
  93. #define ZX296702_LSP0_AHB_HCLK 82
  94. #define ZX296702_LSP0_26M_WCLK 83
  95. #define ZX296702_LSP0_104M_WCLK 84
  96. #define ZX296702_LSP0_16M384_WCLK 85
  97. #define ZX296702_LSP1_APB_PCLK 86
  98. #define ZX296702_LSP1_26M_WCLK 87
  99. #define ZX296702_LSP1_104M_WCLK 88
  100. #define ZX296702_LSP1_32K_CLK 89
  101. #define ZX296702_AON_HCLK 90
  102. #define ZX296702_SYS_CTRL_PCLK 91
  103. #define ZX296702_DMA_PCLK 92
  104. #define ZX296702_DMA_ACLK 93
  105. #define ZX296702_SEC_HCLK 94
  106. #define ZX296702_AES_WCLK 95
  107. #define ZX296702_DES_WCLK 96
  108. #define ZX296702_IRAM_ACLK 97
  109. #define ZX296702_IROM_ACLK 98
  110. #define ZX296702_BOOT_CTRL_HCLK 99
  111. #define ZX296702_EFUSE_CLK_30 100
  112. #define ZX296702_VOU_MAIN_CHANNEL_DIV 101
  113. #define ZX296702_VOU_AUX_CHANNEL_DIV 102
  114. #define ZX296702_VOU_TV_ENC_HD_DIV 103
  115. #define ZX296702_VOU_TV_ENC_SD_DIV 104
  116. #define ZX296702_VL0_MUX 105
  117. #define ZX296702_VL1_MUX 106
  118. #define ZX296702_VL2_MUX 107
  119. #define ZX296702_GL0_MUX 108
  120. #define ZX296702_GL1_MUX 109
  121. #define ZX296702_GL2_MUX 110
  122. #define ZX296702_WB_MUX 111
  123. #define ZX296702_HDMI_MUX 112
  124. #define ZX296702_VOU_TV_ENC_HD_MUX 113
  125. #define ZX296702_VOU_TV_ENC_SD_MUX 114
  126. #define ZX296702_VL0_CLK 115
  127. #define ZX296702_VL1_CLK 116
  128. #define ZX296702_VL2_CLK 117
  129. #define ZX296702_GL0_CLK 118
  130. #define ZX296702_GL1_CLK 119
  131. #define ZX296702_GL2_CLK 120
  132. #define ZX296702_WB_CLK 121
  133. #define ZX296702_CL_CLK 122
  134. #define ZX296702_MAIN_MIX_CLK 123
  135. #define ZX296702_AUX_MIX_CLK 124
  136. #define ZX296702_HDMI_CLK 125
  137. #define ZX296702_VOU_TV_ENC_HD_DAC_CLK 126
  138. #define ZX296702_VOU_TV_ENC_SD_DAC_CLK 127
  139. #define ZX296702_A9_PERIPHCLK 128
  140. #define ZX296702_TOPCLK_END 129
  141. #define ZX296702_SDMMC1_WCLK_MUX 0
  142. #define ZX296702_SDMMC1_WCLK_DIV 1
  143. #define ZX296702_SDMMC1_WCLK 2
  144. #define ZX296702_SDMMC1_PCLK 3
  145. #define ZX296702_SPDIF0_WCLK_MUX 4
  146. #define ZX296702_SPDIF0_WCLK 5
  147. #define ZX296702_SPDIF0_PCLK 6
  148. #define ZX296702_SPDIF0_DIV 7
  149. #define ZX296702_I2S0_WCLK_MUX 8
  150. #define ZX296702_I2S0_WCLK 9
  151. #define ZX296702_I2S0_PCLK 10
  152. #define ZX296702_I2S0_DIV 11
  153. #define ZX296702_I2S1_WCLK_MUX 12
  154. #define ZX296702_I2S1_WCLK 13
  155. #define ZX296702_I2S1_PCLK 14
  156. #define ZX296702_I2S1_DIV 15
  157. #define ZX296702_I2S2_WCLK_MUX 16
  158. #define ZX296702_I2S2_WCLK 17
  159. #define ZX296702_I2S2_PCLK 18
  160. #define ZX296702_I2S2_DIV 19
  161. #define ZX296702_GPIO_CLK 20
  162. #define ZX296702_LSP0CLK_END 21
  163. #define ZX296702_UART0_WCLK_MUX 0
  164. #define ZX296702_UART0_WCLK 1
  165. #define ZX296702_UART0_PCLK 2
  166. #define ZX296702_UART1_WCLK_MUX 3
  167. #define ZX296702_UART1_WCLK 4
  168. #define ZX296702_UART1_PCLK 5
  169. #define ZX296702_SDMMC0_WCLK_MUX 6
  170. #define ZX296702_SDMMC0_WCLK_DIV 7
  171. #define ZX296702_SDMMC0_WCLK 8
  172. #define ZX296702_SDMMC0_PCLK 9
  173. #define ZX296702_SPDIF1_WCLK_MUX 10
  174. #define ZX296702_SPDIF1_WCLK 11
  175. #define ZX296702_SPDIF1_PCLK 12
  176. #define ZX296702_SPDIF1_DIV 13
  177. #define ZX296702_LSP1CLK_END 14
  178. #endif /* __DT_BINDINGS_CLOCK_ZX296702_H */