xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gpucc-msm8998.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2019, Jeffrey Hugo
4*c66ec88fSEmmanuel Vadot  */
5*c66ec88fSEmmanuel Vadot 
6*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MSM_GPUCC_8998_H
7*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_MSM_GPUCC_8998_H
8*c66ec88fSEmmanuel Vadot 
9*c66ec88fSEmmanuel Vadot #define GPUPLL0						0
10*c66ec88fSEmmanuel Vadot #define GPUPLL0_OUT_EVEN				1
11*c66ec88fSEmmanuel Vadot #define RBCPR_CLK_SRC					2
12*c66ec88fSEmmanuel Vadot #define GFX3D_CLK_SRC					3
13*c66ec88fSEmmanuel Vadot #define RBBMTIMER_CLK_SRC				4
14*c66ec88fSEmmanuel Vadot #define GFX3D_ISENSE_CLK_SRC				5
15*c66ec88fSEmmanuel Vadot #define RBCPR_CLK					6
16*c66ec88fSEmmanuel Vadot #define GFX3D_CLK					7
17*c66ec88fSEmmanuel Vadot #define RBBMTIMER_CLK					8
18*c66ec88fSEmmanuel Vadot #define GFX3D_ISENSE_CLK				9
19*c66ec88fSEmmanuel Vadot #define GPUCC_CXO_CLK					10
20*c66ec88fSEmmanuel Vadot 
21*c66ec88fSEmmanuel Vadot #define GPU_CX_BCR					0
22*c66ec88fSEmmanuel Vadot #define RBCPR_BCR					1
23*c66ec88fSEmmanuel Vadot #define GPU_GX_BCR					2
24*c66ec88fSEmmanuel Vadot #define GPU_ISENSE_BCR					3
25*c66ec88fSEmmanuel Vadot 
26*c66ec88fSEmmanuel Vadot #define GPU_CX_GDSC					1
27*c66ec88fSEmmanuel Vadot #define GPU_GX_GDSC					2
28*c66ec88fSEmmanuel Vadot 
29*c66ec88fSEmmanuel Vadot #endif
30