mdm-clocks-9650.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
  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 and
  6. * only version 2 as published by the Free Software Foundation.
  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 __MSM_CLOCKS_9650_H
  14. #define __MSM_CLOCKS_9650_H
  15. /* RPM controlled clocks */
  16. #define clk_xo 0xf13dfee3
  17. #define clk_xo_a_clk 0xd939b99b
  18. #define clk_ce_clk 0xd8bc64e1
  19. #define clk_ce_a_clk 0x4dfefd47
  20. #define clk_pcnoc_clk 0xc1296d0f
  21. #define clk_pcnoc_a_clk 0x9bcffee4
  22. #define clk_bimc_clk 0x4b80bf00
  23. #define clk_bimc_a_clk 0x4b25668a
  24. #define clk_snoc_clk 0x2c341aa0
  25. #define clk_snoc_a_clk 0x8fcef2af
  26. #define clk_ipa_clk 0xfa685cda
  27. #define clk_ipa_a_clk 0xeeec2919
  28. #define clk_qpic_clk 0x3ce6f7bb
  29. #define clk_qpic_a_clk 0xd70ccb7c
  30. #define clk_qdss_clk 0x1492202a
  31. #define clk_qdss_a_clk 0xdd121669
  32. #define clk_bimc_msmbus_clk 0xd212feea
  33. #define clk_bimc_msmbus_a_clk 0x71d1a499
  34. #define clk_mcd_ce_clk 0x7ad13979
  35. #define clk_pcnoc_keepalive_a_clk 0x9464f720
  36. #define clk_pcnoc_msmbus_clk 0x2b53b688
  37. #define clk_pcnoc_msmbus_a_clk 0x9753a54f
  38. #define clk_pcnoc_pm_clk 0x5e636b5d
  39. #define clk_pcnoc_sps_clk 0x23d3f584
  40. #define clk_qcedev_ce_clk 0x2e7f9cee
  41. #define clk_qcrypto_ce_clk 0xd8cd060b
  42. #define clk_qseecom_ce_clk 0xea036e4b
  43. #define clk_scm_ce_clk 0xfd35bb87
  44. #define clk_snoc_msmbus_clk 0xe6900bb6
  45. #define clk_snoc_msmbus_a_clk 0x5d4683bd
  46. #define clk_cxo_dwc3_clk 0xf79c19f6
  47. #define clk_cxo_lpm_clk 0x94adbf3d
  48. #define clk_cxo_otg_clk 0x4eec0bb9
  49. #define clk_div_clk1 0xaa1157a6
  50. #define clk_div_clk1_ao 0x6b943d68
  51. #define clk_ln_bb_clk 0x3ab0b36d
  52. #define clk_ln_bb_a_clk 0xc7257ea8
  53. #define clk_rf_clk1 0xaabeea5a
  54. #define clk_rf_clk1_ao 0x72a10cb8
  55. #define clk_rf_clk1_pin 0x8f463562
  56. #define clk_rf_clk1_pin_ao 0x62549ff6
  57. #define clk_rf_clk2 0x24a30992
  58. #define clk_rf_clk2_ao 0x944d8bbd
  59. #define clk_rf_clk2_pin 0xa7c5602a
  60. #define clk_rf_clk2_pin_ao 0x2d75eb4d
  61. #define clk_rf_clk3 0xb673936b
  62. #define clk_rf_clk3_ao 0x038bb968
  63. #define clk_rf_clk3_pin 0x726f53f5
  64. #define clk_rf_clk3_pin_ao 0x76f9240f
  65. /* APSS controlled clocks */
  66. #define clk_gpll0 0x1ebe3bc4
  67. #define clk_gpll0_ao 0xa1368304
  68. #define clk_gpll0_out_msscc 0x7d794829
  69. #define clk_apss_ahb_clk_src 0x36f8495f
  70. #define clk_usb30_master_clk_src 0xc6262f89
  71. #define clk_blsp1_qup1_i2c_apps_clk_src 0x17f78f5e
  72. #define clk_blsp1_qup1_spi_apps_clk_src 0xf534c4fa
  73. #define clk_blsp1_qup2_i2c_apps_clk_src 0x8de71c79
  74. #define clk_blsp1_qup2_spi_apps_clk_src 0x33cf809a
  75. #define clk_blsp1_qup3_i2c_apps_clk_src 0xf161b902
  76. #define clk_blsp1_qup3_spi_apps_clk_src 0x5e95683f
  77. #define clk_blsp1_qup4_i2c_apps_clk_src 0xb2ecce68
  78. #define clk_blsp1_qup4_spi_apps_clk_src 0xddb5bbdb
  79. #define clk_blsp1_uart1_apps_clk_src 0xf8146114
  80. #define clk_blsp1_uart2_apps_clk_src 0xfc9c2f73
  81. #define clk_blsp1_uart3_apps_clk_src 0x600497f2
  82. #define clk_blsp1_uart4_apps_clk_src 0x56bff15c
  83. #define clk_gp1_clk_src 0xad85b97a
  84. #define clk_gp2_clk_src 0xfb1f0065
  85. #define clk_gp3_clk_src 0x63b693d6
  86. #define clk_pcie_aux_clk_src 0xebc50566
  87. #define clk_pdm2_clk_src 0x31e494fd
  88. #define clk_sdcc1_apps_clk_src 0xd4975db2
  89. #define clk_usb30_mock_utmi_clk_src 0xa024a976
  90. #define clk_usb3_aux_clk_src 0xfde7ae09
  91. #define clk_gcc_pcie_phy_reset 0x9bc3c959
  92. #define clk_gcc_qusb2a_phy_reset 0x2a9dfa9f
  93. #define clk_gcc_usb3phy_phy_reset 0xb1a4f885
  94. #define clk_gcc_usb3_phy_reset 0x03d559f1
  95. #define clk_gpll0_out_main_cgc 0xb0298998
  96. #define clk_gcc_blsp1_ahb_clk 0x8caa5b4f
  97. #define clk_gcc_blsp1_qup1_i2c_apps_clk 0xc303fae9
  98. #define clk_gcc_blsp1_qup1_spi_apps_clk 0x759a76b0
  99. #define clk_gcc_blsp1_qup2_i2c_apps_clk 0x1076f220
  100. #define clk_gcc_blsp1_qup2_spi_apps_clk 0x3e77d48f
  101. #define clk_gcc_blsp1_qup3_i2c_apps_clk 0x9e25ac82
  102. #define clk_gcc_blsp1_qup3_spi_apps_clk 0xfb978880
  103. #define clk_gcc_blsp1_qup4_i2c_apps_clk 0xd7f40f6f
  104. #define clk_gcc_blsp1_qup4_spi_apps_clk 0x80f8722f
  105. #define clk_gcc_blsp1_uart1_apps_clk 0xc7c62f90
  106. #define clk_gcc_blsp1_uart2_apps_clk 0xf8a61c96
  107. #define clk_gcc_blsp1_uart3_apps_clk 0xc3298bd7
  108. #define clk_gcc_blsp1_uart4_apps_clk 0x26be16c0
  109. #define clk_gcc_boot_rom_ahb_clk 0xde2adeb1
  110. #define clk_gcc_dcc_clk 0xd1000c50
  111. #define clk_gpll0_out_main_div2_cgc 0xc76ac7ae
  112. #define clk_gcc_gp1_clk 0x057f7b69
  113. #define clk_gcc_gp2_clk 0x9bf83ffd
  114. #define clk_gcc_gp3_clk 0xec6539ee
  115. #define clk_gcc_mss_q6_bimc_axi_clk 0x67544d62
  116. #define clk_gcc_pcie_axi_clk 0xb833d9e3
  117. #define clk_gcc_pcie_axi_mstr_clk 0x54d09178
  118. #define clk_gcc_pcie_cfg_ahb_clk 0xddc9a515
  119. #define clk_gcc_pcie_pipe_clk 0x8be62558
  120. #define clk_gcc_pcie_sleep_clk 0x8b8bfc3b
  121. #define clk_gcc_pdm2_clk 0x99d55711
  122. #define clk_gcc_pdm_ahb_clk 0x365664f6
  123. #define clk_gcc_prng_ahb_clk 0x397e7eaa
  124. #define clk_gcc_sdcc1_ahb_clk 0x691e0caa
  125. #define clk_gcc_sdcc1_apps_clk 0x9ad6fb96
  126. #define clk_gcc_apss_tcu_clk 0xaf56a329
  127. #define clk_gcc_pcie_axi_tbu_clk 0xab70f06e
  128. #define clk_gcc_pcie_ref_clk 0x63fca50a
  129. #define clk_gcc_usb_ss_ref_clk 0xb85dadfa
  130. #define clk_gcc_qusb_ref_clk 0x16e35a90
  131. #define clk_gcc_smmu_cfg_clk 0x75eaefa5
  132. #define clk_gcc_usb3_axi_tbu_clk 0x18779c6e
  133. #define clk_gcc_sys_noc_usb3_axi_clk 0x94d26800
  134. #define clk_gcc_usb30_master_clk 0xb3b4e2cb
  135. #define clk_gcc_usb30_mock_utmi_clk 0xa800b65a
  136. #define clk_gcc_usb30_sleep_clk 0xd0b65c92
  137. #define clk_gcc_usb3_aux_clk 0x555d16b2
  138. #define clk_gcc_usb3_pipe_clk 0x26f8a97a
  139. #define clk_gcc_usb_phy_cfg_ahb_clk 0xccb7e26f
  140. #define clk_gcc_mss_cfg_ahb_clk 0x111cde81
  141. /* a7pll */
  142. #define clk_a7pll_clk 0x3dd5dd94
  143. /* clock_debug controlled clocks */
  144. #define clk_gcc_debug_mux 0x8121ac15
  145. /* Audio External Clocks */
  146. #define clk_audio_lpass_mclk 0x575ec22b
  147. /* sdx20 */
  148. #define clk_gcc_pcie_aux_clk 0x06d8e933
  149. #define clk_pcie_aux_phy_clk_src 0x672e340c
  150. #define clk_pcie20_phy_aux_clk 0x613dfb19
  151. #define clk_pcie_aux_mux_clk 0x3e75325b
  152. #endif