1*06498d59STaniya Das /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*06498d59STaniya Das /* 3*06498d59STaniya Das * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4*06498d59STaniya Das */ 5*06498d59STaniya Das 6*06498d59STaniya Das #ifndef _DT_BINDINGS_CLK_QCOM_NE_GCC_NORD_H 7*06498d59STaniya Das #define _DT_BINDINGS_CLK_QCOM_NE_GCC_NORD_H 8*06498d59STaniya Das 9*06498d59STaniya Das /* NE_GCC clocks */ 10*06498d59STaniya Das #define NE_GCC_AGGRE_NOC_UFS_PHY_AXI_CLK 0 11*06498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB2_AXI_CLK 1 12*06498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB3_PRIM_AXI_CLK 2 13*06498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB3_SEC_AXI_CLK 3 14*06498d59STaniya Das #define NE_GCC_AHB2PHY_CLK 4 15*06498d59STaniya Das #define NE_GCC_CNOC_USB2_AXI_CLK 5 16*06498d59STaniya Das #define NE_GCC_CNOC_USB3_PRIM_AXI_CLK 6 17*06498d59STaniya Das #define NE_GCC_CNOC_USB3_SEC_AXI_CLK 7 18*06498d59STaniya Das #define NE_GCC_FRQ_MEASURE_REF_CLK 8 19*06498d59STaniya Das #define NE_GCC_GP1_CLK 9 20*06498d59STaniya Das #define NE_GCC_GP1_CLK_SRC 10 21*06498d59STaniya Das #define NE_GCC_GP2_CLK 11 22*06498d59STaniya Das #define NE_GCC_GP2_CLK_SRC 12 23*06498d59STaniya Das #define NE_GCC_GPLL0 13 24*06498d59STaniya Das #define NE_GCC_GPLL0_OUT_EVEN 14 25*06498d59STaniya Das #define NE_GCC_GPLL2 15 26*06498d59STaniya Das #define NE_GCC_GPU_2_CFG_CLK 16 27*06498d59STaniya Das #define NE_GCC_GPU_2_GPLL0_CLK_SRC 17 28*06498d59STaniya Das #define NE_GCC_GPU_2_GPLL0_DIV_CLK_SRC 18 29*06498d59STaniya Das #define NE_GCC_GPU_2_HSCNOC_GFX_CLK 19 30*06498d59STaniya Das #define NE_GCC_GPU_2_SMMU_VOTE_CLK 20 31*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_CORE_2X_CLK 21 32*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_CORE_CLK 22 33*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_M_AHB_CLK 23 34*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S0_CLK 24 35*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S0_CLK_SRC 25 36*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S1_CLK 26 37*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S1_CLK_SRC 27 38*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S2_CLK 28 39*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S2_CLK_SRC 29 40*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S3_CLK 30 41*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S3_CLK_SRC 31 42*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S4_CLK 32 43*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S4_CLK_SRC 33 44*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S5_CLK 34 45*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S5_CLK_SRC 35 46*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S6_CLK 36 47*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S6_CLK_SRC 37 48*06498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S_AHB_CLK 38 49*06498d59STaniya Das #define NE_GCC_SDCC4_APPS_CLK 39 50*06498d59STaniya Das #define NE_GCC_SDCC4_APPS_CLK_SRC 40 51*06498d59STaniya Das #define NE_GCC_SDCC4_AXI_CLK 41 52*06498d59STaniya Das #define NE_GCC_UFS_PHY_AHB_CLK 42 53*06498d59STaniya Das #define NE_GCC_UFS_PHY_AXI_CLK 43 54*06498d59STaniya Das #define NE_GCC_UFS_PHY_AXI_CLK_SRC 44 55*06498d59STaniya Das #define NE_GCC_UFS_PHY_ICE_CORE_CLK 45 56*06498d59STaniya Das #define NE_GCC_UFS_PHY_ICE_CORE_CLK_SRC 46 57*06498d59STaniya Das #define NE_GCC_UFS_PHY_PHY_AUX_CLK 47 58*06498d59STaniya Das #define NE_GCC_UFS_PHY_PHY_AUX_CLK_SRC 48 59*06498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_0_CLK 49 60*06498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_0_CLK_SRC 50 61*06498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_1_CLK 51 62*06498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_1_CLK_SRC 52 63*06498d59STaniya Das #define NE_GCC_UFS_PHY_TX_SYMBOL_0_CLK 53 64*06498d59STaniya Das #define NE_GCC_UFS_PHY_TX_SYMBOL_0_CLK_SRC 54 65*06498d59STaniya Das #define NE_GCC_UFS_PHY_UNIPRO_CORE_CLK 55 66*06498d59STaniya Das #define NE_GCC_UFS_PHY_UNIPRO_CORE_CLK_SRC 56 67*06498d59STaniya Das #define NE_GCC_USB20_MASTER_CLK 57 68*06498d59STaniya Das #define NE_GCC_USB20_MASTER_CLK_SRC 58 69*06498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_CLK 59 70*06498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_CLK_SRC 60 71*06498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_POSTDIV_CLK_SRC 61 72*06498d59STaniya Das #define NE_GCC_USB20_SLEEP_CLK 62 73*06498d59STaniya Das #define NE_GCC_USB31_PRIM_ATB_CLK 63 74*06498d59STaniya Das #define NE_GCC_USB31_PRIM_EUD_AHB_CLK 64 75*06498d59STaniya Das #define NE_GCC_USB31_PRIM_MASTER_CLK 65 76*06498d59STaniya Das #define NE_GCC_USB31_PRIM_MASTER_CLK_SRC 66 77*06498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_CLK 67 78*06498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_CLK_SRC 68 79*06498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_POSTDIV_CLK_SRC 69 80*06498d59STaniya Das #define NE_GCC_USB31_PRIM_SLEEP_CLK 70 81*06498d59STaniya Das #define NE_GCC_USB31_SEC_ATB_CLK 71 82*06498d59STaniya Das #define NE_GCC_USB31_SEC_EUD_AHB_CLK 72 83*06498d59STaniya Das #define NE_GCC_USB31_SEC_MASTER_CLK 73 84*06498d59STaniya Das #define NE_GCC_USB31_SEC_MASTER_CLK_SRC 74 85*06498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_CLK 75 86*06498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_CLK_SRC 76 87*06498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_POSTDIV_CLK_SRC 77 88*06498d59STaniya Das #define NE_GCC_USB31_SEC_SLEEP_CLK 78 89*06498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_AUX_CLK 79 90*06498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_AUX_CLK_SRC 80 91*06498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_COM_AUX_CLK 81 92*06498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_PIPE_CLK 82 93*06498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_PIPE_CLK_SRC 83 94*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_AUX_CLK 84 95*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_AUX_CLK_SRC 85 96*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_COM_AUX_CLK 86 97*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_PIPE_CLK 87 98*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_PIPE_CLK_SRC 88 99*06498d59STaniya Das 100*06498d59STaniya Das /* NE_GCC power domains */ 101*06498d59STaniya Das #define NE_GCC_UFS_MEM_PHY_GDSC 0 102*06498d59STaniya Das #define NE_GCC_UFS_PHY_GDSC 1 103*06498d59STaniya Das #define NE_GCC_USB20_PRIM_GDSC 2 104*06498d59STaniya Das #define NE_GCC_USB31_PRIM_GDSC 3 105*06498d59STaniya Das #define NE_GCC_USB31_SEC_GDSC 4 106*06498d59STaniya Das #define NE_GCC_USB3_PHY_GDSC 5 107*06498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_GDSC 6 108*06498d59STaniya Das 109*06498d59STaniya Das /* NE_GCC resets */ 110*06498d59STaniya Das #define NE_GCC_GPU_2_BCR 0 111*06498d59STaniya Das #define NE_GCC_QUPV3_WRAPPER_2_BCR 1 112*06498d59STaniya Das #define NE_GCC_SDCC4_BCR 2 113*06498d59STaniya Das #define NE_GCC_UFS_PHY_BCR 3 114*06498d59STaniya Das #define NE_GCC_USB20_PRIM_BCR 4 115*06498d59STaniya Das #define NE_GCC_USB31_PRIM_BCR 5 116*06498d59STaniya Das #define NE_GCC_USB31_SEC_BCR 6 117*06498d59STaniya Das #define NE_GCC_USB3_DP_PHY_PRIM_BCR 7 118*06498d59STaniya Das #define NE_GCC_USB3_DP_PHY_SEC_BCR 8 119*06498d59STaniya Das #define NE_GCC_USB3_PHY_PRIM_BCR 9 120*06498d59STaniya Das #define NE_GCC_USB3_PHY_SEC_BCR 10 121*06498d59STaniya Das #define NE_GCC_USB3PHY_PHY_PRIM_BCR 11 122*06498d59STaniya Das #define NE_GCC_USB3PHY_PHY_SEC_BCR 12 123*06498d59STaniya Das 124*06498d59STaniya Das #endif 125