1*342d2a60STaniya Das /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*342d2a60STaniya Das /* 3*342d2a60STaniya Das * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4*342d2a60STaniya Das */ 5*342d2a60STaniya Das 6*342d2a60STaniya Das #ifndef _DT_BINDINGS_CLK_QCOM_GCC_KAANAPALI_H 7*342d2a60STaniya Das #define _DT_BINDINGS_CLK_QCOM_GCC_KAANAPALI_H 8*342d2a60STaniya Das 9*342d2a60STaniya Das /* GCC clocks */ 10*342d2a60STaniya Das #define GCC_AGGRE_NOC_PCIE_AXI_CLK 0 11*342d2a60STaniya Das #define GCC_AGGRE_UFS_PHY_AXI_CLK 1 12*342d2a60STaniya Das #define GCC_AGGRE_USB3_PRIM_AXI_CLK 2 13*342d2a60STaniya Das #define GCC_BOOT_ROM_AHB_CLK 3 14*342d2a60STaniya Das #define GCC_CAM_BIST_MCLK_AHB_CLK 4 15*342d2a60STaniya Das #define GCC_CAMERA_AHB_CLK 5 16*342d2a60STaniya Das #define GCC_CAMERA_HF_AXI_CLK 6 17*342d2a60STaniya Das #define GCC_CAMERA_SF_AXI_CLK 7 18*342d2a60STaniya Das #define GCC_CAMERA_XO_CLK 8 19*342d2a60STaniya Das #define GCC_CFG_NOC_PCIE_ANOC_AHB_CLK 9 20*342d2a60STaniya Das #define GCC_CFG_NOC_USB3_PRIM_AXI_CLK 10 21*342d2a60STaniya Das #define GCC_CNOC_PCIE_SF_AXI_CLK 11 22*342d2a60STaniya Das #define GCC_DDRSS_PCIE_SF_QTB_CLK 12 23*342d2a60STaniya Das #define GCC_QMIP_CAMERA_CMD_AHB_CLK 13 24*342d2a60STaniya Das #define GCC_DISP_HF_AXI_CLK 14 25*342d2a60STaniya Das #define GCC_DISP_SF_AXI_CLK 15 26*342d2a60STaniya Das #define GCC_EVA_AHB_CLK 16 27*342d2a60STaniya Das #define GCC_EVA_AXI0_CLK 17 28*342d2a60STaniya Das #define GCC_EVA_AXI0C_CLK 18 29*342d2a60STaniya Das #define GCC_EVA_XO_CLK 19 30*342d2a60STaniya Das #define GCC_GP1_CLK 20 31*342d2a60STaniya Das #define GCC_GP1_CLK_SRC 21 32*342d2a60STaniya Das #define GCC_GP2_CLK 22 33*342d2a60STaniya Das #define GCC_GP2_CLK_SRC 23 34*342d2a60STaniya Das #define GCC_GP3_CLK 24 35*342d2a60STaniya Das #define GCC_GP3_CLK_SRC 25 36*342d2a60STaniya Das #define GCC_GPLL0 26 37*342d2a60STaniya Das #define GCC_GPLL0_OUT_EVEN 27 38*342d2a60STaniya Das #define GCC_GPLL1 28 39*342d2a60STaniya Das #define GCC_GPLL4 29 40*342d2a60STaniya Das #define GCC_GPLL7 30 41*342d2a60STaniya Das #define GCC_GPLL9 31 42*342d2a60STaniya Das #define GCC_GPU_CFG_AHB_CLK 32 43*342d2a60STaniya Das #define GCC_GPU_GEMNOC_GFX_CLK 33 44*342d2a60STaniya Das #define GCC_GPU_GPLL0_CLK_SRC 34 45*342d2a60STaniya Das #define GCC_GPU_GPLL0_DIV_CLK_SRC 35 46*342d2a60STaniya Das #define GCC_QMIP_VIDEO_VCODEC_AHB_CLK 36 47*342d2a60STaniya Das #define GCC_QMIP_GPU_AHB_CLK 37 48*342d2a60STaniya Das #define GCC_PCIE_0_AUX_CLK 38 49*342d2a60STaniya Das #define GCC_PCIE_0_AUX_CLK_SRC 39 50*342d2a60STaniya Das #define GCC_PCIE_0_CFG_AHB_CLK 40 51*342d2a60STaniya Das #define GCC_PCIE_0_MSTR_AXI_CLK 41 52*342d2a60STaniya Das #define GCC_PCIE_0_PHY_AUX_CLK 42 53*342d2a60STaniya Das #define GCC_PCIE_0_PHY_AUX_CLK_SRC 43 54*342d2a60STaniya Das #define GCC_PCIE_0_PHY_RCHNG_CLK 44 55*342d2a60STaniya Das #define GCC_PCIE_0_PHY_RCHNG_CLK_SRC 45 56*342d2a60STaniya Das #define GCC_PCIE_0_PIPE_CLK 46 57*342d2a60STaniya Das #define GCC_PCIE_0_PIPE_CLK_SRC 47 58*342d2a60STaniya Das #define GCC_PCIE_0_SLV_AXI_CLK 48 59*342d2a60STaniya Das #define GCC_PCIE_0_SLV_Q2A_AXI_CLK 49 60*342d2a60STaniya Das #define GCC_PCIE_RSCC_CFG_AHB_CLK 50 61*342d2a60STaniya Das #define GCC_PCIE_RSCC_XO_CLK 51 62*342d2a60STaniya Das #define GCC_PDM2_CLK 52 63*342d2a60STaniya Das #define GCC_PDM2_CLK_SRC 53 64*342d2a60STaniya Das #define GCC_PDM_AHB_CLK 54 65*342d2a60STaniya Das #define GCC_PDM_XO4_CLK 55 66*342d2a60STaniya Das #define GCC_QUPV3_I2C_CORE_CLK 56 67*342d2a60STaniya Das #define GCC_QUPV3_I2C_S0_CLK 57 68*342d2a60STaniya Das #define GCC_QUPV3_I2C_S0_CLK_SRC 58 69*342d2a60STaniya Das #define GCC_QUPV3_I2C_S1_CLK 59 70*342d2a60STaniya Das #define GCC_QUPV3_I2C_S1_CLK_SRC 60 71*342d2a60STaniya Das #define GCC_QUPV3_I2C_S2_CLK 61 72*342d2a60STaniya Das #define GCC_QUPV3_I2C_S2_CLK_SRC 62 73*342d2a60STaniya Das #define GCC_QUPV3_I2C_S3_CLK 63 74*342d2a60STaniya Das #define GCC_QUPV3_I2C_S3_CLK_SRC 64 75*342d2a60STaniya Das #define GCC_QUPV3_I2C_S4_CLK 65 76*342d2a60STaniya Das #define GCC_QUPV3_I2C_S4_CLK_SRC 66 77*342d2a60STaniya Das #define GCC_QUPV3_I2C_S_AHB_CLK 67 78*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_CORE_2X_CLK 68 79*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_CORE_CLK 69 80*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_QSPI_REF_CLK 70 81*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_QSPI_REF_CLK_SRC 71 82*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S0_CLK 72 83*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S0_CLK_SRC 73 84*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S1_CLK 74 85*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S1_CLK_SRC 75 86*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S2_CLK 76 87*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S2_CLK_SRC 77 88*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S3_CLK 78 89*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S3_CLK_SRC 79 90*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S4_CLK 80 91*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S4_CLK_SRC 81 92*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S5_CLK 82 93*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S5_CLK_SRC 83 94*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S6_CLK 84 95*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S6_CLK_SRC 85 96*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S7_CLK 86 97*342d2a60STaniya Das #define GCC_QUPV3_WRAP1_S7_CLK_SRC 87 98*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_CORE_2X_CLK 88 99*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_CORE_CLK 89 100*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S0_CLK 90 101*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S0_CLK_SRC 91 102*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S1_CLK 92 103*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S1_CLK_SRC 93 104*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S2_CLK 94 105*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S2_CLK_SRC 95 106*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S3_CLK 96 107*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S3_CLK_SRC 97 108*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S4_CLK 98 109*342d2a60STaniya Das #define GCC_QUPV3_WRAP2_S4_CLK_SRC 99 110*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_CORE_2X_CLK 100 111*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_CORE_CLK 101 112*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_IBI_CTRL_0_CLK_SRC 102 113*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_IBI_CTRL_1_CLK 103 114*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_IBI_CTRL_2_CLK 104 115*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S0_CLK 105 116*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S0_CLK_SRC 106 117*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S1_CLK 107 118*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S1_CLK_SRC 108 119*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S2_CLK 109 120*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S2_CLK_SRC 110 121*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S3_CLK 111 122*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S3_CLK_SRC 112 123*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S4_CLK 113 124*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S4_CLK_SRC 114 125*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S5_CLK 115 126*342d2a60STaniya Das #define GCC_QUPV3_WRAP3_S5_CLK_SRC 116 127*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_CORE_2X_CLK 117 128*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_CORE_CLK 118 129*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S0_CLK 119 130*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S0_CLK_SRC 120 131*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S1_CLK 121 132*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S1_CLK_SRC 122 133*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S2_CLK 123 134*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S2_CLK_SRC 124 135*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S3_CLK 125 136*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S3_CLK_SRC 126 137*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S4_CLK 127 138*342d2a60STaniya Das #define GCC_QUPV3_WRAP4_S4_CLK_SRC 128 139*342d2a60STaniya Das #define GCC_QUPV3_WRAP_1_M_AXI_CLK 129 140*342d2a60STaniya Das #define GCC_QUPV3_WRAP_1_S_AHB_CLK 130 141*342d2a60STaniya Das #define GCC_QUPV3_WRAP_2_M_AHB_CLK 131 142*342d2a60STaniya Das #define GCC_QUPV3_WRAP_2_S_AHB_CLK 132 143*342d2a60STaniya Das #define GCC_QUPV3_WRAP_3_IBI_1_AHB_CLK 133 144*342d2a60STaniya Das #define GCC_QUPV3_WRAP_3_IBI_2_AHB_CLK 134 145*342d2a60STaniya Das #define GCC_QUPV3_WRAP_3_M_AHB_CLK 135 146*342d2a60STaniya Das #define GCC_QUPV3_WRAP_3_S_AHB_CLK 136 147*342d2a60STaniya Das #define GCC_QUPV3_WRAP_4_M_AHB_CLK 137 148*342d2a60STaniya Das #define GCC_QUPV3_WRAP_4_S_AHB_CLK 138 149*342d2a60STaniya Das #define GCC_SDCC2_AHB_CLK 139 150*342d2a60STaniya Das #define GCC_SDCC2_APPS_CLK 140 151*342d2a60STaniya Das #define GCC_SDCC2_APPS_CLK_SRC 141 152*342d2a60STaniya Das #define GCC_SDCC4_AHB_CLK 142 153*342d2a60STaniya Das #define GCC_SDCC4_APPS_CLK 143 154*342d2a60STaniya Das #define GCC_SDCC4_APPS_CLK_SRC 144 155*342d2a60STaniya Das #define GCC_UFS_PHY_AHB_CLK 145 156*342d2a60STaniya Das #define GCC_UFS_PHY_AXI_CLK 146 157*342d2a60STaniya Das #define GCC_UFS_PHY_AXI_CLK_SRC 147 158*342d2a60STaniya Das #define GCC_UFS_PHY_ICE_CORE_CLK 148 159*342d2a60STaniya Das #define GCC_UFS_PHY_ICE_CORE_CLK_SRC 149 160*342d2a60STaniya Das #define GCC_UFS_PHY_PHY_AUX_CLK 150 161*342d2a60STaniya Das #define GCC_UFS_PHY_PHY_AUX_CLK_SRC 151 162*342d2a60STaniya Das #define GCC_UFS_PHY_RX_SYMBOL_0_CLK 152 163*342d2a60STaniya Das #define GCC_UFS_PHY_RX_SYMBOL_0_CLK_SRC 153 164*342d2a60STaniya Das #define GCC_UFS_PHY_RX_SYMBOL_1_CLK 154 165*342d2a60STaniya Das #define GCC_UFS_PHY_RX_SYMBOL_1_CLK_SRC 155 166*342d2a60STaniya Das #define GCC_UFS_PHY_TX_SYMBOL_0_CLK 156 167*342d2a60STaniya Das #define GCC_UFS_PHY_TX_SYMBOL_0_CLK_SRC 157 168*342d2a60STaniya Das #define GCC_UFS_PHY_UNIPRO_CORE_CLK 158 169*342d2a60STaniya Das #define GCC_UFS_PHY_UNIPRO_CORE_CLK_SRC 159 170*342d2a60STaniya Das #define GCC_USB30_PRIM_MASTER_CLK 160 171*342d2a60STaniya Das #define GCC_USB30_PRIM_MASTER_CLK_SRC 161 172*342d2a60STaniya Das #define GCC_USB30_PRIM_MOCK_UTMI_CLK 162 173*342d2a60STaniya Das #define GCC_USB30_PRIM_MOCK_UTMI_CLK_SRC 163 174*342d2a60STaniya Das #define GCC_USB30_PRIM_MOCK_UTMI_POSTDIV_CLK_SRC 164 175*342d2a60STaniya Das #define GCC_USB30_PRIM_SLEEP_CLK 165 176*342d2a60STaniya Das #define GCC_USB3_PRIM_PHY_AUX_CLK 166 177*342d2a60STaniya Das #define GCC_USB3_PRIM_PHY_AUX_CLK_SRC 167 178*342d2a60STaniya Das #define GCC_USB3_PRIM_PHY_COM_AUX_CLK 168 179*342d2a60STaniya Das #define GCC_USB3_PRIM_PHY_PIPE_CLK 169 180*342d2a60STaniya Das #define GCC_USB3_PRIM_PHY_PIPE_CLK_SRC 170 181*342d2a60STaniya Das #define GCC_VIDEO_AHB_CLK 171 182*342d2a60STaniya Das #define GCC_VIDEO_AXI0_CLK 172 183*342d2a60STaniya Das #define GCC_VIDEO_AXI1_CLK 173 184*342d2a60STaniya Das #define GCC_VIDEO_XO_CLK 174 185*342d2a60STaniya Das #define GCC_QMIP_CAMERA_NRT_AHB_CLK 175 186*342d2a60STaniya Das #define GCC_QMIP_CAMERA_RT_AHB_CLK 176 187*342d2a60STaniya Das #define GCC_QMIP_DISP_DCP_SF_AHB_CLK 177 188*342d2a60STaniya Das #define GCC_QMIP_PCIE_AHB_CLK 178 189*342d2a60STaniya Das #define GCC_QMIP_VIDEO_CV_CPU_AHB_CLK 179 190*342d2a60STaniya Das #define GCC_QMIP_VIDEO_CVP_AHB_CLK 180 191*342d2a60STaniya Das #define GCC_QMIP_VIDEO_V_CPU_AHB_CLK 181 192*342d2a60STaniya Das #define GCC_DISP_AHB_CLK 182 193*342d2a60STaniya Das 194*342d2a60STaniya Das /* GCC power domains */ 195*342d2a60STaniya Das #define GCC_PCIE_0_GDSC 0 196*342d2a60STaniya Das #define GCC_PCIE_0_PHY_GDSC 1 197*342d2a60STaniya Das #define GCC_UFS_MEM_PHY_GDSC 2 198*342d2a60STaniya Das #define GCC_UFS_PHY_GDSC 3 199*342d2a60STaniya Das #define GCC_USB30_PRIM_GDSC 4 200*342d2a60STaniya Das #define GCC_USB3_PHY_GDSC 5 201*342d2a60STaniya Das 202*342d2a60STaniya Das /* GCC resets */ 203*342d2a60STaniya Das #define GCC_CAMERA_BCR 0 204*342d2a60STaniya Das #define GCC_DISPLAY_BCR 1 205*342d2a60STaniya Das #define GCC_EVA_AXI0_CLK_ARES 2 206*342d2a60STaniya Das #define GCC_EVA_AXI0C_CLK_ARES 3 207*342d2a60STaniya Das #define GCC_EVA_BCR 4 208*342d2a60STaniya Das #define GCC_GPU_BCR 5 209*342d2a60STaniya Das #define GCC_PCIE_0_BCR 6 210*342d2a60STaniya Das #define GCC_PCIE_0_LINK_DOWN_BCR 7 211*342d2a60STaniya Das #define GCC_PCIE_0_NOCSR_COM_PHY_BCR 8 212*342d2a60STaniya Das #define GCC_PCIE_0_PHY_BCR 9 213*342d2a60STaniya Das #define GCC_PCIE_0_PHY_NOCSR_COM_PHY_BCR 10 214*342d2a60STaniya Das #define GCC_PCIE_PHY_BCR 11 215*342d2a60STaniya Das #define GCC_PCIE_PHY_CFG_AHB_BCR 12 216*342d2a60STaniya Das #define GCC_PCIE_PHY_COM_BCR 13 217*342d2a60STaniya Das #define GCC_PCIE_RSCC_BCR 14 218*342d2a60STaniya Das #define GCC_PDM_BCR 15 219*342d2a60STaniya Das #define GCC_QUPV3_WRAPPER_1_BCR 16 220*342d2a60STaniya Das #define GCC_QUPV3_WRAPPER_2_BCR 17 221*342d2a60STaniya Das #define GCC_QUPV3_WRAPPER_3_BCR 18 222*342d2a60STaniya Das #define GCC_QUPV3_WRAPPER_4_BCR 19 223*342d2a60STaniya Das #define GCC_QUPV3_WRAPPER_I2C_BCR 20 224*342d2a60STaniya Das #define GCC_QUSB2PHY_PRIM_BCR 21 225*342d2a60STaniya Das #define GCC_QUSB2PHY_SEC_BCR 22 226*342d2a60STaniya Das #define GCC_SDCC2_BCR 23 227*342d2a60STaniya Das #define GCC_SDCC4_BCR 24 228*342d2a60STaniya Das #define GCC_UFS_PHY_BCR 25 229*342d2a60STaniya Das #define GCC_USB30_PRIM_BCR 26 230*342d2a60STaniya Das #define GCC_USB3_DP_PHY_PRIM_BCR 27 231*342d2a60STaniya Das #define GCC_USB3_DP_PHY_SEC_BCR 28 232*342d2a60STaniya Das #define GCC_USB3_PHY_PRIM_BCR 29 233*342d2a60STaniya Das #define GCC_USB3_PHY_SEC_BCR 30 234*342d2a60STaniya Das #define GCC_USB3PHY_PHY_PRIM_BCR 31 235*342d2a60STaniya Das #define GCC_USB3PHY_PHY_SEC_BCR 32 236*342d2a60STaniya Das #define GCC_VIDEO_AXI0_CLK_ARES 33 237*342d2a60STaniya Das #define GCC_VIDEO_AXI1_CLK_ARES 34 238*342d2a60STaniya Das #define GCC_VIDEO_BCR 35 239*342d2a60STaniya Das #define GCC_VIDEO_XO_CLK_ARES 36 240*342d2a60STaniya Das 241*342d2a60STaniya Das #endif 242