162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_GCC_9607_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_GCC_9607_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define GPLL0 0 1062306a36Sopenharmony_ci#define GPLL0_EARLY 1 1162306a36Sopenharmony_ci#define GPLL1 2 1262306a36Sopenharmony_ci#define GPLL1_VOTE 3 1362306a36Sopenharmony_ci#define GPLL2 4 1462306a36Sopenharmony_ci#define GPLL2_EARLY 5 1562306a36Sopenharmony_ci#define PCNOC_BFDCD_CLK_SRC 6 1662306a36Sopenharmony_ci#define SYSTEM_NOC_BFDCD_CLK_SRC 7 1762306a36Sopenharmony_ci#define GCC_SMMU_CFG_CLK 8 1862306a36Sopenharmony_ci#define APSS_AHB_CLK_SRC 9 1962306a36Sopenharmony_ci#define GCC_QDSS_DAP_CLK 10 2062306a36Sopenharmony_ci#define BLSP1_QUP1_I2C_APPS_CLK_SRC 11 2162306a36Sopenharmony_ci#define BLSP1_QUP1_SPI_APPS_CLK_SRC 12 2262306a36Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC 13 2362306a36Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC 14 2462306a36Sopenharmony_ci#define BLSP1_QUP3_I2C_APPS_CLK_SRC 15 2562306a36Sopenharmony_ci#define BLSP1_QUP3_SPI_APPS_CLK_SRC 16 2662306a36Sopenharmony_ci#define BLSP1_QUP4_I2C_APPS_CLK_SRC 17 2762306a36Sopenharmony_ci#define BLSP1_QUP4_SPI_APPS_CLK_SRC 18 2862306a36Sopenharmony_ci#define BLSP1_QUP5_I2C_APPS_CLK_SRC 19 2962306a36Sopenharmony_ci#define BLSP1_QUP5_SPI_APPS_CLK_SRC 20 3062306a36Sopenharmony_ci#define BLSP1_QUP6_I2C_APPS_CLK_SRC 21 3162306a36Sopenharmony_ci#define BLSP1_QUP6_SPI_APPS_CLK_SRC 22 3262306a36Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC 23 3362306a36Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC 24 3462306a36Sopenharmony_ci#define CRYPTO_CLK_SRC 25 3562306a36Sopenharmony_ci#define GP1_CLK_SRC 26 3662306a36Sopenharmony_ci#define GP2_CLK_SRC 27 3762306a36Sopenharmony_ci#define GP3_CLK_SRC 28 3862306a36Sopenharmony_ci#define PDM2_CLK_SRC 29 3962306a36Sopenharmony_ci#define SDCC1_APPS_CLK_SRC 30 4062306a36Sopenharmony_ci#define SDCC2_APPS_CLK_SRC 31 4162306a36Sopenharmony_ci#define APSS_TCU_CLK_SRC 32 4262306a36Sopenharmony_ci#define USB_HS_SYSTEM_CLK_SRC 33 4362306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 34 4462306a36Sopenharmony_ci#define GCC_BLSP1_SLEEP_CLK 35 4562306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK 36 4662306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK 37 4762306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 38 4862306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 39 4962306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK 40 5062306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK 41 5162306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK 42 5262306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK 43 5362306a36Sopenharmony_ci#define GCC_BLSP1_QUP5_I2C_APPS_CLK 44 5462306a36Sopenharmony_ci#define GCC_BLSP1_QUP5_SPI_APPS_CLK 45 5562306a36Sopenharmony_ci#define GCC_BLSP1_QUP6_I2C_APPS_CLK 46 5662306a36Sopenharmony_ci#define GCC_BLSP1_QUP6_SPI_APPS_CLK 47 5762306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 48 5862306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 49 5962306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 50 6062306a36Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK 51 6162306a36Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK 52 6262306a36Sopenharmony_ci#define GCC_CRYPTO_CLK 53 6362306a36Sopenharmony_ci#define GCC_GP1_CLK 54 6462306a36Sopenharmony_ci#define GCC_GP2_CLK 55 6562306a36Sopenharmony_ci#define GCC_GP3_CLK 56 6662306a36Sopenharmony_ci#define GCC_MSS_CFG_AHB_CLK 57 6762306a36Sopenharmony_ci#define GCC_PDM2_CLK 58 6862306a36Sopenharmony_ci#define GCC_PDM_AHB_CLK 59 6962306a36Sopenharmony_ci#define GCC_PRNG_AHB_CLK 60 7062306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 61 7162306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 62 7262306a36Sopenharmony_ci#define GCC_SDCC2_AHB_CLK 63 7362306a36Sopenharmony_ci#define GCC_SDCC2_APPS_CLK 64 7462306a36Sopenharmony_ci#define GCC_USB2A_PHY_SLEEP_CLK 65 7562306a36Sopenharmony_ci#define GCC_USB_HS_AHB_CLK 66 7662306a36Sopenharmony_ci#define GCC_USB_HS_SYSTEM_CLK 67 7762306a36Sopenharmony_ci#define GCC_APSS_TCU_CLK 68 7862306a36Sopenharmony_ci#define GCC_MSS_Q6_BIMC_AXI_CLK 69 7962306a36Sopenharmony_ci#define BIMC_PLL 70 8062306a36Sopenharmony_ci#define BIMC_PLL_VOTE 71 8162306a36Sopenharmony_ci#define BIMC_DDR_CLK_SRC 72 8262306a36Sopenharmony_ci#define BLSP1_UART3_APPS_CLK_SRC 73 8362306a36Sopenharmony_ci#define BLSP1_UART4_APPS_CLK_SRC 74 8462306a36Sopenharmony_ci#define BLSP1_UART5_APPS_CLK_SRC 75 8562306a36Sopenharmony_ci#define BLSP1_UART6_APPS_CLK_SRC 76 8662306a36Sopenharmony_ci#define GCC_BLSP1_UART3_APPS_CLK 77 8762306a36Sopenharmony_ci#define GCC_BLSP1_UART4_APPS_CLK 78 8862306a36Sopenharmony_ci#define GCC_BLSP1_UART5_APPS_CLK 79 8962306a36Sopenharmony_ci#define GCC_BLSP1_UART6_APPS_CLK 80 9062306a36Sopenharmony_ci#define GCC_APSS_AHB_CLK 81 9162306a36Sopenharmony_ci#define GCC_APSS_AXI_CLK 82 9262306a36Sopenharmony_ci#define GCC_USB_HS_PHY_CFG_AHB_CLK 83 9362306a36Sopenharmony_ci#define GCC_USB_HSIC_CLK_SRC 84 9462306a36Sopenharmony_ci#define GCC_USB_HSIC_IO_CAL_CLK_SRC 85 9562306a36Sopenharmony_ci#define GCC_USB_HSIC_SYSTEM_CLK_SRC 86 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ci/* Resets */ 9862306a36Sopenharmony_ci#define USB2_HS_PHY_ONLY_BCR 0 9962306a36Sopenharmony_ci#define QUSB2_PHY_BCR 1 10062306a36Sopenharmony_ci#define GCC_MSS_RESTART 2 10162306a36Sopenharmony_ci#define USB_HS_HSIC_BCR 3 10262306a36Sopenharmony_ci#define USB_HS_BCR 4 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ci#endif 105