xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/power/r8a77965-sysc.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: r8a77965-sysc.h,v 1.1.1.2 2020/01/03 14:33:03 skrll Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 /*
5  * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6  * Copyright (C) 2016 Glider bvba
7  */
8 
9 #ifndef __DT_BINDINGS_POWER_R8A77965_SYSC_H__
10 #define __DT_BINDINGS_POWER_R8A77965_SYSC_H__
11 
12 /*
13  * These power domain indices match the numbers of the interrupt bits
14  * representing the power areas in the various Interrupt Registers
15  * (e.g. SYSCISR, Interrupt Status Register)
16  */
17 
18 #define R8A77965_PD_CA57_CPU0		 0
19 #define R8A77965_PD_CA57_CPU1		 1
20 #define R8A77965_PD_A3VP		 9
21 #define R8A77965_PD_CA57_SCU		12
22 #define R8A77965_PD_CR7			13
23 #define R8A77965_PD_A3VC		14
24 #define R8A77965_PD_3DG_A		17
25 #define R8A77965_PD_3DG_B		18
26 #define R8A77965_PD_A2VC1		26
27 
28 /* Always-on power area */
29 #define R8A77965_PD_ALWAYS_ON		32
30 
31 #endif /* __DT_BINDINGS_POWER_R8A77965_SYSC_H__ */
32