18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
48c2ecf20Sopenharmony_ci * Copyright (C) 2016 Glider bvba
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A77965_SYSC_H__
88c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A77965_SYSC_H__
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/*
118c2ecf20Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
128c2ecf20Sopenharmony_ci * representing the power areas in the various Interrupt Registers
138c2ecf20Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#define R8A77965_PD_CA57_CPU0		 0
178c2ecf20Sopenharmony_ci#define R8A77965_PD_CA57_CPU1		 1
188c2ecf20Sopenharmony_ci#define R8A77965_PD_A3VP		 9
198c2ecf20Sopenharmony_ci#define R8A77965_PD_CA57_SCU		12
208c2ecf20Sopenharmony_ci#define R8A77965_PD_CR7			13
218c2ecf20Sopenharmony_ci#define R8A77965_PD_A3VC		14
228c2ecf20Sopenharmony_ci#define R8A77965_PD_3DG_A		17
238c2ecf20Sopenharmony_ci#define R8A77965_PD_3DG_B		18
248c2ecf20Sopenharmony_ci#define R8A77965_PD_A2VC1		26
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci/* Always-on power area */
278c2ecf20Sopenharmony_ci#define R8A77965_PD_ALWAYS_ON		32
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A77965_SYSC_H__ */
30