xref: /linux/include/dt-bindings/power/r8a7794-sysc.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*b886d83cSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2353cf996SGeert Uytterhoeven /*
3353cf996SGeert Uytterhoeven  * Copyright (C) 2016 Glider bvba
4353cf996SGeert Uytterhoeven  */
5353cf996SGeert Uytterhoeven #ifndef __DT_BINDINGS_POWER_R8A7794_SYSC_H__
6353cf996SGeert Uytterhoeven #define __DT_BINDINGS_POWER_R8A7794_SYSC_H__
7353cf996SGeert Uytterhoeven 
8353cf996SGeert Uytterhoeven /*
9353cf996SGeert Uytterhoeven  * These power domain indices match the numbers of the interrupt bits
10353cf996SGeert Uytterhoeven  * representing the power areas in the various Interrupt Registers
11353cf996SGeert Uytterhoeven  * (e.g. SYSCISR, Interrupt Status Register)
12353cf996SGeert Uytterhoeven  */
13353cf996SGeert Uytterhoeven 
14353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_CPU0		 5
15353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_CPU1		 6
16353cf996SGeert Uytterhoeven #define R8A7794_PD_SH_4A		16
17353cf996SGeert Uytterhoeven #define R8A7794_PD_SGX			20
18353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_SCU		21
19353cf996SGeert Uytterhoeven 
20353cf996SGeert Uytterhoeven /* Always-on power area */
21353cf996SGeert Uytterhoeven #define R8A7794_PD_ALWAYS_ON		32
22353cf996SGeert Uytterhoeven 
23353cf996SGeert Uytterhoeven #endif /* __DT_BINDINGS_POWER_R8A7794_SYSC_H__ */
24