1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
267f13daaSLee Jones /*
367f13daaSLee Jones  * This header provides constants for the PRCMU bindings.
467f13daaSLee Jones  *
567f13daaSLee Jones  */
667f13daaSLee Jones 
767f13daaSLee Jones #ifndef _DT_BINDINGS_MFD_PRCMU_H
867f13daaSLee Jones #define _DT_BINDINGS_MFD_PRCMU_H
967f13daaSLee Jones 
1067f13daaSLee Jones /*
1167f13daaSLee Jones  * Clock identifiers.
1267f13daaSLee Jones  */
1367f13daaSLee Jones #define ARMCLK			0
1467f13daaSLee Jones #define PRCMU_ACLK		1
1567f13daaSLee Jones #define PRCMU_SVAMMCSPCLK 	2
1667f13daaSLee Jones #define PRCMU_SDMMCHCLK 	2  /* DBx540 only. */
1767f13daaSLee Jones #define PRCMU_SIACLK 		3
1867f13daaSLee Jones #define PRCMU_SIAMMDSPCLK 	3  /* DBx540 only. */
1967f13daaSLee Jones #define PRCMU_SGACLK 		4
2067f13daaSLee Jones #define PRCMU_UARTCLK 		5
2167f13daaSLee Jones #define PRCMU_MSP02CLK 		6
2267f13daaSLee Jones #define PRCMU_MSP1CLK 		7
2367f13daaSLee Jones #define PRCMU_I2CCLK 		8
2467f13daaSLee Jones #define PRCMU_SDMMCCLK 		9
2567f13daaSLee Jones #define PRCMU_SLIMCLK 		10
2667f13daaSLee Jones #define PRCMU_CAMCLK 		10 /* DBx540 only. */
2767f13daaSLee Jones #define PRCMU_PER1CLK 		11
2867f13daaSLee Jones #define PRCMU_PER2CLK 		12
2967f13daaSLee Jones #define PRCMU_PER3CLK 		13
3067f13daaSLee Jones #define PRCMU_PER5CLK 		14
3167f13daaSLee Jones #define PRCMU_PER6CLK 		15
3267f13daaSLee Jones #define PRCMU_PER7CLK 		16
3367f13daaSLee Jones #define PRCMU_LCDCLK 		17
3467f13daaSLee Jones #define PRCMU_BMLCLK 		18
3567f13daaSLee Jones #define PRCMU_HSITXCLK 		19
3667f13daaSLee Jones #define PRCMU_HSIRXCLK 		20
3767f13daaSLee Jones #define PRCMU_HDMICLK		21
3867f13daaSLee Jones #define PRCMU_APEATCLK 		22
3967f13daaSLee Jones #define PRCMU_APETRACECLK 	23
4067f13daaSLee Jones #define PRCMU_MCDECLK  	 	24
4167f13daaSLee Jones #define PRCMU_IPI2CCLK  	25
4267f13daaSLee Jones #define PRCMU_DSIALTCLK  	26
4367f13daaSLee Jones #define PRCMU_DMACLK  	 	27
4467f13daaSLee Jones #define PRCMU_B2R2CLK  	 	28
4567f13daaSLee Jones #define PRCMU_TVCLK  	 	29
4667f13daaSLee Jones #define SPARE_UNIPROCLK  	30
4767f13daaSLee Jones #define PRCMU_SSPCLK  	 	31
4867f13daaSLee Jones #define PRCMU_RNGCLK  	 	32
4967f13daaSLee Jones #define PRCMU_UICCCLK  	 	33
5067f13daaSLee Jones #define PRCMU_G1CLK             34 /* DBx540 only. */
5167f13daaSLee Jones #define PRCMU_HVACLK            35 /* DBx540 only. */
5267f13daaSLee Jones #define PRCMU_SPARE1CLK	 	36
5367f13daaSLee Jones #define PRCMU_SPARE2CLK	 	37
5467f13daaSLee Jones 
5567f13daaSLee Jones #define PRCMU_NUM_REG_CLOCKS  	38
5667f13daaSLee Jones 
5767f13daaSLee Jones #define PRCMU_RTCCLK  	 	PRCMU_NUM_REG_CLOCKS
5867f13daaSLee Jones #define PRCMU_SYSCLK  	 	39
5967f13daaSLee Jones #define PRCMU_CDCLK  	 	40
6067f13daaSLee Jones #define PRCMU_TIMCLK  	 	41
6167f13daaSLee Jones #define PRCMU_PLLSOC0  	 	42
6267f13daaSLee Jones #define PRCMU_PLLSOC1  	 	43
6367f13daaSLee Jones #define PRCMU_ARMSS  	 	44
6467f13daaSLee Jones #define PRCMU_PLLDDR  	 	45
6567f13daaSLee Jones 
6667f13daaSLee Jones /* DSI Clocks */
6758092dc4SLee Jones #define PRCMU_PLLDSI  	 	46
6858092dc4SLee Jones #define PRCMU_DSI0CLK 	  	47
6958092dc4SLee Jones #define PRCMU_DSI1CLK  	 	48
7058092dc4SLee Jones #define PRCMU_DSI0ESCCLK  	49
7158092dc4SLee Jones #define PRCMU_DSI1ESCCLK  	50
7258092dc4SLee Jones #define PRCMU_DSI2ESCCLK  	51
7367f13daaSLee Jones 
7467f13daaSLee Jones /* LCD DSI PLL - Ux540 only */
7558092dc4SLee Jones #define PRCMU_PLLDSI_LCD        52
7658092dc4SLee Jones #define PRCMU_DSI0CLK_LCD       53
7758092dc4SLee Jones #define PRCMU_DSI1CLK_LCD       54
7858092dc4SLee Jones #define PRCMU_DSI0ESCCLK_LCD    55
7958092dc4SLee Jones #define PRCMU_DSI1ESCCLK_LCD    56
8058092dc4SLee Jones #define PRCMU_DSI2ESCCLK_LCD    57
8167f13daaSLee Jones 
8258092dc4SLee Jones #define PRCMU_NUM_CLKS  	58
8367f13daaSLee Jones 
8467f13daaSLee Jones #endif
85