162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/* TI sysc interconnect target module defines */
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci/* Generic sysc found on omap2 and later, also known as type1 */
562306a36Sopenharmony_ci#define SYSC_OMAP2_CLOCKACTIVITY	(3 << 8)
662306a36Sopenharmony_ci#define SYSC_OMAP2_EMUFREE		(1 << 5)
762306a36Sopenharmony_ci#define SYSC_OMAP2_ENAWAKEUP		(1 << 2)
862306a36Sopenharmony_ci#define SYSC_OMAP2_SOFTRESET		(1 << 1)
962306a36Sopenharmony_ci#define SYSC_OMAP2_AUTOIDLE		(1 << 0)
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/* Generic sysc found on omap4 and later, also known as type2 */
1262306a36Sopenharmony_ci#define SYSC_OMAP4_DMADISABLE		(1 << 16)
1362306a36Sopenharmony_ci#define SYSC_OMAP4_FREEEMU		(1 << 1)	/* Also known as EMUFREE */
1462306a36Sopenharmony_ci#define SYSC_OMAP4_SOFTRESET		(1 << 0)
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci/* SmartReflex sysc found on 36xx and later */
1762306a36Sopenharmony_ci#define SYSC_OMAP3_SR_ENAWAKEUP		(1 << 26)
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#define SYSC_DRA7_MCAN_ENAWAKEUP	(1 << 4)
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci/* PRUSS sysc found on AM33xx/AM43xx/AM57xx */
2262306a36Sopenharmony_ci#define SYSC_PRUSS_SUB_MWAIT		(1 << 5)
2362306a36Sopenharmony_ci#define SYSC_PRUSS_STANDBY_INIT		(1 << 4)
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci/* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */
2662306a36Sopenharmony_ci#define SYSC_IDLE_FORCE			0
2762306a36Sopenharmony_ci#define SYSC_IDLE_NO			1
2862306a36Sopenharmony_ci#define SYSC_IDLE_SMART			2
2962306a36Sopenharmony_ci#define SYSC_IDLE_SMART_WKUP		3
30