162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2016 Glider bvba
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A7795_SYSC_H__
662306a36Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7795_SYSC_H__
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci/*
962306a36Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
1062306a36Sopenharmony_ci * representing the power areas in the various Interrupt Registers
1162306a36Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
1262306a36Sopenharmony_ci */
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci#define R8A7795_PD_CA57_CPU0		 0
1562306a36Sopenharmony_ci#define R8A7795_PD_CA57_CPU1		 1
1662306a36Sopenharmony_ci#define R8A7795_PD_CA57_CPU2		 2
1762306a36Sopenharmony_ci#define R8A7795_PD_CA57_CPU3		 3
1862306a36Sopenharmony_ci#define R8A7795_PD_CA53_CPU0		 5
1962306a36Sopenharmony_ci#define R8A7795_PD_CA53_CPU1		 6
2062306a36Sopenharmony_ci#define R8A7795_PD_CA53_CPU2		 7
2162306a36Sopenharmony_ci#define R8A7795_PD_CA53_CPU3		 8
2262306a36Sopenharmony_ci#define R8A7795_PD_A3VP			 9
2362306a36Sopenharmony_ci#define R8A7795_PD_CA57_SCU		12
2462306a36Sopenharmony_ci#define R8A7795_PD_CR7			13
2562306a36Sopenharmony_ci#define R8A7795_PD_A3VC			14
2662306a36Sopenharmony_ci#define R8A7795_PD_3DG_A		17
2762306a36Sopenharmony_ci#define R8A7795_PD_3DG_B		18
2862306a36Sopenharmony_ci#define R8A7795_PD_3DG_C		19
2962306a36Sopenharmony_ci#define R8A7795_PD_3DG_D		20
3062306a36Sopenharmony_ci#define R8A7795_PD_CA53_SCU		21
3162306a36Sopenharmony_ci#define R8A7795_PD_3DG_E		22
3262306a36Sopenharmony_ci#define R8A7795_PD_A3IR			24
3362306a36Sopenharmony_ci#define R8A7795_PD_A2VC1		26
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci/* Always-on power area */
3662306a36Sopenharmony_ci#define R8A7795_PD_ALWAYS_ON		32
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7795_SYSC_H__ */
39