1*5956d97fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 2*5956d97fSEmmanuel Vadot /* 3*5956d97fSEmmanuel Vadot * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 4*5956d97fSEmmanuel Vadot */ 5*5956d97fSEmmanuel Vadot 6*5956d97fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MSM_GCC_9607_H 7*5956d97fSEmmanuel Vadot #define _DT_BINDINGS_CLK_MSM_GCC_9607_H 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadot #define GPLL0 0 10*5956d97fSEmmanuel Vadot #define GPLL0_EARLY 1 11*5956d97fSEmmanuel Vadot #define GPLL1 2 12*5956d97fSEmmanuel Vadot #define GPLL1_VOTE 3 13*5956d97fSEmmanuel Vadot #define GPLL2 4 14*5956d97fSEmmanuel Vadot #define GPLL2_EARLY 5 15*5956d97fSEmmanuel Vadot #define PCNOC_BFDCD_CLK_SRC 6 16*5956d97fSEmmanuel Vadot #define SYSTEM_NOC_BFDCD_CLK_SRC 7 17*5956d97fSEmmanuel Vadot #define GCC_SMMU_CFG_CLK 8 18*5956d97fSEmmanuel Vadot #define APSS_AHB_CLK_SRC 9 19*5956d97fSEmmanuel Vadot #define GCC_QDSS_DAP_CLK 10 20*5956d97fSEmmanuel Vadot #define BLSP1_QUP1_I2C_APPS_CLK_SRC 11 21*5956d97fSEmmanuel Vadot #define BLSP1_QUP1_SPI_APPS_CLK_SRC 12 22*5956d97fSEmmanuel Vadot #define BLSP1_QUP2_I2C_APPS_CLK_SRC 13 23*5956d97fSEmmanuel Vadot #define BLSP1_QUP2_SPI_APPS_CLK_SRC 14 24*5956d97fSEmmanuel Vadot #define BLSP1_QUP3_I2C_APPS_CLK_SRC 15 25*5956d97fSEmmanuel Vadot #define BLSP1_QUP3_SPI_APPS_CLK_SRC 16 26*5956d97fSEmmanuel Vadot #define BLSP1_QUP4_I2C_APPS_CLK_SRC 17 27*5956d97fSEmmanuel Vadot #define BLSP1_QUP4_SPI_APPS_CLK_SRC 18 28*5956d97fSEmmanuel Vadot #define BLSP1_QUP5_I2C_APPS_CLK_SRC 19 29*5956d97fSEmmanuel Vadot #define BLSP1_QUP5_SPI_APPS_CLK_SRC 20 30*5956d97fSEmmanuel Vadot #define BLSP1_QUP6_I2C_APPS_CLK_SRC 21 31*5956d97fSEmmanuel Vadot #define BLSP1_QUP6_SPI_APPS_CLK_SRC 22 32*5956d97fSEmmanuel Vadot #define BLSP1_UART1_APPS_CLK_SRC 23 33*5956d97fSEmmanuel Vadot #define BLSP1_UART2_APPS_CLK_SRC 24 34*5956d97fSEmmanuel Vadot #define CRYPTO_CLK_SRC 25 35*5956d97fSEmmanuel Vadot #define GP1_CLK_SRC 26 36*5956d97fSEmmanuel Vadot #define GP2_CLK_SRC 27 37*5956d97fSEmmanuel Vadot #define GP3_CLK_SRC 28 38*5956d97fSEmmanuel Vadot #define PDM2_CLK_SRC 29 39*5956d97fSEmmanuel Vadot #define SDCC1_APPS_CLK_SRC 30 40*5956d97fSEmmanuel Vadot #define SDCC2_APPS_CLK_SRC 31 41*5956d97fSEmmanuel Vadot #define APSS_TCU_CLK_SRC 32 42*5956d97fSEmmanuel Vadot #define USB_HS_SYSTEM_CLK_SRC 33 43*5956d97fSEmmanuel Vadot #define GCC_BLSP1_AHB_CLK 34 44*5956d97fSEmmanuel Vadot #define GCC_BLSP1_SLEEP_CLK 35 45*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP1_I2C_APPS_CLK 36 46*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP1_SPI_APPS_CLK 37 47*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP2_I2C_APPS_CLK 38 48*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP2_SPI_APPS_CLK 39 49*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP3_I2C_APPS_CLK 40 50*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP3_SPI_APPS_CLK 41 51*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP4_I2C_APPS_CLK 42 52*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP4_SPI_APPS_CLK 43 53*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP5_I2C_APPS_CLK 44 54*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP5_SPI_APPS_CLK 45 55*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP6_I2C_APPS_CLK 46 56*5956d97fSEmmanuel Vadot #define GCC_BLSP1_QUP6_SPI_APPS_CLK 47 57*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART1_APPS_CLK 48 58*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART2_APPS_CLK 49 59*5956d97fSEmmanuel Vadot #define GCC_BOOT_ROM_AHB_CLK 50 60*5956d97fSEmmanuel Vadot #define GCC_CRYPTO_AHB_CLK 51 61*5956d97fSEmmanuel Vadot #define GCC_CRYPTO_AXI_CLK 52 62*5956d97fSEmmanuel Vadot #define GCC_CRYPTO_CLK 53 63*5956d97fSEmmanuel Vadot #define GCC_GP1_CLK 54 64*5956d97fSEmmanuel Vadot #define GCC_GP2_CLK 55 65*5956d97fSEmmanuel Vadot #define GCC_GP3_CLK 56 66*5956d97fSEmmanuel Vadot #define GCC_MSS_CFG_AHB_CLK 57 67*5956d97fSEmmanuel Vadot #define GCC_PDM2_CLK 58 68*5956d97fSEmmanuel Vadot #define GCC_PDM_AHB_CLK 59 69*5956d97fSEmmanuel Vadot #define GCC_PRNG_AHB_CLK 60 70*5956d97fSEmmanuel Vadot #define GCC_SDCC1_AHB_CLK 61 71*5956d97fSEmmanuel Vadot #define GCC_SDCC1_APPS_CLK 62 72*5956d97fSEmmanuel Vadot #define GCC_SDCC2_AHB_CLK 63 73*5956d97fSEmmanuel Vadot #define GCC_SDCC2_APPS_CLK 64 74*5956d97fSEmmanuel Vadot #define GCC_USB2A_PHY_SLEEP_CLK 65 75*5956d97fSEmmanuel Vadot #define GCC_USB_HS_AHB_CLK 66 76*5956d97fSEmmanuel Vadot #define GCC_USB_HS_SYSTEM_CLK 67 77*5956d97fSEmmanuel Vadot #define GCC_APSS_TCU_CLK 68 78*5956d97fSEmmanuel Vadot #define GCC_MSS_Q6_BIMC_AXI_CLK 69 79*5956d97fSEmmanuel Vadot #define BIMC_PLL 70 80*5956d97fSEmmanuel Vadot #define BIMC_PLL_VOTE 71 81*5956d97fSEmmanuel Vadot #define BIMC_DDR_CLK_SRC 72 82*5956d97fSEmmanuel Vadot #define BLSP1_UART3_APPS_CLK_SRC 73 83*5956d97fSEmmanuel Vadot #define BLSP1_UART4_APPS_CLK_SRC 74 84*5956d97fSEmmanuel Vadot #define BLSP1_UART5_APPS_CLK_SRC 75 85*5956d97fSEmmanuel Vadot #define BLSP1_UART6_APPS_CLK_SRC 76 86*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART3_APPS_CLK 77 87*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART4_APPS_CLK 78 88*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART5_APPS_CLK 79 89*5956d97fSEmmanuel Vadot #define GCC_BLSP1_UART6_APPS_CLK 80 90*5956d97fSEmmanuel Vadot #define GCC_APSS_AHB_CLK 81 91*5956d97fSEmmanuel Vadot #define GCC_APSS_AXI_CLK 82 92*5956d97fSEmmanuel Vadot #define GCC_USB_HS_PHY_CFG_AHB_CLK 83 93*5956d97fSEmmanuel Vadot #define GCC_USB_HSIC_CLK_SRC 84 94*5956d97fSEmmanuel Vadot #define GCC_USB_HSIC_IO_CAL_CLK_SRC 85 95*5956d97fSEmmanuel Vadot #define GCC_USB_HSIC_SYSTEM_CLK_SRC 86 96*5956d97fSEmmanuel Vadot 97*5956d97fSEmmanuel Vadot /* Resets */ 98*5956d97fSEmmanuel Vadot #define USB2_HS_PHY_ONLY_BCR 0 99*5956d97fSEmmanuel Vadot #define QUSB2_PHY_BCR 1 100*5956d97fSEmmanuel Vadot #define GCC_MSS_RESTART 2 101*5956d97fSEmmanuel Vadot #define USB_HS_HSIC_BCR 3 102*5956d97fSEmmanuel Vadot #define USB_HS_BCR 4 103*5956d97fSEmmanuel Vadot 104*5956d97fSEmmanuel Vadot #endif 105