Changeset e6864f31 in mainline
- Timestamp:
- 2013-02-16T14:55:56Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 92d047e
- Parents:
- fe6593b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/drivers/am335x/cm_per_regs.h
rfe6593b7 re6864f31 42 42 43 43 ioport32_t l4ls_clkstctrl; 44 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKTRCTRL_MASK 0x345 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKTRCTRL_SHIFT 046 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_L4LS_GCLK_FLAG (1 << 8)47 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_UART_GFCLK_FLAG (1 << 10)48 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_CAN_CLK_FLAG (1 << 11)49 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER7_GCLK_FLAG (1 << 13)50 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER2_GCLK_FLAG (1 << 14)51 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER3_GCLK_FLAG (1 << 15)52 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER4_GCLK_FLAG (1 << 16)53 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_LCDC_GCLK_FLAG (1 << 17)54 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_GPIO1_GDBCLK_FLAG (1 << 19)55 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_GPIO2_GDBCLK_FLAG (1 << 20)56 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_GPIO3_GDBCLK_FLAG (1 << 21)57 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_I2C_FCLK_FLAG (1 << 24)58 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_SPI_GCLK_FLAG (1 << 25)59 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER5_GCLK_FLAG (1 << 27)60 #define AM335x_CM_PER_L4LS_CLKSTCTRL_CLKACTIVITY_TIMER6_GCLK_FLAG (1 << 28)61 62 44 ioport32_t l3ls_clkstctrl; 63 #define AM335x_CM_PER_L3LS_CLKSTCTRL_CLKTRCTRL_MASK 0x364 #define AM335x_CM_PER_L3LS_CLKSTCTRL_CLKTRCTRL_SHIFT 065 #define AM335x_CM_PER_L3LS_CLKSTCTRL_CLKACTIVITY_L3S_GCLK_FLAG (1 << 3)66 67 45 ioport32_t l4fw_clkstctrl; 68 #define AM335x_CM_PER_L4FW_CLKSTCTRL_CLKTRCTRL_MASK 0x369 #define AM335x_CM_PER_L4FW_CLKSTCTRL_CLKTRCTRL_SHIFT 070 #define AM335x_CM_PER_L4FW_CLKSTCTRL_CLKACTIVITY_L3S_GCLK_FLAG (1 << 8)71 72 46 ioport32_t l3_clkstctrl; 73 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKTRCTRL_MASK 0x374 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKTRCTRL_SHIFT 075 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKACTIVITY_EMIF_GCLK_FLAG (1 << 2)76 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKACTIVITY_MMC_FCLK_FLAG (1 << 3)77 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKACTIVITY_L3_GCLK_FLAG (1 << 4)78 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKACTIVITY_CPTS_RFT_GCLK_FLAG (1 << 6)79 #define AM335x_CM_PER_L3_CLKSTCTRL_CLKACTIVITY_MCASP_GCLK_FLAG (1 << 7)80 47 81 48 ioport32_t const pad0; 82 49 83 50 ioport32_t cpgmac0_clkctrl; 84 #define AM335x_CM_PER_CPGMAC0_CLKCTRL_MODULEMODE_MASK 0x385 #define AM335x_CM_PER_CPGMAC0_CLKCTRL_MODULEMODE_SHIFT 086 #define AM335x_CM_PER_CPGMAC0_CLKCTRL_IDLEST_MASK (0x3 << 16)87 #define AM335x_CM_PER_CPGMAC0_CLKCTRL_IDLEST_SHIFT 1688 #define AM335x_CM_PER_CPGMAC0_CLKCTRL_STBYST_FLAG (1 << 18)89 90 51 ioport32_t lcdc_clkctrl; 91 #define AM335x_CM_PER_LCDC_CLKCTRL_MODULEMODE_MASK 0x392 #define AM335x_CM_PER_LCDC_CLKCTRL_MODULEMODE_SHIFT 093 #define AM335x_CM_PER_LCDC_CLKCTRL_IDLEST_MASK (0x3 << 16)94 #define AM335x_CM_PER_LCDC_CLKCTRL_IDLEST_SHIFT 1695 #define AM335x_CM_PER_LCDC_CLKCTRL_STBYST_FLAG (1 << 18)96 97 52 ioport32_t usb0_clkctrl; 98 #define AM335x_CM_PER_USB0_CLKCTRL_MODULEMODE_MASK 0x399 #define AM335x_CM_PER_USB0_CLKCTRL_MODULEMODE_SHIFT 0100 #define AM335x_CM_PER_USB0_CLKCTRL_IDLEST_MASK (0x3 << 16)101 #define AM335x_CM_PER_USB0_CLKCTRL_IDLEST_SHIFT 16102 #define AM335x_CM_PER_USB0_CLKCTRL_STBYST_FLAG (1 << 18)103 53 104 54 ioport32_t const pad1; 105 55 106 56 ioport32_t tptc0_clkctrl; 107 #define AM335x_CM_PER_TPTC0_CLKCTRL_MODULEMODE_MASK 0x3108 #define AM335x_CM_PER_TPTC0_CLKCTRL_MODULEMODE_SHIFT 0109 #define AM335x_CM_PER_TPTC0_CLKCTRL_IDLEST_MASK (0x3 << 16)110 #define AM335x_CM_PER_TPTC0_CLKCTRL_IDLEST_SHIFT 16111 #define AM335x_CM_PER_TPTC0_CLKCTRL_STBYST_FLAG (1 << 18)112 113 57 ioport32_t emif_clkctrl; 114 #define AM335x_CM_PER_EMIF_CLKCTRL_MODULEMODE_MASK 0x3115 #define AM335x_CM_PER_EMIF_CLKCTRL_MODULEMODE_SHIFT 0116 #define AM335x_CM_PER_EMIF_CLKCTRL_IDLEST_MASK (0x3 << 16)117 #define AM335x_CM_PER_EMIF_CLKCTRL_IDLEST_SHIFT 16118 119 58 ioport32_t ocmcram_clkctrl; 120 #define AM335x_CM_PER_OCMCRAM_CLKCTRL_MODULEMODE_MASK 0x3121 #define AM335x_CM_PER_OCMCRAM_CLKCTRL_MODULEMODE_SHIFT 0122 #define AM335x_CM_PER_OCMCRAM_CLKCTRL_IDLEST_MASK (0x3 << 16)123 #define AM335x_CM_PER_OCMCRAM_CLKCTRL_IDLEST_SHIFT 16124 125 59 ioport32_t gpmc_clkctrl; 126 #define AM335x_CM_PER_GPMC_CLKCTRL_MODULEMODE_MASK 0x3127 #define AM335x_CM_PER_GPMC_CLKCTRL_MODULEMODE_SHIFT 0128 #define AM335x_CM_PER_GPMC_CLKCTRL_IDLEST_MASK (0x3 << 16)129 #define AM335x_CM_PER_GPMC_CLKCTRL_IDLEST_SHIFT 16130 131 60 ioport32_t mcasp0_clkctrl; 132 #define AM335x_CM_PER_MCASP0_CLKCTRL_MODULEMODE_MASK 0x3133 #define AM335x_CM_PER_MCASP0_CLKCTRL_MODULEMODE_SHIFT 0134 #define AM335x_CM_PER_MCASP0_CLKCTRL_IDLEST_MASK (0x3 << 16)135 #define AM335x_CM_PER_MCASP0_CLKCTRL_IDLEST_SHIFT 16136 137 61 ioport32_t uart5_clkctrl; 138 #define AM335x_CM_PER_UART5_CLKCTRL_MODULEMODE_MASK 0x3139 #define AM335x_CM_PER_UART5_CLKCTRL_MODULEMODE_SHIFT 0140 #define AM335x_CM_PER_UART5_CLKCTRL_IDLEST_MASK (0x3 << 16)141 #define AM335x_CM_PER_UART5_CLKCTRL_IDLEST_SHIFT 16142 143 62 ioport32_t mmc0_clkctrl; 144 #define AM335x_CM_PER_MMC0_CLKCTRL_MODULEMODE_MASK 0x3145 #define AM335x_CM_PER_MMC0_CLKCTRL_MODULEMODE_SHIFT 0146 #define AM335x_CM_PER_MMC0_CLKCTRL_IDLEST_MASK (0x3 << 16)147 #define AM335x_CM_PER_MMC0_CLKCTRL_IDLEST_SHIFT 16148 149 63 ioport32_t elm_clkctrl; 150 #define AM335x_CM_PER_ELM_CLKCTRL_MODULEMODE_MASK 0x3151 #define AM335x_CM_PER_ELM_CLKCTRL_MODULEMODE_SHIFT 0152 #define AM335x_CM_PER_ELM_CLKCTRL_IDLEST_MASK (0x3 << 16)153 #define AM335x_CM_PER_ELM_CLKCTRL_IDLEST_SHIFT 16154 155 64 ioport32_t i2c2_clkctrl; 156 #define AM335x_CM_PER_I2C2_CLKCTRL_MODULEMODE_MASK 0x3157 #define AM335x_CM_PER_I2C2_CLKCTRL_MODULEMODE_SHIFT 0158 #define AM335x_CM_PER_I2C2_CLKCTRL_IDLEST_MASK (0x3 << 16)159 #define AM335x_CM_PER_I2C2_CLKCTRL_IDLEST_SHIFT 16160 161 65 ioport32_t i2c1_clkctrl; 162 #define AM335x_CM_PER_I2C1_CLKCTRL_MODULEMODE_MASK 0x3163 #define AM335x_CM_PER_I2C1_CLKCTRL_MODULEMODE_SHIFT 0164 #define AM335x_CM_PER_I2C1_CLKCTRL_IDLEST_MASK (0x3 << 16)165 #define AM335x_CM_PER_I2C1_CLKCTRL_IDLEST_SHIFT 16166 167 66 ioport32_t spi0_clkctrl; 168 #define AM335x_CM_PER_SPI0_CLKCTRL_MODULEMODE_MASK 0x3169 #define AM335x_CM_PER_SPI0_CLKCTRL_MODULEMODE_SHIFT 0170 #define AM335x_CM_PER_SPI0_CLKCTRL_IDLEST_MASK (0x3 << 16)171 #define AM335x_CM_PER_SPI0_CLKCTRL_IDLEST_SHIFT 16172 173 67 ioport32_t spi1_clkctrl; 174 #define AM335x_CM_PER_SPI1_CLKCTRL_MODULEMODE_MASK 0x3175 #define AM335x_CM_PER_SPI1_CLKCTRL_MODULEMODE_SHIFT 0176 #define AM335x_CM_PER_SPI1_CLKCTRL_IDLEST_MASK (0x3 << 16)177 #define AM335x_CM_PER_SPI1_CLKCTRL_IDLEST_SHIFT 16178 68 179 69 ioport32_t const pad2[3]; 180 70 181 71 ioport32_t l4ls_clkctrl; 182 #define AM335x_CM_PER_L4LS_CLKCTRL_MODULEMODE_MASK 0x3183 #define AM335x_CM_PER_L4LS_CLKCTRL_MODULEMODE_SHIFT 0184 #define AM335x_CM_PER_L4LS_CLKCTRL_IDLEST_MASK (0x3 << 16)185 #define AM335x_CM_PER_L4LS_CLKCTRL_IDLEST_SHIFT 16186 187 72 ioport32_t l4fw_clkctrl; 188 #define AM335x_CM_PER_L4FW_CLKCTRL_MODULEMODE_MASK 0x3189 #define AM335x_CM_PER_L4FW_CLKCTRL_MODULEMODE_SHIFT 0190 #define AM335x_CM_PER_L4FW_CLKCTRL_IDLEST_MASK (0x3 << 16)191 #define AM335x_CM_PER_L4FW_CLKCTRL_IDLEST_SHIFT 16192 193 73 ioport32_t mcasp1_clkctrl; 194 #define AM335x_CM_PER_MCASP1_CLKCTRL_MODULEMODE_MASK 0x3195 #define AM335x_CM_PER_MCASP1_CLKCTRL_MODULEMODE_SHIFT 0196 #define AM335x_CM_PER_MCASP1_CLKCTRL_IDLEST_MASK (0x3 << 16)197 #define AM335x_CM_PER_MCASP1_CLKCTRL_IDLEST_SHIFT 16198 199 74 ioport32_t uart1_clkctrl; 200 #define AM335x_CM_PER_UART1_CLKCTRL_MODULEMODE_MASK 0x3201 #define AM335x_CM_PER_UART1_CLKCTRL_MODULEMODE_SHIFT 0202 #define AM335x_CM_PER_UART1_CLKCTRL_IDLEST_MASK (0x3 << 16)203 #define AM335x_CM_PER_UART1_CLKCTRL_IDLEST_SHIFT 16204 205 75 ioport32_t uart2_clkctrl; 206 #define AM335x_CM_PER_UART2_CLKCTRL_MODULEMODE_MASK 0x3207 #define AM335x_CM_PER_UART2_CLKCTRL_MODULEMODE_SHIFT 0208 #define AM335x_CM_PER_UART2_CLKCTRL_IDLEST_MASK (0x3 << 16)209 #define AM335x_CM_PER_UART2_CLKCTRL_IDLEST_SHIFT 16210 211 76 ioport32_t uart3_clkctrl; 212 #define AM335x_CM_PER_UART3_CLKCTRL_MODULEMODE_MASK 0x3213 #define AM335x_CM_PER_UART3_CLKCTRL_MODULEMODE_SHIFT 0214 #define AM335x_CM_PER_UART3_CLKCTRL_IDLEST_MASK (0x3 << 16)215 #define AM335x_CM_PER_UART3_CLKCTRL_IDLEST_SHIFT 16216 217 77 ioport32_t uart4_clkctrl; 218 #define AM335x_CM_PER_UART4_CLKCTRL_MODULEMODE_MASK 0x3219 #define AM335x_CM_PER_UART4_CLKCTRL_MODULEMODE_SHIFT 0220 #define AM335x_CM_PER_UART4_CLKCTRL_IDLEST_MASK (0x3 << 16)221 #define AM335x_CM_PER_UART4_CLKCTRL_IDLEST_SHIFT 16222 223 78 ioport32_t timer7_clkctrl; 224 #define AM335x_CM_PER_TIMER7_CLKCTRL_MODULEMODE_MASK 0x3225 #define AM335x_CM_PER_TIMER7_CLKCTRL_MODULEMODE_SHIFT 0226 #define AM335x_CM_PER_TIMER7_CLKCTRL_IDLEST_MASK (0x3 << 16)227 #define AM335x_CM_PER_TIMER7_CLKCTRL_IDLEST_SHIFT 16228 229 79 ioport32_t timer2_clkctrl; 230 #define AM335x_CM_PER_TIMER2_CLKCTRL_MODULEMODE_MASK 0x3231 #define AM335x_CM_PER_TIMER2_CLKCTRL_MODULEMODE_SHIFT 0232 #define AM335x_CM_PER_TIMER2_CLKCTRL_IDLEST_MASK (0x3 << 16)233 #define AM335x_CM_PER_TIMER2_CLKCTRL_IDLEST_SHIFT 16234 235 80 ioport32_t timer3_clkctrl; 236 #define AM335x_CM_PER_TIMER3_CLKCTRL_MODULEMODE_MASK 0x3237 #define AM335x_CM_PER_TIMER3_CLKCTRL_MODULEMODE_SHIFT 0238 #define AM335x_CM_PER_TIMER3_CLKCTRL_IDLEST_MASK (0x3 << 16)239 #define AM335x_CM_PER_TIMER3_CLKCTRL_IDLEST_SHIFT 16240 241 81 ioport32_t timer4_clkctrl; 242 #define AM335x_CM_PER_TIMER4_CLKCTRL_MODULEMODE_MASK 0x3243 #define AM335x_CM_PER_TIMER4_CLKCTRL_MODULEMODE_SHIFT 0244 #define AM335x_CM_PER_TIMER4_CLKCTRL_IDLEST_MASK (0x3 << 16)245 #define AM335x_CM_PER_TIMER4_CLKCTRL_IDLEST_SHIFT 16246 82 247 83 ioport32_t const pad3[8]; 248 84 249 85 ioport32_t gpio1_clkctrl; 250 #define AM335x_CM_PER_GPIO1_CLKCTRL_MODULEMODE_MASK 0x3251 #define AM335x_CM_PER_GPIO1_CLKCTRL_MODULEMODE_SHIFT 0252 #define AM335x_CM_PER_GPIO1_CLKCTRL_IDLEST_MASK (0x3 << 16)253 #define AM335x_CM_PER_GPIO1_CLKCTRL_IDLEST_SHIFT 16254 #define AM335x_CM_PER_GPIO1_CLKCTRL_OPTFCLKEN_FLAG (1 << 18)255 256 86 ioport32_t gpio2_clkctrl; 257 #define AM335x_CM_PER_GPIO2_CLKCTRL_MODULEMODE_MASK 0x3258 #define AM335x_CM_PER_GPIO2_CLKCTRL_MODULEMODE_SHIFT 0259 #define AM335x_CM_PER_GPIO2_CLKCTRL_IDLEST_MASK (0x3 << 16)260 #define AM335x_CM_PER_GPIO2_CLKCTRL_IDLEST_SHIFT 16261 #define AM335x_CM_PER_GPIO2_CLKCTRL_OPTFCLKEN_FLAG (1 << 18)262 263 87 ioport32_t gpio3_clkctrl; 264 #define AM335x_CM_PER_GPIO3_CLKCTRL_MODULEMODE_MASK 0x3265 #define AM335x_CM_PER_GPIO3_CLKCTRL_MODULEMODE_SHIFT 0266 #define AM335x_CM_PER_GPIO3_CLKCTRL_IDLEST_MASK (0x3 << 16)267 #define AM335x_CM_PER_GPIO3_CLKCTRL_IDLEST_SHIFT 16268 #define AM335x_CM_PER_GPIO3_CLKCTRL_OPTFCLKEN_FLAG (1 << 18)269 88 270 89 ioport32_t const pad4; 271 90 272 91 ioport32_t tpcc_clkctrl; 273 #define AM335x_CM_PER_TPCC_CLKCTRL_MODULEMODE_MASK 0x3274 #define AM335x_CM_PER_TPCC_CLKCTRL_MODULEMODE_SHIFT 0275 #define AM335x_CM_PER_TPCC_CLKCTRL_IDLEST_MASK (0x3 << 16)276 #define AM335x_CM_PER_TPCC_CLKCTRL_IDLEST_SHIFT 16277 278 92 ioport32_t dcan0_clkctrl; 279 #define AM335x_CM_PER_DCAN0_CLKCTRL_MODULEMODE_MASK 0x3280 #define AM335x_CM_PER_DCAN0_CLKCTRL_MODULEMODE_SHIFT 0281 #define AM335x_CM_PER_DCAN0_CLKCTRL_IDLEST_MASK (0x3 << 16)282 #define AM335x_CM_PER_DCAN0_CLKCTRL_IDLEST_SHIFT 16283 284 93 ioport32_t dcan1_clkctrl; 285 #define AM335x_CM_PER_DCAN1_CLKCTRL_MODULEMODE_MASK 0x3286 #define AM335x_CM_PER_DCAN1_CLKCTRL_MODULEMODE_SHIFT 0287 #define AM335x_CM_PER_DCAN1_CLKCTRL_IDLEST_MASK (0x3 << 16)288 #define AM335x_CM_PER_DCAN1_CLKCTRL_IDLEST_SHIFT 16289 290 94 ioport32_t epwmss1_clkctrl; 291 #define AM335x_CM_PER_EPWMSS1_CLKCTRL_MODULEMODE_MASK 0x3292 #define AM335x_CM_PER_EPWMSS1_CLKCTRL_MODULEMODE_SHIFT 0293 #define AM335x_CM_PER_EPWMSS1_CLKCTRL_IDLEST_MASK (0x3 << 16)294 #define AM335x_CM_PER_EPWMSS1_CLKCTRL_IDLEST_SHIFT 16295 296 95 ioport32_t emiffw_clkctrl; 297 #define AM335x_CM_PER_EMIFFW_CLKCTRL_MODULEMODE_MASK 0x3298 #define AM335x_CM_PER_EMIFFW_CLKCTRL_MODULEMODE_SHIFT 0299 #define AM335x_CM_PER_EMIFFW_CLKCTRL_IDLEST_MASK (0x3 << 16)300 #define AM335x_CM_PER_EMIFFW_CLKCTRL_IDLEST_SHIFT 16301 302 96 ioport32_t epwmss0_clkctrl; 303 #define AM335x_CM_PER_EPWMSS0_CLKCTRL_MODULEMODE_MASK 0x3304 #define AM335x_CM_PER_EPWMSS0_CLKCTRL_MODULEMODE_SHIFT 0305 #define AM335x_CM_PER_EPWMSS0_CLKCTRL_IDLEST_MASK (0x3 << 16)306 #define AM335x_CM_PER_EPWMSS0_CLKCTRL_IDLEST_SHIFT 16307 308 97 ioport32_t epwmss2_clkctrl; 309 #define AM335x_CM_PER_EPWMSS2_CLKCTRL_MODULEMODE_MASK 0x3310 #define AM335x_CM_PER_EPWMSS2_CLKCTRL_MODULEMODE_SHIFT 0311 #define AM335x_CM_PER_EPWMSS2_CLKCTRL_IDLEST_MASK (0x3 << 16)312 #define AM335x_CM_PER_EPWMSS2_CLKCTRL_IDLEST_SHIFT 16313 314 98 ioport32_t l3instr_clkctrl; 315 #define AM335x_CM_PER_L3INSTR_CLKCTRL_MODULEMODE_MASK 0x3316 #define AM335x_CM_PER_L3INSTR_CLKCTRL_MODULEMODE_SHIFT 0317 #define AM335x_CM_PER_L3INSTR_CLKCTRL_IDLEST_MASK (0x3 << 16)318 #define AM335x_CM_PER_L3INSTR_CLKCTRL_IDLEST_SHIFT 16319 320 99 ioport32_t l3_clkctrl; 321 #define AM335x_CM_PER_L3_CLKCTRL_MODULEMODE_MASK 0x3322 #define AM335x_CM_PER_L3_CLKCTRL_MODULEMODE_SHIFT 0323 #define AM335x_CM_PER_L3_CLKCTRL_IDLEST_MASK (0x3 << 16)324 #define AM335x_CM_PER_L3_CLKCTRL_IDLEST_SHIFT 16325 326 100 ioport32_t ieee5000_clkctrl; 327 #define AM335x_CM_PER_IEEE5000_CLKCTRL_MODULEMODE_MASK 0x3328 #define AM335x_CM_PER_IEEE5000_CLKCTRL_MODULEMODE_SHIFT 0329 #define AM335x_CM_PER_IEEE5000_CLKCTRL_IDLEST_MASK (0x3 << 16)330 #define AM335x_CM_PER_IEEE5000_CLKCTRL_IDLEST_SHIFT 16331 #define AM335x_CM_PER_IEEE5000_CLKCTRL_STBYST_FLAG (1 << 18)332 333 101 ioport32_t pruicss_clkctrl; 334 #define AM335x_CM_PER_PRUICSS_CLKCTRL_MODULEMODE_MASK 0x3335 #define AM335x_CM_PER_PRUICSS_CLKCTRL_MODULEMODE_SHIFT 0336 #define AM335x_CM_PER_PRUICSS_CLKCTRL_IDLEST_MASK (0x3 << 16)337 #define AM335x_CM_PER_PRUICSS_CLKCTRL_IDLEST_SHIFT 16338 #define AM335x_CM_PER_PRUICSS_CLKCTRL_STBYST_FLAG (1 << 18)339 340 102 ioport32_t timer5_clkctrl; 341 #define AM335x_CM_PER_TIMER5_CLKCTRL_MODULEMODE_MASK 0x3342 #define AM335x_CM_PER_TIMER5_CLKCTRL_MODULEMODE_SHIFT 0343 #define AM335x_CM_PER_TIMER5_CLKCTRL_IDLEST_MASK (0x3 << 16)344 #define AM335x_CM_PER_TIMER5_CLKCTRL_IDLEST_SHIFT 16345 346 103 ioport32_t timer6_clkctrl; 347 #define AM335x_CM_PER_TIMER6_CLKCTRL_MODULEMODE_MASK 0x3348 #define AM335x_CM_PER_TIMER6_CLKCTRL_MODULEMODE_SHIFT 0349 #define AM335x_CM_PER_TIMER6_CLKCTRL_IDLEST_MASK (0x3 << 16)350 #define AM335x_CM_PER_TIMER6_CLKCTRL_IDLEST_SHIFT 16351 352 104 ioport32_t mmc1_clkctrl; 353 #define AM335x_CM_PER_MMC1_CLKCTRL_MODULEMODE_MASK 0x3354 #define AM335x_CM_PER_MMC1_CLKCTRL_MODULEMODE_SHIFT 0355 #define AM335x_CM_PER_MMC1_CLKCTRL_IDLEST_MASK (0x3 << 16)356 #define AM335x_CM_PER_MMC1_CLKCTRL_IDLEST_SHIFT 16357 358 105 ioport32_t mmc2_clkctrl; 359 #define AM335x_CM_PER_MMC2_CLKCTRL_MODULEMODE_MASK 0x3360 #define AM335x_CM_PER_MMC2_CLKCTRL_MODULEMODE_SHIFT 0361 #define AM335x_CM_PER_MMC2_CLKCTRL_IDLEST_MASK (0x3 << 16)362 #define AM335x_CM_PER_MMC2_CLKCTRL_IDLEST_SHIFT 16363 364 106 ioport32_t tptc1_clkctrl; 365 #define AM335x_CM_PER_TPTC1_CLKCTRL_MODULEMODE_MASK 0x3366 #define AM335x_CM_PER_TPTC1_CLKCTRL_MODULEMODE_SHIFT 0367 #define AM335x_CM_PER_TPTC1_CLKCTRL_IDLEST_MASK (0x3 << 16)368 #define AM335x_CM_PER_TPTC1_CLKCTRL_IDLEST_SHIFT 16369 #define AM335x_CM_PER_TPTC1_CLKCTRL_STBYST_FLAG (1 << 18)370 371 107 ioport32_t tptc2_clkctrl; 372 #define AM335x_CM_PER_TPTC2_CLKCTRL_MODULEMODE_MASK 0x3373 #define AM335x_CM_PER_TPTC2_CLKCTRL_MODULEMODE_SHIFT 0374 #define AM335x_CM_PER_TPTC2_CLKCTRL_IDLEST_MASK (0x3 << 16)375 #define AM335x_CM_PER_TPTC2_CLKCTRL_IDLEST_SHIFT 16376 #define AM335x_CM_PER_TPTC2_CLKCTRL_STBYST_FLAG (1 << 18)377 108 378 109 ioport32_t const pad5[2]; 379 110 380 111 ioport32_t spinlock_clkctrl; 381 #define AM335x_CM_PER_SPINLOCK_CLKCTRL_MODULEMODE_MASK 0x3382 #define AM335x_CM_PER_SPINLOCK_CLKCTRL_MODULEMODE_SHIFT 0383 #define AM335x_CM_PER_SPINLOCK_CLKCTRL_IDLEST_MASK (0x3 << 16)384 #define AM335x_CM_PER_SPINLOCK_CLKCTRL_IDLEST_SHIFT 16385 386 112 ioport32_t mailbox0_clkctrl; 387 #define AM335x_CM_PER_MAILBOX0_CLKCTRL_MODULEMODE_MASK 0x3388 #define AM335x_CM_PER_MAILBOX0_CLKCTRL_MODULEMODE_SHIFT 0389 #define AM335x_CM_PER_MAILBOX0_CLKCTRL_IDLEST_MASK (0x3 << 16)390 #define AM335x_CM_PER_MAILBOX0_CLKCTRL_IDLEST_SHIFT 16391 113 392 114 ioport32_t const pad6[2]; 393 115 394 116 ioport32_t l4hs_clkstctrl; 395 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKTRCTRL_MASK 0x3396 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKTRCTRL_SHIFT 0397 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKACTIVITY_L4HS_FLAG (1 << 3)398 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKACTIVITY_CPSW_250MHZ_FLAG (1 << 4)399 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKACTIVITY_CPSW_50MHZ_FLAG (1 << 5)400 #define AM335x_CM_PER_L4HS_CLKSTCTRL_CLKACTIVITY_CPSW_5MHZ_FLAG (1 << 6)401 402 117 ioport32_t l4hs_clkctrl; 403 #define AM335x_CM_PER_L4HS_CLKCTRL_MODULEMODE_MASK 0x3404 #define AM335x_CM_PER_L4HS_CLKCTRL_MODULEMODE_SHIFT 0405 #define AM335x_CM_PER_L4HS_CLKCTRL_IDLEST_MASK (0x3 << 16)406 #define AM335x_CM_PER_L4HS_CLKCTRL_IDLEST_SHIFT 16407 118 408 119 ioport32_t const pad7[2]; 409 120 410 121 ioport32_t ocpwp_l3_clkstctrl; 411 #define AM335x_CM_PER_OCPWP_L3_CLKSTCTRL_CLKTRCTRL_MASK 0x3412 #define AM335x_CM_PER_OCPWP_L3_CLKSTCTRL_CLKTRCTRL_SHIFT 0413 #define AM335x_CM_PER_OCPWP_L3_CLKSTCTRL_CLKACTIVITY_OCPWP_L3_FLAG (1 << 4)414 #define AM335x_CM_PER_OCPWP_L3_CLKSTCTRL_CLKACTIVITY_OCPWP_L4_FLAG (1 << 5)415 416 122 ioport32_t ocpwp_clkctrl; 417 #define AM335x_CM_PER_OCPWP_CLKCTRL_MODULEMODE_MASK 0x3418 #define AM335x_CM_PER_OCPWP_CLKCTRL_MODULEMODE_SHIFT 0419 #define AM335x_CM_PER_OCPWP_CLKCTRL_IDLEST_MASK (0x3 << 16)420 #define AM335x_CM_PER_OCPWP_CLKCTRL_IDLEST_SHIFT 16421 #define AM335x_CM_PER_OCPWP_CLKCTRL_STBYST_FLAG (1 << 18)422 123 423 124 ioport32_t const pad8[3]; 424 125 425 126 ioport32_t pruicss_clkstctrl; 426 #define AM335x_CM_PER_PRUICSS_CLKSTCTRL_CLKTRCTRL_MASK 0x3427 #define AM335x_CM_PER_PRUICSS_CLKSTCTRL_CLKTRCTRL_SHIFT 0428 #define AM335x_CM_PER_PRUICSS_CLKSTCTRL_CLKACTIVITY_PRUICSS_OCP_FLAG (1 << 4)429 #define AM335x_CM_PER_PRUICSS_CLKSTCTRL_CLKACTIVITY_PRUICSS_IEP_FLAG (1 << 5)430 #define AM335x_CM_PER_PRUICSS_CLKSTCTRL_CLKACTIVITY_PRUICSS_UART_FLAG (1 << 5)431 432 127 ioport32_t cpsw_clkstctrl; 433 #define AM335x_CM_PER_CPSW_CLKSTCTRL_CLKTRCTRL_MASK 0x3434 #define AM335x_CM_PER_CPSW_CLKSTCTRL_CLKTRCTRL_SHIFT 0435 #define AM335x_CM_PER_CPSW_CLKSTCTRL_CLKACTIVITY_CPSW_125MHZ_FLAG (1 << 4)436 437 128 ioport32_t lcdc_clkstctrl; 438 #define AM335x_CM_PER_LCDC_CLKSTCTRL_CLKTRCTRL_MASK 0x3439 #define AM335x_CM_PER_LCDC_CLKSTCTRL_CLKTRCTRL_SHIFT 0440 #define AM335x_CM_PER_LCDC_CLKSTCTRL_CLKACTIVITY_LCDC_L3_OCP_FLAG (1 << 4)441 #define AM335x_CM_PER_LCDC_CLKSTCTRL_CLKACTIVITY_LCDC_L4_OCP_FLAG (1 << 5)442 443 129 ioport32_t clkdiv32_clkctrl; 444 #define AM335x_CM_PER_CLKDIV32_CLKCTRL_MODULEMODE_MASK 0x3445 #define AM335x_CM_PER_CLKDIV32_CLKCTRL_MODULEMODE_SHIFT 0446 #define AM335x_CM_PER_CLKDIV32_CLKCTRL_IDLEST_MASK (0x3 << 16)447 #define AM335x_CM_PER_CLKDIV32_CLKCTRL_IDLEST_SHIFT 16448 449 130 ioport32_t clk24mhz_clkstctrl; 450 #define AM335x_CM_PER_CLK24MHZ_CLKSTCTRL_CLKTRCTRL_MASK 0x3451 #define AM335x_CM_PER_CLK24MHZ_CLKSTCTRL_CLKTRCTRL_SHIFT 0452 #define AM335x_CM_PER_CLK24MHZ_CLKSTCTRL_CLKACTIVITY_CLK24MHZ_FLAG (1 << 4)453 454 131 } am335x_cm_per_regs_t; 455 132
Note:
See TracChangeset
for help on using the changeset viewer.