162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2018, Craig Tatlor. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_GCC_660_H 862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_GCC_660_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#define BLSP1_QUP1_I2C_APPS_CLK_SRC 0 1162306a36Sopenharmony_ci#define BLSP1_QUP1_SPI_APPS_CLK_SRC 1 1262306a36Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC 2 1362306a36Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC 3 1462306a36Sopenharmony_ci#define BLSP1_QUP3_I2C_APPS_CLK_SRC 4 1562306a36Sopenharmony_ci#define BLSP1_QUP3_SPI_APPS_CLK_SRC 5 1662306a36Sopenharmony_ci#define BLSP1_QUP4_I2C_APPS_CLK_SRC 6 1762306a36Sopenharmony_ci#define BLSP1_QUP4_SPI_APPS_CLK_SRC 7 1862306a36Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC 8 1962306a36Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC 9 2062306a36Sopenharmony_ci#define BLSP2_QUP1_I2C_APPS_CLK_SRC 10 2162306a36Sopenharmony_ci#define BLSP2_QUP1_SPI_APPS_CLK_SRC 11 2262306a36Sopenharmony_ci#define BLSP2_QUP2_I2C_APPS_CLK_SRC 12 2362306a36Sopenharmony_ci#define BLSP2_QUP2_SPI_APPS_CLK_SRC 13 2462306a36Sopenharmony_ci#define BLSP2_QUP3_I2C_APPS_CLK_SRC 14 2562306a36Sopenharmony_ci#define BLSP2_QUP3_SPI_APPS_CLK_SRC 15 2662306a36Sopenharmony_ci#define BLSP2_QUP4_I2C_APPS_CLK_SRC 16 2762306a36Sopenharmony_ci#define BLSP2_QUP4_SPI_APPS_CLK_SRC 17 2862306a36Sopenharmony_ci#define BLSP2_UART1_APPS_CLK_SRC 18 2962306a36Sopenharmony_ci#define BLSP2_UART2_APPS_CLK_SRC 19 3062306a36Sopenharmony_ci#define GCC_AGGRE2_UFS_AXI_CLK 20 3162306a36Sopenharmony_ci#define GCC_AGGRE2_USB3_AXI_CLK 21 3262306a36Sopenharmony_ci#define GCC_BIMC_GFX_CLK 22 3362306a36Sopenharmony_ci#define GCC_BIMC_HMSS_AXI_CLK 23 3462306a36Sopenharmony_ci#define GCC_BIMC_MSS_Q6_AXI_CLK 24 3562306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 25 3662306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK 26 3762306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK 27 3862306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 28 3962306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 29 4062306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK 30 4162306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK 31 4262306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK 32 4362306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK 33 4462306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 34 4562306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 35 4662306a36Sopenharmony_ci#define GCC_BLSP2_AHB_CLK 36 4762306a36Sopenharmony_ci#define GCC_BLSP2_QUP1_I2C_APPS_CLK 37 4862306a36Sopenharmony_ci#define GCC_BLSP2_QUP1_SPI_APPS_CLK 38 4962306a36Sopenharmony_ci#define GCC_BLSP2_QUP2_I2C_APPS_CLK 39 5062306a36Sopenharmony_ci#define GCC_BLSP2_QUP2_SPI_APPS_CLK 40 5162306a36Sopenharmony_ci#define GCC_BLSP2_QUP3_I2C_APPS_CLK 41 5262306a36Sopenharmony_ci#define GCC_BLSP2_QUP3_SPI_APPS_CLK 42 5362306a36Sopenharmony_ci#define GCC_BLSP2_QUP4_I2C_APPS_CLK 43 5462306a36Sopenharmony_ci#define GCC_BLSP2_QUP4_SPI_APPS_CLK 44 5562306a36Sopenharmony_ci#define GCC_BLSP2_UART1_APPS_CLK 45 5662306a36Sopenharmony_ci#define GCC_BLSP2_UART2_APPS_CLK 46 5762306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 47 5862306a36Sopenharmony_ci#define GCC_CFG_NOC_USB2_AXI_CLK 48 5962306a36Sopenharmony_ci#define GCC_CFG_NOC_USB3_AXI_CLK 49 6062306a36Sopenharmony_ci#define GCC_DCC_AHB_CLK 50 6162306a36Sopenharmony_ci#define GCC_GP1_CLK 51 6262306a36Sopenharmony_ci#define GCC_GP2_CLK 52 6362306a36Sopenharmony_ci#define GCC_GP3_CLK 53 6462306a36Sopenharmony_ci#define GCC_GPU_BIMC_GFX_CLK 54 6562306a36Sopenharmony_ci#define GCC_GPU_CFG_AHB_CLK 55 6662306a36Sopenharmony_ci#define GCC_GPU_GPLL0_CLK 56 6762306a36Sopenharmony_ci#define GCC_GPU_GPLL0_DIV_CLK 57 6862306a36Sopenharmony_ci#define GCC_HMSS_DVM_BUS_CLK 58 6962306a36Sopenharmony_ci#define GCC_HMSS_RBCPR_CLK 59 7062306a36Sopenharmony_ci#define GCC_MMSS_GPLL0_CLK 60 7162306a36Sopenharmony_ci#define GCC_MMSS_GPLL0_DIV_CLK 61 7262306a36Sopenharmony_ci#define GCC_MMSS_NOC_CFG_AHB_CLK 62 7362306a36Sopenharmony_ci#define GCC_MMSS_SYS_NOC_AXI_CLK 63 7462306a36Sopenharmony_ci#define GCC_MSS_CFG_AHB_CLK 64 7562306a36Sopenharmony_ci#define GCC_MSS_GPLL0_DIV_CLK 65 7662306a36Sopenharmony_ci#define GCC_MSS_MNOC_BIMC_AXI_CLK 66 7762306a36Sopenharmony_ci#define GCC_MSS_Q6_BIMC_AXI_CLK 67 7862306a36Sopenharmony_ci#define GCC_MSS_SNOC_AXI_CLK 68 7962306a36Sopenharmony_ci#define GCC_PDM2_CLK 69 8062306a36Sopenharmony_ci#define GCC_PDM_AHB_CLK 70 8162306a36Sopenharmony_ci#define GCC_PRNG_AHB_CLK 71 8262306a36Sopenharmony_ci#define GCC_QSPI_AHB_CLK 72 8362306a36Sopenharmony_ci#define GCC_QSPI_SER_CLK 73 8462306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 74 8562306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 75 8662306a36Sopenharmony_ci#define GCC_SDCC1_ICE_CORE_CLK 76 8762306a36Sopenharmony_ci#define GCC_SDCC2_AHB_CLK 77 8862306a36Sopenharmony_ci#define GCC_SDCC2_APPS_CLK 78 8962306a36Sopenharmony_ci#define GCC_UFS_AHB_CLK 79 9062306a36Sopenharmony_ci#define GCC_UFS_AXI_CLK 80 9162306a36Sopenharmony_ci#define GCC_UFS_CLKREF_CLK 81 9262306a36Sopenharmony_ci#define GCC_UFS_ICE_CORE_CLK 82 9362306a36Sopenharmony_ci#define GCC_UFS_PHY_AUX_CLK 83 9462306a36Sopenharmony_ci#define GCC_UFS_RX_SYMBOL_0_CLK 84 9562306a36Sopenharmony_ci#define GCC_UFS_RX_SYMBOL_1_CLK 85 9662306a36Sopenharmony_ci#define GCC_UFS_TX_SYMBOL_0_CLK 86 9762306a36Sopenharmony_ci#define GCC_UFS_UNIPRO_CORE_CLK 87 9862306a36Sopenharmony_ci#define GCC_USB20_MASTER_CLK 88 9962306a36Sopenharmony_ci#define GCC_USB20_MOCK_UTMI_CLK 89 10062306a36Sopenharmony_ci#define GCC_USB20_SLEEP_CLK 90 10162306a36Sopenharmony_ci#define GCC_USB30_MASTER_CLK 91 10262306a36Sopenharmony_ci#define GCC_USB30_MOCK_UTMI_CLK 92 10362306a36Sopenharmony_ci#define GCC_USB30_SLEEP_CLK 93 10462306a36Sopenharmony_ci#define GCC_USB3_CLKREF_CLK 94 10562306a36Sopenharmony_ci#define GCC_USB3_PHY_AUX_CLK 95 10662306a36Sopenharmony_ci#define GCC_USB3_PHY_PIPE_CLK 96 10762306a36Sopenharmony_ci#define GCC_USB_PHY_CFG_AHB2PHY_CLK 97 10862306a36Sopenharmony_ci#define GP1_CLK_SRC 98 10962306a36Sopenharmony_ci#define GP2_CLK_SRC 99 11062306a36Sopenharmony_ci#define GP3_CLK_SRC 100 11162306a36Sopenharmony_ci#define GPLL0 101 11262306a36Sopenharmony_ci#define GPLL0_EARLY 102 11362306a36Sopenharmony_ci#define GPLL1 103 11462306a36Sopenharmony_ci#define GPLL1_EARLY 104 11562306a36Sopenharmony_ci#define GPLL4 105 11662306a36Sopenharmony_ci#define GPLL4_EARLY 106 11762306a36Sopenharmony_ci#define HMSS_GPLL0_CLK_SRC 107 11862306a36Sopenharmony_ci#define HMSS_GPLL4_CLK_SRC 108 11962306a36Sopenharmony_ci#define HMSS_RBCPR_CLK_SRC 109 12062306a36Sopenharmony_ci#define PDM2_CLK_SRC 110 12162306a36Sopenharmony_ci#define QSPI_SER_CLK_SRC 111 12262306a36Sopenharmony_ci#define SDCC1_APPS_CLK_SRC 112 12362306a36Sopenharmony_ci#define SDCC1_ICE_CORE_CLK_SRC 113 12462306a36Sopenharmony_ci#define SDCC2_APPS_CLK_SRC 114 12562306a36Sopenharmony_ci#define UFS_AXI_CLK_SRC 115 12662306a36Sopenharmony_ci#define UFS_ICE_CORE_CLK_SRC 116 12762306a36Sopenharmony_ci#define UFS_PHY_AUX_CLK_SRC 117 12862306a36Sopenharmony_ci#define UFS_UNIPRO_CORE_CLK_SRC 118 12962306a36Sopenharmony_ci#define USB20_MASTER_CLK_SRC 119 13062306a36Sopenharmony_ci#define USB20_MOCK_UTMI_CLK_SRC 120 13162306a36Sopenharmony_ci#define USB30_MASTER_CLK_SRC 121 13262306a36Sopenharmony_ci#define USB30_MOCK_UTMI_CLK_SRC 122 13362306a36Sopenharmony_ci#define USB3_PHY_AUX_CLK_SRC 123 13462306a36Sopenharmony_ci#define GPLL0_OUT_MSSCC 124 13562306a36Sopenharmony_ci#define GCC_UFS_AXI_HW_CTL_CLK 125 13662306a36Sopenharmony_ci#define GCC_UFS_ICE_CORE_HW_CTL_CLK 126 13762306a36Sopenharmony_ci#define GCC_UFS_PHY_AUX_HW_CTL_CLK 127 13862306a36Sopenharmony_ci#define GCC_UFS_UNIPRO_CORE_HW_CTL_CLK 128 13962306a36Sopenharmony_ci#define GCC_RX0_USB2_CLKREF_CLK 129 14062306a36Sopenharmony_ci#define GCC_RX1_USB2_CLKREF_CLK 130 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ci#define PCIE_0_GDSC 0 14362306a36Sopenharmony_ci#define UFS_GDSC 1 14462306a36Sopenharmony_ci#define USB_30_GDSC 2 14562306a36Sopenharmony_ci 14662306a36Sopenharmony_ci#define GCC_QUSB2PHY_PRIM_BCR 0 14762306a36Sopenharmony_ci#define GCC_QUSB2PHY_SEC_BCR 1 14862306a36Sopenharmony_ci#define GCC_UFS_BCR 2 14962306a36Sopenharmony_ci#define GCC_USB3_DP_PHY_BCR 3 15062306a36Sopenharmony_ci#define GCC_USB3_PHY_BCR 4 15162306a36Sopenharmony_ci#define GCC_USB3PHY_PHY_BCR 5 15262306a36Sopenharmony_ci#define GCC_USB_20_BCR 6 15362306a36Sopenharmony_ci#define GCC_USB_30_BCR 7 15462306a36Sopenharmony_ci#define GCC_USB_PHY_CFG_AHB2PHY_BCR 8 15562306a36Sopenharmony_ci#define GCC_MSS_RESTART 9 15662306a36Sopenharmony_ci 15762306a36Sopenharmony_ci#endif 158