1c595713dSTony Lindgren #ifndef __ARCH_ARM_MACH_OMAP2_CM_REGBITS_34XX_H 2c595713dSTony Lindgren #define __ARCH_ARM_MACH_OMAP2_CM_REGBITS_34XX_H 3c595713dSTony Lindgren 4c595713dSTony Lindgren /* 5c595713dSTony Lindgren * OMAP3430 Clock Management register bits 6c595713dSTony Lindgren * 7c595713dSTony Lindgren * Copyright (C) 2007-2008 Texas Instruments, Inc. 8c595713dSTony Lindgren * Copyright (C) 2007-2008 Nokia Corporation 9c595713dSTony Lindgren * 10c595713dSTony Lindgren * Written by Paul Walmsley 11c595713dSTony Lindgren * 12c595713dSTony Lindgren * This program is free software; you can redistribute it and/or modify 13c595713dSTony Lindgren * it under the terms of the GNU General Public License version 2 as 14c595713dSTony Lindgren * published by the Free Software Foundation. 15c595713dSTony Lindgren */ 16c595713dSTony Lindgren 17c595713dSTony Lindgren #include "cm.h" 18c595713dSTony Lindgren 19c595713dSTony Lindgren /* Bits shared between registers */ 20c595713dSTony Lindgren 21c595713dSTony Lindgren /* CM_FCLKEN1_CORE and CM_ICLKEN1_CORE shared bits */ 22c595713dSTony Lindgren #define OMAP3430ES2_EN_MMC3_MASK (1 << 30) 23c595713dSTony Lindgren #define OMAP3430ES2_EN_MMC3_SHIFT 30 242bc4ef71SPaul Walmsley #define OMAP3430_EN_MSPRO_MASK (1 << 23) 25c595713dSTony Lindgren #define OMAP3430_EN_MSPRO_SHIFT 23 262bc4ef71SPaul Walmsley #define OMAP3430_EN_HDQ_MASK (1 << 22) 27c595713dSTony Lindgren #define OMAP3430_EN_HDQ_SHIFT 22 282bc4ef71SPaul Walmsley #define OMAP3430ES1_EN_FSHOSTUSB_MASK (1 << 5) 29c595713dSTony Lindgren #define OMAP3430ES1_EN_FSHOSTUSB_SHIFT 5 302bc4ef71SPaul Walmsley #define OMAP3430ES1_EN_D2D_MASK (1 << 3) 31c595713dSTony Lindgren #define OMAP3430ES1_EN_D2D_SHIFT 3 322bc4ef71SPaul Walmsley #define OMAP3430_EN_SSI_MASK (1 << 0) 33c595713dSTony Lindgren #define OMAP3430_EN_SSI_SHIFT 0 34c595713dSTony Lindgren 35c595713dSTony Lindgren /* CM_FCLKEN3_CORE and CM_ICLKEN3_CORE shared bits */ 36c595713dSTony Lindgren #define OMAP3430ES2_EN_USBTLL_SHIFT 2 37c595713dSTony Lindgren #define OMAP3430ES2_EN_USBTLL_MASK (1 << 2) 38c595713dSTony Lindgren 39c595713dSTony Lindgren /* CM_FCLKEN_WKUP and CM_ICLKEN_WKUP shared bits */ 402bc4ef71SPaul Walmsley #define OMAP3430_EN_WDT2_MASK (1 << 5) 41c595713dSTony Lindgren #define OMAP3430_EN_WDT2_SHIFT 5 42c595713dSTony Lindgren 43c595713dSTony Lindgren /* CM_ICLKEN_CAM, CM_FCLKEN_CAM shared bits */ 442bc4ef71SPaul Walmsley #define OMAP3430_EN_CAM_MASK (1 << 0) 45c595713dSTony Lindgren #define OMAP3430_EN_CAM_SHIFT 0 46c595713dSTony Lindgren 47c595713dSTony Lindgren /* CM_FCLKEN_PER, CM_ICLKEN_PER shared bits */ 482bc4ef71SPaul Walmsley #define OMAP3430_EN_WDT3_MASK (1 << 12) 49c595713dSTony Lindgren #define OMAP3430_EN_WDT3_SHIFT 12 50c595713dSTony Lindgren 51c595713dSTony Lindgren /* CM_CLKSEL2_EMU, CM_CLKSEL3_EMU shared bits */ 522bc4ef71SPaul Walmsley #define OMAP3430_OVERRIDE_ENABLE_MASK (1 << 19) 53c595713dSTony Lindgren 54c595713dSTony Lindgren 55c595713dSTony Lindgren /* Bits specific to each register */ 56c595713dSTony Lindgren 57c595713dSTony Lindgren /* CM_FCLKEN_IVA2 */ 58dfa6d6f8SKevin Hilman #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_MASK (1 << 0) 5931c203d4SHiroshi DOYU #define OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_SHIFT 0 60c595713dSTony Lindgren 61c595713dSTony Lindgren /* CM_CLKEN_PLL_IVA2 */ 62c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_RAMPTIME_SHIFT 8 63c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_RAMPTIME_MASK (0x3 << 8) 64c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_FREQSEL_SHIFT 4 65c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_FREQSEL_MASK (0xf << 4) 66c595713dSTony Lindgren #define OMAP3430_EN_IVA2_DPLL_DRIFTGUARD_SHIFT 3 67c595713dSTony Lindgren #define OMAP3430_EN_IVA2_DPLL_DRIFTGUARD_MASK (1 << 3) 68c595713dSTony Lindgren #define OMAP3430_EN_IVA2_DPLL_SHIFT 0 69c595713dSTony Lindgren #define OMAP3430_EN_IVA2_DPLL_MASK (0x7 << 0) 70c595713dSTony Lindgren 71c595713dSTony Lindgren /* CM_IDLEST_IVA2 */ 722bc4ef71SPaul Walmsley #define OMAP3430_ST_IVA2_MASK (1 << 0) 73c595713dSTony Lindgren 74c595713dSTony Lindgren /* CM_IDLEST_PLL_IVA2 */ 75542313ccSPaul Walmsley #define OMAP3430_ST_IVA2_CLK_SHIFT 0 76542313ccSPaul Walmsley #define OMAP3430_ST_IVA2_CLK_MASK (1 << 0) 77c595713dSTony Lindgren 78c595713dSTony Lindgren /* CM_AUTOIDLE_PLL_IVA2 */ 79c595713dSTony Lindgren #define OMAP3430_AUTO_IVA2_DPLL_SHIFT 0 80c595713dSTony Lindgren #define OMAP3430_AUTO_IVA2_DPLL_MASK (0x7 << 0) 81c595713dSTony Lindgren 82c595713dSTony Lindgren /* CM_CLKSEL1_PLL_IVA2 */ 83c595713dSTony Lindgren #define OMAP3430_IVA2_CLK_SRC_SHIFT 19 84c595713dSTony Lindgren #define OMAP3430_IVA2_CLK_SRC_MASK (0x3 << 19) 85c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_MULT_SHIFT 8 86c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_MULT_MASK (0x7ff << 8) 87c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_DIV_SHIFT 0 88c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_DIV_MASK (0x7f << 0) 89c595713dSTony Lindgren 90c595713dSTony Lindgren /* CM_CLKSEL2_PLL_IVA2 */ 91c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_CLKOUT_DIV_SHIFT 0 92c595713dSTony Lindgren #define OMAP3430_IVA2_DPLL_CLKOUT_DIV_MASK (0x1f << 0) 93c595713dSTony Lindgren 94c595713dSTony Lindgren /* CM_CLKSTCTRL_IVA2 */ 95c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_IVA2_SHIFT 0 96c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_IVA2_MASK (0x3 << 0) 97c595713dSTony Lindgren 98c595713dSTony Lindgren /* CM_CLKSTST_IVA2 */ 99801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_IVA2_SHIFT 0 100801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_IVA2_MASK (1 << 0) 101c595713dSTony Lindgren 102c595713dSTony Lindgren /* CM_REVISION specific bits */ 103c595713dSTony Lindgren 104c595713dSTony Lindgren /* CM_SYSCONFIG specific bits */ 105c595713dSTony Lindgren 106c595713dSTony Lindgren /* CM_CLKEN_PLL_MPU */ 107c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_RAMPTIME_SHIFT 8 108c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_RAMPTIME_MASK (0x3 << 8) 109c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_FREQSEL_SHIFT 4 110c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_FREQSEL_MASK (0xf << 4) 111c595713dSTony Lindgren #define OMAP3430_EN_MPU_DPLL_DRIFTGUARD_SHIFT 3 112c595713dSTony Lindgren #define OMAP3430_EN_MPU_DPLL_DRIFTGUARD_MASK (1 << 3) 113c595713dSTony Lindgren #define OMAP3430_EN_MPU_DPLL_SHIFT 0 114c595713dSTony Lindgren #define OMAP3430_EN_MPU_DPLL_MASK (0x7 << 0) 115c595713dSTony Lindgren 116c595713dSTony Lindgren /* CM_IDLEST_MPU */ 1172bc4ef71SPaul Walmsley #define OMAP3430_ST_MPU_MASK (1 << 0) 118c595713dSTony Lindgren 119c595713dSTony Lindgren /* CM_IDLEST_PLL_MPU */ 120542313ccSPaul Walmsley #define OMAP3430_ST_MPU_CLK_SHIFT 0 1213760d31fSRoman Tereshonkov #define OMAP3430_ST_MPU_CLK_MASK (1 << 0) 122c595713dSTony Lindgren 123c595713dSTony Lindgren /* CM_AUTOIDLE_PLL_MPU */ 124c595713dSTony Lindgren #define OMAP3430_AUTO_MPU_DPLL_SHIFT 0 125c595713dSTony Lindgren #define OMAP3430_AUTO_MPU_DPLL_MASK (0x7 << 0) 126c595713dSTony Lindgren 127c595713dSTony Lindgren /* CM_CLKSEL1_PLL_MPU */ 128c595713dSTony Lindgren #define OMAP3430_MPU_CLK_SRC_SHIFT 19 129c595713dSTony Lindgren #define OMAP3430_MPU_CLK_SRC_MASK (0x3 << 19) 130c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_MULT_SHIFT 8 131c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_MULT_MASK (0x7ff << 8) 132c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_DIV_SHIFT 0 133c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_DIV_MASK (0x7f << 0) 134c595713dSTony Lindgren 135c595713dSTony Lindgren /* CM_CLKSEL2_PLL_MPU */ 136c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_CLKOUT_DIV_SHIFT 0 137c595713dSTony Lindgren #define OMAP3430_MPU_DPLL_CLKOUT_DIV_MASK (0x1f << 0) 138c595713dSTony Lindgren 139c595713dSTony Lindgren /* CM_CLKSTCTRL_MPU */ 140c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_MPU_SHIFT 0 141c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_MPU_MASK (0x3 << 0) 142c595713dSTony Lindgren 143c595713dSTony Lindgren /* CM_CLKSTST_MPU */ 144801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_MPU_SHIFT 0 145801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_MPU_MASK (1 << 0) 146c595713dSTony Lindgren 147c595713dSTony Lindgren /* CM_FCLKEN1_CORE specific bits */ 1482bc4ef71SPaul Walmsley #define OMAP3430_EN_MODEM_MASK (1 << 31) 1498111b221SKevin Hilman #define OMAP3430_EN_MODEM_SHIFT 31 150c595713dSTony Lindgren 151c595713dSTony Lindgren /* CM_ICLKEN1_CORE specific bits */ 1522bc4ef71SPaul Walmsley #define OMAP3430_EN_ICR_MASK (1 << 29) 153c595713dSTony Lindgren #define OMAP3430_EN_ICR_SHIFT 29 1542bc4ef71SPaul Walmsley #define OMAP3430_EN_AES2_MASK (1 << 28) 155c595713dSTony Lindgren #define OMAP3430_EN_AES2_SHIFT 28 1562bc4ef71SPaul Walmsley #define OMAP3430_EN_SHA12_MASK (1 << 27) 157c595713dSTony Lindgren #define OMAP3430_EN_SHA12_SHIFT 27 1582bc4ef71SPaul Walmsley #define OMAP3430_EN_DES2_MASK (1 << 26) 159c595713dSTony Lindgren #define OMAP3430_EN_DES2_SHIFT 26 1602bc4ef71SPaul Walmsley #define OMAP3430ES1_EN_FAC_MASK (1 << 8) 161c595713dSTony Lindgren #define OMAP3430ES1_EN_FAC_SHIFT 8 1622bc4ef71SPaul Walmsley #define OMAP3430_EN_MAILBOXES_MASK (1 << 7) 163c595713dSTony Lindgren #define OMAP3430_EN_MAILBOXES_SHIFT 7 1642bc4ef71SPaul Walmsley #define OMAP3430_EN_OMAPCTRL_MASK (1 << 6) 165c595713dSTony Lindgren #define OMAP3430_EN_OMAPCTRL_SHIFT 6 1662bc4ef71SPaul Walmsley #define OMAP3430_EN_SAD2D_MASK (1 << 3) 1678111b221SKevin Hilman #define OMAP3430_EN_SAD2D_SHIFT 3 1682bc4ef71SPaul Walmsley #define OMAP3430_EN_SDRC_MASK (1 << 1) 169c595713dSTony Lindgren #define OMAP3430_EN_SDRC_SHIFT 1 170c595713dSTony Lindgren 1713cc4a2fcSRanjith Lohithakshan /* AM35XX specific CM_ICLKEN1_CORE bits */ 1723cc4a2fcSRanjith Lohithakshan #define AM35XX_EN_IPSS_MASK (1 << 4) 1733cc4a2fcSRanjith Lohithakshan #define AM35XX_EN_IPSS_SHIFT 4 1743cc4a2fcSRanjith Lohithakshan #define AM35XX_EN_UART4_MASK (1 << 23) 1753cc4a2fcSRanjith Lohithakshan #define AM35XX_EN_UART4_SHIFT 23 1763cc4a2fcSRanjith Lohithakshan 177c595713dSTony Lindgren /* CM_ICLKEN2_CORE */ 1782bc4ef71SPaul Walmsley #define OMAP3430_EN_PKA_MASK (1 << 4) 179c595713dSTony Lindgren #define OMAP3430_EN_PKA_SHIFT 4 1802bc4ef71SPaul Walmsley #define OMAP3430_EN_AES1_MASK (1 << 3) 181c595713dSTony Lindgren #define OMAP3430_EN_AES1_SHIFT 3 1822bc4ef71SPaul Walmsley #define OMAP3430_EN_RNG_MASK (1 << 2) 183c595713dSTony Lindgren #define OMAP3430_EN_RNG_SHIFT 2 1842bc4ef71SPaul Walmsley #define OMAP3430_EN_SHA11_MASK (1 << 1) 185c595713dSTony Lindgren #define OMAP3430_EN_SHA11_SHIFT 1 1862bc4ef71SPaul Walmsley #define OMAP3430_EN_DES1_MASK (1 << 0) 187c595713dSTony Lindgren #define OMAP3430_EN_DES1_SHIFT 0 188c595713dSTony Lindgren 1898111b221SKevin Hilman /* CM_ICLKEN3_CORE */ 1908111b221SKevin Hilman #define OMAP3430_EN_MAD2D_SHIFT 3 1912bc4ef71SPaul Walmsley #define OMAP3430_EN_MAD2D_MASK (1 << 3) 1928111b221SKevin Hilman 193c595713dSTony Lindgren /* CM_FCLKEN3_CORE specific bits */ 194c595713dSTony Lindgren #define OMAP3430ES2_EN_TS_SHIFT 1 195c595713dSTony Lindgren #define OMAP3430ES2_EN_TS_MASK (1 << 1) 196c595713dSTony Lindgren #define OMAP3430ES2_EN_CPEFUSE_SHIFT 0 197c595713dSTony Lindgren #define OMAP3430ES2_EN_CPEFUSE_MASK (1 << 0) 198c595713dSTony Lindgren 199c595713dSTony Lindgren /* CM_IDLEST1_CORE specific bits */ 200da0747d4SPaul Walmsley #define OMAP3430ES2_ST_MMC3_SHIFT 30 201da0747d4SPaul Walmsley #define OMAP3430ES2_ST_MMC3_MASK (1 << 30) 202da0747d4SPaul Walmsley #define OMAP3430_ST_ICR_SHIFT 29 203da0747d4SPaul Walmsley #define OMAP3430_ST_ICR_MASK (1 << 29) 204da0747d4SPaul Walmsley #define OMAP3430_ST_AES2_SHIFT 28 205da0747d4SPaul Walmsley #define OMAP3430_ST_AES2_MASK (1 << 28) 206da0747d4SPaul Walmsley #define OMAP3430_ST_SHA12_SHIFT 27 207da0747d4SPaul Walmsley #define OMAP3430_ST_SHA12_MASK (1 << 27) 208da0747d4SPaul Walmsley #define OMAP3430_ST_DES2_SHIFT 26 209da0747d4SPaul Walmsley #define OMAP3430_ST_DES2_MASK (1 << 26) 210da0747d4SPaul Walmsley #define OMAP3430_ST_MSPRO_SHIFT 23 211da0747d4SPaul Walmsley #define OMAP3430_ST_MSPRO_MASK (1 << 23) 212da0747d4SPaul Walmsley #define OMAP3430_ST_HDQ_SHIFT 22 213da0747d4SPaul Walmsley #define OMAP3430_ST_HDQ_MASK (1 << 22) 214da0747d4SPaul Walmsley #define OMAP3430ES1_ST_FAC_SHIFT 8 215da0747d4SPaul Walmsley #define OMAP3430ES1_ST_FAC_MASK (1 << 8) 216da0747d4SPaul Walmsley #define OMAP3430ES2_ST_SSI_IDLE_SHIFT 8 217da0747d4SPaul Walmsley #define OMAP3430ES2_ST_SSI_IDLE_MASK (1 << 8) 218da0747d4SPaul Walmsley #define OMAP3430_ST_MAILBOXES_SHIFT 7 219da0747d4SPaul Walmsley #define OMAP3430_ST_MAILBOXES_MASK (1 << 7) 220da0747d4SPaul Walmsley #define OMAP3430_ST_OMAPCTRL_SHIFT 6 221da0747d4SPaul Walmsley #define OMAP3430_ST_OMAPCTRL_MASK (1 << 6) 222da0747d4SPaul Walmsley #define OMAP3430_ST_SDMA_SHIFT 2 223da0747d4SPaul Walmsley #define OMAP3430_ST_SDMA_MASK (1 << 2) 224da0747d4SPaul Walmsley #define OMAP3430_ST_SDRC_SHIFT 1 225da0747d4SPaul Walmsley #define OMAP3430_ST_SDRC_MASK (1 << 1) 226da0747d4SPaul Walmsley #define OMAP3430_ST_SSI_STDBY_SHIFT 0 227da0747d4SPaul Walmsley #define OMAP3430_ST_SSI_STDBY_MASK (1 << 0) 228c595713dSTony Lindgren 2293cc4a2fcSRanjith Lohithakshan /* AM35xx specific CM_IDLEST1_CORE bits */ 2303cc4a2fcSRanjith Lohithakshan #define AM35XX_ST_IPSS_SHIFT 5 2313cc4a2fcSRanjith Lohithakshan #define AM35XX_ST_IPSS_MASK (1 << 5) 2323cc4a2fcSRanjith Lohithakshan 233c595713dSTony Lindgren /* CM_IDLEST2_CORE */ 234da0747d4SPaul Walmsley #define OMAP3430_ST_PKA_SHIFT 4 235da0747d4SPaul Walmsley #define OMAP3430_ST_PKA_MASK (1 << 4) 236da0747d4SPaul Walmsley #define OMAP3430_ST_AES1_SHIFT 3 237da0747d4SPaul Walmsley #define OMAP3430_ST_AES1_MASK (1 << 3) 238da0747d4SPaul Walmsley #define OMAP3430_ST_RNG_SHIFT 2 239da0747d4SPaul Walmsley #define OMAP3430_ST_RNG_MASK (1 << 2) 240da0747d4SPaul Walmsley #define OMAP3430_ST_SHA11_SHIFT 1 241da0747d4SPaul Walmsley #define OMAP3430_ST_SHA11_MASK (1 << 1) 242da0747d4SPaul Walmsley #define OMAP3430_ST_DES1_SHIFT 0 243da0747d4SPaul Walmsley #define OMAP3430_ST_DES1_MASK (1 << 0) 244c595713dSTony Lindgren 245c595713dSTony Lindgren /* CM_IDLEST3_CORE */ 246c595713dSTony Lindgren #define OMAP3430ES2_ST_USBTLL_SHIFT 2 247c595713dSTony Lindgren #define OMAP3430ES2_ST_USBTLL_MASK (1 << 2) 248da0747d4SPaul Walmsley #define OMAP3430ES2_ST_CPEFUSE_SHIFT 0 249da0747d4SPaul Walmsley #define OMAP3430ES2_ST_CPEFUSE_MASK (1 << 0) 250c595713dSTony Lindgren 251c595713dSTony Lindgren /* CM_AUTOIDLE1_CORE */ 2522bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MODEM_MASK (1 << 31) 2538111b221SKevin Hilman #define OMAP3430_AUTO_MODEM_SHIFT 31 2542bc4ef71SPaul Walmsley #define OMAP3430ES2_AUTO_MMC3_MASK (1 << 30) 255027d8dedSJouni Hogander #define OMAP3430ES2_AUTO_MMC3_SHIFT 30 2562bc4ef71SPaul Walmsley #define OMAP3430ES2_AUTO_ICR_MASK (1 << 29) 257027d8dedSJouni Hogander #define OMAP3430ES2_AUTO_ICR_SHIFT 29 2582bc4ef71SPaul Walmsley #define OMAP3430_AUTO_AES2_MASK (1 << 28) 259c595713dSTony Lindgren #define OMAP3430_AUTO_AES2_SHIFT 28 2602bc4ef71SPaul Walmsley #define OMAP3430_AUTO_SHA12_MASK (1 << 27) 261c595713dSTony Lindgren #define OMAP3430_AUTO_SHA12_SHIFT 27 2622bc4ef71SPaul Walmsley #define OMAP3430_AUTO_DES2_MASK (1 << 26) 263c595713dSTony Lindgren #define OMAP3430_AUTO_DES2_SHIFT 26 2642bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MMC2_MASK (1 << 25) 265c595713dSTony Lindgren #define OMAP3430_AUTO_MMC2_SHIFT 25 2662bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MMC1_MASK (1 << 24) 267c595713dSTony Lindgren #define OMAP3430_AUTO_MMC1_SHIFT 24 2682bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MSPRO_MASK (1 << 23) 269c595713dSTony Lindgren #define OMAP3430_AUTO_MSPRO_SHIFT 23 2702bc4ef71SPaul Walmsley #define OMAP3430_AUTO_HDQ_MASK (1 << 22) 271c595713dSTony Lindgren #define OMAP3430_AUTO_HDQ_SHIFT 22 2722bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCSPI4_MASK (1 << 21) 273c595713dSTony Lindgren #define OMAP3430_AUTO_MCSPI4_SHIFT 21 2742bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCSPI3_MASK (1 << 20) 275c595713dSTony Lindgren #define OMAP3430_AUTO_MCSPI3_SHIFT 20 2762bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCSPI2_MASK (1 << 19) 277c595713dSTony Lindgren #define OMAP3430_AUTO_MCSPI2_SHIFT 19 2782bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCSPI1_MASK (1 << 18) 279c595713dSTony Lindgren #define OMAP3430_AUTO_MCSPI1_SHIFT 18 2802bc4ef71SPaul Walmsley #define OMAP3430_AUTO_I2C3_MASK (1 << 17) 281c595713dSTony Lindgren #define OMAP3430_AUTO_I2C3_SHIFT 17 2822bc4ef71SPaul Walmsley #define OMAP3430_AUTO_I2C2_MASK (1 << 16) 283c595713dSTony Lindgren #define OMAP3430_AUTO_I2C2_SHIFT 16 2842bc4ef71SPaul Walmsley #define OMAP3430_AUTO_I2C1_MASK (1 << 15) 285c595713dSTony Lindgren #define OMAP3430_AUTO_I2C1_SHIFT 15 2862bc4ef71SPaul Walmsley #define OMAP3430_AUTO_UART2_MASK (1 << 14) 287c595713dSTony Lindgren #define OMAP3430_AUTO_UART2_SHIFT 14 2882bc4ef71SPaul Walmsley #define OMAP3430_AUTO_UART1_MASK (1 << 13) 289c595713dSTony Lindgren #define OMAP3430_AUTO_UART1_SHIFT 13 2902bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT11_MASK (1 << 12) 291c595713dSTony Lindgren #define OMAP3430_AUTO_GPT11_SHIFT 12 2922bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT10_MASK (1 << 11) 293c595713dSTony Lindgren #define OMAP3430_AUTO_GPT10_SHIFT 11 2942bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCBSP5_MASK (1 << 10) 295c595713dSTony Lindgren #define OMAP3430_AUTO_MCBSP5_SHIFT 10 2962bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCBSP1_MASK (1 << 9) 297c595713dSTony Lindgren #define OMAP3430_AUTO_MCBSP1_SHIFT 9 2982bc4ef71SPaul Walmsley #define OMAP3430ES1_AUTO_FAC_MASK (1 << 8) 299c595713dSTony Lindgren #define OMAP3430ES1_AUTO_FAC_SHIFT 8 3002bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MAILBOXES_MASK (1 << 7) 301c595713dSTony Lindgren #define OMAP3430_AUTO_MAILBOXES_SHIFT 7 3022bc4ef71SPaul Walmsley #define OMAP3430_AUTO_OMAPCTRL_MASK (1 << 6) 303c595713dSTony Lindgren #define OMAP3430_AUTO_OMAPCTRL_SHIFT 6 3042bc4ef71SPaul Walmsley #define OMAP3430ES1_AUTO_FSHOSTUSB_MASK (1 << 5) 305c595713dSTony Lindgren #define OMAP3430ES1_AUTO_FSHOSTUSB_SHIFT 5 3062bc4ef71SPaul Walmsley #define OMAP3430_AUTO_HSOTGUSB_MASK (1 << 4) 307c595713dSTony Lindgren #define OMAP3430_AUTO_HSOTGUSB_SHIFT 4 3082bc4ef71SPaul Walmsley #define OMAP3430ES1_AUTO_D2D_MASK (1 << 3) 309c595713dSTony Lindgren #define OMAP3430ES1_AUTO_D2D_SHIFT 3 3102bc4ef71SPaul Walmsley #define OMAP3430_AUTO_SAD2D_MASK (1 << 3) 3118111b221SKevin Hilman #define OMAP3430_AUTO_SAD2D_SHIFT 3 3122bc4ef71SPaul Walmsley #define OMAP3430_AUTO_SSI_MASK (1 << 0) 313c595713dSTony Lindgren #define OMAP3430_AUTO_SSI_SHIFT 0 314c595713dSTony Lindgren 315c595713dSTony Lindgren /* CM_AUTOIDLE2_CORE */ 3162bc4ef71SPaul Walmsley #define OMAP3430_AUTO_PKA_MASK (1 << 4) 317c595713dSTony Lindgren #define OMAP3430_AUTO_PKA_SHIFT 4 3182bc4ef71SPaul Walmsley #define OMAP3430_AUTO_AES1_MASK (1 << 3) 319c595713dSTony Lindgren #define OMAP3430_AUTO_AES1_SHIFT 3 3202bc4ef71SPaul Walmsley #define OMAP3430_AUTO_RNG_MASK (1 << 2) 321c595713dSTony Lindgren #define OMAP3430_AUTO_RNG_SHIFT 2 3222bc4ef71SPaul Walmsley #define OMAP3430_AUTO_SHA11_MASK (1 << 1) 323c595713dSTony Lindgren #define OMAP3430_AUTO_SHA11_SHIFT 1 3242bc4ef71SPaul Walmsley #define OMAP3430_AUTO_DES1_MASK (1 << 0) 325c595713dSTony Lindgren #define OMAP3430_AUTO_DES1_SHIFT 0 326c595713dSTony Lindgren 327c595713dSTony Lindgren /* CM_AUTOIDLE3_CORE */ 328027d8dedSJouni Hogander #define OMAP3430ES2_AUTO_USBHOST (1 << 0) 329027d8dedSJouni Hogander #define OMAP3430ES2_AUTO_USBHOST_SHIFT 0 330027d8dedSJouni Hogander #define OMAP3430ES2_AUTO_USBTLL (1 << 2) 331c595713dSTony Lindgren #define OMAP3430ES2_AUTO_USBTLL_SHIFT 2 332c595713dSTony Lindgren #define OMAP3430ES2_AUTO_USBTLL_MASK (1 << 2) 3338111b221SKevin Hilman #define OMAP3430_AUTO_MAD2D_SHIFT 3 3342bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MAD2D_MASK (1 << 3) 335c595713dSTony Lindgren 336c595713dSTony Lindgren /* CM_CLKSEL_CORE */ 337c595713dSTony Lindgren #define OMAP3430_CLKSEL_SSI_SHIFT 8 338c595713dSTony Lindgren #define OMAP3430_CLKSEL_SSI_MASK (0xf << 8) 339c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT11_MASK (1 << 7) 340c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT11_SHIFT 7 341c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT10_MASK (1 << 6) 342c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT10_SHIFT 6 343c595713dSTony Lindgren #define OMAP3430ES1_CLKSEL_FSHOSTUSB_SHIFT 4 344c595713dSTony Lindgren #define OMAP3430ES1_CLKSEL_FSHOSTUSB_MASK (0x3 << 4) 345c595713dSTony Lindgren #define OMAP3430_CLKSEL_L4_SHIFT 2 346c595713dSTony Lindgren #define OMAP3430_CLKSEL_L4_MASK (0x3 << 2) 347c595713dSTony Lindgren #define OMAP3430_CLKSEL_L3_SHIFT 0 348c595713dSTony Lindgren #define OMAP3430_CLKSEL_L3_MASK (0x3 << 0) 3497356f0b2SVishwanath BS #define OMAP3630_CLKSEL_96M_SHIFT 12 3507356f0b2SVishwanath BS #define OMAP3630_CLKSEL_96M_MASK (0x3 << 12) 351c595713dSTony Lindgren 352c595713dSTony Lindgren /* CM_CLKSTCTRL_CORE */ 353c595713dSTony Lindgren #define OMAP3430ES1_CLKTRCTRL_D2D_SHIFT 4 354c595713dSTony Lindgren #define OMAP3430ES1_CLKTRCTRL_D2D_MASK (0x3 << 4) 355c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_L4_SHIFT 2 356c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_L4_MASK (0x3 << 2) 357c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_L3_SHIFT 0 358c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_L3_MASK (0x3 << 0) 359c595713dSTony Lindgren 360c595713dSTony Lindgren /* CM_CLKSTST_CORE */ 361801954d3SPaul Walmsley #define OMAP3430ES1_CLKACTIVITY_D2D_SHIFT 2 362801954d3SPaul Walmsley #define OMAP3430ES1_CLKACTIVITY_D2D_MASK (1 << 2) 363801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_L4_SHIFT 1 364801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_L4_MASK (1 << 1) 365801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_L3_SHIFT 0 366801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_L3_MASK (1 << 0) 367c595713dSTony Lindgren 368c595713dSTony Lindgren /* CM_FCLKEN_GFX */ 3692bc4ef71SPaul Walmsley #define OMAP3430ES1_EN_3D_MASK (1 << 2) 370c595713dSTony Lindgren #define OMAP3430ES1_EN_3D_SHIFT 2 3712bc4ef71SPaul Walmsley #define OMAP3430ES1_EN_2D_MASK (1 << 1) 372c595713dSTony Lindgren #define OMAP3430ES1_EN_2D_SHIFT 1 373c595713dSTony Lindgren 374c595713dSTony Lindgren /* CM_ICLKEN_GFX specific bits */ 375c595713dSTony Lindgren 376c595713dSTony Lindgren /* CM_IDLEST_GFX specific bits */ 377c595713dSTony Lindgren 378c595713dSTony Lindgren /* CM_CLKSEL_GFX specific bits */ 379c595713dSTony Lindgren 380c595713dSTony Lindgren /* CM_SLEEPDEP_GFX specific bits */ 381c595713dSTony Lindgren 382c595713dSTony Lindgren /* CM_CLKSTCTRL_GFX */ 383c595713dSTony Lindgren #define OMAP3430ES1_CLKTRCTRL_GFX_SHIFT 0 384c595713dSTony Lindgren #define OMAP3430ES1_CLKTRCTRL_GFX_MASK (0x3 << 0) 385c595713dSTony Lindgren 386c595713dSTony Lindgren /* CM_CLKSTST_GFX */ 387801954d3SPaul Walmsley #define OMAP3430ES1_CLKACTIVITY_GFX_SHIFT 0 388801954d3SPaul Walmsley #define OMAP3430ES1_CLKACTIVITY_GFX_MASK (1 << 0) 389c595713dSTony Lindgren 390c595713dSTony Lindgren /* CM_FCLKEN_SGX */ 391712d7c86SDaniel Stone #define OMAP3430ES2_CM_FCLKEN_SGX_EN_SGX_SHIFT 1 392712d7c86SDaniel Stone #define OMAP3430ES2_CM_FCLKEN_SGX_EN_SGX_MASK (1 << 1) 393712d7c86SDaniel Stone 394b024b542STero Kristo /* CM_IDLEST_SGX */ 395b024b542STero Kristo #define OMAP3430ES2_ST_SGX_SHIFT 1 396b024b542STero Kristo #define OMAP3430ES2_ST_SGX_MASK (1 << 1) 397b024b542STero Kristo 398712d7c86SDaniel Stone /* CM_ICLKEN_SGX */ 399712d7c86SDaniel Stone #define OMAP3430ES2_CM_ICLKEN_SGX_EN_SGX_SHIFT 0 400712d7c86SDaniel Stone #define OMAP3430ES2_CM_ICLKEN_SGX_EN_SGX_MASK (1 << 0) 401c595713dSTony Lindgren 402c595713dSTony Lindgren /* CM_CLKSEL_SGX */ 403c595713dSTony Lindgren #define OMAP3430ES2_CLKSEL_SGX_SHIFT 0 404c595713dSTony Lindgren #define OMAP3430ES2_CLKSEL_SGX_MASK (0x7 << 0) 405c595713dSTony Lindgren 406801954d3SPaul Walmsley /* CM_CLKSTCTRL_SGX */ 407801954d3SPaul Walmsley #define OMAP3430ES2_CLKTRCTRL_SGX_SHIFT 0 408801954d3SPaul Walmsley #define OMAP3430ES2_CLKTRCTRL_SGX_MASK (0x3 << 0) 409801954d3SPaul Walmsley 410801954d3SPaul Walmsley /* CM_CLKSTST_SGX */ 411801954d3SPaul Walmsley #define OMAP3430ES2_CLKACTIVITY_SGX_SHIFT 0 412801954d3SPaul Walmsley #define OMAP3430ES2_CLKACTIVITY_SGX_MASK (1 << 0) 413801954d3SPaul Walmsley 414c595713dSTony Lindgren /* CM_FCLKEN_WKUP specific bits */ 415c595713dSTony Lindgren #define OMAP3430ES2_EN_USIMOCP_SHIFT 9 416da0747d4SPaul Walmsley #define OMAP3430ES2_EN_USIMOCP_MASK (1 << 9) 417c595713dSTony Lindgren 418c595713dSTony Lindgren /* CM_ICLKEN_WKUP specific bits */ 4192bc4ef71SPaul Walmsley #define OMAP3430_EN_WDT1_MASK (1 << 4) 420c595713dSTony Lindgren #define OMAP3430_EN_WDT1_SHIFT 4 4212bc4ef71SPaul Walmsley #define OMAP3430_EN_32KSYNC_MASK (1 << 2) 422c595713dSTony Lindgren #define OMAP3430_EN_32KSYNC_SHIFT 2 423c595713dSTony Lindgren 424c595713dSTony Lindgren /* CM_IDLEST_WKUP specific bits */ 425da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USIMOCP_SHIFT 9 426da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USIMOCP_MASK (1 << 9) 427da0747d4SPaul Walmsley #define OMAP3430_ST_WDT2_SHIFT 5 428da0747d4SPaul Walmsley #define OMAP3430_ST_WDT2_MASK (1 << 5) 429da0747d4SPaul Walmsley #define OMAP3430_ST_WDT1_SHIFT 4 430da0747d4SPaul Walmsley #define OMAP3430_ST_WDT1_MASK (1 << 4) 431da0747d4SPaul Walmsley #define OMAP3430_ST_32KSYNC_SHIFT 2 432da0747d4SPaul Walmsley #define OMAP3430_ST_32KSYNC_MASK (1 << 2) 433c595713dSTony Lindgren 434c595713dSTony Lindgren /* CM_AUTOIDLE_WKUP */ 4352bc4ef71SPaul Walmsley #define OMAP3430ES2_AUTO_USIMOCP_MASK (1 << 9) 436da0747d4SPaul Walmsley #define OMAP3430ES2_AUTO_USIMOCP_SHIFT 9 4372bc4ef71SPaul Walmsley #define OMAP3430_AUTO_WDT2_MASK (1 << 5) 438c595713dSTony Lindgren #define OMAP3430_AUTO_WDT2_SHIFT 5 4392bc4ef71SPaul Walmsley #define OMAP3430_AUTO_WDT1_MASK (1 << 4) 440c595713dSTony Lindgren #define OMAP3430_AUTO_WDT1_SHIFT 4 4412bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO1_MASK (1 << 3) 442c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO1_SHIFT 3 4432bc4ef71SPaul Walmsley #define OMAP3430_AUTO_32KSYNC_MASK (1 << 2) 444c595713dSTony Lindgren #define OMAP3430_AUTO_32KSYNC_SHIFT 2 4452bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT12_MASK (1 << 1) 446c595713dSTony Lindgren #define OMAP3430_AUTO_GPT12_SHIFT 1 4472bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT1_MASK (1 << 0) 448c595713dSTony Lindgren #define OMAP3430_AUTO_GPT1_SHIFT 0 449c595713dSTony Lindgren 450c595713dSTony Lindgren /* CM_CLKSEL_WKUP */ 451c595713dSTony Lindgren #define OMAP3430ES2_CLKSEL_USIMOCP_MASK (0xf << 3) 452c595713dSTony Lindgren #define OMAP3430_CLKSEL_RM_SHIFT 1 453c595713dSTony Lindgren #define OMAP3430_CLKSEL_RM_MASK (0x3 << 1) 454c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT1_SHIFT 0 455c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT1_MASK (1 << 0) 456c595713dSTony Lindgren 457c595713dSTony Lindgren /* CM_CLKEN_PLL */ 458c595713dSTony Lindgren #define OMAP3430_PWRDN_EMU_PERIPH_SHIFT 31 459c595713dSTony Lindgren #define OMAP3430_PWRDN_CAM_SHIFT 30 460c595713dSTony Lindgren #define OMAP3430_PWRDN_DSS1_SHIFT 29 461c595713dSTony Lindgren #define OMAP3430_PWRDN_TV_SHIFT 28 462c595713dSTony Lindgren #define OMAP3430_PWRDN_96M_SHIFT 27 463c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_RAMPTIME_SHIFT 24 464c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_RAMPTIME_MASK (0x3 << 24) 465c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_FREQSEL_SHIFT 20 466c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_FREQSEL_MASK (0xf << 20) 467c595713dSTony Lindgren #define OMAP3430_EN_PERIPH_DPLL_DRIFTGUARD_SHIFT 19 468c595713dSTony Lindgren #define OMAP3430_EN_PERIPH_DPLL_DRIFTGUARD_MASK (1 << 19) 469c595713dSTony Lindgren #define OMAP3430_EN_PERIPH_DPLL_SHIFT 16 470c595713dSTony Lindgren #define OMAP3430_EN_PERIPH_DPLL_MASK (0x7 << 16) 471c595713dSTony Lindgren #define OMAP3430_PWRDN_EMU_CORE_SHIFT 12 472c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_RAMPTIME_SHIFT 8 473c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_RAMPTIME_MASK (0x3 << 8) 474c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_FREQSEL_SHIFT 4 475c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_FREQSEL_MASK (0xf << 4) 476c595713dSTony Lindgren #define OMAP3430_EN_CORE_DPLL_DRIFTGUARD_SHIFT 3 477c595713dSTony Lindgren #define OMAP3430_EN_CORE_DPLL_DRIFTGUARD_MASK (1 << 3) 478c595713dSTony Lindgren #define OMAP3430_EN_CORE_DPLL_SHIFT 0 479c595713dSTony Lindgren #define OMAP3430_EN_CORE_DPLL_MASK (0x7 << 0) 480c595713dSTony Lindgren 481c595713dSTony Lindgren /* CM_CLKEN2_PLL */ 482c595713dSTony Lindgren #define OMAP3430ES2_EN_PERIPH2_DPLL_LPMODE_SHIFT 10 483c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_RAMPTIME_MASK (0x3 << 8) 484c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_FREQSEL_SHIFT 4 485c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_FREQSEL_MASK (0xf << 4) 486c595713dSTony Lindgren #define OMAP3430ES2_EN_PERIPH2_DPLL_DRIFTGUARD_SHIFT 3 487c595713dSTony Lindgren #define OMAP3430ES2_EN_PERIPH2_DPLL_SHIFT 0 488c595713dSTony Lindgren #define OMAP3430ES2_EN_PERIPH2_DPLL_MASK (0x7 << 0) 489c595713dSTony Lindgren 490c595713dSTony Lindgren /* CM_IDLEST_CKGEN */ 4912bc4ef71SPaul Walmsley #define OMAP3430_ST_54M_CLK_MASK (1 << 5) 4922bc4ef71SPaul Walmsley #define OMAP3430_ST_12M_CLK_MASK (1 << 4) 4932bc4ef71SPaul Walmsley #define OMAP3430_ST_48M_CLK_MASK (1 << 3) 4942bc4ef71SPaul Walmsley #define OMAP3430_ST_96M_CLK_MASK (1 << 2) 495542313ccSPaul Walmsley #define OMAP3430_ST_PERIPH_CLK_SHIFT 1 496542313ccSPaul Walmsley #define OMAP3430_ST_PERIPH_CLK_MASK (1 << 1) 497542313ccSPaul Walmsley #define OMAP3430_ST_CORE_CLK_SHIFT 0 498542313ccSPaul Walmsley #define OMAP3430_ST_CORE_CLK_MASK (1 << 0) 499c595713dSTony Lindgren 500c595713dSTony Lindgren /* CM_IDLEST2_CKGEN */ 501da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USIM_CLK_SHIFT 2 502da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USIM_CLK_MASK (1 << 2) 503c595713dSTony Lindgren #define OMAP3430ES2_ST_120M_CLK_SHIFT 1 504c595713dSTony Lindgren #define OMAP3430ES2_ST_120M_CLK_MASK (1 << 1) 505c595713dSTony Lindgren #define OMAP3430ES2_ST_PERIPH2_CLK_SHIFT 0 506c595713dSTony Lindgren #define OMAP3430ES2_ST_PERIPH2_CLK_MASK (1 << 0) 507c595713dSTony Lindgren 508c595713dSTony Lindgren /* CM_AUTOIDLE_PLL */ 509c595713dSTony Lindgren #define OMAP3430_AUTO_PERIPH_DPLL_SHIFT 3 510c595713dSTony Lindgren #define OMAP3430_AUTO_PERIPH_DPLL_MASK (0x7 << 3) 511c595713dSTony Lindgren #define OMAP3430_AUTO_CORE_DPLL_SHIFT 0 512c595713dSTony Lindgren #define OMAP3430_AUTO_CORE_DPLL_MASK (0x7 << 0) 513c595713dSTony Lindgren 514542313ccSPaul Walmsley /* CM_AUTOIDLE2_PLL */ 515542313ccSPaul Walmsley #define OMAP3430ES2_AUTO_PERIPH2_DPLL_SHIFT 0 516542313ccSPaul Walmsley #define OMAP3430ES2_AUTO_PERIPH2_DPLL_MASK (0x7 << 0) 517542313ccSPaul Walmsley 518c595713dSTony Lindgren /* CM_CLKSEL1_PLL */ 519c595713dSTony Lindgren /* Note that OMAP3430_CORE_DPLL_CLKOUT_DIV_MASK was (0x3 << 27) on 3430ES1 */ 520c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_CLKOUT_DIV_SHIFT 27 521c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_CLKOUT_DIV_MASK (0x1f << 27) 522c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_MULT_SHIFT 16 523c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_MULT_MASK (0x7ff << 16) 524c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_DIV_SHIFT 8 525c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_DIV_MASK (0x7f << 8) 5269cfd985eSPaul Walmsley #define OMAP3430_SOURCE_96M_SHIFT 6 5279cfd985eSPaul Walmsley #define OMAP3430_SOURCE_96M_MASK (1 << 6) 5289cfd985eSPaul Walmsley #define OMAP3430_SOURCE_54M_SHIFT 5 5299cfd985eSPaul Walmsley #define OMAP3430_SOURCE_54M_MASK (1 << 5) 5309cfd985eSPaul Walmsley #define OMAP3430_SOURCE_48M_SHIFT 3 5319cfd985eSPaul Walmsley #define OMAP3430_SOURCE_48M_MASK (1 << 3) 532c595713dSTony Lindgren 533c595713dSTony Lindgren /* CM_CLKSEL2_PLL */ 534c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_MULT_SHIFT 8 535c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_MULT_MASK (0x7ff << 8) 536358965d7SRichard Woodruff #define OMAP3630_PERIPH_DPLL_MULT_MASK (0xfff << 8) 537c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_DIV_SHIFT 0 538c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_DIV_MASK (0x7f << 0) 539358965d7SRichard Woodruff #define OMAP3630_PERIPH_DPLL_DCO_SEL_SHIFT 21 540358965d7SRichard Woodruff #define OMAP3630_PERIPH_DPLL_DCO_SEL_MASK (0x7 << 21) 541358965d7SRichard Woodruff #define OMAP3630_PERIPH_DPLL_SD_DIV_SHIFT 24 542358965d7SRichard Woodruff #define OMAP3630_PERIPH_DPLL_SD_DIV_MASK (0xff << 24) 543c595713dSTony Lindgren 544c595713dSTony Lindgren /* CM_CLKSEL3_PLL */ 545c595713dSTony Lindgren #define OMAP3430_DIV_96M_SHIFT 0 546c595713dSTony Lindgren #define OMAP3430_DIV_96M_MASK (0x1f << 0) 547678bc9a2SVishwanath BS #define OMAP3630_DIV_96M_MASK (0x3f << 0) 548c595713dSTony Lindgren 549c595713dSTony Lindgren /* CM_CLKSEL4_PLL */ 550c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_MULT_SHIFT 8 551c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_MULT_MASK (0x7ff << 8) 552c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_DIV_SHIFT 0 553c595713dSTony Lindgren #define OMAP3430ES2_PERIPH2_DPLL_DIV_MASK (0x7f << 0) 554c595713dSTony Lindgren 555c595713dSTony Lindgren /* CM_CLKSEL5_PLL */ 556c595713dSTony Lindgren #define OMAP3430ES2_DIV_120M_SHIFT 0 557c595713dSTony Lindgren #define OMAP3430ES2_DIV_120M_MASK (0x1f << 0) 558c595713dSTony Lindgren 559c595713dSTony Lindgren /* CM_CLKOUT_CTRL */ 560c595713dSTony Lindgren #define OMAP3430_CLKOUT2_EN_SHIFT 7 5612bc4ef71SPaul Walmsley #define OMAP3430_CLKOUT2_EN_MASK (1 << 7) 562c595713dSTony Lindgren #define OMAP3430_CLKOUT2_DIV_SHIFT 3 563c595713dSTony Lindgren #define OMAP3430_CLKOUT2_DIV_MASK (0x7 << 3) 564c595713dSTony Lindgren #define OMAP3430_CLKOUT2SOURCE_SHIFT 0 565c595713dSTony Lindgren #define OMAP3430_CLKOUT2SOURCE_MASK (0x3 << 0) 566c595713dSTony Lindgren 567c595713dSTony Lindgren /* CM_FCLKEN_DSS */ 5682bc4ef71SPaul Walmsley #define OMAP3430_EN_TV_MASK (1 << 2) 569c595713dSTony Lindgren #define OMAP3430_EN_TV_SHIFT 2 5702bc4ef71SPaul Walmsley #define OMAP3430_EN_DSS2_MASK (1 << 1) 571c595713dSTony Lindgren #define OMAP3430_EN_DSS2_SHIFT 1 5722bc4ef71SPaul Walmsley #define OMAP3430_EN_DSS1_MASK (1 << 0) 573c595713dSTony Lindgren #define OMAP3430_EN_DSS1_SHIFT 0 574c595713dSTony Lindgren 575c595713dSTony Lindgren /* CM_ICLKEN_DSS */ 5762bc4ef71SPaul Walmsley #define OMAP3430_CM_ICLKEN_DSS_EN_DSS_MASK (1 << 0) 577c595713dSTony Lindgren #define OMAP3430_CM_ICLKEN_DSS_EN_DSS_SHIFT 0 578c595713dSTony Lindgren 579c595713dSTony Lindgren /* CM_IDLEST_DSS */ 580da0747d4SPaul Walmsley #define OMAP3430ES2_ST_DSS_IDLE_SHIFT 1 581da0747d4SPaul Walmsley #define OMAP3430ES2_ST_DSS_IDLE_MASK (1 << 1) 582da0747d4SPaul Walmsley #define OMAP3430ES2_ST_DSS_STDBY_SHIFT 0 583da0747d4SPaul Walmsley #define OMAP3430ES2_ST_DSS_STDBY_MASK (1 << 0) 584da0747d4SPaul Walmsley #define OMAP3430ES1_ST_DSS_SHIFT 0 585da0747d4SPaul Walmsley #define OMAP3430ES1_ST_DSS_MASK (1 << 0) 586c595713dSTony Lindgren 587c595713dSTony Lindgren /* CM_AUTOIDLE_DSS */ 5882bc4ef71SPaul Walmsley #define OMAP3430_AUTO_DSS_MASK (1 << 0) 589c595713dSTony Lindgren #define OMAP3430_AUTO_DSS_SHIFT 0 590c595713dSTony Lindgren 591c595713dSTony Lindgren /* CM_CLKSEL_DSS */ 592c595713dSTony Lindgren #define OMAP3430_CLKSEL_TV_SHIFT 8 593c595713dSTony Lindgren #define OMAP3430_CLKSEL_TV_MASK (0x1f << 8) 594678bc9a2SVishwanath BS #define OMAP3630_CLKSEL_TV_MASK (0x3f << 8) 595c595713dSTony Lindgren #define OMAP3430_CLKSEL_DSS1_SHIFT 0 596c595713dSTony Lindgren #define OMAP3430_CLKSEL_DSS1_MASK (0x1f << 0) 597678bc9a2SVishwanath BS #define OMAP3630_CLKSEL_DSS1_MASK (0x3f << 0) 598c595713dSTony Lindgren 599c595713dSTony Lindgren /* CM_SLEEPDEP_DSS specific bits */ 600c595713dSTony Lindgren 601c595713dSTony Lindgren /* CM_CLKSTCTRL_DSS */ 602c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_DSS_SHIFT 0 603c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_DSS_MASK (0x3 << 0) 604c595713dSTony Lindgren 605c595713dSTony Lindgren /* CM_CLKSTST_DSS */ 606801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_DSS_SHIFT 0 607801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_DSS_MASK (1 << 0) 608c595713dSTony Lindgren 609c595713dSTony Lindgren /* CM_FCLKEN_CAM specific bits */ 6102bc4ef71SPaul Walmsley #define OMAP3430_EN_CSI2_MASK (1 << 1) 6116c8fe0b9SSergio Aguirre #define OMAP3430_EN_CSI2_SHIFT 1 612c595713dSTony Lindgren 613c595713dSTony Lindgren /* CM_ICLKEN_CAM specific bits */ 614c595713dSTony Lindgren 615c595713dSTony Lindgren /* CM_IDLEST_CAM */ 6162bc4ef71SPaul Walmsley #define OMAP3430_ST_CAM_MASK (1 << 0) 617c595713dSTony Lindgren 618c595713dSTony Lindgren /* CM_AUTOIDLE_CAM */ 6192bc4ef71SPaul Walmsley #define OMAP3430_AUTO_CAM_MASK (1 << 0) 620c595713dSTony Lindgren #define OMAP3430_AUTO_CAM_SHIFT 0 621c595713dSTony Lindgren 622c595713dSTony Lindgren /* CM_CLKSEL_CAM */ 623c595713dSTony Lindgren #define OMAP3430_CLKSEL_CAM_SHIFT 0 624c595713dSTony Lindgren #define OMAP3430_CLKSEL_CAM_MASK (0x1f << 0) 625678bc9a2SVishwanath BS #define OMAP3630_CLKSEL_CAM_MASK (0x3f << 0) 626c595713dSTony Lindgren 627c595713dSTony Lindgren /* CM_SLEEPDEP_CAM specific bits */ 628c595713dSTony Lindgren 629c595713dSTony Lindgren /* CM_CLKSTCTRL_CAM */ 630c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_CAM_SHIFT 0 631c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_CAM_MASK (0x3 << 0) 632c595713dSTony Lindgren 633c595713dSTony Lindgren /* CM_CLKSTST_CAM */ 634801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_CAM_SHIFT 0 635801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_CAM_MASK (1 << 0) 636c595713dSTony Lindgren 637c595713dSTony Lindgren /* CM_FCLKEN_PER specific bits */ 638c595713dSTony Lindgren 639c595713dSTony Lindgren /* CM_ICLKEN_PER specific bits */ 640c595713dSTony Lindgren 641c595713dSTony Lindgren /* CM_IDLEST_PER */ 642da0747d4SPaul Walmsley #define OMAP3430_ST_WDT3_SHIFT 12 643da0747d4SPaul Walmsley #define OMAP3430_ST_WDT3_MASK (1 << 12) 644da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP4_SHIFT 2 645da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP4_MASK (1 << 2) 646da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP3_SHIFT 1 647da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP3_MASK (1 << 1) 648da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP2_SHIFT 0 649da0747d4SPaul Walmsley #define OMAP3430_ST_MCBSP2_MASK (1 << 0) 650c595713dSTony Lindgren 651c595713dSTony Lindgren /* CM_AUTOIDLE_PER */ 6522bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO6_MASK (1 << 17) 653c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO6_SHIFT 17 6542bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO5_MASK (1 << 16) 655c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO5_SHIFT 16 6562bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO4_MASK (1 << 15) 657c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO4_SHIFT 15 6582bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO3_MASK (1 << 14) 659c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO3_SHIFT 14 6602bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPIO2_MASK (1 << 13) 661c595713dSTony Lindgren #define OMAP3430_AUTO_GPIO2_SHIFT 13 6622bc4ef71SPaul Walmsley #define OMAP3430_AUTO_WDT3_MASK (1 << 12) 663c595713dSTony Lindgren #define OMAP3430_AUTO_WDT3_SHIFT 12 6642bc4ef71SPaul Walmsley #define OMAP3430_AUTO_UART3_MASK (1 << 11) 665c595713dSTony Lindgren #define OMAP3430_AUTO_UART3_SHIFT 11 6662bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT9_MASK (1 << 10) 667c595713dSTony Lindgren #define OMAP3430_AUTO_GPT9_SHIFT 10 6682bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT8_MASK (1 << 9) 669c595713dSTony Lindgren #define OMAP3430_AUTO_GPT8_SHIFT 9 6702bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT7_MASK (1 << 8) 671c595713dSTony Lindgren #define OMAP3430_AUTO_GPT7_SHIFT 8 6722bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT6_MASK (1 << 7) 673c595713dSTony Lindgren #define OMAP3430_AUTO_GPT6_SHIFT 7 6742bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT5_MASK (1 << 6) 675c595713dSTony Lindgren #define OMAP3430_AUTO_GPT5_SHIFT 6 6762bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT4_MASK (1 << 5) 677c595713dSTony Lindgren #define OMAP3430_AUTO_GPT4_SHIFT 5 6782bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT3_MASK (1 << 4) 679c595713dSTony Lindgren #define OMAP3430_AUTO_GPT3_SHIFT 4 6802bc4ef71SPaul Walmsley #define OMAP3430_AUTO_GPT2_MASK (1 << 3) 681c595713dSTony Lindgren #define OMAP3430_AUTO_GPT2_SHIFT 3 6822bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCBSP4_MASK (1 << 2) 683c595713dSTony Lindgren #define OMAP3430_AUTO_MCBSP4_SHIFT 2 6842bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCBSP3_MASK (1 << 1) 685c595713dSTony Lindgren #define OMAP3430_AUTO_MCBSP3_SHIFT 1 6862bc4ef71SPaul Walmsley #define OMAP3430_AUTO_MCBSP2_MASK (1 << 0) 687c595713dSTony Lindgren #define OMAP3430_AUTO_MCBSP2_SHIFT 0 688c595713dSTony Lindgren 689c595713dSTony Lindgren /* CM_CLKSEL_PER */ 690c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT9_MASK (1 << 7) 691c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT9_SHIFT 7 692c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT8_MASK (1 << 6) 693c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT8_SHIFT 6 694c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT7_MASK (1 << 5) 695c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT7_SHIFT 5 696c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT6_MASK (1 << 4) 697c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT6_SHIFT 4 698c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT5_MASK (1 << 3) 699c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT5_SHIFT 3 700c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT4_MASK (1 << 2) 701c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT4_SHIFT 2 702c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT3_MASK (1 << 1) 703c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT3_SHIFT 1 704c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT2_MASK (1 << 0) 705c595713dSTony Lindgren #define OMAP3430_CLKSEL_GPT2_SHIFT 0 706c595713dSTony Lindgren 707c595713dSTony Lindgren /* CM_SLEEPDEP_PER specific bits */ 7082bc4ef71SPaul Walmsley #define OMAP3430_CM_SLEEPDEP_PER_EN_IVA2_MASK (1 << 2) 709c595713dSTony Lindgren 710c595713dSTony Lindgren /* CM_CLKSTCTRL_PER */ 711c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_PER_SHIFT 0 712c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_PER_MASK (0x3 << 0) 713c595713dSTony Lindgren 714c595713dSTony Lindgren /* CM_CLKSTST_PER */ 715801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_PER_SHIFT 0 716801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_PER_MASK (1 << 0) 717c595713dSTony Lindgren 718c595713dSTony Lindgren /* CM_CLKSEL1_EMU */ 719c595713dSTony Lindgren #define OMAP3430_DIV_DPLL4_SHIFT 24 720c595713dSTony Lindgren #define OMAP3430_DIV_DPLL4_MASK (0x1f << 24) 721678bc9a2SVishwanath BS #define OMAP3630_DIV_DPLL4_MASK (0x3f << 24) 722c595713dSTony Lindgren #define OMAP3430_DIV_DPLL3_SHIFT 16 723c595713dSTony Lindgren #define OMAP3430_DIV_DPLL3_MASK (0x1f << 16) 724c595713dSTony Lindgren #define OMAP3430_CLKSEL_TRACECLK_SHIFT 11 725c595713dSTony Lindgren #define OMAP3430_CLKSEL_TRACECLK_MASK (0x7 << 11) 726c595713dSTony Lindgren #define OMAP3430_CLKSEL_PCLK_SHIFT 8 727c595713dSTony Lindgren #define OMAP3430_CLKSEL_PCLK_MASK (0x7 << 8) 728c595713dSTony Lindgren #define OMAP3430_CLKSEL_PCLKX2_SHIFT 6 729c595713dSTony Lindgren #define OMAP3430_CLKSEL_PCLKX2_MASK (0x3 << 6) 730c595713dSTony Lindgren #define OMAP3430_CLKSEL_ATCLK_SHIFT 4 731c595713dSTony Lindgren #define OMAP3430_CLKSEL_ATCLK_MASK (0x3 << 4) 732c595713dSTony Lindgren #define OMAP3430_TRACE_MUX_CTRL_SHIFT 2 733c595713dSTony Lindgren #define OMAP3430_TRACE_MUX_CTRL_MASK (0x3 << 2) 734c595713dSTony Lindgren #define OMAP3430_MUX_CTRL_SHIFT 0 735c595713dSTony Lindgren #define OMAP3430_MUX_CTRL_MASK (0x3 << 0) 736c595713dSTony Lindgren 737c595713dSTony Lindgren /* CM_CLKSTCTRL_EMU */ 738c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_EMU_SHIFT 0 739c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_EMU_MASK (0x3 << 0) 740c595713dSTony Lindgren 741c595713dSTony Lindgren /* CM_CLKSTST_EMU */ 742801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_EMU_SHIFT 0 743801954d3SPaul Walmsley #define OMAP3430_CLKACTIVITY_EMU_MASK (1 << 0) 744c595713dSTony Lindgren 745c595713dSTony Lindgren /* CM_CLKSEL2_EMU specific bits */ 746c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_EMU_MULT_SHIFT 8 747c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_EMU_MULT_MASK (0x7ff << 8) 748c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_EMU_DIV_SHIFT 0 749c595713dSTony Lindgren #define OMAP3430_CORE_DPLL_EMU_DIV_MASK (0x7f << 0) 750c595713dSTony Lindgren 751c595713dSTony Lindgren /* CM_CLKSEL3_EMU specific bits */ 752c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_EMU_MULT_SHIFT 8 753c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_EMU_MULT_MASK (0x7ff << 8) 754c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_EMU_DIV_SHIFT 0 755c595713dSTony Lindgren #define OMAP3430_PERIPH_DPLL_EMU_DIV_MASK (0x7f << 0) 756c595713dSTony Lindgren 757c595713dSTony Lindgren /* CM_POLCTRL */ 7582bc4ef71SPaul Walmsley #define OMAP3430_CLKOUT2_POL_MASK (1 << 0) 759c595713dSTony Lindgren 760c595713dSTony Lindgren /* CM_IDLEST_NEON */ 7612bc4ef71SPaul Walmsley #define OMAP3430_ST_NEON_MASK (1 << 0) 762c595713dSTony Lindgren 763c595713dSTony Lindgren /* CM_CLKSTCTRL_NEON */ 764c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_NEON_SHIFT 0 765c595713dSTony Lindgren #define OMAP3430_CLKTRCTRL_NEON_MASK (0x3 << 0) 766c595713dSTony Lindgren 767c595713dSTony Lindgren /* CM_FCLKEN_USBHOST */ 768c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST2_SHIFT 1 769c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST2_MASK (1 << 1) 770c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST1_SHIFT 0 771c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST1_MASK (1 << 0) 772c595713dSTony Lindgren 773c595713dSTony Lindgren /* CM_ICLKEN_USBHOST */ 774c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST_SHIFT 0 775c595713dSTony Lindgren #define OMAP3430ES2_EN_USBHOST_MASK (1 << 0) 776c595713dSTony Lindgren 777c595713dSTony Lindgren /* CM_IDLEST_USBHOST */ 778da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USBHOST_IDLE_SHIFT 1 779da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USBHOST_IDLE_MASK (1 << 1) 780da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USBHOST_STDBY_SHIFT 0 781da0747d4SPaul Walmsley #define OMAP3430ES2_ST_USBHOST_STDBY_MASK (1 << 0) 782c595713dSTony Lindgren 783c595713dSTony Lindgren /* CM_AUTOIDLE_USBHOST */ 784c595713dSTony Lindgren #define OMAP3430ES2_AUTO_USBHOST_SHIFT 0 785c595713dSTony Lindgren #define OMAP3430ES2_AUTO_USBHOST_MASK (1 << 0) 786c595713dSTony Lindgren 787c595713dSTony Lindgren /* CM_SLEEPDEP_USBHOST */ 788c595713dSTony Lindgren #define OMAP3430ES2_EN_MPU_SHIFT 1 789c595713dSTony Lindgren #define OMAP3430ES2_EN_MPU_MASK (1 << 1) 790c595713dSTony Lindgren #define OMAP3430ES2_EN_IVA2_SHIFT 2 791c595713dSTony Lindgren #define OMAP3430ES2_EN_IVA2_MASK (1 << 2) 792c595713dSTony Lindgren 793c595713dSTony Lindgren /* CM_CLKSTCTRL_USBHOST */ 794c595713dSTony Lindgren #define OMAP3430ES2_CLKTRCTRL_USBHOST_SHIFT 0 795c595713dSTony Lindgren #define OMAP3430ES2_CLKTRCTRL_USBHOST_MASK (3 << 0) 796c595713dSTony Lindgren 797801954d3SPaul Walmsley /* CM_CLKSTST_USBHOST */ 798801954d3SPaul Walmsley #define OMAP3430ES2_CLKACTIVITY_USBHOST_SHIFT 0 799801954d3SPaul Walmsley #define OMAP3430ES2_CLKACTIVITY_USBHOST_MASK (1 << 0) 800c595713dSTony Lindgren 801c595713dSTony Lindgren #endif 802