18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * This header provides constants for the PRCMU bindings. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_MFD_PRCMU_H 88c2ecf20Sopenharmony_ci#define _DT_BINDINGS_MFD_PRCMU_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/* 118c2ecf20Sopenharmony_ci * Clock identifiers. 128c2ecf20Sopenharmony_ci */ 138c2ecf20Sopenharmony_ci#define ARMCLK 0 148c2ecf20Sopenharmony_ci#define PRCMU_ACLK 1 158c2ecf20Sopenharmony_ci#define PRCMU_SVAMMCSPCLK 2 168c2ecf20Sopenharmony_ci#define PRCMU_SDMMCHCLK 2 /* DBx540 only. */ 178c2ecf20Sopenharmony_ci#define PRCMU_SIACLK 3 188c2ecf20Sopenharmony_ci#define PRCMU_SIAMMDSPCLK 3 /* DBx540 only. */ 198c2ecf20Sopenharmony_ci#define PRCMU_SGACLK 4 208c2ecf20Sopenharmony_ci#define PRCMU_UARTCLK 5 218c2ecf20Sopenharmony_ci#define PRCMU_MSP02CLK 6 228c2ecf20Sopenharmony_ci#define PRCMU_MSP1CLK 7 238c2ecf20Sopenharmony_ci#define PRCMU_I2CCLK 8 248c2ecf20Sopenharmony_ci#define PRCMU_SDMMCCLK 9 258c2ecf20Sopenharmony_ci#define PRCMU_SLIMCLK 10 268c2ecf20Sopenharmony_ci#define PRCMU_CAMCLK 10 /* DBx540 only. */ 278c2ecf20Sopenharmony_ci#define PRCMU_PER1CLK 11 288c2ecf20Sopenharmony_ci#define PRCMU_PER2CLK 12 298c2ecf20Sopenharmony_ci#define PRCMU_PER3CLK 13 308c2ecf20Sopenharmony_ci#define PRCMU_PER5CLK 14 318c2ecf20Sopenharmony_ci#define PRCMU_PER6CLK 15 328c2ecf20Sopenharmony_ci#define PRCMU_PER7CLK 16 338c2ecf20Sopenharmony_ci#define PRCMU_LCDCLK 17 348c2ecf20Sopenharmony_ci#define PRCMU_BMLCLK 18 358c2ecf20Sopenharmony_ci#define PRCMU_HSITXCLK 19 368c2ecf20Sopenharmony_ci#define PRCMU_HSIRXCLK 20 378c2ecf20Sopenharmony_ci#define PRCMU_HDMICLK 21 388c2ecf20Sopenharmony_ci#define PRCMU_APEATCLK 22 398c2ecf20Sopenharmony_ci#define PRCMU_APETRACECLK 23 408c2ecf20Sopenharmony_ci#define PRCMU_MCDECLK 24 418c2ecf20Sopenharmony_ci#define PRCMU_IPI2CCLK 25 428c2ecf20Sopenharmony_ci#define PRCMU_DSIALTCLK 26 438c2ecf20Sopenharmony_ci#define PRCMU_DMACLK 27 448c2ecf20Sopenharmony_ci#define PRCMU_B2R2CLK 28 458c2ecf20Sopenharmony_ci#define PRCMU_TVCLK 29 468c2ecf20Sopenharmony_ci#define SPARE_UNIPROCLK 30 478c2ecf20Sopenharmony_ci#define PRCMU_SSPCLK 31 488c2ecf20Sopenharmony_ci#define PRCMU_RNGCLK 32 498c2ecf20Sopenharmony_ci#define PRCMU_UICCCLK 33 508c2ecf20Sopenharmony_ci#define PRCMU_G1CLK 34 /* DBx540 only. */ 518c2ecf20Sopenharmony_ci#define PRCMU_HVACLK 35 /* DBx540 only. */ 528c2ecf20Sopenharmony_ci#define PRCMU_SPARE1CLK 36 538c2ecf20Sopenharmony_ci#define PRCMU_SPARE2CLK 37 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci#define PRCMU_NUM_REG_CLOCKS 38 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci#define PRCMU_RTCCLK PRCMU_NUM_REG_CLOCKS 588c2ecf20Sopenharmony_ci#define PRCMU_SYSCLK 39 598c2ecf20Sopenharmony_ci#define PRCMU_CDCLK 40 608c2ecf20Sopenharmony_ci#define PRCMU_TIMCLK 41 618c2ecf20Sopenharmony_ci#define PRCMU_PLLSOC0 42 628c2ecf20Sopenharmony_ci#define PRCMU_PLLSOC1 43 638c2ecf20Sopenharmony_ci#define PRCMU_ARMSS 44 648c2ecf20Sopenharmony_ci#define PRCMU_PLLDDR 45 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci/* DSI Clocks */ 678c2ecf20Sopenharmony_ci#define PRCMU_PLLDSI 46 688c2ecf20Sopenharmony_ci#define PRCMU_DSI0CLK 47 698c2ecf20Sopenharmony_ci#define PRCMU_DSI1CLK 48 708c2ecf20Sopenharmony_ci#define PRCMU_DSI0ESCCLK 49 718c2ecf20Sopenharmony_ci#define PRCMU_DSI1ESCCLK 50 728c2ecf20Sopenharmony_ci#define PRCMU_DSI2ESCCLK 51 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci/* LCD DSI PLL - Ux540 only */ 758c2ecf20Sopenharmony_ci#define PRCMU_PLLDSI_LCD 52 768c2ecf20Sopenharmony_ci#define PRCMU_DSI0CLK_LCD 53 778c2ecf20Sopenharmony_ci#define PRCMU_DSI1CLK_LCD 54 788c2ecf20Sopenharmony_ci#define PRCMU_DSI0ESCCLK_LCD 55 798c2ecf20Sopenharmony_ci#define PRCMU_DSI1ESCCLK_LCD 56 808c2ecf20Sopenharmony_ci#define PRCMU_DSI2ESCCLK_LCD 57 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ci#define PRCMU_NUM_CLKS 58 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci#endif 85