xref: /OK3568_Linux_fs/kernel/include/dt-bindings/power/r8a7745-sysc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (C) 2016 Cogent Embedded Inc.
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun #ifndef __DT_BINDINGS_POWER_R8A7745_SYSC_H__
6*4882a593Smuzhiyun #define __DT_BINDINGS_POWER_R8A7745_SYSC_H__
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun /*
9*4882a593Smuzhiyun  * These power domain indices match the numbers of the interrupt bits
10*4882a593Smuzhiyun  * representing the power areas in the various Interrupt Registers
11*4882a593Smuzhiyun  * (e.g. SYSCISR, Interrupt Status Register)
12*4882a593Smuzhiyun  */
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #define R8A7745_PD_CA7_CPU0		 5
15*4882a593Smuzhiyun #define R8A7745_PD_CA7_CPU1		 6
16*4882a593Smuzhiyun #define R8A7745_PD_SGX			20
17*4882a593Smuzhiyun #define R8A7745_PD_CA7_SCU		21
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun /* Always-on power area */
20*4882a593Smuzhiyun #define R8A7745_PD_ALWAYS_ON		32
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif /* __DT_BINDINGS_POWER_R8A7745_SYSC_H__ */
23