162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * This header provides constants for the PRCMU bindings.
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_MFD_PRCMU_H
862306a36Sopenharmony_ci#define _DT_BINDINGS_MFD_PRCMU_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/*
1162306a36Sopenharmony_ci * Clock identifiers.
1262306a36Sopenharmony_ci */
1362306a36Sopenharmony_ci#define ARMCLK			0
1462306a36Sopenharmony_ci#define PRCMU_ACLK		1
1562306a36Sopenharmony_ci#define PRCMU_SVAMMCSPCLK 	2
1662306a36Sopenharmony_ci#define PRCMU_SDMMCHCLK 	2  /* DBx540 only. */
1762306a36Sopenharmony_ci#define PRCMU_SIACLK 		3
1862306a36Sopenharmony_ci#define PRCMU_SIAMMDSPCLK 	3  /* DBx540 only. */
1962306a36Sopenharmony_ci#define PRCMU_SGACLK 		4
2062306a36Sopenharmony_ci#define PRCMU_UARTCLK 		5
2162306a36Sopenharmony_ci#define PRCMU_MSP02CLK 		6
2262306a36Sopenharmony_ci#define PRCMU_MSP1CLK 		7
2362306a36Sopenharmony_ci#define PRCMU_I2CCLK 		8
2462306a36Sopenharmony_ci#define PRCMU_SDMMCCLK 		9
2562306a36Sopenharmony_ci#define PRCMU_SLIMCLK 		10
2662306a36Sopenharmony_ci#define PRCMU_CAMCLK 		10 /* DBx540 only. */
2762306a36Sopenharmony_ci#define PRCMU_PER1CLK 		11
2862306a36Sopenharmony_ci#define PRCMU_PER2CLK 		12
2962306a36Sopenharmony_ci#define PRCMU_PER3CLK 		13
3062306a36Sopenharmony_ci#define PRCMU_PER5CLK 		14
3162306a36Sopenharmony_ci#define PRCMU_PER6CLK 		15
3262306a36Sopenharmony_ci#define PRCMU_PER7CLK 		16
3362306a36Sopenharmony_ci#define PRCMU_LCDCLK 		17
3462306a36Sopenharmony_ci#define PRCMU_BMLCLK 		18
3562306a36Sopenharmony_ci#define PRCMU_HSITXCLK 		19
3662306a36Sopenharmony_ci#define PRCMU_HSIRXCLK 		20
3762306a36Sopenharmony_ci#define PRCMU_HDMICLK		21
3862306a36Sopenharmony_ci#define PRCMU_APEATCLK 		22
3962306a36Sopenharmony_ci#define PRCMU_APETRACECLK 	23
4062306a36Sopenharmony_ci#define PRCMU_MCDECLK  	 	24
4162306a36Sopenharmony_ci#define PRCMU_IPI2CCLK  	25
4262306a36Sopenharmony_ci#define PRCMU_DSIALTCLK  	26
4362306a36Sopenharmony_ci#define PRCMU_DMACLK  	 	27
4462306a36Sopenharmony_ci#define PRCMU_B2R2CLK  	 	28
4562306a36Sopenharmony_ci#define PRCMU_TVCLK  	 	29
4662306a36Sopenharmony_ci#define SPARE_UNIPROCLK  	30
4762306a36Sopenharmony_ci#define PRCMU_SSPCLK  	 	31
4862306a36Sopenharmony_ci#define PRCMU_RNGCLK  	 	32
4962306a36Sopenharmony_ci#define PRCMU_UICCCLK  	 	33
5062306a36Sopenharmony_ci#define PRCMU_G1CLK             34 /* DBx540 only. */
5162306a36Sopenharmony_ci#define PRCMU_HVACLK            35 /* DBx540 only. */
5262306a36Sopenharmony_ci#define PRCMU_SPARE1CLK	 	36
5362306a36Sopenharmony_ci#define PRCMU_SPARE2CLK	 	37
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci#define PRCMU_NUM_REG_CLOCKS  	38
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci#define PRCMU_RTCCLK  	 	PRCMU_NUM_REG_CLOCKS
5862306a36Sopenharmony_ci#define PRCMU_SYSCLK  	 	39
5962306a36Sopenharmony_ci#define PRCMU_CDCLK  	 	40
6062306a36Sopenharmony_ci#define PRCMU_TIMCLK  	 	41
6162306a36Sopenharmony_ci#define PRCMU_PLLSOC0  	 	42
6262306a36Sopenharmony_ci#define PRCMU_PLLSOC1  	 	43
6362306a36Sopenharmony_ci#define PRCMU_ARMSS  	 	44
6462306a36Sopenharmony_ci#define PRCMU_PLLDDR  	 	45
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ci/* DSI Clocks */
6762306a36Sopenharmony_ci#define PRCMU_PLLDSI  	 	46
6862306a36Sopenharmony_ci#define PRCMU_DSI0CLK 	  	47
6962306a36Sopenharmony_ci#define PRCMU_DSI1CLK  	 	48
7062306a36Sopenharmony_ci#define PRCMU_DSI0ESCCLK  	49
7162306a36Sopenharmony_ci#define PRCMU_DSI1ESCCLK  	50
7262306a36Sopenharmony_ci#define PRCMU_DSI2ESCCLK  	51
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci/* LCD DSI PLL - Ux540 only */
7562306a36Sopenharmony_ci#define PRCMU_PLLDSI_LCD        52
7662306a36Sopenharmony_ci#define PRCMU_DSI0CLK_LCD       53
7762306a36Sopenharmony_ci#define PRCMU_DSI1CLK_LCD       54
7862306a36Sopenharmony_ci#define PRCMU_DSI0ESCCLK_LCD    55
7962306a36Sopenharmony_ci#define PRCMU_DSI1ESCCLK_LCD    56
8062306a36Sopenharmony_ci#define PRCMU_DSI2ESCCLK_LCD    57
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ci#define PRCMU_NUM_CLKS  	58
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ci#endif
85