162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_GCC_8917_H 462306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_GCC_8917_H 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci/* Clocks */ 762306a36Sopenharmony_ci#define APSS_AHB_CLK_SRC 0 862306a36Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC 1 962306a36Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC 2 1062306a36Sopenharmony_ci#define BLSP1_QUP3_I2C_APPS_CLK_SRC 3 1162306a36Sopenharmony_ci#define BLSP1_QUP3_SPI_APPS_CLK_SRC 4 1262306a36Sopenharmony_ci#define BLSP1_QUP4_I2C_APPS_CLK_SRC 5 1362306a36Sopenharmony_ci#define BLSP1_QUP4_SPI_APPS_CLK_SRC 6 1462306a36Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC 7 1562306a36Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC 8 1662306a36Sopenharmony_ci#define BLSP2_QUP1_I2C_APPS_CLK_SRC 9 1762306a36Sopenharmony_ci#define BLSP2_QUP1_SPI_APPS_CLK_SRC 10 1862306a36Sopenharmony_ci#define BLSP2_QUP2_I2C_APPS_CLK_SRC 11 1962306a36Sopenharmony_ci#define BLSP2_QUP2_SPI_APPS_CLK_SRC 12 2062306a36Sopenharmony_ci#define BLSP2_QUP3_I2C_APPS_CLK_SRC 13 2162306a36Sopenharmony_ci#define BLSP2_QUP3_SPI_APPS_CLK_SRC 14 2262306a36Sopenharmony_ci#define BLSP2_UART1_APPS_CLK_SRC 15 2362306a36Sopenharmony_ci#define BLSP2_UART2_APPS_CLK_SRC 16 2462306a36Sopenharmony_ci#define BYTE0_CLK_SRC 17 2562306a36Sopenharmony_ci#define CAMSS_GP0_CLK_SRC 18 2662306a36Sopenharmony_ci#define CAMSS_GP1_CLK_SRC 19 2762306a36Sopenharmony_ci#define CAMSS_TOP_AHB_CLK_SRC 20 2862306a36Sopenharmony_ci#define CCI_CLK_SRC 21 2962306a36Sopenharmony_ci#define CPP_CLK_SRC 22 3062306a36Sopenharmony_ci#define CRYPTO_CLK_SRC 23 3162306a36Sopenharmony_ci#define CSI0PHYTIMER_CLK_SRC 24 3262306a36Sopenharmony_ci#define CSI0_CLK_SRC 25 3362306a36Sopenharmony_ci#define CSI1PHYTIMER_CLK_SRC 26 3462306a36Sopenharmony_ci#define CSI1_CLK_SRC 27 3562306a36Sopenharmony_ci#define CSI2_CLK_SRC 28 3662306a36Sopenharmony_ci#define ESC0_CLK_SRC 29 3762306a36Sopenharmony_ci#define GCC_APSS_TCU_CLK 30 3862306a36Sopenharmony_ci#define GCC_BIMC_GFX_CLK 31 3962306a36Sopenharmony_ci#define GCC_BIMC_GPU_CLK 32 4062306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 33 4162306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 34 4262306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 35 4362306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK 36 4462306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK 37 4562306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK 38 4662306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK 39 4762306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 40 4862306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 41 4962306a36Sopenharmony_ci#define GCC_BLSP2_AHB_CLK 42 5062306a36Sopenharmony_ci#define GCC_BLSP2_QUP1_I2C_APPS_CLK 43 5162306a36Sopenharmony_ci#define GCC_BLSP2_QUP1_SPI_APPS_CLK 44 5262306a36Sopenharmony_ci#define GCC_BLSP2_QUP2_I2C_APPS_CLK 45 5362306a36Sopenharmony_ci#define GCC_BLSP2_QUP2_SPI_APPS_CLK 46 5462306a36Sopenharmony_ci#define GCC_BLSP2_QUP3_I2C_APPS_CLK 47 5562306a36Sopenharmony_ci#define GCC_BLSP2_QUP3_SPI_APPS_CLK 48 5662306a36Sopenharmony_ci#define GCC_BLSP2_UART1_APPS_CLK 49 5762306a36Sopenharmony_ci#define GCC_BLSP2_UART2_APPS_CLK 50 5862306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 51 5962306a36Sopenharmony_ci#define GCC_CAMSS_AHB_CLK 52 6062306a36Sopenharmony_ci#define GCC_CAMSS_CCI_AHB_CLK 53 6162306a36Sopenharmony_ci#define GCC_CAMSS_CCI_CLK 54 6262306a36Sopenharmony_ci#define GCC_CAMSS_CPP_AHB_CLK 55 6362306a36Sopenharmony_ci#define GCC_CAMSS_CPP_CLK 56 6462306a36Sopenharmony_ci#define GCC_CAMSS_CSI0PHYTIMER_CLK 57 6562306a36Sopenharmony_ci#define GCC_CAMSS_CSI0PHY_CLK 58 6662306a36Sopenharmony_ci#define GCC_CAMSS_CSI0PIX_CLK 59 6762306a36Sopenharmony_ci#define GCC_CAMSS_CSI0RDI_CLK 60 6862306a36Sopenharmony_ci#define GCC_CAMSS_CSI0_AHB_CLK 61 6962306a36Sopenharmony_ci#define GCC_CAMSS_CSI0_CLK 62 7062306a36Sopenharmony_ci#define GCC_CAMSS_CSI1PHYTIMER_CLK 63 7162306a36Sopenharmony_ci#define GCC_CAMSS_CSI1PHY_CLK 64 7262306a36Sopenharmony_ci#define GCC_CAMSS_CSI1PIX_CLK 65 7362306a36Sopenharmony_ci#define GCC_CAMSS_CSI1RDI_CLK 66 7462306a36Sopenharmony_ci#define GCC_CAMSS_CSI1_AHB_CLK 67 7562306a36Sopenharmony_ci#define GCC_CAMSS_CSI1_CLK 68 7662306a36Sopenharmony_ci#define GCC_CAMSS_CSI2PHY_CLK 69 7762306a36Sopenharmony_ci#define GCC_CAMSS_CSI2PIX_CLK 70 7862306a36Sopenharmony_ci#define GCC_CAMSS_CSI2RDI_CLK 71 7962306a36Sopenharmony_ci#define GCC_CAMSS_CSI2_AHB_CLK 72 8062306a36Sopenharmony_ci#define GCC_CAMSS_CSI2_CLK 73 8162306a36Sopenharmony_ci#define GCC_CAMSS_CSI_VFE0_CLK 74 8262306a36Sopenharmony_ci#define GCC_CAMSS_CSI_VFE1_CLK 75 8362306a36Sopenharmony_ci#define GCC_CAMSS_GP0_CLK 76 8462306a36Sopenharmony_ci#define GCC_CAMSS_GP1_CLK 77 8562306a36Sopenharmony_ci#define GCC_CAMSS_ISPIF_AHB_CLK 78 8662306a36Sopenharmony_ci#define GCC_CAMSS_JPEG0_CLK 79 8762306a36Sopenharmony_ci#define GCC_CAMSS_JPEG_AHB_CLK 80 8862306a36Sopenharmony_ci#define GCC_CAMSS_JPEG_AXI_CLK 81 8962306a36Sopenharmony_ci#define GCC_CAMSS_MCLK0_CLK 82 9062306a36Sopenharmony_ci#define GCC_CAMSS_MCLK1_CLK 83 9162306a36Sopenharmony_ci#define GCC_CAMSS_MCLK2_CLK 84 9262306a36Sopenharmony_ci#define GCC_CAMSS_MICRO_AHB_CLK 85 9362306a36Sopenharmony_ci#define GCC_CAMSS_TOP_AHB_CLK 86 9462306a36Sopenharmony_ci#define GCC_CAMSS_VFE0_AHB_CLK 87 9562306a36Sopenharmony_ci#define GCC_CAMSS_VFE0_AXI_CLK 88 9662306a36Sopenharmony_ci#define GCC_CAMSS_VFE0_CLK 89 9762306a36Sopenharmony_ci#define GCC_CAMSS_VFE1_AHB_CLK 90 9862306a36Sopenharmony_ci#define GCC_CAMSS_VFE1_AXI_CLK 91 9962306a36Sopenharmony_ci#define GCC_CAMSS_VFE1_CLK 92 10062306a36Sopenharmony_ci#define GCC_CPP_TBU_CLK 93 10162306a36Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK 94 10262306a36Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK 95 10362306a36Sopenharmony_ci#define GCC_CRYPTO_CLK 96 10462306a36Sopenharmony_ci#define GCC_DCC_CLK 97 10562306a36Sopenharmony_ci#define GCC_GFX_TBU_CLK 98 10662306a36Sopenharmony_ci#define GCC_GFX_TCU_CLK 99 10762306a36Sopenharmony_ci#define GCC_GP1_CLK 100 10862306a36Sopenharmony_ci#define GCC_GP2_CLK 101 10962306a36Sopenharmony_ci#define GCC_GP3_CLK 102 11062306a36Sopenharmony_ci#define GCC_GTCU_AHB_CLK 103 11162306a36Sopenharmony_ci#define GCC_JPEG_TBU_CLK 104 11262306a36Sopenharmony_ci#define GCC_MDP_TBU_CLK 105 11362306a36Sopenharmony_ci#define GCC_MDSS_AHB_CLK 106 11462306a36Sopenharmony_ci#define GCC_MDSS_AXI_CLK 107 11562306a36Sopenharmony_ci#define GCC_MDSS_BYTE0_CLK 108 11662306a36Sopenharmony_ci#define GCC_MDSS_ESC0_CLK 109 11762306a36Sopenharmony_ci#define GCC_MDSS_MDP_CLK 110 11862306a36Sopenharmony_ci#define GCC_MDSS_PCLK0_CLK 111 11962306a36Sopenharmony_ci#define GCC_MDSS_VSYNC_CLK 112 12062306a36Sopenharmony_ci#define GCC_MSS_CFG_AHB_CLK 113 12162306a36Sopenharmony_ci#define GCC_MSS_Q6_BIMC_AXI_CLK 114 12262306a36Sopenharmony_ci#define GCC_OXILI_AHB_CLK 115 12362306a36Sopenharmony_ci#define GCC_OXILI_GFX3D_CLK 116 12462306a36Sopenharmony_ci#define GCC_PDM2_CLK 117 12562306a36Sopenharmony_ci#define GCC_PDM_AHB_CLK 118 12662306a36Sopenharmony_ci#define GCC_PRNG_AHB_CLK 119 12762306a36Sopenharmony_ci#define GCC_QDSS_DAP_CLK 120 12862306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 121 12962306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 122 13062306a36Sopenharmony_ci#define GCC_SDCC1_ICE_CORE_CLK 123 13162306a36Sopenharmony_ci#define GCC_SDCC2_AHB_CLK 124 13262306a36Sopenharmony_ci#define GCC_SDCC2_APPS_CLK 125 13362306a36Sopenharmony_ci#define GCC_SMMU_CFG_CLK 126 13462306a36Sopenharmony_ci#define GCC_USB2A_PHY_SLEEP_CLK 127 13562306a36Sopenharmony_ci#define GCC_USB_HS_AHB_CLK 128 13662306a36Sopenharmony_ci#define GCC_USB_HS_PHY_CFG_AHB_CLK 129 13762306a36Sopenharmony_ci#define GCC_USB_HS_SYSTEM_CLK 130 13862306a36Sopenharmony_ci#define GCC_VENUS0_AHB_CLK 131 13962306a36Sopenharmony_ci#define GCC_VENUS0_AXI_CLK 132 14062306a36Sopenharmony_ci#define GCC_VENUS0_CORE0_VCODEC0_CLK 133 14162306a36Sopenharmony_ci#define GCC_VENUS0_VCODEC0_CLK 134 14262306a36Sopenharmony_ci#define GCC_VENUS_TBU_CLK 135 14362306a36Sopenharmony_ci#define GCC_VFE1_TBU_CLK 136 14462306a36Sopenharmony_ci#define GCC_VFE_TBU_CLK 137 14562306a36Sopenharmony_ci#define GFX3D_CLK_SRC 138 14662306a36Sopenharmony_ci#define GP1_CLK_SRC 139 14762306a36Sopenharmony_ci#define GP2_CLK_SRC 140 14862306a36Sopenharmony_ci#define GP3_CLK_SRC 141 14962306a36Sopenharmony_ci#define GPLL0 142 15062306a36Sopenharmony_ci#define GPLL0_EARLY 143 15162306a36Sopenharmony_ci#define GPLL3 144 15262306a36Sopenharmony_ci#define GPLL3_EARLY 145 15362306a36Sopenharmony_ci#define GPLL4 146 15462306a36Sopenharmony_ci#define GPLL4_EARLY 147 15562306a36Sopenharmony_ci#define GPLL6 148 15662306a36Sopenharmony_ci#define GPLL6_EARLY 149 15762306a36Sopenharmony_ci#define JPEG0_CLK_SRC 150 15862306a36Sopenharmony_ci#define MCLK0_CLK_SRC 151 15962306a36Sopenharmony_ci#define MCLK1_CLK_SRC 152 16062306a36Sopenharmony_ci#define MCLK2_CLK_SRC 153 16162306a36Sopenharmony_ci#define MDP_CLK_SRC 154 16262306a36Sopenharmony_ci#define PCLK0_CLK_SRC 155 16362306a36Sopenharmony_ci#define PDM2_CLK_SRC 156 16462306a36Sopenharmony_ci#define SDCC1_APPS_CLK_SRC 157 16562306a36Sopenharmony_ci#define SDCC1_ICE_CORE_CLK_SRC 158 16662306a36Sopenharmony_ci#define SDCC2_APPS_CLK_SRC 159 16762306a36Sopenharmony_ci#define USB_HS_SYSTEM_CLK_SRC 160 16862306a36Sopenharmony_ci#define VCODEC0_CLK_SRC 161 16962306a36Sopenharmony_ci#define VFE0_CLK_SRC 162 17062306a36Sopenharmony_ci#define VFE1_CLK_SRC 163 17162306a36Sopenharmony_ci#define VSYNC_CLK_SRC 164 17262306a36Sopenharmony_ci#define GPLL0_SLEEP_CLK_SRC 165 17362306a36Sopenharmony_ci 17462306a36Sopenharmony_ci/* GCC block resets */ 17562306a36Sopenharmony_ci#define GCC_CAMSS_MICRO_BCR 0 17662306a36Sopenharmony_ci#define GCC_MSS_BCR 1 17762306a36Sopenharmony_ci#define GCC_QUSB2_PHY_BCR 2 17862306a36Sopenharmony_ci#define GCC_USB_HS_BCR 3 17962306a36Sopenharmony_ci#define GCC_USB2_HS_PHY_ONLY_BCR 4 18062306a36Sopenharmony_ci 18162306a36Sopenharmony_ci/* GDSCs */ 18262306a36Sopenharmony_ci#define CPP_GDSC 0 18362306a36Sopenharmony_ci#define JPEG_GDSC 1 18462306a36Sopenharmony_ci#define MDSS_GDSC 2 18562306a36Sopenharmony_ci#define OXILI_GX_GDSC 3 18662306a36Sopenharmony_ci#define VENUS_CORE0_GDSC 4 18762306a36Sopenharmony_ci#define VENUS_GDSC 5 18862306a36Sopenharmony_ci#define VFE0_GDSC 6 18962306a36Sopenharmony_ci#define VFE1_GDSC 7 19062306a36Sopenharmony_ci 19162306a36Sopenharmony_ci#endif 192