Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1 | /* |
| 2 | * OMAP44xx Clock Management register bits |
| 3 | * |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 4 | * Copyright (C) 2009-2012 Texas Instruments, Inc. |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 5 | * Copyright (C) 2009-2010 Nokia Corporation |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 6 | * |
| 7 | * Paul Walmsley (paul@pwsan.com) |
| 8 | * Rajendra Nayak (rnayak@ti.com) |
| 9 | * Benoit Cousson (b-cousson@ti.com) |
| 10 | * |
| 11 | * This file is automatically generated from the OMAP hardware databases. |
| 12 | * We respectfully ask that any modifications to this file be coordinated |
| 13 | * with the public linux-omap@vger.kernel.org mailing list and the |
| 14 | * authors above to ensure that the autogeneration scripts are kept |
| 15 | * up-to-date with the file contents. |
| 16 | * |
| 17 | * This program is free software; you can redistribute it and/or modify |
| 18 | * it under the terms of the GNU General Public License version 2 as |
| 19 | * published by the Free Software Foundation. |
| 20 | */ |
| 21 | |
| 22 | #ifndef __ARCH_ARM_MACH_OMAP2_CM_REGBITS_44XX_H |
| 23 | #define __ARCH_ARM_MACH_OMAP2_CM_REGBITS_44XX_H |
| 24 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 25 | /* Used by CM_L3_1_DYNAMICDEP, CM_MPU_DYNAMICDEP, CM_TESLA_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 26 | #define OMAP4430_ABE_DYNDEP_SHIFT 3 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 27 | #define OMAP4430_ABE_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 28 | #define OMAP4430_ABE_DYNDEP_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 29 | |
| 30 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 31 | * Used by CM_D2D_STATICDEP, CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, |
| 32 | * CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 33 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 34 | #define OMAP4430_ABE_STATDEP_SHIFT 3 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 35 | #define OMAP4430_ABE_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 36 | #define OMAP4430_ABE_STATDEP_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 37 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 38 | /* Used by CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 39 | #define OMAP4430_ALWONCORE_DYNDEP_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 40 | #define OMAP4430_ALWONCORE_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 41 | #define OMAP4430_ALWONCORE_DYNDEP_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 42 | |
| 43 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_TESLA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 44 | #define OMAP4430_ALWONCORE_STATDEP_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 45 | #define OMAP4430_ALWONCORE_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 46 | #define OMAP4430_ALWONCORE_STATDEP_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 47 | |
| 48 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 49 | * Used by CM_AUTOIDLE_DPLL_ABE, CM_AUTOIDLE_DPLL_CORE, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 50 | * CM_AUTOIDLE_DPLL_DDRPHY, CM_AUTOIDLE_DPLL_IVA, CM_AUTOIDLE_DPLL_MPU, |
| 51 | * CM_AUTOIDLE_DPLL_PER, CM_AUTOIDLE_DPLL_UNIPRO, CM_AUTOIDLE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 52 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 53 | #define OMAP4430_AUTO_DPLL_MODE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 54 | #define OMAP4430_AUTO_DPLL_MODE_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 55 | #define OMAP4430_AUTO_DPLL_MODE_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 56 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 57 | /* Used by CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 58 | #define OMAP4430_CEFUSE_DYNDEP_SHIFT 17 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 59 | #define OMAP4430_CEFUSE_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 60 | #define OMAP4430_CEFUSE_DYNDEP_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 61 | |
| 62 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_TESLA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 63 | #define OMAP4430_CEFUSE_STATDEP_SHIFT 17 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 64 | #define OMAP4430_CEFUSE_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 65 | #define OMAP4430_CEFUSE_STATDEP_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 66 | |
| 67 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 68 | #define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 69 | #define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 70 | #define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 71 | |
| 72 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 73 | #define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 74 | #define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 75 | #define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 76 | |
| 77 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 78 | #define OMAP4430_CLKACTIVITY_ABE_LP_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 79 | #define OMAP4430_CLKACTIVITY_ABE_LP_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 80 | #define OMAP4430_CLKACTIVITY_ABE_LP_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 81 | |
| 82 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 83 | #define OMAP4430_CLKACTIVITY_ABE_SYSCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 84 | #define OMAP4430_CLKACTIVITY_ABE_SYSCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 85 | #define OMAP4430_CLKACTIVITY_ABE_SYSCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 86 | |
| 87 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 88 | #define OMAP4430_CLKACTIVITY_ABE_X2_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 89 | #define OMAP4430_CLKACTIVITY_ABE_X2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 90 | #define OMAP4430_CLKACTIVITY_ABE_X2_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 91 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 92 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 93 | #define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 94 | #define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 95 | #define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 96 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 97 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 98 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 99 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 100 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 101 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 102 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 103 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 104 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 105 | #define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 106 | |
| 107 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 108 | #define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 109 | #define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 110 | #define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_MASK (1 << 9) |
| 111 | |
| 112 | /* Used by CM_ALWON_CLKSTCTRL */ |
| 113 | #define OMAP4430_CLKACTIVITY_CORE_ALWON_32K_GFCLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 114 | #define OMAP4430_CLKACTIVITY_CORE_ALWON_32K_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 115 | #define OMAP4430_CLKACTIVITY_CORE_ALWON_32K_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 116 | |
| 117 | /* Used by CM_EMU_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 118 | #define OMAP4430_CLKACTIVITY_CORE_DPLL_EMU_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 119 | #define OMAP4430_CLKACTIVITY_CORE_DPLL_EMU_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 120 | #define OMAP4430_CLKACTIVITY_CORE_DPLL_EMU_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 121 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 122 | /* Used by CM_L4CFG_CLKSTCTRL */ |
| 123 | #define OMAP4460_CLKACTIVITY_CORE_TS_GFCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 124 | #define OMAP4460_CLKACTIVITY_CORE_TS_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 125 | #define OMAP4460_CLKACTIVITY_CORE_TS_GFCLK_MASK (1 << 9) |
| 126 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 127 | /* Used by CM_CEFUSE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 128 | #define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 129 | #define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 130 | #define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 131 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 132 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 133 | #define OMAP4430_CLKACTIVITY_DLL_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 134 | #define OMAP4430_CLKACTIVITY_DLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 135 | #define OMAP4430_CLKACTIVITY_DLL_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 136 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 137 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 138 | #define OMAP4430_CLKACTIVITY_DMT10_GFCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 139 | #define OMAP4430_CLKACTIVITY_DMT10_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 140 | #define OMAP4430_CLKACTIVITY_DMT10_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 141 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 142 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 143 | #define OMAP4430_CLKACTIVITY_DMT11_GFCLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 144 | #define OMAP4430_CLKACTIVITY_DMT11_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 145 | #define OMAP4430_CLKACTIVITY_DMT11_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 146 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 147 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 148 | #define OMAP4430_CLKACTIVITY_DMT2_GFCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 149 | #define OMAP4430_CLKACTIVITY_DMT2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 150 | #define OMAP4430_CLKACTIVITY_DMT2_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 151 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 152 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 153 | #define OMAP4430_CLKACTIVITY_DMT3_GFCLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 154 | #define OMAP4430_CLKACTIVITY_DMT3_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 155 | #define OMAP4430_CLKACTIVITY_DMT3_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 156 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 157 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 158 | #define OMAP4430_CLKACTIVITY_DMT4_GFCLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 159 | #define OMAP4430_CLKACTIVITY_DMT4_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 160 | #define OMAP4430_CLKACTIVITY_DMT4_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 161 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 162 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 163 | #define OMAP4430_CLKACTIVITY_DMT9_GFCLK_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 164 | #define OMAP4430_CLKACTIVITY_DMT9_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 165 | #define OMAP4430_CLKACTIVITY_DMT9_GFCLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 166 | |
| 167 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 168 | #define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 169 | #define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 170 | #define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 171 | |
| 172 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 173 | #define OMAP4430_CLKACTIVITY_DSS_FCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 174 | #define OMAP4430_CLKACTIVITY_DSS_FCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 175 | #define OMAP4430_CLKACTIVITY_DSS_FCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 176 | |
| 177 | /* Used by CM_DUCATI_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 178 | #define OMAP4430_CLKACTIVITY_DUCATI_GCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 179 | #define OMAP4430_CLKACTIVITY_DUCATI_GCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 180 | #define OMAP4430_CLKACTIVITY_DUCATI_GCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 181 | |
| 182 | /* Used by CM_EMU_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 183 | #define OMAP4430_CLKACTIVITY_EMU_SYS_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 184 | #define OMAP4430_CLKACTIVITY_EMU_SYS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 185 | #define OMAP4430_CLKACTIVITY_EMU_SYS_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 186 | |
| 187 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 188 | #define OMAP4430_CLKACTIVITY_FDIF_GFCLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 189 | #define OMAP4430_CLKACTIVITY_FDIF_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 190 | #define OMAP4430_CLKACTIVITY_FDIF_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 191 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 192 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 193 | #define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_SHIFT 15 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 194 | #define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 195 | #define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 196 | |
| 197 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 198 | #define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 199 | #define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 200 | #define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 201 | |
| 202 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 203 | #define OMAP4430_CLKACTIVITY_HDMI_PHY_48MHZ_GFCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 204 | #define OMAP4430_CLKACTIVITY_HDMI_PHY_48MHZ_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 205 | #define OMAP4430_CLKACTIVITY_HDMI_PHY_48MHZ_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 206 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 207 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 208 | #define OMAP4430_CLKACTIVITY_HSIC_P1_480M_GFCLK_SHIFT 20 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 209 | #define OMAP4430_CLKACTIVITY_HSIC_P1_480M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 210 | #define OMAP4430_CLKACTIVITY_HSIC_P1_480M_GFCLK_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 211 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 212 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 213 | #define OMAP4430_CLKACTIVITY_HSIC_P1_GFCLK_SHIFT 26 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 214 | #define OMAP4430_CLKACTIVITY_HSIC_P1_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 215 | #define OMAP4430_CLKACTIVITY_HSIC_P1_GFCLK_MASK (1 << 26) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 216 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 217 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 218 | #define OMAP4430_CLKACTIVITY_HSIC_P2_480M_GFCLK_SHIFT 21 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 219 | #define OMAP4430_CLKACTIVITY_HSIC_P2_480M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 220 | #define OMAP4430_CLKACTIVITY_HSIC_P2_480M_GFCLK_MASK (1 << 21) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 221 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 222 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 223 | #define OMAP4430_CLKACTIVITY_HSIC_P2_GFCLK_SHIFT 27 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 224 | #define OMAP4430_CLKACTIVITY_HSIC_P2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 225 | #define OMAP4430_CLKACTIVITY_HSIC_P2_GFCLK_MASK (1 << 27) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 226 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 227 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 228 | #define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 229 | #define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 230 | #define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 231 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 232 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 233 | #define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 234 | #define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 235 | #define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 236 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 237 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 238 | #define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_SHIFT 28 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 239 | #define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 240 | #define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_MASK (1 << 28) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 241 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 242 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 243 | #define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_SHIFT 29 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 244 | #define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 245 | #define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_MASK (1 << 29) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 246 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 247 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 248 | #define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 249 | #define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 250 | #define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 251 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 252 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 253 | #define OMAP4430_CLKACTIVITY_INIT_HSI_GFCLK_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 254 | #define OMAP4430_CLKACTIVITY_INIT_HSI_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 255 | #define OMAP4430_CLKACTIVITY_INIT_HSI_GFCLK_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 256 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 257 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 258 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_SHIFT 17 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 259 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 260 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 261 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 262 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 263 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_SHIFT 18 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 264 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 265 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 266 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 267 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 268 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_SHIFT 19 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 269 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 270 | #define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 271 | |
| 272 | /* Used by CM_CAM_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 273 | #define OMAP4430_CLKACTIVITY_ISS_GCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 274 | #define OMAP4430_CLKACTIVITY_ISS_GCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 275 | #define OMAP4430_CLKACTIVITY_ISS_GCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 276 | |
| 277 | /* Used by CM_IVAHD_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 278 | #define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 279 | #define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 280 | #define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 281 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 282 | /* Used by CM_D2D_CLKSTCTRL */ |
| 283 | #define OMAP4430_CLKACTIVITY_L3X2_D2D_GICLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 284 | #define OMAP4430_CLKACTIVITY_L3X2_D2D_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 285 | #define OMAP4430_CLKACTIVITY_L3X2_D2D_GICLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 286 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 287 | /* Used by CM_L3_1_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 288 | #define OMAP4430_CLKACTIVITY_L3_1_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 289 | #define OMAP4430_CLKACTIVITY_L3_1_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 290 | #define OMAP4430_CLKACTIVITY_L3_1_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 291 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 292 | /* Used by CM_L3_2_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 293 | #define OMAP4430_CLKACTIVITY_L3_2_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 294 | #define OMAP4430_CLKACTIVITY_L3_2_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 295 | #define OMAP4430_CLKACTIVITY_L3_2_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 296 | |
| 297 | /* Used by CM_D2D_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 298 | #define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 299 | #define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 300 | #define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 301 | |
| 302 | /* Used by CM_SDMA_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 303 | #define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 304 | #define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 305 | #define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 306 | |
| 307 | /* Used by CM_DSS_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 308 | #define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 309 | #define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 310 | #define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 311 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 312 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 313 | #define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 314 | #define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 315 | #define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 316 | |
| 317 | /* Used by CM_GFX_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 318 | #define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 319 | #define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 320 | #define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 321 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 322 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 323 | #define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 324 | #define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 325 | #define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 326 | |
| 327 | /* Used by CM_L3INSTR_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 328 | #define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 329 | #define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 330 | #define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 331 | |
| 332 | /* Used by CM_L4SEC_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 333 | #define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 334 | #define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 335 | #define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 336 | |
| 337 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 338 | #define OMAP4430_CLKACTIVITY_L4_AO_ICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 339 | #define OMAP4430_CLKACTIVITY_L4_AO_ICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 340 | #define OMAP4430_CLKACTIVITY_L4_AO_ICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 341 | |
| 342 | /* Used by CM_CEFUSE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 343 | #define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 344 | #define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 345 | #define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 346 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 347 | /* Used by CM_L4CFG_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 348 | #define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 349 | #define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 350 | #define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 351 | |
| 352 | /* Used by CM_D2D_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 353 | #define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 354 | #define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 355 | #define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 356 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 357 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 358 | #define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 359 | #define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 360 | #define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 361 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 362 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 363 | #define OMAP4430_CLKACTIVITY_L4_PER_GICLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 364 | #define OMAP4430_CLKACTIVITY_L4_PER_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 365 | #define OMAP4430_CLKACTIVITY_L4_PER_GICLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 366 | |
| 367 | /* Used by CM_L4SEC_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 368 | #define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 369 | #define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 370 | #define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 371 | |
| 372 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 373 | #define OMAP4430_CLKACTIVITY_L4_WKUP_GICLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 374 | #define OMAP4430_CLKACTIVITY_L4_WKUP_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 375 | #define OMAP4430_CLKACTIVITY_L4_WKUP_GICLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 376 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 377 | /* Used by CM_MPU_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 378 | #define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 379 | #define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 380 | #define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 381 | |
| 382 | /* Used by CM1_ABE_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 383 | #define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 384 | #define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 385 | #define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 386 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 387 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 388 | #define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 389 | #define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 390 | #define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_MASK (1 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 391 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 392 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 393 | #define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_SHIFT 17 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 394 | #define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 395 | #define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_MASK (1 << 17) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 396 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 397 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 398 | #define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_SHIFT 18 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 399 | #define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 400 | #define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 401 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 402 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 403 | #define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_SHIFT 19 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 404 | #define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 405 | #define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 406 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 407 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 408 | #define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_SHIFT 25 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 409 | #define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 410 | #define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 411 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 412 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 413 | #define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_SHIFT 20 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 414 | #define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 415 | #define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 416 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 417 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 418 | #define OMAP4430_CLKACTIVITY_PER_MCASP3_GFCLK_SHIFT 21 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 419 | #define OMAP4430_CLKACTIVITY_PER_MCASP3_GFCLK_MASK (1 << 21) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 420 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 421 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 422 | #define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_SHIFT 22 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 423 | #define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 424 | #define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_MASK (1 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 425 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 426 | /* Used by CM_L4PER_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 427 | #define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 428 | #define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 429 | #define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 430 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 431 | /* Used by CM_MEMIF_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 432 | #define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 433 | #define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 434 | #define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 435 | |
| 436 | /* Used by CM_GFX_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 437 | #define OMAP4430_CLKACTIVITY_SGX_GFCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 438 | #define OMAP4430_CLKACTIVITY_SGX_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 439 | #define OMAP4430_CLKACTIVITY_SGX_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 440 | |
| 441 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 442 | #define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 443 | #define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 444 | #define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 445 | |
| 446 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 447 | #define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 448 | #define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 449 | #define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 450 | |
| 451 | /* Used by CM_ALWON_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 452 | #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 453 | #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 454 | #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 455 | |
| 456 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 457 | #define OMAP4430_CLKACTIVITY_SYS_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 458 | #define OMAP4430_CLKACTIVITY_SYS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 459 | #define OMAP4430_CLKACTIVITY_SYS_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 460 | |
| 461 | /* Used by CM_TESLA_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 462 | #define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 463 | #define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 464 | #define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 465 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 466 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 467 | #define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_SHIFT 22 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 468 | #define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 469 | #define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_MASK (1 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 470 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 471 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 472 | #define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_SHIFT 23 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 473 | #define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 474 | #define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_MASK (1 << 23) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 475 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 476 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 477 | #define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 478 | #define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 479 | #define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_MASK (1 << 24) |
| 480 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 481 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 482 | #define OMAP4430_CLKACTIVITY_UNIPRO_DPLL_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 483 | #define OMAP4430_CLKACTIVITY_UNIPRO_DPLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 484 | #define OMAP4430_CLKACTIVITY_UNIPRO_DPLL_CLK_MASK (1 << 10) |
| 485 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 486 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 487 | #define OMAP4430_CLKACTIVITY_USB_DPLL_CLK_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 488 | #define OMAP4430_CLKACTIVITY_USB_DPLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 489 | #define OMAP4430_CLKACTIVITY_USB_DPLL_CLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 490 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 491 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 492 | #define OMAP4430_CLKACTIVITY_USB_DPLL_HS_CLK_SHIFT 15 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 493 | #define OMAP4430_CLKACTIVITY_USB_DPLL_HS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 494 | #define OMAP4430_CLKACTIVITY_USB_DPLL_HS_CLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 495 | |
| 496 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 497 | #define OMAP4430_CLKACTIVITY_USIM_GFCLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 498 | #define OMAP4430_CLKACTIVITY_USIM_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 499 | #define OMAP4430_CLKACTIVITY_USIM_GFCLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 500 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 501 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 502 | #define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_SHIFT 30 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 503 | #define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 504 | #define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_MASK (1 << 30) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 505 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 506 | /* Used by CM_L3INIT_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 507 | #define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_SHIFT 25 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 508 | #define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 509 | #define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 510 | |
| 511 | /* Used by CM_WKUP_CLKSTCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 512 | #define OMAP4430_CLKACTIVITY_WKUP_32K_GFCLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 513 | #define OMAP4430_CLKACTIVITY_WKUP_32K_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 514 | #define OMAP4430_CLKACTIVITY_WKUP_32K_GFCLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 515 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 516 | /* Used by CM_WKUP_CLKSTCTRL */ |
| 517 | #define OMAP4460_CLKACTIVITY_WKUP_TS_GFCLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 518 | #define OMAP4460_CLKACTIVITY_WKUP_TS_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 519 | #define OMAP4460_CLKACTIVITY_WKUP_TS_GFCLK_MASK (1 << 13) |
| 520 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 521 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 522 | * Used by CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, |
| 523 | * CM1_ABE_TIMER7_CLKCTRL, CM1_ABE_TIMER8_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 524 | * CM_L3INIT_MMC2_CLKCTRL, CM_L4PER_DMTIMER10_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 525 | * CM_L4PER_DMTIMER11_CLKCTRL, CM_L4PER_DMTIMER2_CLKCTRL, |
| 526 | * CM_L4PER_DMTIMER3_CLKCTRL, CM_L4PER_DMTIMER4_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 527 | * CM_L4PER_DMTIMER9_CLKCTRL, CM_WKUP_TIMER1_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 528 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 529 | #define OMAP4430_CLKSEL_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 530 | #define OMAP4430_CLKSEL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 531 | #define OMAP4430_CLKSEL_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 532 | |
| 533 | /* |
| 534 | * Renamed from CLKSEL Used by CM_ABE_DSS_SYS_CLKSEL, CM_ABE_PLL_REF_CLKSEL, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 535 | * CM_CLKSEL_DUCATI_ISS_ROOT, CM_CLKSEL_USB_60MHZ, CM_L4_WKUP_CLKSEL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 536 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 537 | #define OMAP4430_CLKSEL_0_0_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 538 | #define OMAP4430_CLKSEL_0_0_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 539 | #define OMAP4430_CLKSEL_0_0_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 540 | |
| 541 | /* Renamed from CLKSEL Used by CM_BYPCLK_DPLL_IVA, CM_BYPCLK_DPLL_MPU */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 542 | #define OMAP4430_CLKSEL_0_1_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 543 | #define OMAP4430_CLKSEL_0_1_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 544 | #define OMAP4430_CLKSEL_0_1_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 545 | |
| 546 | /* Renamed from CLKSEL Used by CM_L3INIT_HSI_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 547 | #define OMAP4430_CLKSEL_24_25_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 548 | #define OMAP4430_CLKSEL_24_25_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 549 | #define OMAP4430_CLKSEL_24_25_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 550 | |
| 551 | /* Used by CM_L3INIT_USB_OTG_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 552 | #define OMAP4430_CLKSEL_60M_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 553 | #define OMAP4430_CLKSEL_60M_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 554 | #define OMAP4430_CLKSEL_60M_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 555 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 556 | /* Used by CM_MPU_MPU_CLKCTRL */ |
| 557 | #define OMAP4460_CLKSEL_ABE_DIV_MODE_SHIFT 25 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 558 | #define OMAP4460_CLKSEL_ABE_DIV_MODE_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 559 | #define OMAP4460_CLKSEL_ABE_DIV_MODE_MASK (1 << 25) |
| 560 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 561 | /* Used by CM1_ABE_AESS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 562 | #define OMAP4430_CLKSEL_AESS_FCLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 563 | #define OMAP4430_CLKSEL_AESS_FCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 564 | #define OMAP4430_CLKSEL_AESS_FCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 565 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 566 | /* Used by CM_CLKSEL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 567 | #define OMAP4430_CLKSEL_CORE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 568 | #define OMAP4430_CLKSEL_CORE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 569 | #define OMAP4430_CLKSEL_CORE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 570 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 571 | /* Renamed from CLKSEL_CORE Used by CM_SHADOW_FREQ_CONFIG2 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 572 | #define OMAP4430_CLKSEL_CORE_1_1_SHIFT 1 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 573 | #define OMAP4430_CLKSEL_CORE_1_1_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 574 | #define OMAP4430_CLKSEL_CORE_1_1_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 575 | |
| 576 | /* Used by CM_WKUP_USIM_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 577 | #define OMAP4430_CLKSEL_DIV_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 578 | #define OMAP4430_CLKSEL_DIV_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 579 | #define OMAP4430_CLKSEL_DIV_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 580 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 581 | /* Used by CM_MPU_MPU_CLKCTRL */ |
| 582 | #define OMAP4460_CLKSEL_EMIF_DIV_MODE_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 583 | #define OMAP4460_CLKSEL_EMIF_DIV_MODE_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 584 | #define OMAP4460_CLKSEL_EMIF_DIV_MODE_MASK (1 << 24) |
| 585 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 586 | /* Used by CM_CAM_FDIF_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 587 | #define OMAP4430_CLKSEL_FCLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 588 | #define OMAP4430_CLKSEL_FCLK_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 589 | #define OMAP4430_CLKSEL_FCLK_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 590 | |
| 591 | /* Used by CM_L4PER_MCBSP4_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 592 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_SHIFT 25 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 593 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 594 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 595 | |
| 596 | /* |
| 597 | * Renamed from CLKSEL_INTERNAL_SOURCE Used by CM1_ABE_DMIC_CLKCTRL, |
| 598 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 599 | * CM1_ABE_MCBSP3_CLKCTRL |
| 600 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 601 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_CM1_ABE_DMIC_SHIFT 26 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 602 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_CM1_ABE_DMIC_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 603 | #define OMAP4430_CLKSEL_INTERNAL_SOURCE_CM1_ABE_DMIC_MASK (0x3 << 26) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 604 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 605 | /* Used by CM_CLKSEL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 606 | #define OMAP4430_CLKSEL_L3_SHIFT 4 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 607 | #define OMAP4430_CLKSEL_L3_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 608 | #define OMAP4430_CLKSEL_L3_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 609 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 610 | /* Renamed from CLKSEL_L3 Used by CM_SHADOW_FREQ_CONFIG2 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 611 | #define OMAP4430_CLKSEL_L3_SHADOW_SHIFT 2 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 612 | #define OMAP4430_CLKSEL_L3_SHADOW_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 613 | #define OMAP4430_CLKSEL_L3_SHADOW_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 614 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 615 | /* Used by CM_CLKSEL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 616 | #define OMAP4430_CLKSEL_L4_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 617 | #define OMAP4430_CLKSEL_L4_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 618 | #define OMAP4430_CLKSEL_L4_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 619 | |
| 620 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 621 | #define OMAP4430_CLKSEL_OPP_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 622 | #define OMAP4430_CLKSEL_OPP_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 623 | #define OMAP4430_CLKSEL_OPP_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 624 | |
| 625 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 626 | #define OMAP4430_CLKSEL_PMD_STM_CLK_SHIFT 27 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 627 | #define OMAP4430_CLKSEL_PMD_STM_CLK_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 628 | #define OMAP4430_CLKSEL_PMD_STM_CLK_MASK (0x7 << 27) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 629 | |
| 630 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 631 | #define OMAP4430_CLKSEL_PMD_TRACE_CLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 632 | #define OMAP4430_CLKSEL_PMD_TRACE_CLK_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 633 | #define OMAP4430_CLKSEL_PMD_TRACE_CLK_MASK (0x7 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 634 | |
| 635 | /* Used by CM_GFX_GFX_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 636 | #define OMAP4430_CLKSEL_SGX_FCLK_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 637 | #define OMAP4430_CLKSEL_SGX_FCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 638 | #define OMAP4430_CLKSEL_SGX_FCLK_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 639 | |
| 640 | /* |
| 641 | * Used by CM1_ABE_DMIC_CLKCTRL, CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, |
| 642 | * CM1_ABE_MCBSP2_CLKCTRL, CM1_ABE_MCBSP3_CLKCTRL |
| 643 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 644 | #define OMAP4430_CLKSEL_SOURCE_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 645 | #define OMAP4430_CLKSEL_SOURCE_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 646 | #define OMAP4430_CLKSEL_SOURCE_MASK (0x3 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 647 | |
| 648 | /* Renamed from CLKSEL_SOURCE Used by CM_L4PER_MCBSP4_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 649 | #define OMAP4430_CLKSEL_SOURCE_24_24_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 650 | #define OMAP4430_CLKSEL_SOURCE_24_24_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 651 | #define OMAP4430_CLKSEL_SOURCE_24_24_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 652 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 653 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 654 | #define OMAP4430_CLKSEL_UTMI_P1_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 655 | #define OMAP4430_CLKSEL_UTMI_P1_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 656 | #define OMAP4430_CLKSEL_UTMI_P1_MASK (1 << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 657 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 658 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 659 | #define OMAP4430_CLKSEL_UTMI_P2_SHIFT 25 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 660 | #define OMAP4430_CLKSEL_UTMI_P2_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 661 | #define OMAP4430_CLKSEL_UTMI_P2_MASK (1 << 25) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 662 | |
| 663 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 664 | * Used by CM1_ABE_CLKSTCTRL, CM_ALWON_CLKSTCTRL, CM_CAM_CLKSTCTRL, |
| 665 | * CM_CEFUSE_CLKSTCTRL, CM_D2D_CLKSTCTRL, CM_DSS_CLKSTCTRL, |
| 666 | * CM_DUCATI_CLKSTCTRL, CM_EMU_CLKSTCTRL, CM_GFX_CLKSTCTRL, CM_IVAHD_CLKSTCTRL, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 667 | * CM_L3INIT_CLKSTCTRL, CM_L3INSTR_CLKSTCTRL, CM_L3_1_CLKSTCTRL, |
| 668 | * CM_L3_2_CLKSTCTRL, CM_L4CFG_CLKSTCTRL, CM_L4PER_CLKSTCTRL, |
| 669 | * CM_L4SEC_CLKSTCTRL, CM_MEMIF_CLKSTCTRL, CM_MPU_CLKSTCTRL, CM_SDMA_CLKSTCTRL, |
| 670 | * CM_TESLA_CLKSTCTRL, CM_WKUP_CLKSTCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 671 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 672 | #define OMAP4430_CLKTRCTRL_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 673 | #define OMAP4430_CLKTRCTRL_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 674 | #define OMAP4430_CLKTRCTRL_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 675 | |
| 676 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 677 | #define OMAP4430_CORE_DPLL_EMU_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 678 | #define OMAP4430_CORE_DPLL_EMU_DIV_WIDTH 0x7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 679 | #define OMAP4430_CORE_DPLL_EMU_DIV_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 680 | |
| 681 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 682 | #define OMAP4430_CORE_DPLL_EMU_MULT_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 683 | #define OMAP4430_CORE_DPLL_EMU_MULT_WIDTH 0xb |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 684 | #define OMAP4430_CORE_DPLL_EMU_MULT_MASK (0x7ff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 685 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 686 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 687 | #define OMAP4430_CUSTOM_SHIFT 6 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 688 | #define OMAP4430_CUSTOM_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 689 | #define OMAP4430_CUSTOM_MASK (0x3 << 6) |
| 690 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 691 | /* Used by CM_L3_2_DYNAMICDEP, CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 692 | #define OMAP4430_D2D_DYNDEP_SHIFT 18 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 693 | #define OMAP4430_D2D_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 694 | #define OMAP4430_D2D_DYNDEP_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 695 | |
| 696 | /* Used by CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 697 | #define OMAP4430_D2D_STATDEP_SHIFT 18 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 698 | #define OMAP4430_D2D_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 699 | #define OMAP4430_D2D_STATDEP_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 700 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 701 | /* Used by CM_CLKSEL_DPLL_MPU */ |
| 702 | #define OMAP4460_DCC_COUNT_MAX_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 703 | #define OMAP4460_DCC_COUNT_MAX_WIDTH 0x8 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 704 | #define OMAP4460_DCC_COUNT_MAX_MASK (0xff << 24) |
| 705 | |
| 706 | /* Used by CM_CLKSEL_DPLL_MPU */ |
| 707 | #define OMAP4460_DCC_EN_SHIFT 22 |
| 708 | #define OMAP4460_DCC_EN_MASK (1 << 22) |
| 709 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 710 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 711 | * Used by CM_SSC_DELTAMSTEP_DPLL_ABE, CM_SSC_DELTAMSTEP_DPLL_CORE, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 712 | * CM_SSC_DELTAMSTEP_DPLL_DDRPHY, CM_SSC_DELTAMSTEP_DPLL_IVA, |
| 713 | * CM_SSC_DELTAMSTEP_DPLL_MPU, CM_SSC_DELTAMSTEP_DPLL_PER, |
| 714 | * CM_SSC_DELTAMSTEP_DPLL_UNIPRO, CM_SSC_DELTAMSTEP_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 715 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 716 | #define OMAP4430_DELTAMSTEP_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 717 | #define OMAP4430_DELTAMSTEP_WIDTH 0x14 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 718 | #define OMAP4430_DELTAMSTEP_MASK (0xfffff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 719 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 720 | /* Renamed from DELTAMSTEP Used by CM_SSC_DELTAMSTEP_DPLL_USB */ |
| 721 | #define OMAP4460_DELTAMSTEP_0_20_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 722 | #define OMAP4460_DELTAMSTEP_0_20_WIDTH 0x15 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 723 | #define OMAP4460_DELTAMSTEP_0_20_MASK (0x1fffff << 0) |
| 724 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 725 | /* Used by CM_DLL_CTRL */ |
| 726 | #define OMAP4430_DLL_OVERRIDE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 727 | #define OMAP4430_DLL_OVERRIDE_WIDTH 0x1 |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 728 | #define OMAP4430_DLL_OVERRIDE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 729 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 730 | /* Renamed from DLL_OVERRIDE Used by CM_SHADOW_FREQ_CONFIG1 */ |
| 731 | #define OMAP4430_DLL_OVERRIDE_2_2_SHIFT 2 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 732 | #define OMAP4430_DLL_OVERRIDE_2_2_WIDTH 0x1 |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 733 | #define OMAP4430_DLL_OVERRIDE_2_2_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 734 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 735 | /* Used by CM_SHADOW_FREQ_CONFIG1 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 736 | #define OMAP4430_DLL_RESET_SHIFT 3 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 737 | #define OMAP4430_DLL_RESET_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 738 | #define OMAP4430_DLL_RESET_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 739 | |
| 740 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 741 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, CM_CLKSEL_DPLL_DDRPHY, |
| 742 | * CM_CLKSEL_DPLL_IVA, CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, |
| 743 | * CM_CLKSEL_DPLL_UNIPRO, CM_CLKSEL_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 744 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 745 | #define OMAP4430_DPLL_BYP_CLKSEL_SHIFT 23 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 746 | #define OMAP4430_DPLL_BYP_CLKSEL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 747 | #define OMAP4430_DPLL_BYP_CLKSEL_MASK (1 << 23) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 748 | |
| 749 | /* Used by CM_CLKDCOLDO_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 750 | #define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 751 | #define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 752 | #define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 753 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 754 | /* Used by CM_CLKSEL_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 755 | #define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_SHIFT 20 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 756 | #define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 757 | #define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_MASK (1 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 758 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 759 | /* Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, CM_DIV_M3_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 760 | #define OMAP4430_DPLL_CLKOUTHIF_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 761 | #define OMAP4430_DPLL_CLKOUTHIF_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 762 | #define OMAP4430_DPLL_CLKOUTHIF_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 763 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 764 | /* Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, CM_DIV_M3_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 765 | #define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 766 | #define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 767 | #define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 768 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 769 | /* Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, CM_DIV_M3_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 770 | #define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 771 | #define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 772 | #define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 773 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 774 | /* Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 775 | #define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 776 | #define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 777 | #define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 778 | |
| 779 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 780 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, CM_DIV_M2_DPLL_DDRPHY, |
| 781 | * CM_DIV_M2_DPLL_MPU, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 782 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 783 | #define OMAP4430_DPLL_CLKOUT_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 784 | #define OMAP4430_DPLL_CLKOUT_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 785 | #define OMAP4430_DPLL_CLKOUT_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 786 | |
| 787 | /* Renamed from DPLL_CLKOUT_DIV Used by CM_DIV_M2_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 788 | #define OMAP4430_DPLL_CLKOUT_DIV_0_6_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 789 | #define OMAP4430_DPLL_CLKOUT_DIV_0_6_WIDTH 0x7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 790 | #define OMAP4430_DPLL_CLKOUT_DIV_0_6_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 791 | |
| 792 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 793 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, CM_DIV_M2_DPLL_DDRPHY, |
| 794 | * CM_DIV_M2_DPLL_MPU, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 795 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 796 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 797 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 798 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 799 | |
| 800 | /* Renamed from DPLL_CLKOUT_DIVCHACK Used by CM_DIV_M2_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 801 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_M2_USB_SHIFT 7 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 802 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_M2_USB_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 803 | #define OMAP4430_DPLL_CLKOUT_DIVCHACK_M2_USB_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 804 | |
| 805 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 806 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, CM_DIV_M2_DPLL_DDRPHY, |
| 807 | * CM_DIV_M2_DPLL_MPU, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 808 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 809 | #define OMAP4430_DPLL_CLKOUT_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 810 | #define OMAP4430_DPLL_CLKOUT_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 811 | #define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 812 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 813 | /* Used by CM_SHADOW_FREQ_CONFIG1 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 814 | #define OMAP4430_DPLL_CORE_DPLL_EN_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 815 | #define OMAP4430_DPLL_CORE_DPLL_EN_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 816 | #define OMAP4430_DPLL_CORE_DPLL_EN_MASK (0x7 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 817 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 818 | /* Used by CM_SHADOW_FREQ_CONFIG1 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 819 | #define OMAP4430_DPLL_CORE_M2_DIV_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 820 | #define OMAP4430_DPLL_CORE_M2_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 821 | #define OMAP4430_DPLL_CORE_M2_DIV_MASK (0x1f << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 822 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 823 | /* Used by CM_SHADOW_FREQ_CONFIG2 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 824 | #define OMAP4430_DPLL_CORE_M5_DIV_SHIFT 3 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 825 | #define OMAP4430_DPLL_CORE_M5_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 826 | #define OMAP4430_DPLL_CORE_M5_DIV_MASK (0x1f << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 827 | |
| 828 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 829 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, CM_CLKSEL_DPLL_DDRPHY, |
| 830 | * CM_CLKSEL_DPLL_IVA, CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, |
| 831 | * CM_CLKSEL_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 832 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 833 | #define OMAP4430_DPLL_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 834 | #define OMAP4430_DPLL_DIV_WIDTH 0x7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 835 | #define OMAP4430_DPLL_DIV_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 836 | |
| 837 | /* Renamed from DPLL_DIV Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 838 | #define OMAP4430_DPLL_DIV_0_7_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 839 | #define OMAP4430_DPLL_DIV_0_7_WIDTH 0x8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 840 | #define OMAP4430_DPLL_DIV_0_7_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 841 | |
| 842 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 843 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 844 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 845 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 846 | #define OMAP4430_DPLL_DRIFTGUARD_EN_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 847 | #define OMAP4430_DPLL_DRIFTGUARD_EN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 848 | #define OMAP4430_DPLL_DRIFTGUARD_EN_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 849 | |
| 850 | /* Renamed from DPLL_DRIFTGUARD_EN Used by CM_CLKMODE_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 851 | #define OMAP4430_DPLL_DRIFTGUARD_EN_3_3_SHIFT 3 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 852 | #define OMAP4430_DPLL_DRIFTGUARD_EN_3_3_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 853 | #define OMAP4430_DPLL_DRIFTGUARD_EN_3_3_MASK (1 << 3) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 854 | |
| 855 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 856 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 857 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 858 | * CM_CLKMODE_DPLL_UNIPRO, CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 859 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 860 | #define OMAP4430_DPLL_EN_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 861 | #define OMAP4430_DPLL_EN_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 862 | #define OMAP4430_DPLL_EN_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 863 | |
| 864 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 865 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 866 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 867 | * CM_CLKMODE_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 868 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 869 | #define OMAP4430_DPLL_LPMODE_EN_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 870 | #define OMAP4430_DPLL_LPMODE_EN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 871 | #define OMAP4430_DPLL_LPMODE_EN_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 872 | |
| 873 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 874 | * Used by CM_CLKSEL_DPLL_ABE, CM_CLKSEL_DPLL_CORE, CM_CLKSEL_DPLL_DDRPHY, |
| 875 | * CM_CLKSEL_DPLL_IVA, CM_CLKSEL_DPLL_MPU, CM_CLKSEL_DPLL_PER, |
| 876 | * CM_CLKSEL_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 877 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 878 | #define OMAP4430_DPLL_MULT_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 879 | #define OMAP4430_DPLL_MULT_WIDTH 0xb |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 880 | #define OMAP4430_DPLL_MULT_MASK (0x7ff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 881 | |
| 882 | /* Renamed from DPLL_MULT Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 883 | #define OMAP4430_DPLL_MULT_USB_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 884 | #define OMAP4430_DPLL_MULT_USB_WIDTH 0xc |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 885 | #define OMAP4430_DPLL_MULT_USB_MASK (0xfff << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 886 | |
| 887 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 888 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 889 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 890 | * CM_CLKMODE_DPLL_UNIPRO |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 891 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 892 | #define OMAP4430_DPLL_REGM4XEN_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 893 | #define OMAP4430_DPLL_REGM4XEN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 894 | #define OMAP4430_DPLL_REGM4XEN_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 895 | |
| 896 | /* Used by CM_CLKSEL_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 897 | #define OMAP4430_DPLL_SD_DIV_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 898 | #define OMAP4430_DPLL_SD_DIV_WIDTH 0x8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 899 | #define OMAP4430_DPLL_SD_DIV_MASK (0xff << 24) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 900 | |
| 901 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 902 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 903 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 904 | * CM_CLKMODE_DPLL_UNIPRO, CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 905 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 906 | #define OMAP4430_DPLL_SSC_ACK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 907 | #define OMAP4430_DPLL_SSC_ACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 908 | #define OMAP4430_DPLL_SSC_ACK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 909 | |
| 910 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 911 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 912 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 913 | * CM_CLKMODE_DPLL_UNIPRO, CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 914 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 915 | #define OMAP4430_DPLL_SSC_DOWNSPREAD_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 916 | #define OMAP4430_DPLL_SSC_DOWNSPREAD_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 917 | #define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 918 | |
| 919 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 920 | * Used by CM_CLKMODE_DPLL_ABE, CM_CLKMODE_DPLL_CORE, CM_CLKMODE_DPLL_DDRPHY, |
| 921 | * CM_CLKMODE_DPLL_IVA, CM_CLKMODE_DPLL_MPU, CM_CLKMODE_DPLL_PER, |
| 922 | * CM_CLKMODE_DPLL_UNIPRO, CM_CLKMODE_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 923 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 924 | #define OMAP4430_DPLL_SSC_EN_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 925 | #define OMAP4430_DPLL_SSC_EN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 926 | #define OMAP4430_DPLL_SSC_EN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 927 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 928 | /* Used by CM_L3_2_DYNAMICDEP, CM_L4CFG_DYNAMICDEP, CM_L4PER_DYNAMICDEP */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 929 | #define OMAP4430_DSS_DYNDEP_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 930 | #define OMAP4430_DSS_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 931 | #define OMAP4430_DSS_DYNDEP_MASK (1 << 8) |
| 932 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 933 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 934 | #define OMAP4430_DSS_STATDEP_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 935 | #define OMAP4430_DSS_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 936 | #define OMAP4430_DSS_STATDEP_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 937 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 938 | /* Used by CM_L3_2_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 939 | #define OMAP4430_DUCATI_DYNDEP_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 940 | #define OMAP4430_DUCATI_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 941 | #define OMAP4430_DUCATI_DYNDEP_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 942 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 943 | /* Used by CM_MPU_STATICDEP, CM_SDMA_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 944 | #define OMAP4430_DUCATI_STATDEP_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 945 | #define OMAP4430_DUCATI_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 946 | #define OMAP4430_DUCATI_STATDEP_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 947 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 948 | /* Used by CM_SHADOW_FREQ_CONFIG1 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 949 | #define OMAP4430_FREQ_UPDATE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 950 | #define OMAP4430_FREQ_UPDATE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 951 | #define OMAP4430_FREQ_UPDATE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 952 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 953 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 954 | #define OMAP4430_FUNC_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 955 | #define OMAP4430_FUNC_WIDTH 0xc |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 956 | #define OMAP4430_FUNC_MASK (0xfff << 16) |
| 957 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 958 | /* Used by CM_L3_2_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 959 | #define OMAP4430_GFX_DYNDEP_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 960 | #define OMAP4430_GFX_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 961 | #define OMAP4430_GFX_DYNDEP_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 962 | |
| 963 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 964 | #define OMAP4430_GFX_STATDEP_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 965 | #define OMAP4430_GFX_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 966 | #define OMAP4430_GFX_STATDEP_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 967 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 968 | /* Used by CM_SHADOW_FREQ_CONFIG2 */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 969 | #define OMAP4430_GPMC_FREQ_UPDATE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 970 | #define OMAP4430_GPMC_FREQ_UPDATE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 971 | #define OMAP4430_GPMC_FREQ_UPDATE_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 972 | |
| 973 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 974 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, |
| 975 | * CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 976 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 977 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 978 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 979 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 980 | |
| 981 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 982 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, |
| 983 | * CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 984 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 985 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 986 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 987 | #define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 988 | |
| 989 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 990 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, |
| 991 | * CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 992 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 993 | #define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 994 | #define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 995 | #define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 996 | |
| 997 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 998 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, |
| 999 | * CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1000 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1001 | #define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1002 | #define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1003 | #define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1004 | |
| 1005 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1006 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, |
| 1007 | * CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1008 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1009 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1010 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1011 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1012 | |
| 1013 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1014 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, |
| 1015 | * CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1016 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1017 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1018 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1019 | #define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1020 | |
| 1021 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1022 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, |
| 1023 | * CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1024 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1025 | #define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1026 | #define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1027 | #define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1028 | |
| 1029 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1030 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, |
| 1031 | * CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1032 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1033 | #define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1034 | #define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1035 | #define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1036 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1037 | /* Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1038 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1039 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1040 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1041 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1042 | /* Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1043 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1044 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1045 | #define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1046 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1047 | /* Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1048 | #define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1049 | #define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1050 | #define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1051 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1052 | /* Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1053 | #define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1054 | #define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1055 | #define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1056 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1057 | /* Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1058 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIV_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1059 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIV_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1060 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIV_MASK (0x1f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1061 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1062 | /* Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1063 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1064 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1065 | #define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_MASK (1 << 5) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1066 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1067 | /* Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1068 | #define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1069 | #define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1070 | #define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1071 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1072 | /* Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1073 | #define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1074 | #define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1075 | #define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1076 | |
| 1077 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1078 | * Used by CM1_ABE_AESS_CLKCTRL, CM1_ABE_DMIC_CLKCTRL, CM1_ABE_L4ABE_CLKCTRL, |
| 1079 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 1080 | * CM1_ABE_MCBSP3_CLKCTRL, CM1_ABE_PDM_CLKCTRL, CM1_ABE_SLIMBUS_CLKCTRL, |
| 1081 | * CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, CM1_ABE_TIMER7_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1082 | * CM1_ABE_TIMER8_CLKCTRL, CM1_ABE_WDT3_CLKCTRL, CM_ALWON_SR_CORE_CLKCTRL, |
| 1083 | * CM_ALWON_SR_IVA_CLKCTRL, CM_ALWON_SR_MPU_CLKCTRL, CM_CAM_FDIF_CLKCTRL, |
| 1084 | * CM_CAM_ISS_CLKCTRL, CM_CEFUSE_CEFUSE_CLKCTRL, CM_CM1_PROFILING_CLKCTRL, |
| 1085 | * CM_CM2_PROFILING_CLKCTRL, CM_D2D_MODEM_ICR_CLKCTRL, CM_D2D_SAD2D_CLKCTRL, |
| 1086 | * CM_D2D_SAD2D_FW_CLKCTRL, CM_DSS_DSS_CLKCTRL, CM_DUCATI_DUCATI_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1087 | * CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, CM_IVAHD_IVAHD_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1088 | * CM_IVAHD_SL2_CLKCTRL, CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, |
| 1089 | * CM_L3INIT_MMC2_CLKCTRL, CM_L3INIT_USBPHYOCP2SCP_CLKCTRL, |
| 1090 | * CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_FS_CLKCTRL, |
| 1091 | * CM_L3INIT_USB_OTG_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL, |
| 1092 | * CM_L3INSTR_L3_3_CLKCTRL, CM_L3INSTR_L3_INSTR_CLKCTRL, |
| 1093 | * CM_L3INSTR_OCP_WP1_CLKCTRL, CM_L3_1_L3_1_CLKCTRL, CM_L3_2_GPMC_CLKCTRL, |
| 1094 | * CM_L3_2_L3_2_CLKCTRL, CM_L3_2_OCMC_RAM_CLKCTRL, CM_L4CFG_HW_SEM_CLKCTRL, |
| 1095 | * CM_L4CFG_L4_CFG_CLKCTRL, CM_L4CFG_MAILBOX_CLKCTRL, CM_L4CFG_SAR_ROM_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1096 | * CM_L4PER_DMTIMER10_CLKCTRL, CM_L4PER_DMTIMER11_CLKCTRL, |
| 1097 | * CM_L4PER_DMTIMER2_CLKCTRL, CM_L4PER_DMTIMER3_CLKCTRL, |
| 1098 | * CM_L4PER_DMTIMER4_CLKCTRL, CM_L4PER_DMTIMER9_CLKCTRL, CM_L4PER_ELM_CLKCTRL, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1099 | * CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL, CM_L4PER_GPIO4_CLKCTRL, |
| 1100 | * CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL, CM_L4PER_HDQ1W_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1101 | * CM_L4PER_I2C1_CLKCTRL, CM_L4PER_I2C2_CLKCTRL, CM_L4PER_I2C3_CLKCTRL, |
| 1102 | * CM_L4PER_I2C4_CLKCTRL, CM_L4PER_I2C5_CLKCTRL, CM_L4PER_L4PER_CLKCTRL, |
| 1103 | * CM_L4PER_MCBSP4_CLKCTRL, CM_L4PER_MCSPI1_CLKCTRL, CM_L4PER_MCSPI2_CLKCTRL, |
| 1104 | * CM_L4PER_MCSPI3_CLKCTRL, CM_L4PER_MCSPI4_CLKCTRL, CM_L4PER_MMCSD3_CLKCTRL, |
| 1105 | * CM_L4PER_MMCSD4_CLKCTRL, CM_L4PER_MMCSD5_CLKCTRL, CM_L4PER_SLIMBUS2_CLKCTRL, |
| 1106 | * CM_L4PER_UART1_CLKCTRL, CM_L4PER_UART2_CLKCTRL, CM_L4PER_UART3_CLKCTRL, |
| 1107 | * CM_L4PER_UART4_CLKCTRL, CM_L4SEC_AES1_CLKCTRL, CM_L4SEC_AES2_CLKCTRL, |
| 1108 | * CM_L4SEC_CRYPTODMA_CLKCTRL, CM_L4SEC_DES3DES_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1109 | * CM_L4SEC_PKAEIP29_CLKCTRL, CM_L4SEC_RNG_CLKCTRL, CM_L4SEC_SHA2MD51_CLKCTRL, |
| 1110 | * CM_MEMIF_DMM_CLKCTRL, CM_MEMIF_EMIF_1_CLKCTRL, CM_MEMIF_EMIF_2_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1111 | * CM_MEMIF_EMIF_FW_CLKCTRL, CM_MPU_MPU_CLKCTRL, CM_SDMA_SDMA_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1112 | * CM_TESLA_TESLA_CLKCTRL, CM_WKUP_GPIO1_CLKCTRL, CM_WKUP_KEYBOARD_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1113 | * CM_WKUP_L4WKUP_CLKCTRL, CM_WKUP_SARRAM_CLKCTRL, CM_WKUP_SYNCTIMER_CLKCTRL, |
| 1114 | * CM_WKUP_TIMER12_CLKCTRL, CM_WKUP_TIMER1_CLKCTRL, CM_WKUP_USIM_CLKCTRL, |
| 1115 | * CM_WKUP_WDT1_CLKCTRL, CM_WKUP_WDT2_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1116 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1117 | #define OMAP4430_IDLEST_SHIFT 16 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1118 | #define OMAP4430_IDLEST_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1119 | #define OMAP4430_IDLEST_MASK (0x3 << 16) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1120 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1121 | /* Used by CM_DUCATI_DYNAMICDEP, CM_L3_2_DYNAMICDEP, CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1122 | #define OMAP4430_ISS_DYNDEP_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1123 | #define OMAP4430_ISS_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1124 | #define OMAP4430_ISS_DYNDEP_MASK (1 << 9) |
| 1125 | |
| 1126 | /* |
| 1127 | * Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1128 | * CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1129 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1130 | #define OMAP4430_ISS_STATDEP_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1131 | #define OMAP4430_ISS_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1132 | #define OMAP4430_ISS_STATDEP_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1133 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1134 | /* Used by CM_L3_2_DYNAMICDEP, CM_TESLA_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1135 | #define OMAP4430_IVAHD_DYNDEP_SHIFT 2 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1136 | #define OMAP4430_IVAHD_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1137 | #define OMAP4430_IVAHD_DYNDEP_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1138 | |
| 1139 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1140 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_DSS_STATICDEP, |
| 1141 | * CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_L3INIT_STATICDEP, |
| 1142 | * CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1143 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1144 | #define OMAP4430_IVAHD_STATDEP_SHIFT 2 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1145 | #define OMAP4430_IVAHD_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1146 | #define OMAP4430_IVAHD_STATDEP_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1147 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1148 | /* Used by CM_L3_2_DYNAMICDEP, CM_L4CFG_DYNAMICDEP, CM_L4PER_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1149 | #define OMAP4430_L3INIT_DYNDEP_SHIFT 7 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1150 | #define OMAP4430_L3INIT_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1151 | #define OMAP4430_L3INIT_DYNDEP_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1152 | |
| 1153 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1154 | * Used by CM_D2D_STATICDEP, CM_DUCATI_STATICDEP, CM_MPU_STATICDEP, |
| 1155 | * CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1156 | */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1157 | #define OMAP4430_L3INIT_STATDEP_SHIFT 7 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1158 | #define OMAP4430_L3INIT_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1159 | #define OMAP4430_L3INIT_STATDEP_MASK (1 << 7) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1160 | |
| 1161 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1162 | * Used by CM_DSS_DYNAMICDEP, CM_L3INIT_DYNAMICDEP, CM_L3_2_DYNAMICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1163 | * CM_L4CFG_DYNAMICDEP, CM_MPU_DYNAMICDEP, CM_TESLA_DYNAMICDEP |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1164 | */ |
| 1165 | #define OMAP4430_L3_1_DYNDEP_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1166 | #define OMAP4430_L3_1_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1167 | #define OMAP4430_L3_1_DYNDEP_MASK (1 << 5) |
| 1168 | |
| 1169 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1170 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_DSS_STATICDEP, |
| 1171 | * CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1172 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1173 | * CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1174 | */ |
| 1175 | #define OMAP4430_L3_1_STATDEP_SHIFT 5 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1176 | #define OMAP4430_L3_1_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1177 | #define OMAP4430_L3_1_STATDEP_MASK (1 << 5) |
| 1178 | |
| 1179 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1180 | * Used by CM_CAM_DYNAMICDEP, CM_D2D_DYNAMICDEP, CM_DUCATI_DYNAMICDEP, |
| 1181 | * CM_EMU_DYNAMICDEP, CM_GFX_DYNAMICDEP, CM_IVAHD_DYNAMICDEP, |
| 1182 | * CM_L3INIT_DYNAMICDEP, CM_L3_1_DYNAMICDEP, CM_L4CFG_DYNAMICDEP, |
| 1183 | * CM_L4SEC_DYNAMICDEP, CM_SDMA_DYNAMICDEP |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1184 | */ |
| 1185 | #define OMAP4430_L3_2_DYNDEP_SHIFT 6 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1186 | #define OMAP4430_L3_2_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1187 | #define OMAP4430_L3_2_DYNDEP_MASK (1 << 6) |
| 1188 | |
| 1189 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1190 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_DSS_STATICDEP, |
| 1191 | * CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1192 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1193 | * CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1194 | */ |
| 1195 | #define OMAP4430_L3_2_STATDEP_SHIFT 6 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1196 | #define OMAP4430_L3_2_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1197 | #define OMAP4430_L3_2_STATDEP_MASK (1 << 6) |
| 1198 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1199 | /* Used by CM_L3_1_DYNAMICDEP */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1200 | #define OMAP4430_L4CFG_DYNDEP_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1201 | #define OMAP4430_L4CFG_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1202 | #define OMAP4430_L4CFG_DYNDEP_MASK (1 << 12) |
| 1203 | |
| 1204 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1205 | * Used by CM_D2D_STATICDEP, CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, |
| 1206 | * CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1207 | */ |
| 1208 | #define OMAP4430_L4CFG_STATDEP_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1209 | #define OMAP4430_L4CFG_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1210 | #define OMAP4430_L4CFG_STATDEP_MASK (1 << 12) |
| 1211 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1212 | /* Used by CM_L3_2_DYNAMICDEP */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1213 | #define OMAP4430_L4PER_DYNDEP_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1214 | #define OMAP4430_L4PER_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1215 | #define OMAP4430_L4PER_DYNDEP_MASK (1 << 13) |
| 1216 | |
| 1217 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1218 | * Used by CM_D2D_STATICDEP, CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, |
| 1219 | * CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1220 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1221 | #define OMAP4430_L4PER_STATDEP_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1222 | #define OMAP4430_L4PER_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1223 | #define OMAP4430_L4PER_STATDEP_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1224 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1225 | /* Used by CM_L3_2_DYNAMICDEP, CM_L4PER_DYNAMICDEP */ |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1226 | #define OMAP4430_L4SEC_DYNDEP_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1227 | #define OMAP4430_L4SEC_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1228 | #define OMAP4430_L4SEC_DYNDEP_MASK (1 << 14) |
| 1229 | |
| 1230 | /* |
| 1231 | * Used by CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1232 | * CM_SDMA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1233 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1234 | #define OMAP4430_L4SEC_STATDEP_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1235 | #define OMAP4430_L4SEC_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1236 | #define OMAP4430_L4SEC_STATDEP_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1237 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1238 | /* Used by CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1239 | #define OMAP4430_L4WKUP_DYNDEP_SHIFT 15 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1240 | #define OMAP4430_L4WKUP_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1241 | #define OMAP4430_L4WKUP_DYNDEP_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1242 | |
| 1243 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1244 | * Used by CM_DUCATI_STATICDEP, CM_L3INIT_STATICDEP, CM_MPU_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1245 | * CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1246 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1247 | #define OMAP4430_L4WKUP_STATDEP_SHIFT 15 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1248 | #define OMAP4430_L4WKUP_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1249 | #define OMAP4430_L4WKUP_STATDEP_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1250 | |
| 1251 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1252 | * Used by CM_D2D_DYNAMICDEP, CM_L3_1_DYNAMICDEP, CM_L4CFG_DYNAMICDEP, |
| 1253 | * CM_MPU_DYNAMICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1254 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1255 | #define OMAP4430_MEMIF_DYNDEP_SHIFT 4 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1256 | #define OMAP4430_MEMIF_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1257 | #define OMAP4430_MEMIF_DYNDEP_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1258 | |
| 1259 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1260 | * Used by CM_CAM_STATICDEP, CM_D2D_STATICDEP, CM_DSS_STATICDEP, |
| 1261 | * CM_DUCATI_STATICDEP, CM_GFX_STATICDEP, CM_IVAHD_STATICDEP, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1262 | * CM_L3INIT_STATICDEP, CM_L4SEC_STATICDEP, CM_MPU_STATICDEP, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1263 | * CM_SDMA_STATICDEP, CM_TESLA_STATICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1264 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1265 | #define OMAP4430_MEMIF_STATDEP_SHIFT 4 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1266 | #define OMAP4430_MEMIF_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1267 | #define OMAP4430_MEMIF_STATDEP_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1268 | |
| 1269 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1270 | * Used by CM_SSC_MODFREQDIV_DPLL_ABE, CM_SSC_MODFREQDIV_DPLL_CORE, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1271 | * CM_SSC_MODFREQDIV_DPLL_DDRPHY, CM_SSC_MODFREQDIV_DPLL_IVA, |
| 1272 | * CM_SSC_MODFREQDIV_DPLL_MPU, CM_SSC_MODFREQDIV_DPLL_PER, |
| 1273 | * CM_SSC_MODFREQDIV_DPLL_UNIPRO, CM_SSC_MODFREQDIV_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1274 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1275 | #define OMAP4430_MODFREQDIV_EXPONENT_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1276 | #define OMAP4430_MODFREQDIV_EXPONENT_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1277 | #define OMAP4430_MODFREQDIV_EXPONENT_MASK (0x7 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1278 | |
| 1279 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1280 | * Used by CM_SSC_MODFREQDIV_DPLL_ABE, CM_SSC_MODFREQDIV_DPLL_CORE, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1281 | * CM_SSC_MODFREQDIV_DPLL_DDRPHY, CM_SSC_MODFREQDIV_DPLL_IVA, |
| 1282 | * CM_SSC_MODFREQDIV_DPLL_MPU, CM_SSC_MODFREQDIV_DPLL_PER, |
| 1283 | * CM_SSC_MODFREQDIV_DPLL_UNIPRO, CM_SSC_MODFREQDIV_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1284 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1285 | #define OMAP4430_MODFREQDIV_MANTISSA_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1286 | #define OMAP4430_MODFREQDIV_MANTISSA_WIDTH 0x7 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1287 | #define OMAP4430_MODFREQDIV_MANTISSA_MASK (0x7f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1288 | |
| 1289 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1290 | * Used by CM1_ABE_AESS_CLKCTRL, CM1_ABE_DMIC_CLKCTRL, CM1_ABE_L4ABE_CLKCTRL, |
| 1291 | * CM1_ABE_MCASP_CLKCTRL, CM1_ABE_MCBSP1_CLKCTRL, CM1_ABE_MCBSP2_CLKCTRL, |
| 1292 | * CM1_ABE_MCBSP3_CLKCTRL, CM1_ABE_PDM_CLKCTRL, CM1_ABE_SLIMBUS_CLKCTRL, |
| 1293 | * CM1_ABE_TIMER5_CLKCTRL, CM1_ABE_TIMER6_CLKCTRL, CM1_ABE_TIMER7_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1294 | * CM1_ABE_TIMER8_CLKCTRL, CM1_ABE_WDT3_CLKCTRL, CM_ALWON_SR_CORE_CLKCTRL, |
| 1295 | * CM_ALWON_SR_IVA_CLKCTRL, CM_ALWON_SR_MPU_CLKCTRL, CM_CAM_FDIF_CLKCTRL, |
| 1296 | * CM_CAM_ISS_CLKCTRL, CM_CEFUSE_CEFUSE_CLKCTRL, CM_CM1_PROFILING_CLKCTRL, |
| 1297 | * CM_CM2_PROFILING_CLKCTRL, CM_D2D_MODEM_ICR_CLKCTRL, CM_D2D_SAD2D_CLKCTRL, |
| 1298 | * CM_D2D_SAD2D_FW_CLKCTRL, CM_DSS_DSS_CLKCTRL, CM_DUCATI_DUCATI_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1299 | * CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, CM_IVAHD_IVAHD_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1300 | * CM_IVAHD_SL2_CLKCTRL, CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, |
| 1301 | * CM_L3INIT_MMC2_CLKCTRL, CM_L3INIT_USBPHYOCP2SCP_CLKCTRL, |
| 1302 | * CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_FS_CLKCTRL, |
| 1303 | * CM_L3INIT_USB_OTG_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL, |
| 1304 | * CM_L3INSTR_L3_3_CLKCTRL, CM_L3INSTR_L3_INSTR_CLKCTRL, |
| 1305 | * CM_L3INSTR_OCP_WP1_CLKCTRL, CM_L3_1_L3_1_CLKCTRL, CM_L3_2_GPMC_CLKCTRL, |
| 1306 | * CM_L3_2_L3_2_CLKCTRL, CM_L3_2_OCMC_RAM_CLKCTRL, CM_L4CFG_HW_SEM_CLKCTRL, |
| 1307 | * CM_L4CFG_L4_CFG_CLKCTRL, CM_L4CFG_MAILBOX_CLKCTRL, CM_L4CFG_SAR_ROM_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1308 | * CM_L4PER_DMTIMER10_CLKCTRL, CM_L4PER_DMTIMER11_CLKCTRL, |
| 1309 | * CM_L4PER_DMTIMER2_CLKCTRL, CM_L4PER_DMTIMER3_CLKCTRL, |
| 1310 | * CM_L4PER_DMTIMER4_CLKCTRL, CM_L4PER_DMTIMER9_CLKCTRL, CM_L4PER_ELM_CLKCTRL, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1311 | * CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL, CM_L4PER_GPIO4_CLKCTRL, |
| 1312 | * CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL, CM_L4PER_HDQ1W_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1313 | * CM_L4PER_I2C1_CLKCTRL, CM_L4PER_I2C2_CLKCTRL, CM_L4PER_I2C3_CLKCTRL, |
| 1314 | * CM_L4PER_I2C4_CLKCTRL, CM_L4PER_I2C5_CLKCTRL, CM_L4PER_L4PER_CLKCTRL, |
| 1315 | * CM_L4PER_MCBSP4_CLKCTRL, CM_L4PER_MCSPI1_CLKCTRL, CM_L4PER_MCSPI2_CLKCTRL, |
| 1316 | * CM_L4PER_MCSPI3_CLKCTRL, CM_L4PER_MCSPI4_CLKCTRL, CM_L4PER_MMCSD3_CLKCTRL, |
| 1317 | * CM_L4PER_MMCSD4_CLKCTRL, CM_L4PER_MMCSD5_CLKCTRL, CM_L4PER_SLIMBUS2_CLKCTRL, |
| 1318 | * CM_L4PER_UART1_CLKCTRL, CM_L4PER_UART2_CLKCTRL, CM_L4PER_UART3_CLKCTRL, |
| 1319 | * CM_L4PER_UART4_CLKCTRL, CM_L4SEC_AES1_CLKCTRL, CM_L4SEC_AES2_CLKCTRL, |
| 1320 | * CM_L4SEC_CRYPTODMA_CLKCTRL, CM_L4SEC_DES3DES_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1321 | * CM_L4SEC_PKAEIP29_CLKCTRL, CM_L4SEC_RNG_CLKCTRL, CM_L4SEC_SHA2MD51_CLKCTRL, |
| 1322 | * CM_MEMIF_DMM_CLKCTRL, CM_MEMIF_EMIF_1_CLKCTRL, CM_MEMIF_EMIF_2_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1323 | * CM_MEMIF_EMIF_FW_CLKCTRL, CM_MPU_MPU_CLKCTRL, CM_SDMA_SDMA_CLKCTRL, |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1324 | * CM_TESLA_TESLA_CLKCTRL, CM_WKUP_GPIO1_CLKCTRL, CM_WKUP_KEYBOARD_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1325 | * CM_WKUP_L4WKUP_CLKCTRL, CM_WKUP_SARRAM_CLKCTRL, CM_WKUP_SYNCTIMER_CLKCTRL, |
| 1326 | * CM_WKUP_TIMER12_CLKCTRL, CM_WKUP_TIMER1_CLKCTRL, CM_WKUP_USIM_CLKCTRL, |
| 1327 | * CM_WKUP_WDT1_CLKCTRL, CM_WKUP_WDT2_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1328 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1329 | #define OMAP4430_MODULEMODE_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1330 | #define OMAP4430_MODULEMODE_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1331 | #define OMAP4430_MODULEMODE_MASK (0x3 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1332 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 1333 | /* Used by CM_L4CFG_DYNAMICDEP */ |
| 1334 | #define OMAP4460_MPU_DYNDEP_SHIFT 19 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1335 | #define OMAP4460_MPU_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 1336 | #define OMAP4460_MPU_DYNDEP_MASK (1 << 19) |
| 1337 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1338 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1339 | #define OMAP4430_OPTFCLKEN_48MHZ_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1340 | #define OMAP4430_OPTFCLKEN_48MHZ_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1341 | #define OMAP4430_OPTFCLKEN_48MHZ_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1342 | |
| 1343 | /* Used by CM_WKUP_BANDGAP_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1344 | #define OMAP4430_OPTFCLKEN_BGAP_32K_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1345 | #define OMAP4430_OPTFCLKEN_BGAP_32K_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1346 | #define OMAP4430_OPTFCLKEN_BGAP_32K_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1347 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1348 | /* Used by CM_ALWON_USBPHY_CLKCTRL */ |
| 1349 | #define OMAP4430_OPTFCLKEN_CLK32K_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1350 | #define OMAP4430_OPTFCLKEN_CLK32K_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1351 | #define OMAP4430_OPTFCLKEN_CLK32K_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1352 | |
| 1353 | /* Used by CM_CAM_ISS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1354 | #define OMAP4430_OPTFCLKEN_CTRLCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1355 | #define OMAP4430_OPTFCLKEN_CTRLCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1356 | #define OMAP4430_OPTFCLKEN_CTRLCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1357 | |
| 1358 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1359 | * Used by CM_L4PER_GPIO2_CLKCTRL, CM_L4PER_GPIO3_CLKCTRL, |
| 1360 | * CM_L4PER_GPIO4_CLKCTRL, CM_L4PER_GPIO5_CLKCTRL, CM_L4PER_GPIO6_CLKCTRL, |
| 1361 | * CM_WKUP_GPIO1_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1362 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1363 | #define OMAP4430_OPTFCLKEN_DBCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1364 | #define OMAP4430_OPTFCLKEN_DBCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1365 | #define OMAP4430_OPTFCLKEN_DBCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1366 | |
| 1367 | /* Used by CM_MEMIF_DLL_CLKCTRL, CM_MEMIF_DLL_H_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1368 | #define OMAP4430_OPTFCLKEN_DLL_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1369 | #define OMAP4430_OPTFCLKEN_DLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1370 | #define OMAP4430_OPTFCLKEN_DLL_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1371 | |
| 1372 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1373 | #define OMAP4430_OPTFCLKEN_DSSCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1374 | #define OMAP4430_OPTFCLKEN_DSSCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1375 | #define OMAP4430_OPTFCLKEN_DSSCLK_MASK (1 << 8) |
| 1376 | |
| 1377 | /* Used by CM_WKUP_USIM_CLKCTRL */ |
| 1378 | #define OMAP4430_OPTFCLKEN_FCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1379 | #define OMAP4430_OPTFCLKEN_FCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1380 | #define OMAP4430_OPTFCLKEN_FCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1381 | |
| 1382 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1383 | #define OMAP4430_OPTFCLKEN_FCLK0_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1384 | #define OMAP4430_OPTFCLKEN_FCLK0_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1385 | #define OMAP4430_OPTFCLKEN_FCLK0_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1386 | |
| 1387 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1388 | #define OMAP4430_OPTFCLKEN_FCLK1_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1389 | #define OMAP4430_OPTFCLKEN_FCLK1_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1390 | #define OMAP4430_OPTFCLKEN_FCLK1_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1391 | |
| 1392 | /* Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1393 | #define OMAP4430_OPTFCLKEN_FCLK2_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1394 | #define OMAP4430_OPTFCLKEN_FCLK2_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1395 | #define OMAP4430_OPTFCLKEN_FCLK2_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1396 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1397 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1398 | #define OMAP4430_OPTFCLKEN_FUNC48MCLK_SHIFT 15 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1399 | #define OMAP4430_OPTFCLKEN_FUNC48MCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1400 | #define OMAP4430_OPTFCLKEN_FUNC48MCLK_MASK (1 << 15) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1401 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1402 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1403 | #define OMAP4430_OPTFCLKEN_HSIC480M_P1_CLK_SHIFT 13 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1404 | #define OMAP4430_OPTFCLKEN_HSIC480M_P1_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1405 | #define OMAP4430_OPTFCLKEN_HSIC480M_P1_CLK_MASK (1 << 13) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1406 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1407 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1408 | #define OMAP4430_OPTFCLKEN_HSIC480M_P2_CLK_SHIFT 14 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1409 | #define OMAP4430_OPTFCLKEN_HSIC480M_P2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1410 | #define OMAP4430_OPTFCLKEN_HSIC480M_P2_CLK_MASK (1 << 14) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1411 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1412 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1413 | #define OMAP4430_OPTFCLKEN_HSIC60M_P1_CLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1414 | #define OMAP4430_OPTFCLKEN_HSIC60M_P1_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1415 | #define OMAP4430_OPTFCLKEN_HSIC60M_P1_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1416 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1417 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1418 | #define OMAP4430_OPTFCLKEN_HSIC60M_P2_CLK_SHIFT 12 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1419 | #define OMAP4430_OPTFCLKEN_HSIC60M_P2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1420 | #define OMAP4430_OPTFCLKEN_HSIC60M_P2_CLK_MASK (1 << 12) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1421 | |
| 1422 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1423 | #define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1424 | #define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1425 | #define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1426 | |
| 1427 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1428 | #define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1429 | #define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1430 | #define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1431 | |
| 1432 | /* Used by CM_L3INIT_USBPHYOCP2SCP_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1433 | #define OMAP4430_OPTFCLKEN_PHY_48M_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1434 | #define OMAP4430_OPTFCLKEN_PHY_48M_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1435 | #define OMAP4430_OPTFCLKEN_PHY_48M_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1436 | |
| 1437 | /* Used by CM_L4PER_SLIMBUS2_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1438 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1439 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1440 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1441 | |
| 1442 | /* Renamed from OPTFCLKEN_SLIMBUS_CLK Used by CM1_ABE_SLIMBUS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1443 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_11_11_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1444 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_11_11_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1445 | #define OMAP4430_OPTFCLKEN_SLIMBUS_CLK_11_11_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1446 | |
| 1447 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1448 | #define OMAP4430_OPTFCLKEN_SYS_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1449 | #define OMAP4430_OPTFCLKEN_SYS_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1450 | #define OMAP4430_OPTFCLKEN_SYS_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1451 | |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 1452 | /* Used by CM_WKUP_BANDGAP_CLKCTRL */ |
| 1453 | #define OMAP4460_OPTFCLKEN_TS_FCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1454 | #define OMAP4460_OPTFCLKEN_TS_FCLK_WIDTH 0x1 |
Rajendra Nayak | 6b54b49 | 2011-07-02 08:00:23 +0530 | [diff] [blame] | 1455 | #define OMAP4460_OPTFCLKEN_TS_FCLK_MASK (1 << 8) |
| 1456 | |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1457 | /* Used by CM_DSS_DSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1458 | #define OMAP4430_OPTFCLKEN_TV_CLK_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1459 | #define OMAP4430_OPTFCLKEN_TV_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1460 | #define OMAP4430_OPTFCLKEN_TV_CLK_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1461 | |
| 1462 | /* Used by CM_L3INIT_UNIPRO1_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1463 | #define OMAP4430_OPTFCLKEN_TXPHYCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1464 | #define OMAP4430_OPTFCLKEN_TXPHYCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1465 | #define OMAP4430_OPTFCLKEN_TXPHYCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1466 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1467 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1468 | #define OMAP4430_OPTFCLKEN_USB_CH0_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1469 | #define OMAP4430_OPTFCLKEN_USB_CH0_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1470 | #define OMAP4430_OPTFCLKEN_USB_CH0_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1471 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1472 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1473 | #define OMAP4430_OPTFCLKEN_USB_CH1_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1474 | #define OMAP4430_OPTFCLKEN_USB_CH1_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1475 | #define OMAP4430_OPTFCLKEN_USB_CH1_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1476 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1477 | /* Used by CM_L3INIT_USB_TLL_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1478 | #define OMAP4430_OPTFCLKEN_USB_CH2_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1479 | #define OMAP4430_OPTFCLKEN_USB_CH2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1480 | #define OMAP4430_OPTFCLKEN_USB_CH2_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1481 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1482 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1483 | #define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1484 | #define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1485 | #define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1486 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1487 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1488 | #define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1489 | #define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1490 | #define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1491 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1492 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1493 | #define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1494 | #define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1495 | #define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1496 | |
| 1497 | /* Used by CM_L3INIT_USB_OTG_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1498 | #define OMAP4430_OPTFCLKEN_XCLK_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1499 | #define OMAP4430_OPTFCLKEN_XCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1500 | #define OMAP4430_OPTFCLKEN_XCLK_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1501 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1502 | /* Used by CM_EMU_OVERRIDE_DPLL_CORE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1503 | #define OMAP4430_OVERRIDE_ENABLE_SHIFT 19 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1504 | #define OMAP4430_OVERRIDE_ENABLE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1505 | #define OMAP4430_OVERRIDE_ENABLE_MASK (1 << 19) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1506 | |
| 1507 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1508 | #define OMAP4430_PAD_CLKS_GATE_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1509 | #define OMAP4430_PAD_CLKS_GATE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1510 | #define OMAP4430_PAD_CLKS_GATE_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1511 | |
| 1512 | /* Used by CM_CORE_DVFS_CURRENT, CM_IVA_DVFS_CURRENT */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1513 | #define OMAP4430_PERF_CURRENT_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1514 | #define OMAP4430_PERF_CURRENT_WIDTH 0x8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1515 | #define OMAP4430_PERF_CURRENT_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1516 | |
| 1517 | /* |
| 1518 | * Used by CM_CORE_DVFS_PERF1, CM_CORE_DVFS_PERF2, CM_CORE_DVFS_PERF3, |
| 1519 | * CM_CORE_DVFS_PERF4, CM_IVA_DVFS_PERF_ABE, CM_IVA_DVFS_PERF_IVAHD, |
| 1520 | * CM_IVA_DVFS_PERF_TESLA |
| 1521 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1522 | #define OMAP4430_PERF_REQ_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1523 | #define OMAP4430_PERF_REQ_WIDTH 0x8 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1524 | #define OMAP4430_PERF_REQ_MASK (0xff << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1525 | |
| 1526 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1527 | #define OMAP4430_PHASE1_COMPLETED_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1528 | #define OMAP4430_PHASE1_COMPLETED_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1529 | #define OMAP4430_PHASE1_COMPLETED_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1530 | |
| 1531 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1532 | #define OMAP4430_PHASE2A_COMPLETED_SHIFT 1 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1533 | #define OMAP4430_PHASE2A_COMPLETED_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1534 | #define OMAP4430_PHASE2A_COMPLETED_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1535 | |
| 1536 | /* Used by CM_RESTORE_ST */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1537 | #define OMAP4430_PHASE2B_COMPLETED_SHIFT 2 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1538 | #define OMAP4430_PHASE2B_COMPLETED_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1539 | #define OMAP4430_PHASE2B_COMPLETED_MASK (1 << 2) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1540 | |
| 1541 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1542 | #define OMAP4430_PMD_STM_MUX_CTRL_SHIFT 20 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1543 | #define OMAP4430_PMD_STM_MUX_CTRL_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1544 | #define OMAP4430_PMD_STM_MUX_CTRL_MASK (0x3 << 20) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1545 | |
| 1546 | /* Used by CM_EMU_DEBUGSS_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1547 | #define OMAP4430_PMD_TRACE_MUX_CTRL_SHIFT 22 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1548 | #define OMAP4430_PMD_TRACE_MUX_CTRL_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1549 | #define OMAP4430_PMD_TRACE_MUX_CTRL_MASK (0x3 << 22) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1550 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1551 | /* Used by CM_DYN_DEP_PRESCAL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1552 | #define OMAP4430_PRESCAL_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1553 | #define OMAP4430_PRESCAL_WIDTH 0x6 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1554 | #define OMAP4430_PRESCAL_MASK (0x3f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1555 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1556 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1557 | #define OMAP4430_R_RTL_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1558 | #define OMAP4430_R_RTL_WIDTH 0x5 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1559 | #define OMAP4430_R_RTL_MASK (0x1f << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1560 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1561 | /* Used by CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_TLL_CLKCTRL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1562 | #define OMAP4430_SAR_MODE_SHIFT 4 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1563 | #define OMAP4430_SAR_MODE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1564 | #define OMAP4430_SAR_MODE_MASK (1 << 4) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1565 | |
| 1566 | /* Used by CM_SCALE_FCLK */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1567 | #define OMAP4430_SCALE_FCLK_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1568 | #define OMAP4430_SCALE_FCLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1569 | #define OMAP4430_SCALE_FCLK_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1570 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1571 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1572 | #define OMAP4430_SCHEME_SHIFT 30 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1573 | #define OMAP4430_SCHEME_WIDTH 0x2 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1574 | #define OMAP4430_SCHEME_MASK (0x3 << 30) |
| 1575 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1576 | /* Used by CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1577 | #define OMAP4430_SDMA_DYNDEP_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1578 | #define OMAP4430_SDMA_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1579 | #define OMAP4430_SDMA_DYNDEP_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1580 | |
| 1581 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1582 | #define OMAP4430_SDMA_STATDEP_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1583 | #define OMAP4430_SDMA_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1584 | #define OMAP4430_SDMA_STATDEP_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1585 | |
| 1586 | /* Used by CM_CLKSEL_ABE */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1587 | #define OMAP4430_SLIMBUS_CLK_GATE_SHIFT 10 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1588 | #define OMAP4430_SLIMBUS_CLK_GATE_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1589 | #define OMAP4430_SLIMBUS_CLK_GATE_MASK (1 << 10) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1590 | |
| 1591 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1592 | * Used by CM1_ABE_AESS_CLKCTRL, CM_CAM_FDIF_CLKCTRL, CM_CAM_ISS_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1593 | * CM_D2D_SAD2D_CLKCTRL, CM_DSS_DSS_CLKCTRL, CM_DUCATI_DUCATI_CLKCTRL, |
| 1594 | * CM_EMU_DEBUGSS_CLKCTRL, CM_GFX_GFX_CLKCTRL, CM_IVAHD_IVAHD_CLKCTRL, |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1595 | * CM_L3INIT_HSI_CLKCTRL, CM_L3INIT_MMC1_CLKCTRL, CM_L3INIT_MMC2_CLKCTRL, |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1596 | * CM_L3INIT_USB_HOST_CLKCTRL, CM_L3INIT_USB_HOST_FS_CLKCTRL, |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1597 | * CM_L3INIT_USB_OTG_CLKCTRL, CM_L4SEC_CRYPTODMA_CLKCTRL, CM_MPU_MPU_CLKCTRL, |
| 1598 | * CM_SDMA_SDMA_CLKCTRL, CM_TESLA_TESLA_CLKCTRL |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1599 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1600 | #define OMAP4430_STBYST_SHIFT 18 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1601 | #define OMAP4430_STBYST_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1602 | #define OMAP4430_STBYST_MASK (1 << 18) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1603 | |
| 1604 | /* |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1605 | * Used by CM_IDLEST_DPLL_ABE, CM_IDLEST_DPLL_CORE, CM_IDLEST_DPLL_DDRPHY, |
| 1606 | * CM_IDLEST_DPLL_IVA, CM_IDLEST_DPLL_MPU, CM_IDLEST_DPLL_PER, |
| 1607 | * CM_IDLEST_DPLL_UNIPRO, CM_IDLEST_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1608 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1609 | #define OMAP4430_ST_DPLL_CLK_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1610 | #define OMAP4430_ST_DPLL_CLK_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1611 | #define OMAP4430_ST_DPLL_CLK_MASK (1 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1612 | |
| 1613 | /* Used by CM_CLKDCOLDO_DPLL_USB */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1614 | #define OMAP4430_ST_DPLL_CLKDCOLDO_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1615 | #define OMAP4430_ST_DPLL_CLKDCOLDO_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1616 | #define OMAP4430_ST_DPLL_CLKDCOLDO_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1617 | |
| 1618 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1619 | * Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_CORE, CM_DIV_M2_DPLL_DDRPHY, |
| 1620 | * CM_DIV_M2_DPLL_MPU, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_USB |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1621 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1622 | #define OMAP4430_ST_DPLL_CLKOUT_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1623 | #define OMAP4430_ST_DPLL_CLKOUT_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1624 | #define OMAP4430_ST_DPLL_CLKOUT_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1625 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1626 | /* Used by CM_DIV_M3_DPLL_ABE, CM_DIV_M3_DPLL_CORE, CM_DIV_M3_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1627 | #define OMAP4430_ST_DPLL_CLKOUTHIF_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1628 | #define OMAP4430_ST_DPLL_CLKOUTHIF_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1629 | #define OMAP4430_ST_DPLL_CLKOUTHIF_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1630 | |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1631 | /* Used by CM_DIV_M2_DPLL_ABE, CM_DIV_M2_DPLL_PER, CM_DIV_M2_DPLL_UNIPRO */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1632 | #define OMAP4430_ST_DPLL_CLKOUTX2_SHIFT 11 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1633 | #define OMAP4430_ST_DPLL_CLKOUTX2_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1634 | #define OMAP4430_ST_DPLL_CLKOUTX2_MASK (1 << 11) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1635 | |
| 1636 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1637 | * Used by CM_DIV_M4_DPLL_CORE, CM_DIV_M4_DPLL_DDRPHY, CM_DIV_M4_DPLL_IVA, |
| 1638 | * CM_DIV_M4_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1639 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1640 | #define OMAP4430_ST_HSDIVIDER_CLKOUT1_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1641 | #define OMAP4430_ST_HSDIVIDER_CLKOUT1_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1642 | #define OMAP4430_ST_HSDIVIDER_CLKOUT1_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1643 | |
| 1644 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1645 | * Used by CM_DIV_M5_DPLL_CORE, CM_DIV_M5_DPLL_DDRPHY, CM_DIV_M5_DPLL_IVA, |
| 1646 | * CM_DIV_M5_DPLL_PER |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1647 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1648 | #define OMAP4430_ST_HSDIVIDER_CLKOUT2_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1649 | #define OMAP4430_ST_HSDIVIDER_CLKOUT2_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1650 | #define OMAP4430_ST_HSDIVIDER_CLKOUT2_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1651 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1652 | /* Used by CM_DIV_M6_DPLL_CORE, CM_DIV_M6_DPLL_DDRPHY, CM_DIV_M6_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1653 | #define OMAP4430_ST_HSDIVIDER_CLKOUT3_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1654 | #define OMAP4430_ST_HSDIVIDER_CLKOUT3_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1655 | #define OMAP4430_ST_HSDIVIDER_CLKOUT3_MASK (1 << 9) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1656 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1657 | /* Used by CM_DIV_M7_DPLL_CORE, CM_DIV_M7_DPLL_PER */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1658 | #define OMAP4430_ST_HSDIVIDER_CLKOUT4_SHIFT 9 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1659 | #define OMAP4430_ST_HSDIVIDER_CLKOUT4_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1660 | #define OMAP4430_ST_HSDIVIDER_CLKOUT4_MASK (1 << 9) |
| 1661 | |
| 1662 | /* |
| 1663 | * Used by CM_IDLEST_DPLL_ABE, CM_IDLEST_DPLL_CORE, CM_IDLEST_DPLL_DDRPHY, |
| 1664 | * CM_IDLEST_DPLL_IVA, CM_IDLEST_DPLL_MPU, CM_IDLEST_DPLL_PER, |
| 1665 | * CM_IDLEST_DPLL_UNIPRO, CM_IDLEST_DPLL_USB |
| 1666 | */ |
| 1667 | #define OMAP4430_ST_MN_BYPASS_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1668 | #define OMAP4430_ST_MN_BYPASS_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1669 | #define OMAP4430_ST_MN_BYPASS_MASK (1 << 8) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1670 | |
| 1671 | /* Used by CM_SYS_CLKSEL */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1672 | #define OMAP4430_SYS_CLKSEL_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1673 | #define OMAP4430_SYS_CLKSEL_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1674 | #define OMAP4430_SYS_CLKSEL_MASK (0x7 << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1675 | |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1676 | /* Used by CM_L4CFG_DYNAMICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1677 | #define OMAP4430_TESLA_DYNDEP_SHIFT 1 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1678 | #define OMAP4430_TESLA_DYNDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1679 | #define OMAP4430_TESLA_DYNDEP_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1680 | |
| 1681 | /* Used by CM_DUCATI_STATICDEP, CM_MPU_STATICDEP */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1682 | #define OMAP4430_TESLA_STATDEP_SHIFT 1 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1683 | #define OMAP4430_TESLA_STATDEP_WIDTH 0x1 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1684 | #define OMAP4430_TESLA_STATDEP_MASK (1 << 1) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1685 | |
| 1686 | /* |
Benoit Cousson | 7b342a8 | 2011-07-09 19:15:05 -0600 | [diff] [blame] | 1687 | * Used by CM_D2D_DYNAMICDEP, CM_DUCATI_DYNAMICDEP, CM_EMU_DYNAMICDEP, |
| 1688 | * CM_L3_1_DYNAMICDEP, CM_L3_2_DYNAMICDEP, CM_L4CFG_DYNAMICDEP, |
| 1689 | * CM_L4PER_DYNAMICDEP, CM_MPU_DYNAMICDEP, CM_TESLA_DYNAMICDEP |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1690 | */ |
Rajendra Nayak | 56ef28a | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 1691 | #define OMAP4430_WINDOWSIZE_SHIFT 24 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1692 | #define OMAP4430_WINDOWSIZE_WIDTH 0x4 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1693 | #define OMAP4430_WINDOWSIZE_MASK (0xf << 24) |
| 1694 | |
| 1695 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1696 | #define OMAP4430_X_MAJOR_SHIFT 8 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1697 | #define OMAP4430_X_MAJOR_WIDTH 0x3 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1698 | #define OMAP4430_X_MAJOR_MASK (0x7 << 8) |
| 1699 | |
| 1700 | /* Used by REVISION_CM1, REVISION_CM2 */ |
| 1701 | #define OMAP4430_Y_MINOR_SHIFT 0 |
Mike Turquette | f19a302 | 2012-09-19 18:04:14 -0600 | [diff] [blame] | 1702 | #define OMAP4430_Y_MINOR_WIDTH 0x6 |
Rajendra Nayak | 568997c | 2010-09-27 14:02:55 -0600 | [diff] [blame] | 1703 | #define OMAP4430_Y_MINOR_MASK (0x3f << 0) |
Rajendra Nayak | dd70841 | 2009-12-08 18:24:54 -0700 | [diff] [blame] | 1704 | #endif |