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