18c2ecf20Sopenharmony_ci/* Copyright (c) 2015 The Linux Foundation. All rights reserved. 28c2ecf20Sopenharmony_ci * 38c2ecf20Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any 48c2ecf20Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above 58c2ecf20Sopenharmony_ci * copyright notice and this permission notice appear in all copies. 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 88c2ecf20Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 98c2ecf20Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 108c2ecf20Sopenharmony_ci * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 118c2ecf20Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 128c2ecf20Sopenharmony_ci * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 138c2ecf20Sopenharmony_ci * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 148c2ecf20Sopenharmony_ci * 158c2ecf20Sopenharmony_ci */ 168c2ecf20Sopenharmony_ci#ifndef __QCOM_CLK_IPQ4019_H__ 178c2ecf20Sopenharmony_ci#define __QCOM_CLK_IPQ4019_H__ 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#define GCC_DUMMY_CLK 0 208c2ecf20Sopenharmony_ci#define AUDIO_CLK_SRC 1 218c2ecf20Sopenharmony_ci#define BLSP1_QUP1_I2C_APPS_CLK_SRC 2 228c2ecf20Sopenharmony_ci#define BLSP1_QUP1_SPI_APPS_CLK_SRC 3 238c2ecf20Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC 4 248c2ecf20Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC 5 258c2ecf20Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC 6 268c2ecf20Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC 7 278c2ecf20Sopenharmony_ci#define GCC_USB3_MOCK_UTMI_CLK_SRC 8 288c2ecf20Sopenharmony_ci#define GCC_APPS_CLK_SRC 9 298c2ecf20Sopenharmony_ci#define GCC_APPS_AHB_CLK_SRC 10 308c2ecf20Sopenharmony_ci#define GP1_CLK_SRC 11 318c2ecf20Sopenharmony_ci#define GP2_CLK_SRC 12 328c2ecf20Sopenharmony_ci#define GP3_CLK_SRC 13 338c2ecf20Sopenharmony_ci#define SDCC1_APPS_CLK_SRC 14 348c2ecf20Sopenharmony_ci#define FEPHY_125M_DLY_CLK_SRC 15 358c2ecf20Sopenharmony_ci#define WCSS2G_CLK_SRC 16 368c2ecf20Sopenharmony_ci#define WCSS5G_CLK_SRC 17 378c2ecf20Sopenharmony_ci#define GCC_APSS_AHB_CLK 18 388c2ecf20Sopenharmony_ci#define GCC_AUDIO_AHB_CLK 19 398c2ecf20Sopenharmony_ci#define GCC_AUDIO_PWM_CLK 20 408c2ecf20Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 21 418c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK 22 428c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK 23 438c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 24 448c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 25 458c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 26 468c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 27 478c2ecf20Sopenharmony_ci#define GCC_DCD_XO_CLK 28 488c2ecf20Sopenharmony_ci#define GCC_GP1_CLK 29 498c2ecf20Sopenharmony_ci#define GCC_GP2_CLK 30 508c2ecf20Sopenharmony_ci#define GCC_GP3_CLK 31 518c2ecf20Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 32 528c2ecf20Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK 33 538c2ecf20Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK 34 548c2ecf20Sopenharmony_ci#define GCC_CRYPTO_CLK 35 558c2ecf20Sopenharmony_ci#define GCC_ESS_CLK 36 568c2ecf20Sopenharmony_ci#define GCC_IMEM_AXI_CLK 37 578c2ecf20Sopenharmony_ci#define GCC_IMEM_CFG_AHB_CLK 38 588c2ecf20Sopenharmony_ci#define GCC_PCIE_AHB_CLK 39 598c2ecf20Sopenharmony_ci#define GCC_PCIE_AXI_M_CLK 40 608c2ecf20Sopenharmony_ci#define GCC_PCIE_AXI_S_CLK 41 618c2ecf20Sopenharmony_ci#define GCC_PCNOC_AHB_CLK 42 628c2ecf20Sopenharmony_ci#define GCC_PRNG_AHB_CLK 43 638c2ecf20Sopenharmony_ci#define GCC_QPIC_AHB_CLK 44 648c2ecf20Sopenharmony_ci#define GCC_QPIC_CLK 45 658c2ecf20Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 46 668c2ecf20Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 47 678c2ecf20Sopenharmony_ci#define GCC_SNOC_PCNOC_AHB_CLK 48 688c2ecf20Sopenharmony_ci#define GCC_SYS_NOC_125M_CLK 49 698c2ecf20Sopenharmony_ci#define GCC_SYS_NOC_AXI_CLK 50 708c2ecf20Sopenharmony_ci#define GCC_TCSR_AHB_CLK 51 718c2ecf20Sopenharmony_ci#define GCC_TLMM_AHB_CLK 52 728c2ecf20Sopenharmony_ci#define GCC_USB2_MASTER_CLK 53 738c2ecf20Sopenharmony_ci#define GCC_USB2_SLEEP_CLK 54 748c2ecf20Sopenharmony_ci#define GCC_USB2_MOCK_UTMI_CLK 55 758c2ecf20Sopenharmony_ci#define GCC_USB3_MASTER_CLK 56 768c2ecf20Sopenharmony_ci#define GCC_USB3_SLEEP_CLK 57 778c2ecf20Sopenharmony_ci#define GCC_USB3_MOCK_UTMI_CLK 58 788c2ecf20Sopenharmony_ci#define GCC_WCSS2G_CLK 59 798c2ecf20Sopenharmony_ci#define GCC_WCSS2G_REF_CLK 60 808c2ecf20Sopenharmony_ci#define GCC_WCSS2G_RTC_CLK 61 818c2ecf20Sopenharmony_ci#define GCC_WCSS5G_CLK 62 828c2ecf20Sopenharmony_ci#define GCC_WCSS5G_REF_CLK 63 838c2ecf20Sopenharmony_ci#define GCC_WCSS5G_RTC_CLK 64 848c2ecf20Sopenharmony_ci#define GCC_APSS_DDRPLL_VCO 65 858c2ecf20Sopenharmony_ci#define GCC_SDCC_PLLDIV_CLK 66 868c2ecf20Sopenharmony_ci#define GCC_FEPLL_VCO 67 878c2ecf20Sopenharmony_ci#define GCC_FEPLL125_CLK 68 888c2ecf20Sopenharmony_ci#define GCC_FEPLL125DLY_CLK 69 898c2ecf20Sopenharmony_ci#define GCC_FEPLL200_CLK 70 908c2ecf20Sopenharmony_ci#define GCC_FEPLL500_CLK 71 918c2ecf20Sopenharmony_ci#define GCC_FEPLL_WCSS2G_CLK 72 928c2ecf20Sopenharmony_ci#define GCC_FEPLL_WCSS5G_CLK 73 938c2ecf20Sopenharmony_ci#define GCC_APSS_CPU_PLLDIV_CLK 74 948c2ecf20Sopenharmony_ci#define GCC_PCNOC_AHB_CLK_SRC 75 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_ci#define WIFI0_CPU_INIT_RESET 0 978c2ecf20Sopenharmony_ci#define WIFI0_RADIO_SRIF_RESET 1 988c2ecf20Sopenharmony_ci#define WIFI0_RADIO_WARM_RESET 2 998c2ecf20Sopenharmony_ci#define WIFI0_RADIO_COLD_RESET 3 1008c2ecf20Sopenharmony_ci#define WIFI0_CORE_WARM_RESET 4 1018c2ecf20Sopenharmony_ci#define WIFI0_CORE_COLD_RESET 5 1028c2ecf20Sopenharmony_ci#define WIFI1_CPU_INIT_RESET 6 1038c2ecf20Sopenharmony_ci#define WIFI1_RADIO_SRIF_RESET 7 1048c2ecf20Sopenharmony_ci#define WIFI1_RADIO_WARM_RESET 8 1058c2ecf20Sopenharmony_ci#define WIFI1_RADIO_COLD_RESET 9 1068c2ecf20Sopenharmony_ci#define WIFI1_CORE_WARM_RESET 10 1078c2ecf20Sopenharmony_ci#define WIFI1_CORE_COLD_RESET 11 1088c2ecf20Sopenharmony_ci#define USB3_UNIPHY_PHY_ARES 12 1098c2ecf20Sopenharmony_ci#define USB3_HSPHY_POR_ARES 13 1108c2ecf20Sopenharmony_ci#define USB3_HSPHY_S_ARES 14 1118c2ecf20Sopenharmony_ci#define USB2_HSPHY_POR_ARES 15 1128c2ecf20Sopenharmony_ci#define USB2_HSPHY_S_ARES 16 1138c2ecf20Sopenharmony_ci#define PCIE_PHY_AHB_ARES 17 1148c2ecf20Sopenharmony_ci#define PCIE_AHB_ARES 18 1158c2ecf20Sopenharmony_ci#define PCIE_PWR_ARES 19 1168c2ecf20Sopenharmony_ci#define PCIE_PIPE_STICKY_ARES 20 1178c2ecf20Sopenharmony_ci#define PCIE_AXI_M_STICKY_ARES 21 1188c2ecf20Sopenharmony_ci#define PCIE_PHY_ARES 22 1198c2ecf20Sopenharmony_ci#define PCIE_PARF_XPU_ARES 23 1208c2ecf20Sopenharmony_ci#define PCIE_AXI_S_XPU_ARES 24 1218c2ecf20Sopenharmony_ci#define PCIE_AXI_M_VMIDMT_ARES 25 1228c2ecf20Sopenharmony_ci#define PCIE_PIPE_ARES 26 1238c2ecf20Sopenharmony_ci#define PCIE_AXI_S_ARES 27 1248c2ecf20Sopenharmony_ci#define PCIE_AXI_M_ARES 28 1258c2ecf20Sopenharmony_ci#define ESS_RESET 29 1268c2ecf20Sopenharmony_ci#define GCC_BLSP1_BCR 30 1278c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP1_BCR 31 1288c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART1_BCR 32 1298c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP2_BCR 33 1308c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART2_BCR 34 1318c2ecf20Sopenharmony_ci#define GCC_BIMC_BCR 35 1328c2ecf20Sopenharmony_ci#define GCC_TLMM_BCR 36 1338c2ecf20Sopenharmony_ci#define GCC_IMEM_BCR 37 1348c2ecf20Sopenharmony_ci#define GCC_ESS_BCR 38 1358c2ecf20Sopenharmony_ci#define GCC_PRNG_BCR 39 1368c2ecf20Sopenharmony_ci#define GCC_BOOT_ROM_BCR 40 1378c2ecf20Sopenharmony_ci#define GCC_CRYPTO_BCR 41 1388c2ecf20Sopenharmony_ci#define GCC_SDCC1_BCR 42 1398c2ecf20Sopenharmony_ci#define GCC_SEC_CTRL_BCR 43 1408c2ecf20Sopenharmony_ci#define GCC_AUDIO_BCR 44 1418c2ecf20Sopenharmony_ci#define GCC_QPIC_BCR 45 1428c2ecf20Sopenharmony_ci#define GCC_PCIE_BCR 46 1438c2ecf20Sopenharmony_ci#define GCC_USB2_BCR 47 1448c2ecf20Sopenharmony_ci#define GCC_USB2_PHY_BCR 48 1458c2ecf20Sopenharmony_ci#define GCC_USB3_BCR 49 1468c2ecf20Sopenharmony_ci#define GCC_USB3_PHY_BCR 50 1478c2ecf20Sopenharmony_ci#define GCC_SYSTEM_NOC_BCR 51 1488c2ecf20Sopenharmony_ci#define GCC_PCNOC_BCR 52 1498c2ecf20Sopenharmony_ci#define GCC_DCD_BCR 53 1508c2ecf20Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT0_BCR 54 1518c2ecf20Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT1_BCR 55 1528c2ecf20Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT2_BCR 56 1538c2ecf20Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT3_BCR 57 1548c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT0_BCR 58 1558c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT1_BCR 59 1568c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT2_BCR 60 1578c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT3_BCR 61 1588c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT4_BCR 62 1598c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT5_BCR 63 1608c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT6_BCR 64 1618c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT7_BCR 65 1628c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT8_BCR 66 1638c2ecf20Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT9_BCR 67 1648c2ecf20Sopenharmony_ci#define GCC_TCSR_BCR 68 1658c2ecf20Sopenharmony_ci#define GCC_QDSS_BCR 69 1668c2ecf20Sopenharmony_ci#define GCC_MPM_BCR 70 1678c2ecf20Sopenharmony_ci#define GCC_SPDM_BCR 71 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci#endif 170