123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- /*
- * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
- #ifndef __MSM_CLOCKS_8953_H
- #define __MSM_CLOCKS_8953_H
- #define clk_gpll0_clk_src 0x5933b69f
- #define clk_gpll0_ao_clk_src 0x6b2fb034
- #define clk_gpll2_clk_src 0x7c34503b
- #define clk_gpll3_clk_src 0x5b1eccd5
- #define clk_gpll4_clk_src 0x10525d57
- #define clk_gpll6_clk_src 0x17dceaad
- #define clk_gpll0_main_clk_src 0xf6e5be93
- #define clk_gpll0_main_div2_cci_clk_src 0x614e4b7e
- #define clk_gpll0_main_div2_clk_src 0x3037cffb
- #define clk_gpll0_main_div2_mm_clk_src 0xcf89c5ba
- #define clk_gpll0_main_div2_usb3_clk_src 0x23944173
- #define clk_gpll0_main_mock_clk_src 0xdc903e09
- #define clk_gpll2_out_main_clk_src 0xfcdbeff8
- #define clk_gpll2_vcodec_clk_src 0xa2cbc782
- #define clk_gpll6_aux_clk_src 0x81187caa
- #define clk_gpll6_main_clk_src 0xb9a328d6
- #define clk_gpll6_main_div2_clk_src 0x6f0016a9
- #define clk_gpll6_main_div2_gfx_clk_src 0xf29e5e5c
- #define clk_gpll6_main_gfx_clk_src 0x5aee405b
- #define clk_gpll6_out_aux_clk_src 0xb3fcaa27
- #define clk_xo_clk_src 0x23f5649f
- #define clk_xo_a_clk_src 0x2fdd2c7c
- #define clk_bimc_clk 0x4b80bf00
- #define clk_bimc_a_clk 0x4b25668a
- #define clk_pcnoc_clk 0xc1296d0f
- #define clk_pcnoc_a_clk 0x9bcffee4
- #define clk_snoc_clk 0x2c341aa0
- #define clk_snoc_a_clk 0x8fcef2af
- #define clk_sysmmnoc_clk 0xebb1df78
- #define clk_sysmmnoc_a_clk 0x6ca682a2
- #define clk_ipa_clk 0xfa685cda
- #define clk_ipa_a_clk 0xeeec2919
- #define clk_qdss_clk 0x1492202a
- #define clk_qdss_a_clk 0xdd121669
- #define clk_bimc_msmbus_clk 0xd212feea
- #define clk_bimc_msmbus_a_clk 0x71d1a499
- #define clk_bimc_usb_clk 0x9bd2b2bf
- #define clk_bimc_usb_a_clk 0xea410834
- #define clk_bimc_wcnss_a_clk 0x5a6df715
- #define clk_pcnoc_keepalive_a_clk 0x9464f720
- #define clk_pcnoc_msmbus_clk 0x2b53b688
- #define clk_pcnoc_msmbus_a_clk 0x9753a54f
- #define clk_pcnoc_usb_clk 0x57adc448
- #define clk_pcnoc_usb_a_clk 0x11d6a74e
- #define clk_snoc_msmbus_clk 0xe6900bb6
- #define clk_snoc_msmbus_a_clk 0x5d4683bd
- #define clk_snoc_usb_clk 0x29f9d73d
- #define clk_snoc_usb_a_clk 0x34b7821b
- #define clk_snoc_wcnss_a_clk 0xd3949ebc
- #define clk_sysmmnoc_msmbus_a_clk 0x50600f1b
- #define clk_sysmmnoc_msmbus_clk 0xd61e5721
- #define clk_xo_dwc3_clk 0xfad488ce
- #define clk_xo_lpm_clk 0x2be48257
- #define clk_xo_pil_lpass_clk 0xb72aa4c9
- #define clk_xo_pil_mss_clk 0xe97a8354
- #define clk_xo_pil_pronto_clk 0x89dae6d0
- #define clk_xo_wlan_clk 0x0116b76f
- #define clk_xo_pipe_clk_src 0x8eac73d8
- #define clk_gcc_apss_ahb_clk 0x2b0d39ff
- #define clk_gcc_apss_axi_clk 0x1d47f4ff
- #define clk_gcc_blsp1_ahb_clk 0x8caa5b4f
- #define clk_gcc_blsp2_ahb_clk 0x8f283c1d
- #define clk_gcc_boot_rom_ahb_clk 0xde2adeb1
- #define clk_gcc_crypto_ahb_clk 0x94de4919
- #define clk_gcc_crypto_axi_clk 0xd4415c9b
- #define clk_gcc_crypto_clk 0x00d390d2
- #define clk_gcc_prng_ahb_clk 0x397e7eaa
- #define clk_gcc_qdss_dap_clk 0x7fa9aa73
- #define clk_gcc_apss_tcu_async_clk 0x8fbc51da
- #define clk_gcc_cpp_tbu_clk 0xab6f19ab
- #define clk_gcc_jpeg_tbu_clk 0xcf8fd944
- #define clk_gcc_mdp_tbu_clk 0x82287f76
- #define clk_gcc_smmu_cfg_clk 0x75eaefa5
- #define clk_gcc_venus_tbu_clk 0x7e0b97ce
- #define clk_gcc_vfe1_tbu_clk 0x4888e70f
- #define clk_gcc_vfe_tbu_clk 0x061f2f95
- #define clk_camss_top_ahb_clk_src 0xf92304fb
- #define clk_csi0_clk_src 0x227e65bc
- #define clk_apss_ahb_clk_src 0x36f8495f
- #define clk_csi1_clk_src 0x6a2a6c36
- #define clk_csi2_clk_src 0x4113589f
- #define clk_vfe0_clk_src 0xa0c2bd8f
- #define clk_gfx3d_clk_src 0x917f76ef
- #define clk_vcodec0_clk_src 0xbc193019
- #define clk_cpp_clk_src 0x8382f56d
- #define clk_jpeg0_clk_src 0x9a0a0ac3
- #define clk_mdp_clk_src 0x6dc1f8f1
- #define clk_pclk0_clk_src 0xccac1f35
- #define clk_ext_pclk0_clk_src 0x087c1612
- #define clk_pclk1_clk_src 0x090f68ac
- #define clk_ext_pclk1_clk_src 0x8067c5a3
- #define clk_mdss_mdp_vote_clk 0x588460a4
- #define clk_mdss_rotator_vote_clk 0x5b1f675e
- #define clk_usb30_master_clk_src 0xc6262f89
- #define clk_vfe1_clk_src 0x4e357366
- #define clk_apc0_droop_detector_clk_src 0x824a5cb7
- #define clk_apc1_droop_detector_clk_src 0x8708fba4
- #define clk_blsp1_qup1_i2c_apps_clk_src 0x17f78f5e
- #define clk_blsp1_qup1_spi_apps_clk_src 0xf534c4fa
- #define clk_blsp1_qup2_i2c_apps_clk_src 0x8de71c79
- #define clk_blsp1_qup2_spi_apps_clk_src 0x33cf809a
- #define clk_blsp1_qup3_i2c_apps_clk_src 0xf161b902
- #define clk_blsp1_qup3_spi_apps_clk_src 0x5e95683f
- #define clk_blsp1_qup4_i2c_apps_clk_src 0xb2ecce68
- #define clk_blsp1_qup4_spi_apps_clk_src 0xddb5bbdb
- #define clk_blsp1_uart1_apps_clk_src 0xf8146114
- #define clk_blsp1_uart2_apps_clk_src 0xfc9c2f73
- #define clk_blsp2_qup1_i2c_apps_clk_src 0xd6d1e95d
- #define clk_blsp2_qup1_spi_apps_clk_src 0xcc1b8365
- #define clk_blsp2_qup2_i2c_apps_clk_src 0x603b5c51
- #define clk_blsp2_qup2_spi_apps_clk_src 0xd577dc44
- #define clk_blsp2_qup3_i2c_apps_clk_src 0xea82959c
- #define clk_blsp2_qup3_spi_apps_clk_src 0xd04b1e92
- #define clk_blsp2_qup4_i2c_apps_clk_src 0x73dc968c
- #define clk_blsp2_qup4_spi_apps_clk_src 0x25d4a2b1
- #define clk_blsp2_uart1_apps_clk_src 0x562c66dc
- #define clk_blsp2_uart2_apps_clk_src 0xdd448080
- #define clk_cci_clk_src 0x822f3d97
- #define clk_csi0p_clk_src 0xf1b8f4e7
- #define clk_csi1p_clk_src 0x08d1986c
- #define clk_csi2p_clk_src 0x7ebc4951
- #define clk_camss_gp0_clk_src 0x43b063e9
- #define clk_camss_gp1_clk_src 0xa3315f1b
- #define clk_mclk0_clk_src 0x266b3853
- #define clk_mclk1_clk_src 0xa73cad0c
- #define clk_mclk2_clk_src 0x42545468
- #define clk_mclk3_clk_src 0x2bfbb714
- #define clk_csi0phytimer_clk_src 0xc8a309be
- #define clk_csi1phytimer_clk_src 0x7c0fe23a
- #define clk_csi2phytimer_clk_src 0x62ffea9c
- #define clk_crypto_clk_src 0x37a21414
- #define clk_gp1_clk_src 0xad85b97a
- #define clk_gp2_clk_src 0xfb1f0065
- #define clk_gp3_clk_src 0x63b693d6
- #define clk_byte0_clk_src 0x75cc885b
- #define clk_ext_byte0_clk_src 0xfb32f31e
- #define clk_byte1_clk_src 0x63c2c955
- #define clk_ext_byte1_clk_src 0x585ef6d4
- #define clk_esc0_clk_src 0xb41d7c38
- #define clk_esc1_clk_src 0x3b0afa42
- #define clk_vsync_clk_src 0xecb43940
- #define clk_pdm2_clk_src 0x31e494fd
- #define clk_rbcpr_gfx_clk_src 0x37f04b53
- #define clk_sdcc1_apps_clk_src 0xd4975db2
- #define clk_sdcc1_ice_core_clk_src 0xfd6a4301
- #define clk_sdcc2_apps_clk_src 0xfc46c821
- #define clk_usb30_mock_utmi_clk_src 0xa024a976
- #define clk_usb3_aux_clk_src 0xfde7ae09
- #define clk_usb3_pipe_clk_src 0x8b922db4
- #define clk_gcc_apc0_droop_detector_gpll0_clk 0x514e25ca
- #define clk_gcc_apc1_droop_detector_gpll0_clk 0x0c9c03ee
- #define clk_gcc_blsp1_qup1_i2c_apps_clk 0xc303fae9
- #define clk_gcc_blsp1_qup1_spi_apps_clk 0x759a76b0
- #define clk_gcc_blsp1_qup2_i2c_apps_clk 0x1076f220
- #define clk_gcc_blsp1_qup2_spi_apps_clk 0x3e77d48f
- #define clk_gcc_blsp1_qup3_i2c_apps_clk 0x9e25ac82
- #define clk_gcc_blsp1_qup3_spi_apps_clk 0xfb978880
- #define clk_gcc_blsp1_qup4_i2c_apps_clk 0xd7f40f6f
- #define clk_gcc_blsp1_qup4_spi_apps_clk 0x80f8722f
- #define clk_gcc_blsp1_uart1_apps_clk 0xc7c62f90
- #define clk_gcc_blsp1_uart2_apps_clk 0xf8a61c96
- #define clk_gcc_blsp2_qup1_i2c_apps_clk 0x9ace11dd
- #define clk_gcc_blsp2_qup1_spi_apps_clk 0xa32604cc
- #define clk_gcc_blsp2_qup2_i2c_apps_clk 0x1bf9a57e
- #define clk_gcc_blsp2_qup2_spi_apps_clk 0xbf54ca6d
- #define clk_gcc_blsp2_qup3_i2c_apps_clk 0x336d4170
- #define clk_gcc_blsp2_qup3_spi_apps_clk 0xc68509d6
- #define clk_gcc_blsp2_qup4_i2c_apps_clk 0xbd22539d
- #define clk_gcc_blsp2_qup4_spi_apps_clk 0x01a72b93
- #define clk_gcc_blsp2_uart1_apps_clk 0x8c3512ff
- #define clk_gcc_blsp2_uart2_apps_clk 0x1e1965a3
- #define clk_gcc_camss_cci_ahb_clk 0xa81c11ba
- #define clk_gcc_camss_cci_clk 0xb7dd8824
- #define clk_gcc_camss_cpp_ahb_clk 0x4ac95e14
- #define clk_gcc_camss_cpp_axi_clk 0xbbf73861
- #define clk_gcc_camss_cpp_clk 0x7118a0de
- #define clk_gcc_camss_csi0_ahb_clk 0x175d672a
- #define clk_gcc_camss_csi0_clk 0x6b01b3e1
- #define clk_gcc_camss_csi0_csiphy_3p_clk 0x6a23bd3d
- #define clk_gcc_camss_csi0phy_clk 0x06a41ff7
- #define clk_gcc_camss_csi0pix_clk 0x61a8a930
- #define clk_gcc_camss_csi0rdi_clk 0x7053c7ae
- #define clk_gcc_camss_csi1_ahb_clk 0x2c2dc261
- #define clk_gcc_camss_csi1_clk 0x1aba4a8c
- #define clk_gcc_camss_csi1_csiphy_3p_clk 0x7d45d937
- #define clk_gcc_camss_csi1phy_clk 0x0fd1d1fa
- #define clk_gcc_camss_csi1pix_clk 0x87fc98d8
- #define clk_gcc_camss_csi1rdi_clk 0x6ac996fe
- #define clk_gcc_camss_csi2_ahb_clk 0xf3f25940
- #define clk_gcc_camss_csi2_clk 0xb6857fa2
- #define clk_gcc_camss_csi2_csiphy_3p_clk 0x27d7be82
- #define clk_gcc_camss_csi2phy_clk 0xbeeffbcd
- #define clk_gcc_camss_csi2pix_clk 0xa619561a
- #define clk_gcc_camss_csi2rdi_clk 0x019fd3f1
- #define clk_gcc_camss_csi_vfe0_clk 0xcc73453c
- #define clk_gcc_camss_csi_vfe1_clk 0xb1ef6e8b
- #define clk_gcc_camss_gp0_clk 0xd2bc3892
- #define clk_gcc_camss_gp1_clk 0xe4c013e1
- #define clk_gcc_camss_ispif_ahb_clk 0x3c0a858f
- #define clk_gcc_camss_jpeg0_clk 0x1ed3f032
- #define clk_gcc_camss_jpeg_ahb_clk 0x3bfa7603
- #define clk_gcc_camss_jpeg_axi_clk 0x3e278896
- #define clk_gcc_camss_mclk0_clk 0x80902deb
- #define clk_gcc_camss_mclk1_clk 0x5002d85f
- #define clk_gcc_camss_mclk2_clk 0x222f8fff
- #define clk_gcc_camss_mclk3_clk 0x73802c85
- #define clk_gcc_camss_micro_ahb_clk 0xfbbee8cf
- #define clk_gcc_camss_csi0phytimer_clk 0xf8897589
- #define clk_gcc_camss_csi1phytimer_clk 0x4d26438f
- #define clk_gcc_camss_csi2phytimer_clk 0xe768898c
- #define clk_gcc_camss_ahb_clk 0x9894b414
- #define clk_gcc_camss_top_ahb_clk 0x4e814a78
- #define clk_gcc_camss_vfe0_clk 0xaaa3cd97
- #define clk_gcc_camss_vfe_ahb_clk 0x4050f47a
- #define clk_gcc_camss_vfe_axi_clk 0x77fe2384
- #define clk_gcc_camss_vfe1_ahb_clk 0x634a738a
- #define clk_gcc_camss_vfe1_axi_clk 0xaf7463b3
- #define clk_gcc_camss_vfe1_clk 0xcaf20d99
- #define clk_gcc_dcc_clk 0xd1000c50
- #define clk_gcc_gp1_clk 0x057f7b69
- #define clk_gcc_gp2_clk 0x9bf83ffd
- #define clk_gcc_gp3_clk 0xec6539ee
- #define clk_gcc_mdss_ahb_clk 0xbfb92ed3
- #define clk_gcc_mdss_axi_clk 0x668f51de
- #define clk_gcc_mdss_byte0_clk 0x35da7862
- #define clk_gcc_mdss_byte1_clk 0x41f97fd8
- #define clk_gcc_mdss_esc0_clk 0xaec5cb25
- #define clk_gcc_mdss_esc1_clk 0x34653cc7
- #define clk_gcc_mdss_mdp_clk 0x22f3521f
- #define clk_gcc_mdss_pclk0_clk 0xcc5c5c77
- #define clk_gcc_mdss_pclk1_clk 0x9a9c430d
- #define clk_gcc_mdss_vsync_clk 0x32a09f1f
- #define clk_gcc_mss_cfg_ahb_clk 0x111cde81
- #define clk_gcc_mss_q6_bimc_axi_clk 0x67544d62
- #define clk_gcc_bimc_gfx_clk 0x3edd69ad
- #define clk_gcc_bimc_gpu_clk 0x19922503
- #define clk_gcc_oxili_ahb_clk 0xd15c8a00
- #define clk_gcc_oxili_aon_clk 0xae18e54d
- #define clk_gcc_oxili_gfx3d_clk 0x49a51fd9
- #define clk_gcc_oxili_timer_clk 0x1180db06
- #define clk_gcc_pcnoc_usb3_axi_clk 0xf7f4b314
- #define clk_gcc_pdm2_clk 0x99d55711
- #define clk_gcc_pdm_ahb_clk 0x365664f6
- #define clk_gcc_rbcpr_gfx_clk 0x20c0af83
- #define clk_gcc_sdcc1_ahb_clk 0x691e0caa
- #define clk_gcc_sdcc1_apps_clk 0x9ad6fb96
- #define clk_gcc_sdcc1_ice_core_clk 0x0fd5680a
- #define clk_gcc_sdcc2_ahb_clk 0x23d5727f
- #define clk_gcc_sdcc2_apps_clk 0x861b20ac
- #define clk_gcc_usb30_master_clk 0xb3b4e2cb
- #define clk_gcc_usb30_mock_utmi_clk 0xa800b65a
- #define clk_gcc_usb30_sleep_clk 0xd0b65c92
- #define clk_gcc_usb3_aux_clk 0x555d16b2
- #define clk_gcc_usb_phy_cfg_ahb_clk 0xccb7e26f
- #define clk_gcc_venus0_ahb_clk 0x08d778c6
- #define clk_gcc_venus0_axi_clk 0xcdf4c8f6
- #define clk_gcc_venus0_core0_vcodec0_clk 0x83a7f549
- #define clk_gcc_venus0_vcodec0_clk 0xf76a02bb
- #define clk_gcc_qusb_ref_clk 0x16e35a90
- #define clk_gcc_usb_ss_ref_clk 0xb85dadfa
- #define clk_gcc_usb3_pipe_clk 0x26f8a97a
- #define clk_gcc_qusb2_phy_reset 0x3ce5fa84
- #define clk_gcc_usb3_phy_reset 0x03d559f1
- #define clk_gcc_usb3phy_phy_reset 0xb1a4f885
- #define clk_bb_clk1 0xf5304268
- #define clk_bb_clk1_a 0xfa113810
- #define clk_bb_clk1_pin 0x6dd0a779
- #define clk_bb_clk1_a_pin 0x9b637772
- #define clk_bb_clk2 0xfe15cb87
- #define clk_bb_clk2_a 0x59682706
- #define clk_bb_clk2_pin 0x498938e5
- #define clk_bb_clk2_a_pin 0x52513787
- #define clk_rf_clk2 0x24a30992
- #define clk_rf_clk2_a 0x944d8bbd
- #define clk_rf_clk3 0xb673936b
- #define clk_rf_clk3_a 0xf7975f21
- #define clk_div_clk2 0xd454019f
- #define clk_div_clk2_a 0x4bd7bfa8
- /* clock_debug controlled clocks */
- #define clk_gcc_debug_mux 0x8121ac15
- #define clk_wcnss_m_clk 0x709f430b
- #define clk_apcs_hf_pll 0x8fef0444
- #define clk_apcs_hf_pll_main 0xef871ccf
- #define clk_ccissmux 0x839fb2ef
- #define clk_a53_perf_clk 0xa0a0dc7f
- #define clk_a53_pwr_clk 0x2e6af930
- #define clk_a53ssmux_pwr 0x48a50c99
- #define clk_a53ssmux_perf 0x154acbc9
- #define clk_cci_clk 0x96854074
- #define clk_apc0_m_clk 0xce1e9473
- #define clk_apc1_m_clk 0x990fbaf7
- #define clk_cci_m_clk 0xec7e8afc
- #define clk_apss_debug_pri_mux 0xc691ff55
- #define clk_cpu_debug_pri_mux 0x61a2945f
- #define clk_debug_cpu_clk 0x0e696b2b
- #define clk_apcs_c0_pll 0xfbc57bbd
- #define clk_apcs_c1_pll 0x17d32f1e
- #define clk_apcs_cci_pll 0x09affb3c
- #define clk_a53ssmux_cci 0x15560bd5
- #define clk_perf_cpussmux 0xe6532496
- #define clk_pwr_cpussmux 0xde339cf1
- #define clk_cci_cpussmux 0xcaeb1b94
- #define clk_pwr_clk 0x9283a6d8
- #define clk_perf_clk 0x98d6ee40
- #define clk_a53_cci_clk 0x4cdbbe58
- #define clk_audio_ap_clk 0x312ac429
- #define clk_audio_pmi_clk 0xb7ba2274
- #define clk_audio_ap_clk2 0xf0fbaf5b
- /* external multimedia clocks */
- #define clk_dsi0pll_pixel_clk_mux 0x792379e1
- #define clk_dsi0pll_byte_clk_mux 0x60e83f06
- #define clk_dsi0pll_byte_clk_src 0xbbaa30be
- #define clk_dsi0pll_pixel_clk_src 0x45b3260f
- #define clk_dsi0pll_n2_div_clk 0x1474c213
- #define clk_dsi0pll_post_n1_div_clk 0xdab8c389
- #define clk_dsi0pll_vco_clk 0x15940d40
- #define clk_dsi1pll_pixel_clk_mux 0x36458019
- #define clk_dsi1pll_byte_clk_mux 0xb5a42b7b
- #define clk_dsi1pll_byte_clk_src 0x63930a8f
- #define clk_dsi1pll_pixel_clk_src 0x0e4c9b56
- #define clk_dsi1pll_n2_div_clk 0x2c9d4007
- #define clk_dsi1pll_post_n1_div_clk 0x03020041
- #define clk_dsi1pll_vco_clk 0x99797b50
- #define clk_mdss_dsi1_vco_clk_src 0xfcd15658
- #define clk_dsi0pll_shadow_byte_clk_src 0x177c029c
- #define clk_dsi0pll_shadow_pixel_clk_src 0x98ae3c92
- #define clk_dsi1pll_shadow_byte_clk_src 0xfc021ce5
- #define clk_dsi1pll_shadow_pixel_clk_src 0xdcca3ffc
- /* GCC block resets */
- #define GCC_QUSB2_PHY_BCR 0
- #define GCC_USB3_PHY_BCR 1
- #define GCC_USB3PHY_PHY_BCR 2
- #define GCC_USB_30_BCR 3
- #define GCC_CAMSS_MICRO_BCR 4
- #endif
|