18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2019 Glider bvba
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A77961_SYSC_H__
68c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A77961_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 R8A77961_PD_CA57_CPU0		 0
158c2ecf20Sopenharmony_ci#define R8A77961_PD_CA57_CPU1		 1
168c2ecf20Sopenharmony_ci#define R8A77961_PD_CA53_CPU0		 5
178c2ecf20Sopenharmony_ci#define R8A77961_PD_CA53_CPU1		 6
188c2ecf20Sopenharmony_ci#define R8A77961_PD_CA53_CPU2		 7
198c2ecf20Sopenharmony_ci#define R8A77961_PD_CA53_CPU3		 8
208c2ecf20Sopenharmony_ci#define R8A77961_PD_CA57_SCU		12
218c2ecf20Sopenharmony_ci#define R8A77961_PD_CR7			13
228c2ecf20Sopenharmony_ci#define R8A77961_PD_A3VC		14
238c2ecf20Sopenharmony_ci#define R8A77961_PD_3DG_A		17
248c2ecf20Sopenharmony_ci#define R8A77961_PD_3DG_B		18
258c2ecf20Sopenharmony_ci#define R8A77961_PD_CA53_SCU		21
268c2ecf20Sopenharmony_ci#define R8A77961_PD_A3IR		24
278c2ecf20Sopenharmony_ci#define R8A77961_PD_A2VC1		26
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci/* Always-on power area */
308c2ecf20Sopenharmony_ci#define R8A77961_PD_ALWAYS_ON		32
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A77961_SYSC_H__ */
33