xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/qcom,gpucc-sdm845.h (revision 72bc2c8e9f09b43bbcf44c3e027f42c8fb23d7ad)
1 /*	$NetBSD: qcom,gpucc-sdm845.h,v 1.1.1.1 2019/05/25 11:29:13 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 /*
5  * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6  */
7 
8 #ifndef _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
9 #define _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
10 
11 /* GPU_CC clock registers */
12 #define GPU_CC_CX_GMU_CLK			0
13 #define GPU_CC_CXO_CLK				1
14 #define GPU_CC_GMU_CLK_SRC			2
15 #define GPU_CC_PLL1				3
16 
17 /* GPU_CC Resets */
18 #define GPUCC_GPU_CC_CX_BCR			0
19 #define GPUCC_GPU_CC_GMU_BCR			1
20 #define GPUCC_GPU_CC_XO_BCR			2
21 
22 /* GPU_CC GDSCRs */
23 #define GPU_CX_GDSC				0
24 #define GPU_GX_GDSC				1
25 
26 #endif
27