blob: eae427454374ebab04dc1d53725f527adba23d69 [file] [log] [blame]
Adam Ford66dae3b2018-07-09 20:14:25 -05001/* TI sysc interconnect target module defines */
2
3/* Generic sysc found on omap2 and later, also known as type1 */
4#define SYSC_OMAP2_CLOCKACTIVITY (3 << 8)
5#define SYSC_OMAP2_EMUFREE (1 << 5)
6#define SYSC_OMAP2_ENAWAKEUP (1 << 2)
7#define SYSC_OMAP2_SOFTRESET (1 << 1)
8#define SYSC_OMAP2_AUTOIDLE (1 << 0)
9
10/* Generic sysc found on omap4 and later, also known as type2 */
11#define SYSC_OMAP4_DMADISABLE (1 << 16)
12#define SYSC_OMAP4_FREEEMU (1 << 1) /* Also known as EMUFREE */
13#define SYSC_OMAP4_SOFTRESET (1 << 0)
14
15/* SmartReflex sysc found on 36xx and later */
16#define SYSC_OMAP3_SR_ENAWAKEUP (1 << 26)
17
Dario Binacchi2f59d8f2020-12-30 00:06:28 +010018#define SYSC_DRA7_MCAN_ENAWAKEUP (1 << 4)
19
20/* PRUSS sysc found on AM33xx/AM43xx/AM57xx */
21#define SYSC_PRUSS_SUB_MWAIT (1 << 5)
22#define SYSC_PRUSS_STANDBY_INIT (1 << 4)
23
Adam Ford66dae3b2018-07-09 20:14:25 -050024/* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */
25#define SYSC_IDLE_FORCE 0
26#define SYSC_IDLE_NO 1
27#define SYSC_IDLE_SMART 2
28#define SYSC_IDLE_SMART_WKUP 3