xref: /linux/include/dt-bindings/power/r8a7794-sysc.h (revision 353cf9961acf5e0db8a6cb6f24333ad76dacb8fc)
1*353cf996SGeert Uytterhoeven /*
2*353cf996SGeert Uytterhoeven  * Copyright (C) 2016 Glider bvba
3*353cf996SGeert Uytterhoeven  *
4*353cf996SGeert Uytterhoeven  * This program is free software; you can redistribute it and/or modify
5*353cf996SGeert Uytterhoeven  * it under the terms of the GNU General Public License as published by
6*353cf996SGeert Uytterhoeven  * the Free Software Foundation; version 2 of the License.
7*353cf996SGeert Uytterhoeven  */
8*353cf996SGeert Uytterhoeven #ifndef __DT_BINDINGS_POWER_R8A7794_SYSC_H__
9*353cf996SGeert Uytterhoeven #define __DT_BINDINGS_POWER_R8A7794_SYSC_H__
10*353cf996SGeert Uytterhoeven 
11*353cf996SGeert Uytterhoeven /*
12*353cf996SGeert Uytterhoeven  * These power domain indices match the numbers of the interrupt bits
13*353cf996SGeert Uytterhoeven  * representing the power areas in the various Interrupt Registers
14*353cf996SGeert Uytterhoeven  * (e.g. SYSCISR, Interrupt Status Register)
15*353cf996SGeert Uytterhoeven  */
16*353cf996SGeert Uytterhoeven 
17*353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_CPU0		 5
18*353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_CPU1		 6
19*353cf996SGeert Uytterhoeven #define R8A7794_PD_SH_4A		16
20*353cf996SGeert Uytterhoeven #define R8A7794_PD_SGX			20
21*353cf996SGeert Uytterhoeven #define R8A7794_PD_CA7_SCU		21
22*353cf996SGeert Uytterhoeven 
23*353cf996SGeert Uytterhoeven /* Always-on power area */
24*353cf996SGeert Uytterhoeven #define R8A7794_PD_ALWAYS_ON		32
25*353cf996SGeert Uytterhoeven 
26*353cf996SGeert Uytterhoeven #endif /* __DT_BINDINGS_POWER_R8A7794_SYSC_H__ */
27