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_R8A7793_SYSC_H__
68c2ecf20Sopenharmony_ci#define __DT_BINDINGS_POWER_R8A7793_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 * Note that R-Car M2-N is identical to R-Car M2-W w.r.t. power domains.
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#define R8A7793_PD_CA15_CPU0		 0
178c2ecf20Sopenharmony_ci#define R8A7793_PD_CA15_CPU1		 1
188c2ecf20Sopenharmony_ci#define R8A7793_PD_CA15_SCU		12
198c2ecf20Sopenharmony_ci#define R8A7793_PD_SH_4A		16
208c2ecf20Sopenharmony_ci#define R8A7793_PD_SGX			20
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci/* Always-on power area */
238c2ecf20Sopenharmony_ci#define R8A7793_PD_ALWAYS_ON		32
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_POWER_R8A7793_SYSC_H__ */
26