xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/power/r8a7790-sysc.h (revision 7863ba460b0a05b553c754e5dbc29247dddec322)
1 /*	$NetBSD: r8a7790-sysc.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2 
3 /*
4  * Copyright (C) 2016 Glider bvba
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  */
10 #ifndef __DT_BINDINGS_POWER_R8A7790_SYSC_H__
11 #define __DT_BINDINGS_POWER_R8A7790_SYSC_H__
12 
13 /*
14  * These power domain indices match the numbers of the interrupt bits
15  * representing the power areas in the various Interrupt Registers
16  * (e.g. SYSCISR, Interrupt Status Register)
17  */
18 
19 #define R8A7790_PD_CA15_CPU0		 0
20 #define R8A7790_PD_CA15_CPU1		 1
21 #define R8A7790_PD_CA15_CPU2		 2
22 #define R8A7790_PD_CA15_CPU3		 3
23 #define R8A7790_PD_CA7_CPU0		 5
24 #define R8A7790_PD_CA7_CPU1		 6
25 #define R8A7790_PD_CA7_CPU2		 7
26 #define R8A7790_PD_CA7_CPU3		 8
27 #define R8A7790_PD_CA15_SCU		12
28 #define R8A7790_PD_SH_4A		16
29 #define R8A7790_PD_RGX			20
30 #define R8A7790_PD_CA7_SCU		21
31 #define R8A7790_PD_IMP			24
32 
33 /* Always-on power area */
34 #define R8A7790_PD_ALWAYS_ON		32
35 
36 #endif /* __DT_BINDINGS_POWER_R8A7790_SYSC_H__ */
37