1270866Simp/*
2270866Simp * Copyright (c) 2014 MundoReader S.L.
3270866Simp * Author: Heiko Stuebner <heiko@sntech.de>
4270866Simp *
5270866Simp * This program is free software; you can redistribute it and/or modify
6270866Simp * it under the terms of the GNU General Public License as published by
7270866Simp * the Free Software Foundation; either version 2 of the License, or
8270866Simp * (at your option) any later version.
9270866Simp *
10270866Simp * This program is distributed in the hope that it will be useful,
11270866Simp * but WITHOUT ANY WARRANTY; without even the implied warranty of
12270866Simp * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13270866Simp * GNU General Public License for more details.
14270866Simp */
15270866Simp
16270866Simp#include <dt-bindings/clock/rk3188-cru-common.h>
17270866Simp
18270866Simp/* soft-reset indices */
19270866Simp#define SRST_PTM_CORE2		0
20270866Simp#define SRST_PTM_CORE3		1
21270866Simp#define SRST_CORE2		5
22270866Simp#define SRST_CORE3		6
23270866Simp#define SRST_CORE2_DBG		10
24270866Simp#define SRST_CORE3_DBG		11
25270866Simp
26270866Simp#define SRST_TIMER2		16
27270866Simp#define SRST_TIMER4		23
28270866Simp#define SRST_I2S0		24
29270866Simp#define SRST_TIMER5		25
30270866Simp#define SRST_TIMER3		29
31270866Simp#define SRST_TIMER6		31
32270866Simp
33270866Simp#define SRST_PTM3		36
34270866Simp#define SRST_PTM3_ATB		37
35270866Simp
36270866Simp#define SRST_GPS		67
37270866Simp#define SRST_HSICPHY		75
38270866Simp#define SRST_TIMER		78
39270866Simp
40270866Simp#define SRST_PTM2		92
41270866Simp#define SRST_CORE2_WDT		94
42270866Simp#define SRST_CORE3_WDT		95
43270866Simp
44270866Simp#define SRST_PTM2_ATB		111
45270866Simp
46270866Simp#define SRST_HSIC		117
47270866Simp#define SRST_CTI2		118
48270866Simp#define SRST_CTI2_APB		119
49270866Simp#define SRST_GPU_BRIDGE		121
50270866Simp#define SRST_CTI3		123
51270866Simp#define SRST_CTI3_APB		124
52