18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_CLK_SDM_GPU_CC_SDM845_H
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* GPU_CC clock registers */
108c2ecf20Sopenharmony_ci#define GPU_CC_CX_GMU_CLK			0
118c2ecf20Sopenharmony_ci#define GPU_CC_CXO_CLK				1
128c2ecf20Sopenharmony_ci#define GPU_CC_GMU_CLK_SRC			2
138c2ecf20Sopenharmony_ci#define GPU_CC_PLL1				3
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci/* GPU_CC Resets */
168c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR			0
178c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_GMU_BCR			1
188c2ecf20Sopenharmony_ci#define GPUCC_GPU_CC_XO_BCR			2
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci/* GPU_CC GDSCRs */
218c2ecf20Sopenharmony_ci#define GPU_CX_GDSC				0
228c2ecf20Sopenharmony_ci#define GPU_GX_GDSC				1
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif
25