106498d59STaniya Das /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 206498d59STaniya Das /* 306498d59STaniya Das * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 406498d59STaniya Das */ 506498d59STaniya Das 606498d59STaniya Das #ifndef _DT_BINDINGS_CLK_QCOM_NE_GCC_NORD_H 706498d59STaniya Das #define _DT_BINDINGS_CLK_QCOM_NE_GCC_NORD_H 806498d59STaniya Das 906498d59STaniya Das /* NE_GCC clocks */ 1006498d59STaniya Das #define NE_GCC_AGGRE_NOC_UFS_PHY_AXI_CLK 0 1106498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB2_AXI_CLK 1 1206498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB3_PRIM_AXI_CLK 2 1306498d59STaniya Das #define NE_GCC_AGGRE_NOC_USB3_SEC_AXI_CLK 3 1406498d59STaniya Das #define NE_GCC_AHB2PHY_CLK 4 1506498d59STaniya Das #define NE_GCC_CNOC_USB2_AXI_CLK 5 1606498d59STaniya Das #define NE_GCC_CNOC_USB3_PRIM_AXI_CLK 6 1706498d59STaniya Das #define NE_GCC_CNOC_USB3_SEC_AXI_CLK 7 1806498d59STaniya Das #define NE_GCC_FRQ_MEASURE_REF_CLK 8 1906498d59STaniya Das #define NE_GCC_GP1_CLK 9 2006498d59STaniya Das #define NE_GCC_GP1_CLK_SRC 10 2106498d59STaniya Das #define NE_GCC_GP2_CLK 11 2206498d59STaniya Das #define NE_GCC_GP2_CLK_SRC 12 2306498d59STaniya Das #define NE_GCC_GPLL0 13 2406498d59STaniya Das #define NE_GCC_GPLL0_OUT_EVEN 14 2506498d59STaniya Das #define NE_GCC_GPLL2 15 2606498d59STaniya Das #define NE_GCC_GPU_2_CFG_CLK 16 2706498d59STaniya Das #define NE_GCC_GPU_2_GPLL0_CLK_SRC 17 2806498d59STaniya Das #define NE_GCC_GPU_2_GPLL0_DIV_CLK_SRC 18 2906498d59STaniya Das #define NE_GCC_GPU_2_HSCNOC_GFX_CLK 19 3006498d59STaniya Das #define NE_GCC_GPU_2_SMMU_VOTE_CLK 20 3106498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_CORE_2X_CLK 21 3206498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_CORE_CLK 22 3306498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_M_AHB_CLK 23 3406498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S0_CLK 24 3506498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S0_CLK_SRC 25 3606498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S1_CLK 26 3706498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S1_CLK_SRC 27 3806498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S2_CLK 28 3906498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S2_CLK_SRC 29 4006498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S3_CLK 30 4106498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S3_CLK_SRC 31 4206498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S4_CLK 32 4306498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S4_CLK_SRC 33 4406498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S5_CLK 34 4506498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S5_CLK_SRC 35 4606498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S6_CLK 36 4706498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S6_CLK_SRC 37 4806498d59STaniya Das #define NE_GCC_QUPV3_WRAP2_S_AHB_CLK 38 4906498d59STaniya Das #define NE_GCC_SDCC4_APPS_CLK 39 5006498d59STaniya Das #define NE_GCC_SDCC4_APPS_CLK_SRC 40 5106498d59STaniya Das #define NE_GCC_SDCC4_AXI_CLK 41 5206498d59STaniya Das #define NE_GCC_UFS_PHY_AHB_CLK 42 5306498d59STaniya Das #define NE_GCC_UFS_PHY_AXI_CLK 43 5406498d59STaniya Das #define NE_GCC_UFS_PHY_AXI_CLK_SRC 44 5506498d59STaniya Das #define NE_GCC_UFS_PHY_ICE_CORE_CLK 45 5606498d59STaniya Das #define NE_GCC_UFS_PHY_ICE_CORE_CLK_SRC 46 5706498d59STaniya Das #define NE_GCC_UFS_PHY_PHY_AUX_CLK 47 5806498d59STaniya Das #define NE_GCC_UFS_PHY_PHY_AUX_CLK_SRC 48 5906498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_0_CLK 49 6006498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_0_CLK_SRC 50 6106498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_1_CLK 51 6206498d59STaniya Das #define NE_GCC_UFS_PHY_RX_SYMBOL_1_CLK_SRC 52 6306498d59STaniya Das #define NE_GCC_UFS_PHY_TX_SYMBOL_0_CLK 53 6406498d59STaniya Das #define NE_GCC_UFS_PHY_TX_SYMBOL_0_CLK_SRC 54 6506498d59STaniya Das #define NE_GCC_UFS_PHY_UNIPRO_CORE_CLK 55 6606498d59STaniya Das #define NE_GCC_UFS_PHY_UNIPRO_CORE_CLK_SRC 56 6706498d59STaniya Das #define NE_GCC_USB20_MASTER_CLK 57 6806498d59STaniya Das #define NE_GCC_USB20_MASTER_CLK_SRC 58 6906498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_CLK 59 7006498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_CLK_SRC 60 7106498d59STaniya Das #define NE_GCC_USB20_MOCK_UTMI_POSTDIV_CLK_SRC 61 7206498d59STaniya Das #define NE_GCC_USB20_SLEEP_CLK 62 7306498d59STaniya Das #define NE_GCC_USB31_PRIM_ATB_CLK 63 7406498d59STaniya Das #define NE_GCC_USB31_PRIM_EUD_AHB_CLK 64 7506498d59STaniya Das #define NE_GCC_USB31_PRIM_MASTER_CLK 65 7606498d59STaniya Das #define NE_GCC_USB31_PRIM_MASTER_CLK_SRC 66 7706498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_CLK 67 7806498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_CLK_SRC 68 7906498d59STaniya Das #define NE_GCC_USB31_PRIM_MOCK_UTMI_POSTDIV_CLK_SRC 69 8006498d59STaniya Das #define NE_GCC_USB31_PRIM_SLEEP_CLK 70 8106498d59STaniya Das #define NE_GCC_USB31_SEC_ATB_CLK 71 8206498d59STaniya Das #define NE_GCC_USB31_SEC_EUD_AHB_CLK 72 8306498d59STaniya Das #define NE_GCC_USB31_SEC_MASTER_CLK 73 8406498d59STaniya Das #define NE_GCC_USB31_SEC_MASTER_CLK_SRC 74 8506498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_CLK 75 8606498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_CLK_SRC 76 8706498d59STaniya Das #define NE_GCC_USB31_SEC_MOCK_UTMI_POSTDIV_CLK_SRC 77 8806498d59STaniya Das #define NE_GCC_USB31_SEC_SLEEP_CLK 78 8906498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_AUX_CLK 79 9006498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_AUX_CLK_SRC 80 9106498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_COM_AUX_CLK 81 9206498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_PIPE_CLK 82 9306498d59STaniya Das #define NE_GCC_USB3_PRIM_PHY_PIPE_CLK_SRC 83 9406498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_AUX_CLK 84 9506498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_AUX_CLK_SRC 85 9606498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_COM_AUX_CLK 86 9706498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_PIPE_CLK 87 9806498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_PIPE_CLK_SRC 88 9906498d59STaniya Das 10006498d59STaniya Das /* NE_GCC power domains */ 10106498d59STaniya Das #define NE_GCC_UFS_MEM_PHY_GDSC 0 10206498d59STaniya Das #define NE_GCC_UFS_PHY_GDSC 1 10306498d59STaniya Das #define NE_GCC_USB20_PRIM_GDSC 2 10406498d59STaniya Das #define NE_GCC_USB31_PRIM_GDSC 3 10506498d59STaniya Das #define NE_GCC_USB31_SEC_GDSC 4 10606498d59STaniya Das #define NE_GCC_USB3_PHY_GDSC 5 10706498d59STaniya Das #define NE_GCC_USB3_SEC_PHY_GDSC 6 10806498d59STaniya Das 10906498d59STaniya Das /* NE_GCC resets */ 11006498d59STaniya Das #define NE_GCC_GPU_2_BCR 0 11106498d59STaniya Das #define NE_GCC_QUPV3_WRAPPER_2_BCR 1 11206498d59STaniya Das #define NE_GCC_SDCC4_BCR 2 11306498d59STaniya Das #define NE_GCC_UFS_PHY_BCR 3 11406498d59STaniya Das #define NE_GCC_USB20_PRIM_BCR 4 11506498d59STaniya Das #define NE_GCC_USB31_PRIM_BCR 5 11606498d59STaniya Das #define NE_GCC_USB31_SEC_BCR 6 11706498d59STaniya Das #define NE_GCC_USB3_DP_PHY_PRIM_BCR 7 11806498d59STaniya Das #define NE_GCC_USB3_DP_PHY_SEC_BCR 8 11906498d59STaniya Das #define NE_GCC_USB3_PHY_PRIM_BCR 9 12006498d59STaniya Das #define NE_GCC_USB3_PHY_SEC_BCR 10 12106498d59STaniya Das #define NE_GCC_USB3PHY_PHY_PRIM_BCR 11 12206498d59STaniya Das #define NE_GCC_USB3PHY_PHY_SEC_BCR 12 123*d62b0e31SBartosz Golaszewski #define NE_GCC_QUSB2PHY_PRIM_BCR 13 12406498d59STaniya Das 12506498d59STaniya Das #endif 126