162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GCC_QCS404_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GCC_QCS404_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define GCC_APSS_AHB_CLK_SRC 0 1062306a36Sopenharmony_ci#define GCC_BLSP1_QUP0_I2C_APPS_CLK_SRC 1 1162306a36Sopenharmony_ci#define GCC_BLSP1_QUP0_SPI_APPS_CLK_SRC 2 1262306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK_SRC 3 1362306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK_SRC 4 1462306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK_SRC 5 1562306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK_SRC 6 1662306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK_SRC 7 1762306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK_SRC 8 1862306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK_SRC 9 1962306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK_SRC 10 2062306a36Sopenharmony_ci#define GCC_BLSP1_UART0_APPS_CLK_SRC 11 2162306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK_SRC 12 2262306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK_SRC 13 2362306a36Sopenharmony_ci#define GCC_BLSP1_UART3_APPS_CLK_SRC 14 2462306a36Sopenharmony_ci#define GCC_BLSP2_QUP0_I2C_APPS_CLK_SRC 15 2562306a36Sopenharmony_ci#define GCC_BLSP2_QUP0_SPI_APPS_CLK_SRC 16 2662306a36Sopenharmony_ci#define GCC_BLSP2_UART0_APPS_CLK_SRC 17 2762306a36Sopenharmony_ci#define GCC_BYTE0_CLK_SRC 18 2862306a36Sopenharmony_ci#define GCC_EMAC_CLK_SRC 19 2962306a36Sopenharmony_ci#define GCC_EMAC_PTP_CLK_SRC 20 3062306a36Sopenharmony_ci#define GCC_ESC0_CLK_SRC 21 3162306a36Sopenharmony_ci#define GCC_APSS_AHB_CLK 22 3262306a36Sopenharmony_ci#define GCC_APSS_AXI_CLK 23 3362306a36Sopenharmony_ci#define GCC_BIMC_APSS_AXI_CLK 24 3462306a36Sopenharmony_ci#define GCC_BIMC_GFX_CLK 25 3562306a36Sopenharmony_ci#define GCC_BIMC_MDSS_CLK 26 3662306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK 27 3762306a36Sopenharmony_ci#define GCC_BLSP1_QUP0_I2C_APPS_CLK 28 3862306a36Sopenharmony_ci#define GCC_BLSP1_QUP0_SPI_APPS_CLK 29 3962306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK 30 4062306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK 31 4162306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK 32 4262306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK 33 4362306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK 34 4462306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK 35 4562306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK 36 4662306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK 37 4762306a36Sopenharmony_ci#define GCC_BLSP1_UART0_APPS_CLK 38 4862306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK 39 4962306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK 40 5062306a36Sopenharmony_ci#define GCC_BLSP1_UART3_APPS_CLK 41 5162306a36Sopenharmony_ci#define GCC_BLSP2_AHB_CLK 42 5262306a36Sopenharmony_ci#define GCC_BLSP2_QUP0_I2C_APPS_CLK 43 5362306a36Sopenharmony_ci#define GCC_BLSP2_QUP0_SPI_APPS_CLK 44 5462306a36Sopenharmony_ci#define GCC_BLSP2_UART0_APPS_CLK 45 5562306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK 46 5662306a36Sopenharmony_ci#define GCC_DCC_CLK 47 5762306a36Sopenharmony_ci#define GCC_GENI_IR_H_CLK 48 5862306a36Sopenharmony_ci#define GCC_ETH_AXI_CLK 49 5962306a36Sopenharmony_ci#define GCC_ETH_PTP_CLK 50 6062306a36Sopenharmony_ci#define GCC_ETH_RGMII_CLK 51 6162306a36Sopenharmony_ci#define GCC_ETH_SLAVE_AHB_CLK 52 6262306a36Sopenharmony_ci#define GCC_GENI_IR_S_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_MDSS_AHB_CLK 57 6762306a36Sopenharmony_ci#define GCC_MDSS_AXI_CLK 58 6862306a36Sopenharmony_ci#define GCC_MDSS_BYTE0_CLK 59 6962306a36Sopenharmony_ci#define GCC_MDSS_ESC0_CLK 60 7062306a36Sopenharmony_ci#define GCC_MDSS_HDMI_APP_CLK 61 7162306a36Sopenharmony_ci#define GCC_MDSS_HDMI_PCLK_CLK 62 7262306a36Sopenharmony_ci#define GCC_MDSS_MDP_CLK 63 7362306a36Sopenharmony_ci#define GCC_MDSS_PCLK0_CLK 64 7462306a36Sopenharmony_ci#define GCC_MDSS_VSYNC_CLK 65 7562306a36Sopenharmony_ci#define GCC_OXILI_AHB_CLK 66 7662306a36Sopenharmony_ci#define GCC_OXILI_GFX3D_CLK 67 7762306a36Sopenharmony_ci#define GCC_PCIE_0_AUX_CLK 68 7862306a36Sopenharmony_ci#define GCC_PCIE_0_CFG_AHB_CLK 69 7962306a36Sopenharmony_ci#define GCC_PCIE_0_MSTR_AXI_CLK 70 8062306a36Sopenharmony_ci#define GCC_PCIE_0_PIPE_CLK 71 8162306a36Sopenharmony_ci#define GCC_PCIE_0_SLV_AXI_CLK 72 8262306a36Sopenharmony_ci#define GCC_PCNOC_USB2_CLK 73 8362306a36Sopenharmony_ci#define GCC_PCNOC_USB3_CLK 74 8462306a36Sopenharmony_ci#define GCC_PDM2_CLK 75 8562306a36Sopenharmony_ci#define GCC_PDM_AHB_CLK 76 8662306a36Sopenharmony_ci#define GCC_VSYNC_CLK_SRC 77 8762306a36Sopenharmony_ci#define GCC_PRNG_AHB_CLK 78 8862306a36Sopenharmony_ci#define GCC_PWM0_XO512_CLK 79 8962306a36Sopenharmony_ci#define GCC_PWM1_XO512_CLK 80 9062306a36Sopenharmony_ci#define GCC_PWM2_XO512_CLK 81 9162306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK 82 9262306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK 83 9362306a36Sopenharmony_ci#define GCC_SDCC1_ICE_CORE_CLK 84 9462306a36Sopenharmony_ci#define GCC_SDCC2_AHB_CLK 85 9562306a36Sopenharmony_ci#define GCC_SDCC2_APPS_CLK 86 9662306a36Sopenharmony_ci#define GCC_SYS_NOC_USB3_CLK 87 9762306a36Sopenharmony_ci#define GCC_USB20_MOCK_UTMI_CLK 88 9862306a36Sopenharmony_ci#define GCC_USB2A_PHY_SLEEP_CLK 89 9962306a36Sopenharmony_ci#define GCC_USB30_MASTER_CLK 90 10062306a36Sopenharmony_ci#define GCC_USB30_MOCK_UTMI_CLK 91 10162306a36Sopenharmony_ci#define GCC_USB30_SLEEP_CLK 92 10262306a36Sopenharmony_ci#define GCC_USB3_PHY_AUX_CLK 93 10362306a36Sopenharmony_ci#define GCC_USB3_PHY_PIPE_CLK 94 10462306a36Sopenharmony_ci#define GCC_USB_HS_PHY_CFG_AHB_CLK 95 10562306a36Sopenharmony_ci#define GCC_USB_HS_SYSTEM_CLK 96 10662306a36Sopenharmony_ci#define GCC_GFX3D_CLK_SRC 97 10762306a36Sopenharmony_ci#define GCC_GP1_CLK_SRC 98 10862306a36Sopenharmony_ci#define GCC_GP2_CLK_SRC 99 10962306a36Sopenharmony_ci#define GCC_GP3_CLK_SRC 100 11062306a36Sopenharmony_ci#define GCC_GPLL0_OUT_MAIN 101 11162306a36Sopenharmony_ci#define GCC_GPLL1_OUT_MAIN 102 11262306a36Sopenharmony_ci#define GCC_GPLL3_OUT_MAIN 103 11362306a36Sopenharmony_ci#define GCC_GPLL4_OUT_MAIN 104 11462306a36Sopenharmony_ci#define GCC_HDMI_APP_CLK_SRC 105 11562306a36Sopenharmony_ci#define GCC_HDMI_PCLK_CLK_SRC 106 11662306a36Sopenharmony_ci#define GCC_MDP_CLK_SRC 107 11762306a36Sopenharmony_ci#define GCC_PCIE_0_AUX_CLK_SRC 108 11862306a36Sopenharmony_ci#define GCC_PCIE_0_PIPE_CLK_SRC 109 11962306a36Sopenharmony_ci#define GCC_PCLK0_CLK_SRC 110 12062306a36Sopenharmony_ci#define GCC_PDM2_CLK_SRC 111 12162306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK_SRC 112 12262306a36Sopenharmony_ci#define GCC_SDCC1_ICE_CORE_CLK_SRC 113 12362306a36Sopenharmony_ci#define GCC_SDCC2_APPS_CLK_SRC 114 12462306a36Sopenharmony_ci#define GCC_USB20_MOCK_UTMI_CLK_SRC 115 12562306a36Sopenharmony_ci#define GCC_USB30_MASTER_CLK_SRC 116 12662306a36Sopenharmony_ci#define GCC_USB30_MOCK_UTMI_CLK_SRC 117 12762306a36Sopenharmony_ci#define GCC_USB3_PHY_AUX_CLK_SRC 118 12862306a36Sopenharmony_ci#define GCC_USB_HS_SYSTEM_CLK_SRC 119 12962306a36Sopenharmony_ci#define GCC_GPLL0_AO_CLK_SRC 120 13062306a36Sopenharmony_ci#define GCC_USB_HS_INACTIVITY_TIMERS_CLK 122 13162306a36Sopenharmony_ci#define GCC_GPLL0_AO_OUT_MAIN 123 13262306a36Sopenharmony_ci#define GCC_GPLL0_SLEEP_CLK_SRC 124 13362306a36Sopenharmony_ci#define GCC_GPLL6 125 13462306a36Sopenharmony_ci#define GCC_GPLL6_OUT_AUX 126 13562306a36Sopenharmony_ci#define GCC_MDSS_MDP_VOTE_CLK 127 13662306a36Sopenharmony_ci#define GCC_MDSS_ROTATOR_VOTE_CLK 128 13762306a36Sopenharmony_ci#define GCC_BIMC_GPU_CLK 129 13862306a36Sopenharmony_ci#define GCC_GTCU_AHB_CLK 130 13962306a36Sopenharmony_ci#define GCC_GFX_TCU_CLK 131 14062306a36Sopenharmony_ci#define GCC_GFX_TBU_CLK 132 14162306a36Sopenharmony_ci#define GCC_SMMU_CFG_CLK 133 14262306a36Sopenharmony_ci#define GCC_APSS_TCU_CLK 134 14362306a36Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK 135 14462306a36Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK 136 14562306a36Sopenharmony_ci#define GCC_CRYPTO_CLK 137 14662306a36Sopenharmony_ci#define GCC_MDP_TBU_CLK 138 14762306a36Sopenharmony_ci#define GCC_QDSS_DAP_CLK 139 14862306a36Sopenharmony_ci#define GCC_DCC_XO_CLK 140 14962306a36Sopenharmony_ci#define GCC_WCSS_Q6_AHB_CLK 141 15062306a36Sopenharmony_ci#define GCC_WCSS_Q6_AXIM_CLK 142 15162306a36Sopenharmony_ci#define GCC_CDSP_CFG_AHB_CLK 143 15262306a36Sopenharmony_ci#define GCC_BIMC_CDSP_CLK 144 15362306a36Sopenharmony_ci#define GCC_CDSP_TBU_CLK 145 15462306a36Sopenharmony_ci#define GCC_CDSP_BIMC_CLK_SRC 146 15562306a36Sopenharmony_ci 15662306a36Sopenharmony_ci#define GCC_GENI_IR_BCR 0 15762306a36Sopenharmony_ci#define GCC_USB_HS_BCR 1 15862306a36Sopenharmony_ci#define GCC_USB2_HS_PHY_ONLY_BCR 2 15962306a36Sopenharmony_ci#define GCC_QUSB2_PHY_BCR 3 16062306a36Sopenharmony_ci#define GCC_USB_HS_PHY_CFG_AHB_BCR 4 16162306a36Sopenharmony_ci#define GCC_USB2A_PHY_BCR 5 16262306a36Sopenharmony_ci#define GCC_USB3_PHY_BCR 6 16362306a36Sopenharmony_ci#define GCC_USB_30_BCR 7 16462306a36Sopenharmony_ci#define GCC_USB3PHY_PHY_BCR 8 16562306a36Sopenharmony_ci#define GCC_PCIE_0_BCR 9 16662306a36Sopenharmony_ci#define GCC_PCIE_0_PHY_BCR 10 16762306a36Sopenharmony_ci#define GCC_PCIE_0_LINK_DOWN_BCR 11 16862306a36Sopenharmony_ci#define GCC_PCIEPHY_0_PHY_BCR 12 16962306a36Sopenharmony_ci#define GCC_EMAC_BCR 13 17062306a36Sopenharmony_ci#define GCC_CDSP_RESTART 14 17162306a36Sopenharmony_ci#define GCC_PCIE_0_AXI_MASTER_STICKY_ARES 15 17262306a36Sopenharmony_ci#define GCC_PCIE_0_AHB_ARES 16 17362306a36Sopenharmony_ci#define GCC_PCIE_0_AXI_SLAVE_ARES 17 17462306a36Sopenharmony_ci#define GCC_PCIE_0_AXI_MASTER_ARES 18 17562306a36Sopenharmony_ci#define GCC_PCIE_0_CORE_STICKY_ARES 19 17662306a36Sopenharmony_ci#define GCC_PCIE_0_SLEEP_ARES 20 17762306a36Sopenharmony_ci#define GCC_PCIE_0_PIPE_ARES 21 17862306a36Sopenharmony_ci#define GCC_WDSP_RESTART 22 17962306a36Sopenharmony_ci 18062306a36Sopenharmony_ci/* Indexes for GDSCs */ 18162306a36Sopenharmony_ci#define MDSS_GDSC 0 18262306a36Sopenharmony_ci#define OXILI_GDSC 1 18362306a36Sopenharmony_ci 18462306a36Sopenharmony_ci#endif 185