xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/clock/qcom,gpucc-sdm660.h (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*5def4c47SEmmanuel Vadot /*
3*5def4c47SEmmanuel Vadot  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
4*5def4c47SEmmanuel Vadot  * Copyright (c) 2020, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
5*5def4c47SEmmanuel Vadot  */
6*5def4c47SEmmanuel Vadot 
7*5def4c47SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_SDM_GPUCC_660_H
8*5def4c47SEmmanuel Vadot #define _DT_BINDINGS_CLK_SDM_GPUCC_660_H
9*5def4c47SEmmanuel Vadot 
10*5def4c47SEmmanuel Vadot #define GPUCC_CXO_CLK			0
11*5def4c47SEmmanuel Vadot #define GPU_PLL0_PLL			1
12*5def4c47SEmmanuel Vadot #define GPU_PLL1_PLL			2
13*5def4c47SEmmanuel Vadot #define GFX3D_CLK_SRC			3
14*5def4c47SEmmanuel Vadot #define RBCPR_CLK_SRC			4
15*5def4c47SEmmanuel Vadot #define RBBMTIMER_CLK_SRC		5
16*5def4c47SEmmanuel Vadot #define GPUCC_RBCPR_CLK			6
17*5def4c47SEmmanuel Vadot #define GPUCC_GFX3D_CLK			7
18*5def4c47SEmmanuel Vadot #define GPUCC_RBBMTIMER_CLK		8
19*5def4c47SEmmanuel Vadot 
20*5def4c47SEmmanuel Vadot #define GPU_CX_GDSC			0
21*5def4c47SEmmanuel Vadot #define GPU_GX_GDSC			1
22*5def4c47SEmmanuel Vadot 
23*5def4c47SEmmanuel Vadot #define GPU_CX_BCR			0
24*5def4c47SEmmanuel Vadot #define GPU_GX_BCR			1
25*5def4c47SEmmanuel Vadot #define RBCPR_BCR			2
26*5def4c47SEmmanuel Vadot #define SPDM_BCR			3
27*5def4c47SEmmanuel Vadot 
28*5def4c47SEmmanuel Vadot #endif
29