18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2016 Glider bvba
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A7795_SYSC_H__
68c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7795_SYSC_H__
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci/*
98c2ecf20Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
108c2ecf20Sopenharmony_ci * representing the power areas in the various Interrupt Registers
118c2ecf20Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
128c2ecf20Sopenharmony_ci */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define R8A7795_PD_CA57_CPU0		 0
158c2ecf20Sopenharmony_ci#define R8A7795_PD_CA57_CPU1		 1
168c2ecf20Sopenharmony_ci#define R8A7795_PD_CA57_CPU2		 2
178c2ecf20Sopenharmony_ci#define R8A7795_PD_CA57_CPU3		 3
188c2ecf20Sopenharmony_ci#define R8A7795_PD_CA53_CPU0		 5
198c2ecf20Sopenharmony_ci#define R8A7795_PD_CA53_CPU1		 6
208c2ecf20Sopenharmony_ci#define R8A7795_PD_CA53_CPU2		 7
218c2ecf20Sopenharmony_ci#define R8A7795_PD_CA53_CPU3		 8
228c2ecf20Sopenharmony_ci#define R8A7795_PD_A3VP			 9
238c2ecf20Sopenharmony_ci#define R8A7795_PD_CA57_SCU		12
248c2ecf20Sopenharmony_ci#define R8A7795_PD_CR7			13
258c2ecf20Sopenharmony_ci#define R8A7795_PD_A3VC			14
268c2ecf20Sopenharmony_ci#define R8A7795_PD_3DG_A		17
278c2ecf20Sopenharmony_ci#define R8A7795_PD_3DG_B		18
288c2ecf20Sopenharmony_ci#define R8A7795_PD_3DG_C		19
298c2ecf20Sopenharmony_ci#define R8A7795_PD_3DG_D		20
308c2ecf20Sopenharmony_ci#define R8A7795_PD_CA53_SCU		21
318c2ecf20Sopenharmony_ci#define R8A7795_PD_3DG_E		22
328c2ecf20Sopenharmony_ci#define R8A7795_PD_A3IR			24
338c2ecf20Sopenharmony_ci#define R8A7795_PD_A2VC0		25	/* ES1.x only */
348c2ecf20Sopenharmony_ci#define R8A7795_PD_A2VC1		26
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci/* Always-on power area */
378c2ecf20Sopenharmony_ci#define R8A7795_PD_ALWAYS_ON		32
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7795_SYSC_H__ */
40