162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8250_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8250_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* GPU_CC clock registers */
1062306a36Sopenharmony_ci#define GPU_CC_AHB_CLK				0
1162306a36Sopenharmony_ci#define GPU_CC_CRC_AHB_CLK			1
1262306a36Sopenharmony_ci#define GPU_CC_CX_APB_CLK			2
1362306a36Sopenharmony_ci#define GPU_CC_CX_GMU_CLK			3
1462306a36Sopenharmony_ci#define GPU_CC_CX_SNOC_DVM_CLK			4
1562306a36Sopenharmony_ci#define GPU_CC_CXO_AON_CLK			5
1662306a36Sopenharmony_ci#define GPU_CC_CXO_CLK				6
1762306a36Sopenharmony_ci#define GPU_CC_GMU_CLK_SRC			7
1862306a36Sopenharmony_ci#define GPU_CC_GX_GMU_CLK			8
1962306a36Sopenharmony_ci#define GPU_CC_PLL1				9
2062306a36Sopenharmony_ci#define GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK		10
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci/* GPU_CC Resets */
2362306a36Sopenharmony_ci#define GPUCC_GPU_CC_ACD_BCR			0
2462306a36Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR			1
2562306a36Sopenharmony_ci#define GPUCC_GPU_CC_GFX3D_AON_BCR		2
2662306a36Sopenharmony_ci#define GPUCC_GPU_CC_GMU_BCR			3
2762306a36Sopenharmony_ci#define GPUCC_GPU_CC_GX_BCR			4
2862306a36Sopenharmony_ci#define GPUCC_GPU_CC_XO_BCR			5
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci/* GPU_CC GDSCRs */
3162306a36Sopenharmony_ci#define GPU_CX_GDSC				0
3262306a36Sopenharmony_ci#define GPU_GX_GDSC				1
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci#endif
35