xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gpucc-sm6350.h (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2*c9ccf3a3SEmmanuel Vadot /*
3*c9ccf3a3SEmmanuel Vadot  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4*c9ccf3a3SEmmanuel Vadot  * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
5*c9ccf3a3SEmmanuel Vadot  */
6*c9ccf3a3SEmmanuel Vadot 
7*c9ccf3a3SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM6350_H
8*c9ccf3a3SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM6350_H
9*c9ccf3a3SEmmanuel Vadot 
10*c9ccf3a3SEmmanuel Vadot /* GPU_CC clocks */
11*c9ccf3a3SEmmanuel Vadot #define GPU_CC_PLL0						0
12*c9ccf3a3SEmmanuel Vadot #define GPU_CC_PLL1						1
13*c9ccf3a3SEmmanuel Vadot #define GPU_CC_ACD_AHB_CLK					2
14*c9ccf3a3SEmmanuel Vadot #define GPU_CC_ACD_CXO_CLK					3
15*c9ccf3a3SEmmanuel Vadot #define GPU_CC_AHB_CLK						4
16*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CRC_AHB_CLK					5
17*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CX_GFX3D_CLK					6
18*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CX_GFX3D_SLV_CLK					7
19*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CX_GMU_CLK					8
20*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CX_SNOC_DVM_CLK					9
21*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CXO_AON_CLK					10
22*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CXO_CLK						11
23*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GMU_CLK_SRC					12
24*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GX_CXO_CLK					13
25*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GX_GFX3D_CLK					14
26*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GX_GFX3D_CLK_SRC					15
27*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GX_GMU_CLK					16
28*c9ccf3a3SEmmanuel Vadot #define GPU_CC_GX_VSENSE_CLK					17
29*c9ccf3a3SEmmanuel Vadot 
30*c9ccf3a3SEmmanuel Vadot /* CLK_HW */
31*c9ccf3a3SEmmanuel Vadot #define GPU_CC_CRC_DIV						0
32*c9ccf3a3SEmmanuel Vadot 
33*c9ccf3a3SEmmanuel Vadot /* GDSCs */
34*c9ccf3a3SEmmanuel Vadot #define GPU_CX_GDSC						0
35*c9ccf3a3SEmmanuel Vadot #define GPU_GX_GDSC						1
36*c9ccf3a3SEmmanuel Vadot 
37*c9ccf3a3SEmmanuel Vadot #endif
38