Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OMAP4 PRCM definitions
0004  *
0005  * Copyright (C) 2010 Texas Instruments, Inc.
0006  * Copyright (C) 2010 Nokia Corporation
0007  *
0008  * Paul Walmsley
0009  *
0010  * This file contains macros and functions that are common to all of
0011  * the PRM/CM/PRCM blocks on the OMAP4 devices: PRM, CM1, CM2,
0012  * PRCM_MPU, SCRM
0013  */
0014 
0015 #ifndef __ARCH_ARM_MACH_OMAP2_PRCM44XX_H
0016 #define __ARCH_ARM_MACH_OMAP2_PRCM44XX_H
0017 
0018 /*
0019  * OMAP4 PRCM partition IDs
0020  *
0021  * The numbers and order are arbitrary, but 0 is reserved for the
0022  * 'invalid' partition in case someone forgets to add a
0023  * .prcm_partition field.
0024  */
0025 #define OMAP4430_INVALID_PRCM_PARTITION     0
0026 #define OMAP4430_PRM_PARTITION          1
0027 #define OMAP4430_CM1_PARTITION          2
0028 #define OMAP4430_CM2_PARTITION          3
0029 #define OMAP4430_SCRM_PARTITION         4
0030 #define OMAP4430_PRCM_MPU_PARTITION     5
0031 
0032 #define OMAP54XX_PRM_PARTITION          1
0033 #define OMAP54XX_CM_CORE_AON_PARTITION      2
0034 #define OMAP54XX_CM_CORE_PARTITION      3
0035 #define OMAP54XX_SCRM_PARTITION         4
0036 #define OMAP54XX_PRCM_MPU_PARTITION     5
0037 
0038 #define DRA7XX_PRM_PARTITION                   1
0039 #define DRA7XX_CM_CORE_AON_PARTITION           2
0040 #define DRA7XX_CM_CORE_PARTITION               3
0041 #define DRA7XX_MPU_PRCM_PARTITION              5
0042 
0043 /*
0044  * OMAP4_MAX_PRCM_PARTITIONS: set to the highest value of the PRCM partition
0045  * IDs, plus one
0046  */
0047 #define OMAP4_MAX_PRCM_PARTITIONS       6
0048 
0049 
0050 #endif