xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/power/r8a7744-sysc.h (revision 976227fdc99bb6d4ab950558ecda48116723e145)
1 /*	$NetBSD: r8a7744-sysc.h,v 1.1.1.1 2019/01/22 14:57:01 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0
4  *
5  * Copyright (C) 2018 Renesas Electronics Corp.
6  */
7 #ifndef __DT_BINDINGS_POWER_R8A7744_SYSC_H__
8 #define __DT_BINDINGS_POWER_R8A7744_SYSC_H__
9 
10 /*
11  * These power domain indices match the numbers of the interrupt bits
12  * representing the power areas in the various Interrupt Registers
13  * (e.g. SYSCISR, Interrupt Status Register)
14  *
15  * Note that RZ/G1N is identical to RZ/G2M w.r.t. power domains.
16  */
17 
18 #define R8A7744_PD_CA15_CPU0		 0
19 #define R8A7744_PD_CA15_CPU1		 1
20 #define R8A7744_PD_CA15_SCU		12
21 #define R8A7744_PD_SGX			20
22 
23 /* Always-on power area */
24 #define R8A7744_PD_ALWAYS_ON		32
25 
26 #endif /* __DT_BINDINGS_POWER_R8A7744_SYSC_H__ */
27