Hiroyuki Yokoyama | 2a1eade | 2018-09-27 19:05:18 +0900 | [diff] [blame] | 1 | /* 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 Vasut | cbff9f8 | 2018-12-03 21:43:05 +0100 | [diff] [blame] | 14 | #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 Yokoyama | 2a1eade | 2018-09-27 19:05:18 +0900 | [diff] [blame] | 20 | #define R8A77990_PD_CA53_SCU 21 |
Marek Vasut | cbff9f8 | 2018-12-03 21:43:05 +0100 | [diff] [blame] | 21 | #define R8A77990_PD_A2VC1 26 |
Hiroyuki Yokoyama | 2a1eade | 2018-09-27 19:05:18 +0900 | [diff] [blame] | 22 | |
| 23 | /* Always-on power area */ |
| 24 | #define R8A77990_PD_ALWAYS_ON 32 |
| 25 | |
| 26 | #endif /* __DT_BINDINGS_POWER_R8A77990_SYSC_H__ */ |