18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8250_H
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8250_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* GPU_CC clock registers */
108c2ecf20Sopenharmony_ci#define GPU_CC_AHB_CLK				0
118c2ecf20Sopenharmony_ci#define GPU_CC_CRC_AHB_CLK			1
128c2ecf20Sopenharmony_ci#define GPU_CC_CX_APB_CLK			2
138c2ecf20Sopenharmony_ci#define GPU_CC_CX_GMU_CLK			3
148c2ecf20Sopenharmony_ci#define GPU_CC_CX_SNOC_DVM_CLK			4
158c2ecf20Sopenharmony_ci#define GPU_CC_CXO_AON_CLK			5
168c2ecf20Sopenharmony_ci#define GPU_CC_CXO_CLK				6
178c2ecf20Sopenharmony_ci#define GPU_CC_GMU_CLK_SRC			7
188c2ecf20Sopenharmony_ci#define GPU_CC_GX_GMU_CLK			8
198c2ecf20Sopenharmony_ci#define GPU_CC_PLL1				9
208c2ecf20Sopenharmony_ci#define GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK		10
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci/* GPU_CC Resets */
238c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_ACD_BCR			0
248c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR			1
258c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GFX3D_AON_BCR		2
268c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GMU_BCR			3
278c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GX_BCR			4
288c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_XO_BCR			5
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci/* GPU_CC GDSCRs */
318c2ecf20Sopenharmony_ci#define GPU_CX_GDSC				0
328c2ecf20Sopenharmony_ci#define GPU_GX_GDSC				1
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci#endif
35