1*92aa0995SMarek Vasut /*
2*92aa0995SMarek Vasut  * Copyright (C) 2016 Glider bvba
3*92aa0995SMarek Vasut  *
4*92aa0995SMarek Vasut  * This program is free software; you can redistribute it and/or modify
5*92aa0995SMarek Vasut  * it under the terms of the GNU General Public License as published by
6*92aa0995SMarek Vasut  * the Free Software Foundation; version 2 of the License.
7*92aa0995SMarek Vasut  */
8*92aa0995SMarek Vasut #ifndef __DT_BINDINGS_POWER_R8A7793_SYSC_H__
9*92aa0995SMarek Vasut #define __DT_BINDINGS_POWER_R8A7793_SYSC_H__
10*92aa0995SMarek Vasut 
11*92aa0995SMarek Vasut /*
12*92aa0995SMarek Vasut  * These power domain indices match the numbers of the interrupt bits
13*92aa0995SMarek Vasut  * representing the power areas in the various Interrupt Registers
14*92aa0995SMarek Vasut  * (e.g. SYSCISR, Interrupt Status Register)
15*92aa0995SMarek Vasut  *
16*92aa0995SMarek Vasut  * Note that R-Car M2-N is identical to R-Car M2-W w.r.t. power domains.
17*92aa0995SMarek Vasut  */
18*92aa0995SMarek Vasut 
19*92aa0995SMarek Vasut #define R8A7793_PD_CA15_CPU0		 0
20*92aa0995SMarek Vasut #define R8A7793_PD_CA15_CPU1		 1
21*92aa0995SMarek Vasut #define R8A7793_PD_CA15_SCU		12
22*92aa0995SMarek Vasut #define R8A7793_PD_SH_4A		16
23*92aa0995SMarek Vasut #define R8A7793_PD_SGX			20
24*92aa0995SMarek Vasut 
25*92aa0995SMarek Vasut /* Always-on power area */
26*92aa0995SMarek Vasut #define R8A7793_PD_ALWAYS_ON		32
27*92aa0995SMarek Vasut 
28*92aa0995SMarek Vasut #endif /* __DT_BINDINGS_POWER_R8A7793_SYSC_H__ */
29