1 1.1 jmcneill /* $NetBSD: dbx500-prcmu.h,v 1.1.1.2 2017/11/30 19:40:51 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1.1.2 jmcneill /* SPDX-License-Identifier: GPL-2.0 */ 4 1.1 jmcneill /* 5 1.1 jmcneill * This header provides constants for the PRCMU bindings. 6 1.1 jmcneill * 7 1.1 jmcneill */ 8 1.1 jmcneill 9 1.1 jmcneill #ifndef _DT_BINDINGS_MFD_PRCMU_H 10 1.1 jmcneill #define _DT_BINDINGS_MFD_PRCMU_H 11 1.1 jmcneill 12 1.1 jmcneill /* 13 1.1 jmcneill * Clock identifiers. 14 1.1 jmcneill */ 15 1.1 jmcneill #define ARMCLK 0 16 1.1 jmcneill #define PRCMU_ACLK 1 17 1.1 jmcneill #define PRCMU_SVAMMCSPCLK 2 18 1.1 jmcneill #define PRCMU_SDMMCHCLK 2 /* DBx540 only. */ 19 1.1 jmcneill #define PRCMU_SIACLK 3 20 1.1 jmcneill #define PRCMU_SIAMMDSPCLK 3 /* DBx540 only. */ 21 1.1 jmcneill #define PRCMU_SGACLK 4 22 1.1 jmcneill #define PRCMU_UARTCLK 5 23 1.1 jmcneill #define PRCMU_MSP02CLK 6 24 1.1 jmcneill #define PRCMU_MSP1CLK 7 25 1.1 jmcneill #define PRCMU_I2CCLK 8 26 1.1 jmcneill #define PRCMU_SDMMCCLK 9 27 1.1 jmcneill #define PRCMU_SLIMCLK 10 28 1.1 jmcneill #define PRCMU_CAMCLK 10 /* DBx540 only. */ 29 1.1 jmcneill #define PRCMU_PER1CLK 11 30 1.1 jmcneill #define PRCMU_PER2CLK 12 31 1.1 jmcneill #define PRCMU_PER3CLK 13 32 1.1 jmcneill #define PRCMU_PER5CLK 14 33 1.1 jmcneill #define PRCMU_PER6CLK 15 34 1.1 jmcneill #define PRCMU_PER7CLK 16 35 1.1 jmcneill #define PRCMU_LCDCLK 17 36 1.1 jmcneill #define PRCMU_BMLCLK 18 37 1.1 jmcneill #define PRCMU_HSITXCLK 19 38 1.1 jmcneill #define PRCMU_HSIRXCLK 20 39 1.1 jmcneill #define PRCMU_HDMICLK 21 40 1.1 jmcneill #define PRCMU_APEATCLK 22 41 1.1 jmcneill #define PRCMU_APETRACECLK 23 42 1.1 jmcneill #define PRCMU_MCDECLK 24 43 1.1 jmcneill #define PRCMU_IPI2CCLK 25 44 1.1 jmcneill #define PRCMU_DSIALTCLK 26 45 1.1 jmcneill #define PRCMU_DMACLK 27 46 1.1 jmcneill #define PRCMU_B2R2CLK 28 47 1.1 jmcneill #define PRCMU_TVCLK 29 48 1.1 jmcneill #define SPARE_UNIPROCLK 30 49 1.1 jmcneill #define PRCMU_SSPCLK 31 50 1.1 jmcneill #define PRCMU_RNGCLK 32 51 1.1 jmcneill #define PRCMU_UICCCLK 33 52 1.1 jmcneill #define PRCMU_G1CLK 34 /* DBx540 only. */ 53 1.1 jmcneill #define PRCMU_HVACLK 35 /* DBx540 only. */ 54 1.1 jmcneill #define PRCMU_SPARE1CLK 36 55 1.1 jmcneill #define PRCMU_SPARE2CLK 37 56 1.1 jmcneill 57 1.1 jmcneill #define PRCMU_NUM_REG_CLOCKS 38 58 1.1 jmcneill 59 1.1 jmcneill #define PRCMU_RTCCLK PRCMU_NUM_REG_CLOCKS 60 1.1 jmcneill #define PRCMU_SYSCLK 39 61 1.1 jmcneill #define PRCMU_CDCLK 40 62 1.1 jmcneill #define PRCMU_TIMCLK 41 63 1.1 jmcneill #define PRCMU_PLLSOC0 42 64 1.1 jmcneill #define PRCMU_PLLSOC1 43 65 1.1 jmcneill #define PRCMU_ARMSS 44 66 1.1 jmcneill #define PRCMU_PLLDDR 45 67 1.1 jmcneill 68 1.1 jmcneill /* DSI Clocks */ 69 1.1 jmcneill #define PRCMU_PLLDSI 46 70 1.1 jmcneill #define PRCMU_DSI0CLK 47 71 1.1 jmcneill #define PRCMU_DSI1CLK 48 72 1.1 jmcneill #define PRCMU_DSI0ESCCLK 49 73 1.1 jmcneill #define PRCMU_DSI1ESCCLK 50 74 1.1 jmcneill #define PRCMU_DSI2ESCCLK 51 75 1.1 jmcneill 76 1.1 jmcneill /* LCD DSI PLL - Ux540 only */ 77 1.1 jmcneill #define PRCMU_PLLDSI_LCD 52 78 1.1 jmcneill #define PRCMU_DSI0CLK_LCD 53 79 1.1 jmcneill #define PRCMU_DSI1CLK_LCD 54 80 1.1 jmcneill #define PRCMU_DSI0ESCCLK_LCD 55 81 1.1 jmcneill #define PRCMU_DSI1ESCCLK_LCD 56 82 1.1 jmcneill #define PRCMU_DSI2ESCCLK_LCD 57 83 1.1 jmcneill 84 1.1 jmcneill #define PRCMU_NUM_CLKS 58 85 1.1 jmcneill 86 1.1 jmcneill #endif 87