18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci *
38c2ecf20Sopenharmony_ci * Copyright (C) 2018 Renesas Electronics Corp.
48c2ecf20Sopenharmony_ci * Copyright (C) 2018 Cogent Embedded, Inc.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A77980_SYSC_H__
78c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A77980_SYSC_H__
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/*
108c2ecf20Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
118c2ecf20Sopenharmony_ci * representing the power areas in the various Interrupt Registers
128c2ecf20Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
138c2ecf20Sopenharmony_ci */
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define R8A77980_PD_A2SC2		0
168c2ecf20Sopenharmony_ci#define R8A77980_PD_A2SC3		1
178c2ecf20Sopenharmony_ci#define R8A77980_PD_A2SC4		2
188c2ecf20Sopenharmony_ci#define R8A77980_PD_A2DP0		3
198c2ecf20Sopenharmony_ci#define R8A77980_PD_A2DP1		4
208c2ecf20Sopenharmony_ci#define R8A77980_PD_CA53_CPU0		5
218c2ecf20Sopenharmony_ci#define R8A77980_PD_CA53_CPU1		6
228c2ecf20Sopenharmony_ci#define R8A77980_PD_CA53_CPU2		7
238c2ecf20Sopenharmony_ci#define R8A77980_PD_CA53_CPU3		8
248c2ecf20Sopenharmony_ci#define R8A77980_PD_A2CN		10
258c2ecf20Sopenharmony_ci#define R8A77980_PD_A3VIP0		11
268c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR5		12
278c2ecf20Sopenharmony_ci#define R8A77980_PD_CR7			13
288c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR4		15
298c2ecf20Sopenharmony_ci#define R8A77980_PD_CA53_SCU		21
308c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR0		23
318c2ecf20Sopenharmony_ci#define R8A77980_PD_A3IR		24
328c2ecf20Sopenharmony_ci#define R8A77980_PD_A3VIP1		25
338c2ecf20Sopenharmony_ci#define R8A77980_PD_A3VIP2		26
348c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR1		27
358c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR2		28
368c2ecf20Sopenharmony_ci#define R8A77980_PD_A2IR3		29
378c2ecf20Sopenharmony_ci#define R8A77980_PD_A2SC0		30
388c2ecf20Sopenharmony_ci#define R8A77980_PD_A2SC1		31
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci/* Always-on power area */
418c2ecf20Sopenharmony_ci#define R8A77980_PD_ALWAYS_ON		32
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A77980_SYSC_H__ */
44