msm-clocks-8996.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __MSM_CLOCKS_8996_H
  13. #define __MSM_CLOCKS_8996_H
  14. /* clock_gcc controlled clocks */
  15. #define clk_cxo_clk_src 0x79e95308
  16. #define clk_pnoc_clk 0x4325d220
  17. #define clk_pnoc_a_clk 0x2808c12b
  18. #define clk_bimc_clk 0x4b80bf00
  19. #define clk_bimc_a_clk 0x4b25668a
  20. #define clk_cnoc_clk 0xd5ccb7f4
  21. #define clk_cnoc_a_clk 0xd8fe2ccc
  22. #define clk_snoc_clk 0x2c341aa0
  23. #define clk_snoc_a_clk 0x8fcef2af
  24. #define clk_bb_clk1 0xf5304268
  25. #define clk_bb_clk1_ao 0xfa113810
  26. #define clk_bb_clk1_pin 0x6dd0a779
  27. #define clk_bb_clk1_pin_ao 0x9b637772
  28. #define clk_bb_clk2 0xfe15cb87
  29. #define clk_bb_clk2_ao 0x59682706
  30. #define clk_bb_clk2_pin 0x498938e5
  31. #define clk_bb_clk2_pin_ao 0x52513787
  32. #define clk_bimc_msmbus_clk 0xd212feea
  33. #define clk_bimc_msmbus_a_clk 0x71d1a499
  34. #define clk_ce1_a_clk 0x44a833fe
  35. #define clk_cnoc_msmbus_clk 0x62228b5d
  36. #define clk_cnoc_msmbus_a_clk 0x67442955
  37. #define clk_cxo_clk_src_ao 0x64eb6004
  38. #define clk_cxo_dwc3_clk 0xf79c19f6
  39. #define clk_cxo_lpm_clk 0x94adbf3d
  40. #define clk_cxo_otg_clk 0x4eec0bb9
  41. #define clk_cxo_pil_lpass_clk 0xe17f0ff6
  42. #define clk_cxo_pil_ssc_clk 0x81832015
  43. #define clk_div_clk1 0xaa1157a6
  44. #define clk_div_clk1_ao 0x6b943d68
  45. #define clk_div_clk2 0xd454019f
  46. #define clk_div_clk2_ao 0x53f9e788
  47. #define clk_div_clk3 0xa9a55a68
  48. #define clk_div_clk3_ao 0x3d6725a8
  49. #define clk_ipa_a_clk 0xeeec2919
  50. #define clk_ipa_clk 0xfa685cda
  51. #define clk_ln_bb_clk 0x3ab0b36d
  52. #define clk_ln_bb_a_clk 0xc7257ea8
  53. #define clk_ln_bb_clk_pin 0x1b1c476a
  54. #define clk_ln_bb_a_clk_pin 0x9cbb5411
  55. #define clk_mcd_ce1_clk 0xbb615d26
  56. #define clk_pnoc_keepalive_a_clk 0xf8f91f0b
  57. #define clk_pnoc_msmbus_clk 0x38b95c77
  58. #define clk_pnoc_msmbus_a_clk 0x8c9b4e93
  59. #define clk_pnoc_pm_clk 0xd6f7dfb9
  60. #define clk_pnoc_sps_clk 0xd482ecc7
  61. #define clk_qdss_a_clk 0xdd121669
  62. #define clk_qdss_clk 0x1492202a
  63. #define clk_rf_clk1 0xaabeea5a
  64. #define clk_rf_clk1_ao 0x72a10cb8
  65. #define clk_rf_clk1_pin 0x8f463562
  66. #define clk_rf_clk1_pin_ao 0x62549ff6
  67. #define clk_rf_clk2 0x24a30992
  68. #define clk_rf_clk2_ao 0x944d8bbd
  69. #define clk_rf_clk2_pin 0xa7c5602a
  70. #define clk_rf_clk2_pin_ao 0x2d75eb4d
  71. #define clk_snoc_msmbus_clk 0xe6900bb6
  72. #define clk_snoc_msmbus_a_clk 0x5d4683bd
  73. #define clk_mcd_ce1_clk 0xbb615d26
  74. #define clk_qcedev_ce1_clk 0x293f97b0
  75. #define clk_qcrypto_ce1_clk 0xa6ac14df
  76. #define clk_qseecom_ce1_clk 0xaa858373
  77. #define clk_scm_ce1_clk 0xd8ebcc62
  78. #define clk_ce1_clk 0x42229c55
  79. #define clk_gcc_ce1_ahb_m_clk 0x2eb28c01
  80. #define clk_gcc_ce1_axi_m_clk 0xc174dfba
  81. #define clk_measure_only_bimc_hmss_axi_clk 0xc1cc4f11
  82. #define clk_aggre1_noc_clk 0x049abba8
  83. #define clk_aggre1_noc_a_clk 0xc12e4220
  84. #define clk_aggre2_noc_clk 0xaa681404
  85. #define clk_aggre2_noc_a_clk 0xcab67089
  86. #define clk_mmssnoc_axi_rpm_clk 0x4d7f8cdc
  87. #define clk_mmssnoc_axi_rpm_a_clk 0xfbea899b
  88. #define clk_mmssnoc_axi_clk 0xdb4b31e6
  89. #define clk_mmssnoc_axi_a_clk 0xd4970614
  90. #define clk_mmssnoc_gds_clk 0x06a22afa
  91. #define clk_gpll0 0x1ebe3bc4
  92. #define clk_gpll0_ao 0xa1368304
  93. #define clk_gpll0_out_main 0xe9374de7
  94. #define clk_gpll4 0xb3b5d85b
  95. #define clk_gpll4_out_main 0xa9a0ab9d
  96. #define clk_ufs_axi_clk_src 0x297ca380
  97. #define clk_pcie_aux_clk_src 0xebc50566
  98. #define clk_usb30_master_clk_src 0xc6262f89
  99. #define clk_usb20_master_clk_src 0x5680ac83
  100. #define clk_ufs_ice_core_clk_src 0xda8e7119
  101. #define clk_blsp1_qup1_i2c_apps_clk_src 0x17f78f5e
  102. #define clk_blsp1_qup1_spi_apps_clk_src 0xf534c4fa
  103. #define clk_blsp1_qup2_i2c_apps_clk_src 0x8de71c79
  104. #define clk_blsp1_qup2_spi_apps_clk_src 0x33cf809a
  105. #define clk_blsp1_qup3_i2c_apps_clk_src 0xf161b902
  106. #define clk_blsp1_qup3_spi_apps_clk_src 0x5e95683f
  107. #define clk_blsp1_qup4_i2c_apps_clk_src 0xb2ecce68
  108. #define clk_blsp1_qup4_spi_apps_clk_src 0xddb5bbdb
  109. #define clk_blsp1_qup5_i2c_apps_clk_src 0x71ea7804
  110. #define clk_blsp1_qup5_spi_apps_clk_src 0x9752f35f
  111. #define clk_blsp1_qup6_i2c_apps_clk_src 0x28806803
  112. #define clk_blsp1_qup6_spi_apps_clk_src 0x44a1edc4
  113. #define clk_blsp1_uart1_apps_clk_src 0xf8146114
  114. #define clk_blsp1_uart2_apps_clk_src 0xfc9c2f73
  115. #define clk_blsp1_uart3_apps_clk_src 0x600497f2
  116. #define clk_blsp1_uart4_apps_clk_src 0x56bff15c
  117. #define clk_blsp1_uart5_apps_clk_src 0x218ef697
  118. #define clk_blsp1_uart6_apps_clk_src 0x8fbdbe4c
  119. #define clk_blsp2_qup1_i2c_apps_clk_src 0xd6d1e95d
  120. #define clk_blsp2_qup1_spi_apps_clk_src 0xcc1b8365
  121. #define clk_blsp2_qup2_i2c_apps_clk_src 0x603b5c51
  122. #define clk_blsp2_qup2_spi_apps_clk_src 0xd577dc44
  123. #define clk_blsp2_qup3_i2c_apps_clk_src 0xea82959c
  124. #define clk_blsp2_qup3_spi_apps_clk_src 0xd04b1e92
  125. #define clk_blsp2_qup4_i2c_apps_clk_src 0x73dc968c
  126. #define clk_blsp2_qup4_spi_apps_clk_src 0x25d4a2b1
  127. #define clk_blsp2_qup5_i2c_apps_clk_src 0xcc3698bd
  128. #define clk_blsp2_qup5_spi_apps_clk_src 0xfa0cf45e
  129. #define clk_blsp2_qup6_i2c_apps_clk_src 0x2fa53151
  130. #define clk_blsp2_qup6_spi_apps_clk_src 0x5ca86755
  131. #define clk_blsp2_uart1_apps_clk_src 0x562c66dc
  132. #define clk_blsp2_uart2_apps_clk_src 0xdd448080
  133. #define clk_blsp2_uart3_apps_clk_src 0x46b2e90f
  134. #define clk_blsp2_uart4_apps_clk_src 0x23a093d2
  135. #define clk_blsp2_uart5_apps_clk_src 0xe067616a
  136. #define clk_blsp2_uart6_apps_clk_src 0xe02d2829
  137. #define clk_gp1_clk_src 0xad85b97a
  138. #define clk_gp2_clk_src 0xfb1f0065
  139. #define clk_gp3_clk_src 0x63b693d6
  140. #define clk_hmss_rbcpr_clk_src 0xedd9a474
  141. #define clk_pdm2_clk_src 0x31e494fd
  142. #define clk_sdcc1_apps_clk_src 0xd4975db2
  143. #define clk_sdcc2_apps_clk_src 0xfc46c821
  144. #define clk_sdcc3_apps_clk_src 0xea34c7f4
  145. #define clk_sdcc4_apps_clk_src 0x7aaaaa0c
  146. #define clk_tsif_ref_clk_src 0x4e9042d1
  147. #define clk_usb20_mock_utmi_clk_src 0xc3aaeecb
  148. #define clk_usb30_mock_utmi_clk_src 0xa024a976
  149. #define clk_usb3_phy_aux_clk_src 0x15eec63c
  150. #define clk_gcc_qusb2phy_prim_reset 0x07550fa1
  151. #define clk_gcc_qusb2phy_sec_reset 0x3f3a87d0
  152. #define clk_gcc_periph_noc_usb20_ahb_clk 0xfb9f26e9
  153. #define clk_gcc_mmss_gcc_dbg_clk 0xe89d461c
  154. #define clk_cpu_dbg_clk 0x6550dfa9
  155. #define clk_gcc_blsp1_ahb_clk 0x8caa5b4f
  156. #define clk_gcc_blsp1_qup1_i2c_apps_clk 0xc303fae9
  157. #define clk_gcc_blsp1_qup1_spi_apps_clk 0x759a76b0
  158. #define clk_gcc_blsp1_qup2_i2c_apps_clk 0x1076f220
  159. #define clk_gcc_blsp1_qup2_spi_apps_clk 0x3e77d48f
  160. #define clk_gcc_blsp1_qup3_i2c_apps_clk 0x9e25ac82
  161. #define clk_gcc_blsp1_qup3_spi_apps_clk 0xfb978880
  162. #define clk_gcc_blsp1_qup4_i2c_apps_clk 0xd7f40f6f
  163. #define clk_gcc_blsp1_qup4_spi_apps_clk 0x80f8722f
  164. #define clk_gcc_blsp1_qup5_i2c_apps_clk 0xacae5604
  165. #define clk_gcc_blsp1_qup5_spi_apps_clk 0xbf3e15d7
  166. #define clk_gcc_blsp1_qup6_i2c_apps_clk 0x5c6ad820
  167. #define clk_gcc_blsp1_qup6_spi_apps_clk 0x780d9f85
  168. #define clk_gcc_blsp1_uart1_apps_clk 0xc7c62f90
  169. #define clk_gcc_blsp1_uart2_apps_clk 0xf8a61c96
  170. #define clk_gcc_blsp1_uart3_apps_clk 0xc3298bd7
  171. #define clk_gcc_blsp1_uart4_apps_clk 0x26be16c0
  172. #define clk_gcc_blsp1_uart5_apps_clk 0x28a6bc74
  173. #define clk_gcc_blsp1_uart6_apps_clk 0x28fd3466
  174. #define clk_gcc_blsp2_ahb_clk 0x8f283c1d
  175. #define clk_gcc_blsp2_qup1_i2c_apps_clk 0x9ace11dd
  176. #define clk_gcc_blsp2_qup1_spi_apps_clk 0xa32604cc
  177. #define clk_gcc_blsp2_qup2_i2c_apps_clk 0x1bf9a57e
  178. #define clk_gcc_blsp2_qup2_spi_apps_clk 0xbf54ca6d
  179. #define clk_gcc_blsp2_qup3_i2c_apps_clk 0x336d4170
  180. #define clk_gcc_blsp2_qup3_spi_apps_clk 0xc68509d6
  181. #define clk_gcc_blsp2_qup4_i2c_apps_clk 0xbd22539d
  182. #define clk_gcc_blsp2_qup4_spi_apps_clk 0x01a72b93
  183. #define clk_gcc_blsp2_qup5_i2c_apps_clk 0xe2b2ce1d
  184. #define clk_gcc_blsp2_qup5_spi_apps_clk 0xf40999cd
  185. #define clk_gcc_blsp2_qup6_i2c_apps_clk 0x894bcea4
  186. #define clk_gcc_blsp2_qup6_spi_apps_clk 0xfe1bd34a
  187. #define clk_gcc_blsp2_uart1_apps_clk 0x8c3512ff
  188. #define clk_gcc_blsp2_uart2_apps_clk 0x1e1965a3
  189. #define clk_gcc_blsp2_uart3_apps_clk 0x382415ab
  190. #define clk_gcc_blsp2_uart4_apps_clk 0x87a44b42
  191. #define clk_gcc_blsp2_uart5_apps_clk 0x5cd30649
  192. #define clk_gcc_blsp2_uart6_apps_clk 0x8feee5ab
  193. #define clk_gcc_boot_rom_ahb_clk 0xde2adeb1
  194. #define clk_gcc_gp1_clk 0x057f7b69
  195. #define clk_gcc_gp2_clk 0x9bf83ffd
  196. #define clk_gcc_gp3_clk 0xec6539ee
  197. #define clk_gcc_hmss_rbcpr_clk 0x699183be
  198. #define clk_gcc_mmss_noc_cfg_ahb_clk 0xb41a9d99
  199. #define clk_gcc_pcie_0_aux_clk 0x3d2e3ece
  200. #define clk_gcc_pcie_0_cfg_ahb_clk 0x4dd325c3
  201. #define clk_gcc_pcie_0_mstr_axi_clk 0x3f85285b
  202. #define clk_gcc_pcie_0_slv_axi_clk 0xd69638a1
  203. #define clk_gcc_pcie_0_pipe_clk 0x4f37621e
  204. #define clk_gcc_pcie_0_phy_reset 0xdc3201c1
  205. #define clk_gcc_pcie_1_aux_clk 0xc9bb962c
  206. #define clk_gcc_pcie_1_cfg_ahb_clk 0xb6338658
  207. #define clk_gcc_pcie_1_mstr_axi_clk 0xc20f6269
  208. #define clk_gcc_pcie_1_slv_axi_clk 0xd54e40d6
  209. #define clk_gcc_pcie_1_pipe_clk 0xc1627422
  210. #define clk_gcc_pcie_1_phy_reset 0x674481bb
  211. #define clk_gcc_pcie_2_aux_clk 0xa4dc7ae8
  212. #define clk_gcc_pcie_2_cfg_ahb_clk 0x4f1d3121
  213. #define clk_gcc_pcie_2_mstr_axi_clk 0x9e81724a
  214. #define clk_gcc_pcie_2_slv_axi_clk 0x7990d8b2
  215. #define clk_gcc_pcie_2_pipe_clk 0xa757a834
  216. #define clk_gcc_pcie_2_phy_reset 0x82634880
  217. #define clk_gcc_pcie_phy_reset 0x9bc3c959
  218. #define clk_gcc_pcie_phy_com_reset 0x8bf513e6
  219. #define clk_gcc_pcie_phy_nocsr_com_phy_reset 0x0c16a2da
  220. #define clk_gcc_pcie_phy_aux_clk 0x4746e74f
  221. #define clk_gcc_pcie_phy_cfg_ahb_clk 0x8533671a
  222. #define clk_gcc_pdm2_clk 0x99d55711
  223. #define clk_gcc_pdm_ahb_clk 0x365664f6
  224. #define clk_gcc_prng_ahb_clk 0x397e7eaa
  225. #define clk_gcc_sdcc1_ahb_clk 0x691e0caa
  226. #define clk_gcc_sdcc1_apps_clk 0x9ad6fb96
  227. #define clk_gcc_sdcc2_ahb_clk 0x23d5727f
  228. #define clk_gcc_sdcc2_apps_clk 0x861b20ac
  229. #define clk_gcc_sdcc3_ahb_clk 0x565b2c03
  230. #define clk_gcc_sdcc3_apps_clk 0x0b27aeac
  231. #define clk_gcc_sdcc4_ahb_clk 0x64f3e6a8
  232. #define clk_gcc_sdcc4_apps_clk 0xbf7c4dc8
  233. #define clk_gcc_tsif_ahb_clk 0x88d2822c
  234. #define clk_gcc_tsif_ref_clk 0x8f1ed2c2
  235. #define clk_gcc_ufs_ahb_clk 0x1914bb84
  236. #define clk_gcc_ufs_axi_clk 0x47c743a7
  237. #define clk_gcc_ufs_ice_core_clk 0x310b0710
  238. #define clk_gcc_ufs_rx_cfg_clk 0xa6747786
  239. #define clk_gcc_ufs_rx_symbol_0_clk 0x7f43251c
  240. #define clk_gcc_ufs_rx_symbol_1_clk 0x03182fde
  241. #define clk_gcc_ufs_tx_cfg_clk 0xba2cf8b5
  242. #define clk_gcc_ufs_tx_symbol_0_clk 0x6a9f747a
  243. #define clk_gcc_ufs_unipro_core_clk 0x2daf7fd2
  244. #define clk_gcc_ufs_sys_clk_core_clk 0x360e5ac8
  245. #define clk_gcc_ufs_tx_symbol_clk_core_clk 0xf6fb0df7
  246. #define clk_gcc_usb20_master_clk 0x24c3b66a
  247. #define clk_gcc_usb20_mock_utmi_clk 0xe8db8203
  248. #define clk_gcc_usb20_sleep_clk 0x6e8cb4b2
  249. #define clk_gcc_usb30_master_clk 0xb3b4e2cb
  250. #define clk_gcc_usb30_mock_utmi_clk 0xa800b65a
  251. #define clk_gcc_usb30_sleep_clk 0xd0b65c92
  252. #define clk_gcc_usb3_phy_aux_clk 0x0d9a36e0
  253. #define clk_gcc_usb3_phy_pipe_clk 0xf279aff2
  254. #define clk_gcc_usb_phy_cfg_ahb2phy_clk 0xd1231a0e
  255. #define clk_gcc_aggre0_cnoc_ahb_clk 0x53a35559
  256. #define clk_gcc_aggre0_snoc_axi_clk 0x3c446400
  257. #define clk_gcc_aggre0_noc_qosgen_extref_clk 0x8c4356ba
  258. #define clk_hlos1_vote_lpass_core_smmu_clk 0x3aaa1743
  259. #define clk_hlos1_vote_lpass_adsp_smmu_clk 0xc76f702f
  260. #define clk_gcc_usb3_phy_reset 0x03d559f1
  261. #define clk_gcc_usb3phy_phy_reset 0xb1a4f885
  262. #define clk_gcc_usb3_clkref_clk 0xb6cc8f01
  263. #define clk_gcc_hdmi_clkref_clk 0x4d4eec04
  264. #define clk_gcc_edp_clkref_clk 0xa8685c3f
  265. #define clk_gcc_ufs_clkref_clk 0x92aa126f
  266. #define clk_gcc_pcie_clkref_clk 0xa2e247fa
  267. #define clk_gcc_rx2_usb2_clkref_clk 0x27ec24ba
  268. #define clk_gcc_rx1_usb2_clkref_clk 0x53351d25
  269. #define clk_gcc_smmu_aggre0_ahb_clk 0x47a06ce4
  270. #define clk_gcc_smmu_aggre0_axi_clk 0x3cac4a6c
  271. #define clk_gcc_sys_noc_usb3_axi_clk 0x94d26800
  272. #define clk_gcc_sys_noc_ufs_axi_clk 0x19d38312
  273. #define clk_gcc_aggre2_usb3_axi_clk 0xd5822a8e
  274. #define clk_gcc_aggre2_ufs_axi_clk 0xb31e5191
  275. #define clk_gcc_mmss_gpll0_div_clk 0xdd06848d
  276. #define clk_gcc_mmss_bimc_gfx_clk 0xe4f28754
  277. #define clk_gcc_bimc_gfx_clk 0x3edd69ad
  278. #define clk_gcc_qspi_ahb_clk 0x96969dc8
  279. #define clk_gcc_qspi_ser_clk 0xfaf1e266
  280. #define clk_qspi_ser_clk_src 0x426676ee
  281. #define clk_sdcc1_ice_core_clk_src 0xfd6a4301
  282. #define clk_gcc_sdcc1_ice_core_clk 0x0fd5680a
  283. #define clk_gcc_mss_cfg_ahb_clk 0x111cde81
  284. #define clk_gcc_mss_snoc_axi_clk 0x0e71de85
  285. #define clk_gcc_mss_q6_bimc_axi_clk 0x67544d62
  286. #define clk_gcc_mss_mnoc_bimc_axi_clk 0xf665d03f
  287. #define clk_gpll0_out_msscc 0x7d794829
  288. #define clk_gcc_debug_mux_v2 0xf7e749f0
  289. #define clk_gcc_dcc_ahb_clk 0xfa14a88c
  290. #define clk_gcc_aggre0_noc_mpu_cfg_ahb_clk 0x5c1bb8e2
  291. /* clock_mmss controlled clocks */
  292. #define clk_mmsscc_xo 0x05e63704
  293. #define clk_mmsscc_gpll0 0xe900c515
  294. #define clk_mmsscc_gpll0_div 0x73892e05
  295. #define clk_mmsscc_mmssnoc_ahb 0x7b4bd6f7
  296. #define clk_mmpll0 0xdd83b751
  297. #define clk_mmpll0_out_main 0x2f996a31
  298. #define clk_mmpll1 0x6da7fb90
  299. #define clk_mmpll1_out_main 0xa0d3a7da
  300. #define clk_mmpll4 0x22c063c1
  301. #define clk_mmpll4_out_main 0xfb21c2fd
  302. #define clk_mmpll3 0x18c76899
  303. #define clk_mmpll3_out_main 0x6eb6328f
  304. #define clk_ahb_clk_src 0x86f49203
  305. #define clk_mmpll2 0x1190e4d8
  306. #define clk_mmpll2_out_main 0x1e9e24a8
  307. #define clk_mmpll8 0xd06ad45e
  308. #define clk_mmpll8_out_main 0x75b1f386
  309. #define clk_mmpll9 0x1c50684c
  310. #define clk_mmpll9_out_main 0x16b74937
  311. #define clk_mmpll5 0xa41e1936
  312. #define clk_mmpll5_out_main 0xcc1897bf
  313. #define clk_csi0_clk_src 0x227e65bc
  314. #define clk_vfe0_clk_src 0xa0c2bd8f
  315. #define clk_vfe1_clk_src 0x4e357366
  316. #define clk_csi1_clk_src 0x6a2a6c36
  317. #define clk_csi2_clk_src 0x4113589f
  318. #define clk_csi3_clk_src 0xfd934012
  319. #define clk_maxi_clk_src 0x52c09777
  320. #define clk_cpp_clk_src 0x8382f56d
  321. #define clk_jpeg0_clk_src 0x9a0a0ac3
  322. #define clk_jpeg2_clk_src 0x5ad927f3
  323. #define clk_jpeg_dma_clk_src 0xb68afcea
  324. #define clk_mdp_clk_src 0x6dc1f8f1
  325. #define clk_video_core_clk_src 0x8be4c944
  326. #define clk_fd_core_clk_src 0xe4799ab7
  327. #define clk_cci_clk_src 0x822f3d97
  328. #define clk_csiphy0_3p_clk_src 0xd2474b12
  329. #define clk_csiphy1_3p_clk_src 0x46a02aff
  330. #define clk_csiphy2_3p_clk_src 0x1447813f
  331. #define clk_camss_gp0_clk_src 0x6b57cfe6
  332. #define clk_camss_gp1_clk_src 0xf735368a
  333. #define clk_jpeg_dma_clk_src 0xb68afcea
  334. #define clk_mclk0_clk_src 0x266b3853
  335. #define clk_mclk1_clk_src 0xa73cad0c
  336. #define clk_mclk2_clk_src 0x42545468
  337. #define clk_mclk3_clk_src 0x2bfbb714
  338. #define clk_csi0phytimer_clk_src 0xc8a309be
  339. #define clk_csi1phytimer_clk_src 0x7c0fe23a
  340. #define clk_csi2phytimer_clk_src 0x62ffea9c
  341. #define clk_rbbmtimer_clk_src 0x17649ecc
  342. #define clk_esc0_clk_src 0xb41d7c38
  343. #define clk_esc1_clk_src 0x3b0afa42
  344. #define clk_hdmi_clk_src 0xb40aeea9
  345. #define clk_vsync_clk_src 0xecb43940
  346. #define clk_rbcpr_clk_src 0x2c2e9af2
  347. #define clk_video_subcore0_clk_src 0x88d79636
  348. #define clk_video_subcore1_clk_src 0x4966930c
  349. #define clk_mmss_bto_ahb_clk 0xfdf8c361
  350. #define clk_camss_ahb_clk 0xc4ff91d4
  351. #define clk_camss_cci_ahb_clk 0x04c4441a
  352. #define clk_camss_cci_clk 0xd6cb5eb9
  353. #define clk_camss_cpp_ahb_clk 0x12e9a87b
  354. #define clk_camss_cpp_clk 0xb82f366b
  355. #define clk_camss_cpp_axi_clk 0x5598c804
  356. #define clk_camss_cpp_vbif_ahb_clk 0xb5f31be4
  357. #define clk_camss_csi0_ahb_clk 0x6e29c972
  358. #define clk_camss_csi0_clk 0x30862ddb
  359. #define clk_camss_csi0phy_clk 0x2cecfb84
  360. #define clk_camss_csi0pix_clk 0x6946f77b
  361. #define clk_camss_csi0rdi_clk 0x83645ef5
  362. #define clk_camss_csi1_ahb_clk 0xccc15f06
  363. #define clk_camss_csi1_clk 0xb150f052
  364. #define clk_camss_csi1phy_clk 0xb989f06d
  365. #define clk_camss_csi1pix_clk 0x58d19bf3
  366. #define clk_camss_csi1rdi_clk 0x4d2f3352
  367. #define clk_camss_csi2_ahb_clk 0x92d02d75
  368. #define clk_camss_csi2_clk 0x74fc92e8
  369. #define clk_camss_csi2phy_clk 0xda05d9d8
  370. #define clk_camss_csi2pix_clk 0xf8ed0731
  371. #define clk_camss_csi2rdi_clk 0xdc1b2081
  372. #define clk_camss_csi3_ahb_clk 0xee5e459c
  373. #define clk_camss_csi3_clk 0x39488fdd
  374. #define clk_camss_csi3phy_clk 0x8b6063b9
  375. #define clk_camss_csi3pix_clk 0xd82bd467
  376. #define clk_camss_csi3rdi_clk 0xb6750046
  377. #define clk_camss_csi_vfe0_clk 0x3023937a
  378. #define clk_camss_csi_vfe1_clk 0xe66fa522
  379. #define clk_camss_csiphy0_3p_clk 0xf2a54f5a
  380. #define clk_camss_csiphy1_3p_clk 0x8bf70cb2
  381. #define clk_camss_csiphy2_3p_clk 0x1c14c939
  382. #define clk_camss_gp0_clk 0xcee7e51d
  383. #define clk_camss_gp1_clk 0x41f1c2e3
  384. #define clk_camss_ispif_ahb_clk 0x9a212c6d
  385. #define clk_camss_jpeg0_clk 0x0b0e2db7
  386. #define clk_camss_jpeg2_clk 0xd7291c8d
  387. #define clk_camss_jpeg_ahb_clk 0x1f47fd28
  388. #define clk_camss_jpeg_axi_clk 0x9e5545c8
  389. #define clk_camss_jpeg_dma_clk 0x2336e65d
  390. #define clk_camss_mclk0_clk 0xcf0c61e0
  391. #define clk_camss_mclk1_clk 0xd1410ed4
  392. #define clk_camss_mclk2_clk 0x851286f2
  393. #define clk_camss_mclk3_clk 0x4db11c45
  394. #define clk_camss_micro_ahb_clk 0x33a23277
  395. #define clk_camss_csi0phytimer_clk 0xff93b3c8
  396. #define clk_camss_csi1phytimer_clk 0x6c399ab6
  397. #define clk_camss_csi2phytimer_clk 0x24f47f49
  398. #define clk_camss_top_ahb_clk 0x8f8b2d33
  399. #define clk_camss_vfe_ahb_clk 0x595197bc
  400. #define clk_camss_vfe_axi_clk 0x273d4c31
  401. #define clk_camss_vfe0_ahb_clk 0x4652833c
  402. #define clk_camss_vfe0_clk 0x1e9bb8c4
  403. #define clk_camss_vfe0_stream_clk 0x22835fa4
  404. #define clk_camss_vfe1_ahb_clk 0x6a56abd3
  405. #define clk_camss_vfe1_clk 0x5bffa69b
  406. #define clk_camss_vfe1_stream_clk 0x92f849b9
  407. #define clk_fd_ahb_clk 0x868a2c5c
  408. #define clk_fd_core_clk 0x3badcae4
  409. #define clk_fd_core_uar_clk 0x7e624e15
  410. #define clk_gpu_ahb_clk 0xf97f1d43
  411. #define clk_gpu_aon_isense_clk 0xa9e9b297
  412. #define clk_gpu_gx_gfx3d_clk 0xb7ece823
  413. #define clk_gpu_mx_clk 0xb80ccedf
  414. #define clk_gpu_gx_rbbmtimer_clk 0xdeba634e
  415. #define clk_mdss_ahb_clk 0x684ccb41
  416. #define clk_mdss_axi_clk 0xcc07d687
  417. #define clk_mdss_esc0_clk 0x28cafbe6
  418. #define clk_mdss_esc1_clk 0xc22c6883
  419. #define clk_mdss_hdmi_ahb_clk 0x01cef516
  420. #define clk_mdss_hdmi_clk 0x097a6de9
  421. #define clk_mdss_mdp_clk 0x618336ac
  422. #define clk_mdss_vsync_clk 0x42a022d3
  423. #define clk_mmss_misc_ahb_clk 0xea30b0e7
  424. #define clk_mmss_misc_cxo_clk 0xe620cd80
  425. #define clk_mmagic_bimc_noc_cfg_ahb_clk 0x12d5ba72
  426. #define clk_mmagic_camss_axi_clk 0xa8b1c16b
  427. #define clk_mmagic_camss_noc_cfg_ahb_clk 0x5182c819
  428. #define clk_mmss_mmagic_cfg_ahb_clk 0x5e94a822
  429. #define clk_mmagic_mdss_axi_clk 0xa0359d10
  430. #define clk_mmagic_mdss_noc_cfg_ahb_clk 0x9c6d5482
  431. #define clk_mmagic_video_axi_clk 0x7b9219c3
  432. #define clk_mmagic_video_noc_cfg_ahb_clk 0x5124d256
  433. #define clk_mmss_mmagic_ahb_clk 0x3d15f2b0
  434. #define clk_mmss_mmagic_maxi_clk 0xbdaf5af7
  435. #define clk_mmss_rbcpr_ahb_clk 0x623ba55f
  436. #define clk_mmss_rbcpr_clk 0x69a23a6f
  437. #define clk_mmss_spdm_cpp_clk 0xefe35cd2
  438. #define clk_mmss_spdm_jpeg_dma_clk 0xcb7bd5a0
  439. #define clk_smmu_cpp_ahb_clk 0x3ad82d84
  440. #define clk_smmu_cpp_axi_clk 0xa6bb2f4a
  441. #define clk_smmu_jpeg_ahb_clk 0x10c436ec
  442. #define clk_smmu_jpeg_axi_clk 0x41112f37
  443. #define clk_smmu_mdp_ahb_clk 0x04994cb2
  444. #define clk_smmu_mdp_axi_clk 0x7fd71687
  445. #define clk_smmu_rot_ahb_clk 0xa30772c9
  446. #define clk_smmu_rot_axi_clk 0xfed7c078
  447. #define clk_smmu_vfe_ahb_clk 0x4dabebe7
  448. #define clk_smmu_vfe_axi_clk 0xde483725
  449. #define clk_smmu_video_ahb_clk 0x2d738e2c
  450. #define clk_smmu_video_axi_clk 0xe2b5b887
  451. #define clk_video_ahb_clk 0x90775cfb
  452. #define clk_video_axi_clk 0xe6c16dba
  453. #define clk_video_core_clk 0x7e876ec3
  454. #define clk_video_maxi_clk 0x97749db6
  455. #define clk_video_subcore0_clk 0xb6f63e6c
  456. #define clk_video_subcore1_clk 0x26c29cb4
  457. #define clk_vmem_ahb_clk 0xab6223ff
  458. #define clk_vmem_maxi_clk 0x15ef32db
  459. #define clk_mmss_debug_mux 0xe646ffda
  460. #define clk_mmss_gcc_dbg_clk 0xafa4d48a
  461. #define clk_gfx3d_clk_src 0x917f76ef
  462. #define clk_extpclk_clk_src 0xb2c31abd
  463. #define clk_mdss_byte0_clk 0xf5a03f64
  464. #define clk_mdss_byte1_clk 0xb8c7067d
  465. #define clk_mdss_extpclk_clk 0xfa5aadb0
  466. #define clk_mdss_pclk0_clk 0x3487234a
  467. #define clk_mdss_pclk1_clk 0xd5804246
  468. #define clk_gpu_gcc_dbg_clk 0x0ccc42cd
  469. #define clk_mdss_mdp_vote_clk 0x588460a4
  470. #define clk_mdss_rotator_vote_clk 0x5b1f675e
  471. #define clk_mmpll2_postdiv_clk 0x4fdeaaba
  472. #define clk_mmpll8_postdiv_clk 0xedf57882
  473. #define clk_mmpll9_postdiv_clk 0x3064b618
  474. #define clk_gfx3d_clk_src_v2 0x4210acb7
  475. #define clk_byte0_clk_src 0x75cc885b
  476. #define clk_byte1_clk_src 0x63c2c955
  477. #define clk_pclk0_clk_src 0xccac1f35
  478. #define clk_pclk1_clk_src 0x090f68ac
  479. #define clk_ext_byte0_clk_src 0xfb32f31e
  480. #define clk_ext_byte1_clk_src 0x585ef6d4
  481. #define clk_ext_pclk0_clk_src 0x087c1612
  482. #define clk_ext_pclk1_clk_src 0x8067c5a3
  483. /* clock_debug controlled clocks */
  484. #define clk_gcc_debug_mux 0x8121ac15
  485. /* external multimedia clocks */
  486. #define clk_dsi0pll_pixel_clk_mux 0x792379e1
  487. #define clk_dsi0pll_byte_clk_mux 0x60e83f06
  488. #define clk_dsi0pll_byte_clk_src 0xbbaa30be
  489. #define clk_dsi0pll_pixel_clk_src 0x45b3260f
  490. #define clk_dsi0pll_n2_div_clk 0x1474c213
  491. #define clk_dsi0pll_post_n1_div_clk 0xdab8c389
  492. #define clk_dsi0pll_vco_clk 0x15940d40
  493. #define clk_dsi1pll_pixel_clk_mux 0x36458019
  494. #define clk_dsi1pll_byte_clk_mux 0xb5a42b7b
  495. #define clk_dsi1pll_byte_clk_src 0x63930a8f
  496. #define clk_dsi1pll_pixel_clk_src 0x0e4c9b56
  497. #define clk_dsi1pll_n2_div_clk 0x2c9d4007
  498. #define clk_dsi1pll_post_n1_div_clk 0x03020041
  499. #define clk_dsi1pll_vco_clk 0x99797b50
  500. #define clk_mdss_dsi1_vco_clk_src 0xfcd15658
  501. #define clk_hdmi_vco_clk 0x66003284
  502. #define clk_dsi0pll_shadow_byte_clk_src 0x177c029c
  503. #define clk_dsi0pll_shadow_pixel_clk_src 0x98ae3c92
  504. #define clk_dsi0pll_shadow_n2_div_clk 0xd5f0dad9
  505. #define clk_dsi0pll_shadow_post_n1_div_clk 0x1f7c8cf8
  506. #define clk_dsi0pll_shadow_vco_clk 0xb100ca83
  507. #define clk_dsi1pll_shadow_byte_clk_src 0xfc021ce5
  508. #define clk_dsi1pll_shadow_pixel_clk_src 0xdcca3ffc
  509. #define clk_dsi1pll_shadow_n2_div_clk 0x189541bf
  510. #define clk_dsi1pll_shadow_post_n1_div_clk 0x1637020e
  511. #define clk_dsi1pll_shadow_vco_clk 0x68d8b6f7
  512. /* CPU clocks */
  513. #define clk_pwrcl_clk 0xc554130e
  514. #define clk_pwrcl_pll 0x25454ca1
  515. #define clk_pwrcl_alt_pll 0xc445471b
  516. #define clk_pwrcl_pll_main 0x28948e22
  517. #define clk_pwrcl_alt_pll_main 0x25c8270e
  518. #define clk_pwrcl_hf_mux 0x77706ae6
  519. #define clk_pwrcl_lf_mux 0xd99e334d
  520. #define clk_perfcl_clk 0x58869997
  521. #define clk_perfcl_pll 0x97dcec1c
  522. #define clk_perfcl_alt_pll 0xfe2eaea1
  523. #define clk_perfcl_pll_main 0x0dbf0c0b
  524. #define clk_perfcl_alt_pll_main 0x0b892aab
  525. #define clk_perfcl_hf_mux 0x9e8bbe59
  526. #define clk_perfcl_lf_mux 0x2f9c278d
  527. #define clk_cbf_pll 0xfe2e96a3
  528. #define clk_cbf_pll_main 0x2b05cf95
  529. #define clk_cbf_hf_mux 0x71244f73
  530. #define clk_cbf_clk 0x48e9e16b
  531. #define clk_xo_ao 0x428c856d
  532. #define clk_sys_apcsaux_clk 0x0b0dd513
  533. #define clk_cpu_debug_mux 0xc7acaa31
  534. /* Audio External Clocks */
  535. #define clk_audio_ap_clk 0x312ac429
  536. #define clk_audio_pmi_clk 0xb7ba2274
  537. #define clk_audio_ap_clk2 0xf0fbaf5b
  538. #define clk_audio_lpass_mclk2 0x0122abee
  539. #endif