blob: 37fc905c96360d8c9877f9cf8e4e20f7f6b008ba [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001#ifndef __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_24XX_H
2#define __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_24XX_H
3
4/*
5 * OMAP24XX Power/Reset Management register bits
6 *
7 * Copyright (C) 2007 Texas Instruments, Inc.
8 * Copyright (C) 2007 Nokia Corporation
9 *
10 * Written by Paul Walmsley
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License version 2 as
14 * published by the Free Software Foundation.
15 */
16
17#include "prm2xxx.h"
18
19#define OMAP24XX_EN_CORE_SHIFT 0
20#define OMAP24XX_FORCESTATE_MASK (1 << 18)
21#define OMAP24XX_AUTOIDLE_MASK (1 << 0)
22#define OMAP24XX_AUTO_EXTVOLT_MASK (1 << 15)
23#define OMAP24XX_SETOFF_LEVEL_SHIFT 12
24#define OMAP24XX_MEMRETCTRL_MASK (1 << 8)
25#define OMAP24XX_SETRET_LEVEL_SHIFT 6
26#define OMAP24XX_VOLT_LEVEL_SHIFT 0
27#define OMAP2420_CLKOUT2_EN_SHIFT 15
28#define OMAP2420_CLKOUT2_DIV_SHIFT 11
29#define OMAP2420_CLKOUT2_DIV_WIDTH 3
30#define OMAP2420_CLKOUT2_SOURCE_MASK (0x3 << 8)
31#define OMAP24XX_CLKOUT_EN_SHIFT 7
32#define OMAP24XX_CLKOUT_DIV_SHIFT 3
33#define OMAP24XX_CLKOUT_DIV_WIDTH 3
34#define OMAP24XX_CLKOUT_SOURCE_MASK (0x3 << 0)
35#define OMAP24XX_EMULATION_EN_SHIFT 0
36#define OMAP2430_PM_WKDEP_MPU_EN_MDM_SHIFT 5
37#define OMAP24XX_PM_WKDEP_MPU_EN_DSP_SHIFT 2
38#define OMAP24XX_EXTWMPU_RST_SHIFT 6
39#define OMAP24XX_SECU_WD_RST_SHIFT 5
40#define OMAP24XX_MPU_WD_RST_SHIFT 4
41#define OMAP24XX_SECU_VIOL_RST_SHIFT 3
42#endif