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