18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/* TI sysc interconnect target module defines */
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci/* Generic sysc found on omap2 and later, also known as type1 */
58c2ecf20Sopenharmony_ci#define SYSC_OMAP2_CLOCKACTIVITY	(3 << 8)
68c2ecf20Sopenharmony_ci#define SYSC_OMAP2_EMUFREE		(1 << 5)
78c2ecf20Sopenharmony_ci#define SYSC_OMAP2_ENAWAKEUP		(1 << 2)
88c2ecf20Sopenharmony_ci#define SYSC_OMAP2_SOFTRESET		(1 << 1)
98c2ecf20Sopenharmony_ci#define SYSC_OMAP2_AUTOIDLE		(1 << 0)
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Generic sysc found on omap4 and later, also known as type2 */
128c2ecf20Sopenharmony_ci#define SYSC_OMAP4_DMADISABLE		(1 << 16)
138c2ecf20Sopenharmony_ci#define SYSC_OMAP4_FREEEMU		(1 << 1)	/* Also known as EMUFREE */
148c2ecf20Sopenharmony_ci#define SYSC_OMAP4_SOFTRESET		(1 << 0)
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/* SmartReflex sysc found on 36xx and later */
178c2ecf20Sopenharmony_ci#define SYSC_OMAP3_SR_ENAWAKEUP		(1 << 26)
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define SYSC_DRA7_MCAN_ENAWAKEUP	(1 << 4)
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci/* PRUSS sysc found on AM33xx/AM43xx/AM57xx */
228c2ecf20Sopenharmony_ci#define SYSC_PRUSS_SUB_MWAIT		(1 << 5)
238c2ecf20Sopenharmony_ci#define SYSC_PRUSS_STANDBY_INIT		(1 << 4)
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci/* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */
268c2ecf20Sopenharmony_ci#define SYSC_IDLE_FORCE			0
278c2ecf20Sopenharmony_ci#define SYSC_IDLE_NO			1
288c2ecf20Sopenharmony_ci#define SYSC_IDLE_SMART			2
298c2ecf20Sopenharmony_ci#define SYSC_IDLE_SMART_WKUP		3
30