xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/power/r8a7793-sysc.h (revision fc4f42693f9b1c31f39f9cf50af1bf2010325808)
1 /*	$NetBSD: r8a7793-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_R8A7793_SYSC_H__
11 #define __DT_BINDINGS_POWER_R8A7793_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  * Note that R-Car M2-N is identical to R-Car M2-W w.r.t. power domains.
19  */
20 
21 #define R8A7793_PD_CA15_CPU0		 0
22 #define R8A7793_PD_CA15_CPU1		 1
23 #define R8A7793_PD_CA15_SCU		12
24 #define R8A7793_PD_SH_4A		16
25 #define R8A7793_PD_SGX			20
26 
27 /* Always-on power area */
28 #define R8A7793_PD_ALWAYS_ON		32
29 
30 #endif /* __DT_BINDINGS_POWER_R8A7793_SYSC_H__ */
31