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_R8A7796_SYSC_H__
662306a36Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7796_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 R8A7796_PD_CA57_CPU0		 0
1562306a36Sopenharmony_ci#define R8A7796_PD_CA57_CPU1		 1
1662306a36Sopenharmony_ci#define R8A7796_PD_CA53_CPU0		 5
1762306a36Sopenharmony_ci#define R8A7796_PD_CA53_CPU1		 6
1862306a36Sopenharmony_ci#define R8A7796_PD_CA53_CPU2		 7
1962306a36Sopenharmony_ci#define R8A7796_PD_CA53_CPU3		 8
2062306a36Sopenharmony_ci#define R8A7796_PD_CA57_SCU		12
2162306a36Sopenharmony_ci#define R8A7796_PD_CR7			13
2262306a36Sopenharmony_ci#define R8A7796_PD_A3VC			14
2362306a36Sopenharmony_ci#define R8A7796_PD_3DG_A		17
2462306a36Sopenharmony_ci#define R8A7796_PD_3DG_B		18
2562306a36Sopenharmony_ci#define R8A7796_PD_CA53_SCU		21
2662306a36Sopenharmony_ci#define R8A7796_PD_A3IR			24
2762306a36Sopenharmony_ci#define R8A7796_PD_A2VC0		25
2862306a36Sopenharmony_ci#define R8A7796_PD_A2VC1		26
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci/* Always-on power area */
3162306a36Sopenharmony_ci#define R8A7796_PD_ALWAYS_ON		32
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7796_SYSC_H__ */
34