18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright 2015 Linaro Limited 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_GCC_8916_H 78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_GCC_8916_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define GPLL0 0 108c2ecf20Sopenharmony_ci#define GPLL0_VOTE 1 118c2ecf20Sopenharmony_ci#define BIMC_PLL 2 128c2ecf20Sopenharmony_ci#define BIMC_PLL_VOTE 3 138c2ecf20Sopenharmony_ci#define GPLL1 4 148c2ecf20Sopenharmony_ci#define GPLL1_VOTE 5 158c2ecf20Sopenharmony_ci#define GPLL2 6 168c2ecf20Sopenharmony_ci#define GPLL2_VOTE 7 178c2ecf20Sopenharmony_ci#define PCNOC_BFDCD_CLK_SRC 8 188c2ecf20Sopenharmony_ci#define SYSTEM_NOC_BFDCD_CLK_SRC 9 198c2ecf20Sopenharmony_ci#define CAMSS_AHB_CLK_SRC 10 208c2ecf20Sopenharmony_ci#define APSS_AHB_CLK_SRC 11 218c2ecf20Sopenharmony_ci#define CSI0_CLK_SRC 12 228c2ecf20Sopenharmony_ci#define CSI1_CLK_SRC 13 238c2ecf20Sopenharmony_ci#define GFX3D_CLK_SRC 14 248c2ecf20Sopenharmony_ci#define VFE0_CLK_SRC 15 258c2ecf20Sopenharmony_ci#define BLSP1_QUP1_I2C_APPS_CLK_SRC 16 268c2ecf20Sopenharmony_ci#define BLSP1_QUP1_SPI_APPS_CLK_SRC 17 278c2ecf20Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC 18 288c2ecf20Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC 19 298c2ecf20Sopenharmony_ci#define BLSP1_QUP3_I2C_APPS_CLK_SRC 20 308c2ecf20Sopenharmony_ci#define BLSP1_QUP3_SPI_APPS_CLK_SRC 21 318c2ecf20Sopenharmony_ci#define BLSP1_QUP4_I2C_APPS_CLK_SRC 22 328c2ecf20Sopenharmony_ci#define BLSP1_QUP4_SPI_APPS_CLK_SRC 23 338c2ecf20Sopenharmony_ci#define BLSP1_QUP5_I2C_APPS_CLK_SRC 24 348c2ecf20Sopenharmony_ci#define BLSP1_QUP5_SPI_APPS_CLK_SRC 25 358c2ecf20Sopenharmony_ci#define BLSP1_QUP6_I2C_APPS_CLK_SRC 26 368c2ecf20Sopenharmony_ci#define BLSP1_QUP6_SPI_APPS_CLK_SRC 27 378c2ecf20Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC 28 388c2ecf20Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC 29 398c2ecf20Sopenharmony_ci#define CCI_CLK_SRC 30 408c2ecf20Sopenharmony_ci#define CAMSS_GP0_CLK_SRC 31 418c2ecf20Sopenharmony_ci#define CAMSS_GP1_CLK_SRC 32 428c2ecf20Sopenharmony_ci#define JPEG0_CLK_SRC 33 438c2ecf20Sopenharmony_ci#define MCLK0_CLK_SRC 34 448c2ecf20Sopenharmony_ci#define MCLK1_CLK_SRC 35 458c2ecf20Sopenharmony_ci#define CSI0PHYTIMER_CLK_SRC 36 468c2ecf20Sopenharmony_ci#define CSI1PHYTIMER_CLK_SRC 37 478c2ecf20Sopenharmony_ci#define CPP_CLK_SRC 38 488c2ecf20Sopenharmony_ci#define CRYPTO_CLK_SRC 39 498c2ecf20Sopenharmony_ci#define GP1_CLK_SRC 40 508c2ecf20Sopenharmony_ci#define GP2_CLK_SRC 41 518c2ecf20Sopenharmony_ci#define GP3_CLK_SRC 42 528c2ecf20Sopenharmony_ci#define BYTE0_CLK_SRC 43 538c2ecf20Sopenharmony_ci#define ESC0_CLK_SRC 44 548c2ecf20Sopenharmony_ci#define MDP_CLK_SRC 45 558c2ecf20Sopenharmony_ci#define PCLK0_CLK_SRC 46 568c2ecf20Sopenharmony_ci#define VSYNC_CLK_SRC 47 578c2ecf20Sopenharmony_ci#define PDM2_CLK_SRC 48 588c2ecf20Sopenharmony_ci#define SDCC1_APPS_CLK_SRC 49 598c2ecf20Sopenharmony_ci#define SDCC2_APPS_CLK_SRC 50 608c2ecf20Sopenharmony_ci#define APSS_TCU_CLK_SRC 51 618c2ecf20Sopenharmony_ci#define USB_HS_SYSTEM_CLK_SRC 52 628c2ecf20Sopenharmony_ci#define VCODEC0_CLK_SRC 53 638c2ecf20Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 54 648c2ecf20Sopenharmony_ci#define GCC_BLSP1_SLEEP_CLK 55 658c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK 56 668c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK 57 678c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 58 688c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 59 698c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK 60 708c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK 61 718c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK 62 728c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK 63 738c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP5_I2C_APPS_CLK 64 748c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP5_SPI_APPS_CLK 65 758c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP6_I2C_APPS_CLK 66 768c2ecf20Sopenharmony_ci#define GCC_BLSP1_QUP6_SPI_APPS_CLK 67 778c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 68 788c2ecf20Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 69 798c2ecf20Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 70 808c2ecf20Sopenharmony_ci#define GCC_CAMSS_CCI_AHB_CLK 71 818c2ecf20Sopenharmony_ci#define GCC_CAMSS_CCI_CLK 72 828c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0_AHB_CLK 73 838c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0_CLK 74 848c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0PHY_CLK 75 858c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0PIX_CLK 76 868c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0RDI_CLK 77 878c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1_AHB_CLK 78 888c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1_CLK 79 898c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1PHY_CLK 80 908c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1PIX_CLK 81 918c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1RDI_CLK 82 928c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI_VFE0_CLK 83 938c2ecf20Sopenharmony_ci#define GCC_CAMSS_GP0_CLK 84 948c2ecf20Sopenharmony_ci#define GCC_CAMSS_GP1_CLK 85 958c2ecf20Sopenharmony_ci#define GCC_CAMSS_ISPIF_AHB_CLK 86 968c2ecf20Sopenharmony_ci#define GCC_CAMSS_JPEG0_CLK 87 978c2ecf20Sopenharmony_ci#define GCC_CAMSS_JPEG_AHB_CLK 88 988c2ecf20Sopenharmony_ci#define GCC_CAMSS_JPEG_AXI_CLK 89 998c2ecf20Sopenharmony_ci#define GCC_CAMSS_MCLK0_CLK 90 1008c2ecf20Sopenharmony_ci#define GCC_CAMSS_MCLK1_CLK 91 1018c2ecf20Sopenharmony_ci#define GCC_CAMSS_MICRO_AHB_CLK 92 1028c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI0PHYTIMER_CLK 93 1038c2ecf20Sopenharmony_ci#define GCC_CAMSS_CSI1PHYTIMER_CLK 94 1048c2ecf20Sopenharmony_ci#define GCC_CAMSS_AHB_CLK 95 1058c2ecf20Sopenharmony_ci#define GCC_CAMSS_TOP_AHB_CLK 96 1068c2ecf20Sopenharmony_ci#define GCC_CAMSS_CPP_AHB_CLK 97 1078c2ecf20Sopenharmony_ci#define GCC_CAMSS_CPP_CLK 98 1088c2ecf20Sopenharmony_ci#define GCC_CAMSS_VFE0_CLK 99 1098c2ecf20Sopenharmony_ci#define GCC_CAMSS_VFE_AHB_CLK 100 1108c2ecf20Sopenharmony_ci#define GCC_CAMSS_VFE_AXI_CLK 101 1118c2ecf20Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK 102 1128c2ecf20Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK 103 1138c2ecf20Sopenharmony_ci#define GCC_CRYPTO_CLK 104 1148c2ecf20Sopenharmony_ci#define GCC_OXILI_GMEM_CLK 105 1158c2ecf20Sopenharmony_ci#define GCC_GP1_CLK 106 1168c2ecf20Sopenharmony_ci#define GCC_GP2_CLK 107 1178c2ecf20Sopenharmony_ci#define GCC_GP3_CLK 108 1188c2ecf20Sopenharmony_ci#define GCC_MDSS_AHB_CLK 109 1198c2ecf20Sopenharmony_ci#define GCC_MDSS_AXI_CLK 110 1208c2ecf20Sopenharmony_ci#define GCC_MDSS_BYTE0_CLK 111 1218c2ecf20Sopenharmony_ci#define GCC_MDSS_ESC0_CLK 112 1228c2ecf20Sopenharmony_ci#define GCC_MDSS_MDP_CLK 113 1238c2ecf20Sopenharmony_ci#define GCC_MDSS_PCLK0_CLK 114 1248c2ecf20Sopenharmony_ci#define GCC_MDSS_VSYNC_CLK 115 1258c2ecf20Sopenharmony_ci#define GCC_MSS_CFG_AHB_CLK 116 1268c2ecf20Sopenharmony_ci#define GCC_OXILI_AHB_CLK 117 1278c2ecf20Sopenharmony_ci#define GCC_OXILI_GFX3D_CLK 118 1288c2ecf20Sopenharmony_ci#define GCC_PDM2_CLK 119 1298c2ecf20Sopenharmony_ci#define GCC_PDM_AHB_CLK 120 1308c2ecf20Sopenharmony_ci#define GCC_PRNG_AHB_CLK 121 1318c2ecf20Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 122 1328c2ecf20Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 123 1338c2ecf20Sopenharmony_ci#define GCC_SDCC2_AHB_CLK 124 1348c2ecf20Sopenharmony_ci#define GCC_SDCC2_APPS_CLK 125 1358c2ecf20Sopenharmony_ci#define GCC_GTCU_AHB_CLK 126 1368c2ecf20Sopenharmony_ci#define GCC_JPEG_TBU_CLK 127 1378c2ecf20Sopenharmony_ci#define GCC_MDP_TBU_CLK 128 1388c2ecf20Sopenharmony_ci#define GCC_SMMU_CFG_CLK 129 1398c2ecf20Sopenharmony_ci#define GCC_VENUS_TBU_CLK 130 1408c2ecf20Sopenharmony_ci#define GCC_VFE_TBU_CLK 131 1418c2ecf20Sopenharmony_ci#define GCC_USB2A_PHY_SLEEP_CLK 132 1428c2ecf20Sopenharmony_ci#define GCC_USB_HS_AHB_CLK 133 1438c2ecf20Sopenharmony_ci#define GCC_USB_HS_SYSTEM_CLK 134 1448c2ecf20Sopenharmony_ci#define GCC_VENUS0_AHB_CLK 135 1458c2ecf20Sopenharmony_ci#define GCC_VENUS0_AXI_CLK 136 1468c2ecf20Sopenharmony_ci#define GCC_VENUS0_VCODEC0_CLK 137 1478c2ecf20Sopenharmony_ci#define BIMC_DDR_CLK_SRC 138 1488c2ecf20Sopenharmony_ci#define GCC_APSS_TCU_CLK 139 1498c2ecf20Sopenharmony_ci#define GCC_GFX_TCU_CLK 140 1508c2ecf20Sopenharmony_ci#define BIMC_GPU_CLK_SRC 141 1518c2ecf20Sopenharmony_ci#define GCC_BIMC_GFX_CLK 142 1528c2ecf20Sopenharmony_ci#define GCC_BIMC_GPU_CLK 143 1538c2ecf20Sopenharmony_ci#define ULTAUDIO_LPAIF_PRI_I2S_CLK_SRC 144 1548c2ecf20Sopenharmony_ci#define ULTAUDIO_LPAIF_SEC_I2S_CLK_SRC 145 1558c2ecf20Sopenharmony_ci#define ULTAUDIO_LPAIF_AUX_I2S_CLK_SRC 146 1568c2ecf20Sopenharmony_ci#define ULTAUDIO_XO_CLK_SRC 147 1578c2ecf20Sopenharmony_ci#define ULTAUDIO_AHBFABRIC_CLK_SRC 148 1588c2ecf20Sopenharmony_ci#define CODEC_DIGCODEC_CLK_SRC 149 1598c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_PCNOC_MPORT_CLK 150 1608c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_PCNOC_SWAY_CLK 151 1618c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_AVSYNC_XO_CLK 152 1628c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_STC_XO_CLK 153 1638c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK 154 1648c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_LPM_CLK 155 1658c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK 156 1668c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK 157 1678c2ecf20Sopenharmony_ci#define GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK 158 1688c2ecf20Sopenharmony_ci#define GCC_CODEC_DIGCODEC_CLK 159 1698c2ecf20Sopenharmony_ci#define GCC_MSS_Q6_BIMC_AXI_CLK 160 1708c2ecf20Sopenharmony_ci 1718c2ecf20Sopenharmony_ci/* Indexes for GDSCs */ 1728c2ecf20Sopenharmony_ci#define BIMC_GDSC 0 1738c2ecf20Sopenharmony_ci#define VENUS_GDSC 1 1748c2ecf20Sopenharmony_ci#define MDSS_GDSC 2 1758c2ecf20Sopenharmony_ci#define JPEG_GDSC 3 1768c2ecf20Sopenharmony_ci#define VFE_GDSC 4 1778c2ecf20Sopenharmony_ci#define OXILI_GDSC 5 1788c2ecf20Sopenharmony_ci 1798c2ecf20Sopenharmony_ci#endif 180