blob: 944d85beec15cef2382c0765d375c813fe711ed9 [file] [log] [blame]
Hiroyuki Yokoyama2a1eade2018-09-27 19:05:18 +09001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2018 Renesas Electronics Corp.
4 */
5#ifndef __DT_BINDINGS_POWER_R8A77990_SYSC_H__
6#define __DT_BINDINGS_POWER_R8A77990_SYSC_H__
7
8/*
9 * These power domain indices match the numbers of the interrupt bits
10 * representing the power areas in the various Interrupt Registers
11 * (e.g. SYSCISR, Interrupt Status Register)
12 */
13
Marek Vasutcbff9f82018-12-03 21:43:05 +010014#define R8A77990_PD_CA53_CPU0 5
15#define R8A77990_PD_CA53_CPU1 6
16#define R8A77990_PD_CR7 13
17#define R8A77990_PD_A3VC 14
18#define R8A77990_PD_3DG_A 17
19#define R8A77990_PD_3DG_B 18
Hiroyuki Yokoyama2a1eade2018-09-27 19:05:18 +090020#define R8A77990_PD_CA53_SCU 21
Marek Vasutcbff9f82018-12-03 21:43:05 +010021#define R8A77990_PD_A2VC1 26
Hiroyuki Yokoyama2a1eade2018-09-27 19:05:18 +090022
23/* Always-on power area */
24#define R8A77990_PD_ALWAYS_ON 32
25
26#endif /* __DT_BINDINGS_POWER_R8A77990_SYSC_H__ */