xref: /linux/include/dt-bindings/bus/ti-sysc.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* TI sysc interconnect target module defines */
3 
4 /* Generic sysc found on omap2 and later, also known as type1 */
5 #define SYSC_OMAP2_CLOCKACTIVITY	(3 << 8)
6 #define SYSC_OMAP2_EMUFREE		(1 << 5)
7 #define SYSC_OMAP2_ENAWAKEUP		(1 << 2)
8 #define SYSC_OMAP2_SOFTRESET		(1 << 1)
9 #define SYSC_OMAP2_AUTOIDLE		(1 << 0)
10 
11 /* Generic sysc found on omap4 and later, also known as type2 */
12 #define SYSC_OMAP4_DMADISABLE		(1 << 16)
13 #define SYSC_OMAP4_FREEEMU		(1 << 1)	/* Also known as EMUFREE */
14 #define SYSC_OMAP4_SOFTRESET		(1 << 0)
15 
16 /* SmartReflex sysc found on 36xx and later */
17 #define SYSC_OMAP3_SR_ENAWAKEUP		(1 << 26)
18 
19 #define SYSC_DRA7_MCAN_ENAWAKEUP	(1 << 4)
20 
21 /* PRUSS sysc found on AM33xx/AM43xx/AM57xx */
22 #define SYSC_PRUSS_SUB_MWAIT		(1 << 5)
23 #define SYSC_PRUSS_STANDBY_INIT		(1 << 4)
24 
25 /* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */
26 #define SYSC_IDLE_FORCE			0
27 #define SYSC_IDLE_NO			1
28 #define SYSC_IDLE_SMART			2
29 #define SYSC_IDLE_SMART_WKUP		3
30