162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci *
362306a36Sopenharmony_ci * Copyright (C) 2018 Renesas Electronics Corp.
462306a36Sopenharmony_ci * Copyright (C) 2018 Cogent Embedded, Inc.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A77980_SYSC_H__
762306a36Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A77980_SYSC_H__
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/*
1062306a36Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
1162306a36Sopenharmony_ci * representing the power areas in the various Interrupt Registers
1262306a36Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#define R8A77980_PD_A2SC2		0
1662306a36Sopenharmony_ci#define R8A77980_PD_A2SC3		1
1762306a36Sopenharmony_ci#define R8A77980_PD_A2SC4		2
1862306a36Sopenharmony_ci#define R8A77980_PD_A2DP0		3
1962306a36Sopenharmony_ci#define R8A77980_PD_A2DP1		4
2062306a36Sopenharmony_ci#define R8A77980_PD_CA53_CPU0		5
2162306a36Sopenharmony_ci#define R8A77980_PD_CA53_CPU1		6
2262306a36Sopenharmony_ci#define R8A77980_PD_CA53_CPU2		7
2362306a36Sopenharmony_ci#define R8A77980_PD_CA53_CPU3		8
2462306a36Sopenharmony_ci#define R8A77980_PD_A2CN		10
2562306a36Sopenharmony_ci#define R8A77980_PD_A3VIP0		11
2662306a36Sopenharmony_ci#define R8A77980_PD_A2IR5		12
2762306a36Sopenharmony_ci#define R8A77980_PD_CR7			13
2862306a36Sopenharmony_ci#define R8A77980_PD_A2IR4		15
2962306a36Sopenharmony_ci#define R8A77980_PD_CA53_SCU		21
3062306a36Sopenharmony_ci#define R8A77980_PD_A2IR0		23
3162306a36Sopenharmony_ci#define R8A77980_PD_A3IR		24
3262306a36Sopenharmony_ci#define R8A77980_PD_A3VIP1		25
3362306a36Sopenharmony_ci#define R8A77980_PD_A3VIP2		26
3462306a36Sopenharmony_ci#define R8A77980_PD_A2IR1		27
3562306a36Sopenharmony_ci#define R8A77980_PD_A2IR2		28
3662306a36Sopenharmony_ci#define R8A77980_PD_A2IR3		29
3762306a36Sopenharmony_ci#define R8A77980_PD_A2SC0		30
3862306a36Sopenharmony_ci#define R8A77980_PD_A2SC1		31
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci/* Always-on power area */
4162306a36Sopenharmony_ci#define R8A77980_PD_ALWAYS_ON		32
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A77980_SYSC_H__ */
44