18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2016 Glider bvba
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_POWER_R8A7790_SYSC_H__
68c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7790_SYSC_H__
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci/*
98c2ecf20Sopenharmony_ci * These power domain indices match the numbers of the interrupt bits
108c2ecf20Sopenharmony_ci * representing the power areas in the various Interrupt Registers
118c2ecf20Sopenharmony_ci * (e.g. SYSCISR, Interrupt Status Register)
128c2ecf20Sopenharmony_ci */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define R8A7790_PD_CA15_CPU0		 0
158c2ecf20Sopenharmony_ci#define R8A7790_PD_CA15_CPU1		 1
168c2ecf20Sopenharmony_ci#define R8A7790_PD_CA15_CPU2		 2
178c2ecf20Sopenharmony_ci#define R8A7790_PD_CA15_CPU3		 3
188c2ecf20Sopenharmony_ci#define R8A7790_PD_CA7_CPU0		 5
198c2ecf20Sopenharmony_ci#define R8A7790_PD_CA7_CPU1		 6
208c2ecf20Sopenharmony_ci#define R8A7790_PD_CA7_CPU2		 7
218c2ecf20Sopenharmony_ci#define R8A7790_PD_CA7_CPU3		 8
228c2ecf20Sopenharmony_ci#define R8A7790_PD_CA15_SCU		12
238c2ecf20Sopenharmony_ci#define R8A7790_PD_SH_4A		16
248c2ecf20Sopenharmony_ci#define R8A7790_PD_RGX			20
258c2ecf20Sopenharmony_ci#define R8A7790_PD_CA7_SCU		21
268c2ecf20Sopenharmony_ci#define R8A7790_PD_IMP			24
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci/* Always-on power area */
298c2ecf20Sopenharmony_ci#define R8A7790_PD_ALWAYS_ON		32
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7790_SYSC_H__ */
32