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