162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
462306a36Sopenharmony_ci * Copyright (c) 2023, Linaro Limited
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GPUCC_SA8775P_H
862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GPUCC_SA8775P_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/* GPU_CC clocks */
1162306a36Sopenharmony_ci#define GPU_CC_PLL0				0
1262306a36Sopenharmony_ci#define GPU_CC_PLL1				1
1362306a36Sopenharmony_ci#define GPU_CC_AHB_CLK				2
1462306a36Sopenharmony_ci#define GPU_CC_CB_CLK				3
1562306a36Sopenharmony_ci#define GPU_CC_CRC_AHB_CLK			4
1662306a36Sopenharmony_ci#define GPU_CC_CX_FF_CLK			5
1762306a36Sopenharmony_ci#define GPU_CC_CX_GMU_CLK			6
1862306a36Sopenharmony_ci#define GPU_CC_CX_SNOC_DVM_CLK			7
1962306a36Sopenharmony_ci#define GPU_CC_CXO_AON_CLK			8
2062306a36Sopenharmony_ci#define GPU_CC_CXO_CLK				9
2162306a36Sopenharmony_ci#define GPU_CC_DEMET_CLK			10
2262306a36Sopenharmony_ci#define GPU_CC_DEMET_DIV_CLK_SRC		11
2362306a36Sopenharmony_ci#define GPU_CC_FF_CLK_SRC			12
2462306a36Sopenharmony_ci#define GPU_CC_GMU_CLK_SRC			13
2562306a36Sopenharmony_ci#define GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK		14
2662306a36Sopenharmony_ci#define GPU_CC_HUB_AHB_DIV_CLK_SRC		15
2762306a36Sopenharmony_ci#define GPU_CC_HUB_AON_CLK			16
2862306a36Sopenharmony_ci#define GPU_CC_HUB_CLK_SRC			17
2962306a36Sopenharmony_ci#define GPU_CC_HUB_CX_INT_CLK			18
3062306a36Sopenharmony_ci#define GPU_CC_HUB_CX_INT_DIV_CLK_SRC		19
3162306a36Sopenharmony_ci#define GPU_CC_MEMNOC_GFX_CLK			20
3262306a36Sopenharmony_ci#define GPU_CC_SLEEP_CLK			21
3362306a36Sopenharmony_ci#define GPU_CC_XO_CLK_SRC			22
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci/* GPU_CC resets */
3662306a36Sopenharmony_ci#define GPUCC_GPU_CC_ACD_BCR			0
3762306a36Sopenharmony_ci#define GPUCC_GPU_CC_CB_BCR			1
3862306a36Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR			2
3962306a36Sopenharmony_ci#define GPUCC_GPU_CC_FAST_HUB_BCR		3
4062306a36Sopenharmony_ci#define GPUCC_GPU_CC_FF_BCR			4
4162306a36Sopenharmony_ci#define GPUCC_GPU_CC_GFX3D_AON_BCR		5
4262306a36Sopenharmony_ci#define GPUCC_GPU_CC_GMU_BCR			6
4362306a36Sopenharmony_ci#define GPUCC_GPU_CC_GX_BCR			7
4462306a36Sopenharmony_ci#define GPUCC_GPU_CC_XO_BCR			8
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci/* GPU_CC power domains */
4762306a36Sopenharmony_ci#define GPU_CC_CX_GDSC				0
4862306a36Sopenharmony_ci#define GPU_CC_GX_GDSC				1
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci#endif /* _DT_BINDINGS_CLK_QCOM_GPUCC_SA8775P_H */
51