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_SRST1		0
20 #define SRST_SRST2		1
21 
22 #define SRST_L2MEM		18
23 #define SRST_I2S0		23
24 #define SRST_I2S1		24
25 #define SRST_I2S2		25
26 #define SRST_TIMER2		29
27 
28 #define SRST_GPIO4		36
29 #define SRST_GPIO6		38
30 
31 #define SRST_TSADC		92
32 
33 #define SRST_HDMI		96
34 #define SRST_HDMI_APB		97
35 #define SRST_CIF1		111
36