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_R8A7790_SYSC_H__
662306a36Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7790_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 R8A7790_PD_CA15_CPU0		 0
1562306a36Sopenharmony_ci#define R8A7790_PD_CA15_CPU1		 1
1662306a36Sopenharmony_ci#define R8A7790_PD_CA15_CPU2		 2
1762306a36Sopenharmony_ci#define R8A7790_PD_CA15_CPU3		 3
1862306a36Sopenharmony_ci#define R8A7790_PD_CA7_CPU0		 5
1962306a36Sopenharmony_ci#define R8A7790_PD_CA7_CPU1		 6
2062306a36Sopenharmony_ci#define R8A7790_PD_CA7_CPU2		 7
2162306a36Sopenharmony_ci#define R8A7790_PD_CA7_CPU3		 8
2262306a36Sopenharmony_ci#define R8A7790_PD_CA15_SCU		12
2362306a36Sopenharmony_ci#define R8A7790_PD_SH_4A		16
2462306a36Sopenharmony_ci#define R8A7790_PD_RGX			20
2562306a36Sopenharmony_ci#define R8A7790_PD_CA7_SCU		21
2662306a36Sopenharmony_ci#define R8A7790_PD_IMP			24
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci/* Always-on power area */
2962306a36Sopenharmony_ci#define R8A7790_PD_ALWAYS_ON		32
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7790_SYSC_H__ */
32