xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/rk3066a-cru.h (revision fc4f42693f9b1c31f39f9cf50af1bf2010325808)
1 /*	$NetBSD: rk3066a-cru.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2 
3 /*
4  * Copyright (c) 2014 MundoReader S.L.
5  * Author: Heiko Stuebner <heiko@sntech.de>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  */
17 
18 #ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
19 #define _DT_BINDINGS_CLK_ROCKCHIP_RK3066A_H
20 
21 #include <dt-bindings/clock/rk3188-cru-common.h>
22 
23 /* soft-reset indices */
24 #define SRST_SRST1		0
25 #define SRST_SRST2		1
26 
27 #define SRST_L2MEM		18
28 #define SRST_I2S0		23
29 #define SRST_I2S1		24
30 #define SRST_I2S2		25
31 #define SRST_TIMER2		29
32 
33 #define SRST_GPIO4		36
34 #define SRST_GPIO6		38
35 
36 #define SRST_TSADC		92
37 
38 #define SRST_HDMI		96
39 #define SRST_HDMI_APB		97
40 #define SRST_CIF1		111
41 
42 #endif
43