1*a3fb9ff3SMarek Vasut /*
2*a3fb9ff3SMarek Vasut  * Copyright (C) 2016 Cogent Embedded Inc.
3*a3fb9ff3SMarek Vasut  *
4*a3fb9ff3SMarek Vasut  * This program is free software; you can redistribute it and/or modify
5*a3fb9ff3SMarek Vasut  * it under the terms of the GNU General Public License as published by
6*a3fb9ff3SMarek Vasut  * the Free Software Foundation; version 2 of the License.
7*a3fb9ff3SMarek Vasut  */
8*a3fb9ff3SMarek Vasut #ifndef __DT_BINDINGS_POWER_R8A7792_SYSC_H__
9*a3fb9ff3SMarek Vasut #define __DT_BINDINGS_POWER_R8A7792_SYSC_H__
10*a3fb9ff3SMarek Vasut 
11*a3fb9ff3SMarek Vasut /*
12*a3fb9ff3SMarek Vasut  * These power domain indices match the numbers of the interrupt bits
13*a3fb9ff3SMarek Vasut  * representing the power areas in the various Interrupt Registers
14*a3fb9ff3SMarek Vasut  * (e.g. SYSCISR, Interrupt Status Register)
15*a3fb9ff3SMarek Vasut  */
16*a3fb9ff3SMarek Vasut 
17*a3fb9ff3SMarek Vasut #define R8A7792_PD_CA15_CPU0		0
18*a3fb9ff3SMarek Vasut #define R8A7792_PD_CA15_CPU1		1
19*a3fb9ff3SMarek Vasut #define R8A7792_PD_CA15_SCU		12
20*a3fb9ff3SMarek Vasut #define R8A7792_PD_SGX			20
21*a3fb9ff3SMarek Vasut #define R8A7792_PD_IMP			24
22*a3fb9ff3SMarek Vasut 
23*a3fb9ff3SMarek Vasut /* Always-on power area */
24*a3fb9ff3SMarek Vasut #define R8A7792_PD_ALWAYS_ON		32
25*a3fb9ff3SMarek Vasut 
26*a3fb9ff3SMarek Vasut #endif /* __DT_BINDINGS_POWER_R8A7792_SYSC_H__ */
27