1 /*
2  * Copyright (c) 2014 MundoReader S.L.
3  * Author: Heiko Stuebner <heiko@sntech.de>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  */
15 
16 #include <dt-bindings/clock/rk3188-cru-common.h>
17 
18 /* soft-reset indices */
19 #define SRST_PTM_CORE2		0
20 #define SRST_PTM_CORE3		1
21 #define SRST_CORE2		5
22 #define SRST_CORE3		6
23 #define SRST_CORE2_DBG		10
24 #define SRST_CORE3_DBG		11
25 
26 #define SRST_TIMER2		16
27 #define SRST_TIMER4		23
28 #define SRST_I2S0		24
29 #define SRST_TIMER5		25
30 #define SRST_TIMER3		29
31 #define SRST_TIMER6		31
32 
33 #define SRST_PTM3		36
34 #define SRST_PTM3_ATB		37
35 
36 #define SRST_GPS		67
37 #define SRST_HSICPHY		75
38 #define SRST_TIMER		78
39 
40 #define SRST_PTM2		92
41 #define SRST_CORE2_WDT		94
42 #define SRST_CORE3_WDT		95
43 
44 #define SRST_PTM2_ATB		111
45 
46 #define SRST_HSIC		117
47 #define SRST_CTI2		118
48 #define SRST_CTI2_APB		119
49 #define SRST_GPU_BRIDGE		121
50 #define SRST_CTI3		123
51 #define SRST_CTI3_APB		124
52