blob: 05a4b5917314791a4554ae4e74ced18ada7cd4f0 [file] [log] [blame]
Marek Vasut50e031e2018-02-26 10:35:15 +01001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
4 * Copyright (C) 2016 Glider bvba
5 */
6
7#ifndef __DT_BINDINGS_POWER_R8A77965_SYSC_H__
8#define __DT_BINDINGS_POWER_R8A77965_SYSC_H__
9
10/*
11 * These power domain indices match the numbers of the interrupt bits
12 * representing the power areas in the various Interrupt Registers
13 * (e.g. SYSCISR, Interrupt Status Register)
14 */
15
16#define R8A77965_PD_CA57_CPU0 0
17#define R8A77965_PD_CA57_CPU1 1
18#define R8A77965_PD_A3VP 9
19#define R8A77965_PD_CA57_SCU 12
20#define R8A77965_PD_CR7 13
21#define R8A77965_PD_A3VC 14
22#define R8A77965_PD_3DG_A 17
23#define R8A77965_PD_3DG_B 18
24#define R8A77965_PD_A3IR 24
25#define R8A77965_PD_A2VC1 26
26
27/* Always-on power area */
28#define R8A77965_PD_ALWAYS_ON 32
29
30#endif /* __DT_BINDINGS_POWER_R8A77965_SYSC_H__ */