xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gpucc-sdm845.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
4  */
5 
6 #ifndef _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
7 #define _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
8 
9 /* GPU_CC clock registers */
10 #define GPU_CC_CX_GMU_CLK			0
11 #define GPU_CC_CXO_CLK				1
12 #define GPU_CC_GMU_CLK_SRC			2
13 #define GPU_CC_PLL1				3
14 
15 /* GPU_CC Resets */
16 #define GPUCC_GPU_CC_CX_BCR			0
17 #define GPUCC_GPU_CC_GMU_BCR			1
18 #define GPUCC_GPU_CC_XO_BCR			2
19 
20 /* GPU_CC GDSCRs */
21 #define GPU_CX_GDSC				0
22 #define GPU_GX_GDSC				1
23 
24 #endif
25