162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2022, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8350_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GPU_CC_SM8350_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* GPU_CC clocks */
1062306a36Sopenharmony_ci#define GPU_CC_AHB_CLK			0
1162306a36Sopenharmony_ci#define GPU_CC_CB_CLK			1
1262306a36Sopenharmony_ci#define GPU_CC_CRC_AHB_CLK		2
1362306a36Sopenharmony_ci#define GPU_CC_CX_APB_CLK		3
1462306a36Sopenharmony_ci#define GPU_CC_CX_GMU_CLK		4
1562306a36Sopenharmony_ci#define GPU_CC_CX_QDSS_AT_CLK		5
1662306a36Sopenharmony_ci#define GPU_CC_CX_QDSS_TRIG_CLK		6
1762306a36Sopenharmony_ci#define GPU_CC_CX_QDSS_TSCTR_CLK	7
1862306a36Sopenharmony_ci#define GPU_CC_CX_SNOC_DVM_CLK		8
1962306a36Sopenharmony_ci#define GPU_CC_CXO_AON_CLK		9
2062306a36Sopenharmony_ci#define GPU_CC_CXO_CLK			10
2162306a36Sopenharmony_ci#define GPU_CC_FREQ_MEASURE_CLK		11
2262306a36Sopenharmony_ci#define GPU_CC_GMU_CLK_SRC		12
2362306a36Sopenharmony_ci#define GPU_CC_GX_GMU_CLK		13
2462306a36Sopenharmony_ci#define GPU_CC_GX_QDSS_TSCTR_CLK	14
2562306a36Sopenharmony_ci#define GPU_CC_GX_VSENSE_CLK		15
2662306a36Sopenharmony_ci#define GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK	16
2762306a36Sopenharmony_ci#define GPU_CC_HUB_AHB_DIV_CLK_SRC	17
2862306a36Sopenharmony_ci#define GPU_CC_HUB_AON_CLK		18
2962306a36Sopenharmony_ci#define GPU_CC_HUB_CLK_SRC		19
3062306a36Sopenharmony_ci#define GPU_CC_HUB_CX_INT_CLK		20
3162306a36Sopenharmony_ci#define GPU_CC_HUB_CX_INT_DIV_CLK_SRC	21
3262306a36Sopenharmony_ci#define GPU_CC_MND1X_0_GFX3D_CLK	22
3362306a36Sopenharmony_ci#define GPU_CC_MND1X_1_GFX3D_CLK	23
3462306a36Sopenharmony_ci#define GPU_CC_PLL0			24
3562306a36Sopenharmony_ci#define GPU_CC_PLL1			25
3662306a36Sopenharmony_ci#define GPU_CC_SLEEP_CLK		26
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci/* GPU_CC resets */
3962306a36Sopenharmony_ci#define GPUCC_GPU_CC_ACD_BCR		0
4062306a36Sopenharmony_ci#define GPUCC_GPU_CC_CB_BCR		1
4162306a36Sopenharmony_ci#define GPUCC_GPU_CC_CX_BCR		2
4262306a36Sopenharmony_ci#define GPUCC_GPU_CC_FAST_HUB_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/* GPU_CC GDSCRs */
4962306a36Sopenharmony_ci#define GPU_CX_GDSC			0
5062306a36Sopenharmony_ci#define GPU_GX_GDSC			1
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci#endif
53