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_SM8150_H
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8150_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
218c2ecf20Sopenharmony_ci/* GPU_CC Resets */
228c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR			0
238c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GFX3D_AON_BCR		1
248c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GMU_BCR			2
258c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GX_BCR			3
268c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_SPDM_BCR			4
278c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_XO_BCR			5
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci/* GPU_CC GDSCRs */
308c2ecf20Sopenharmony_ci#define GPU_CX_GDSC				0
318c2ecf20Sopenharmony_ci#define GPU_GX_GDSC				1
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci#endif
34