Home | History | Annotate | Line # | Download | only in clock
rk3188-cru.h revision 1.1
      1 /*	$NetBSD: rk3188-cru.h,v 1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
      2 
      3 /*
      4  * Copyright (c) 2014 MundoReader S.L.
      5  * Author: Heiko Stuebner <heiko (at) 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_RK3188_H
     19 #define _DT_BINDINGS_CLK_ROCKCHIP_RK3188_H
     20 
     21 #include <dt-bindings/clock/rk3188-cru-common.h>
     22 
     23 /* soft-reset indices */
     24 #define SRST_PTM_CORE2		0
     25 #define SRST_PTM_CORE3		1
     26 #define SRST_CORE2		5
     27 #define SRST_CORE3		6
     28 #define SRST_CORE2_DBG		10
     29 #define SRST_CORE3_DBG		11
     30 
     31 #define SRST_TIMER2		16
     32 #define SRST_TIMER4		23
     33 #define SRST_I2S0		24
     34 #define SRST_TIMER5		25
     35 #define SRST_TIMER3		29
     36 #define SRST_TIMER6		31
     37 
     38 #define SRST_PTM3		36
     39 #define SRST_PTM3_ATB		37
     40 
     41 #define SRST_GPS		67
     42 #define SRST_HSICPHY		75
     43 #define SRST_TIMER		78
     44 
     45 #define SRST_PTM2		92
     46 #define SRST_CORE2_WDT		94
     47 #define SRST_CORE3_WDT		95
     48 
     49 #define SRST_PTM2_ATB		111
     50 
     51 #define SRST_HSIC		117
     52 #define SRST_CTI2		118
     53 #define SRST_CTI2_APB		119
     54 #define SRST_GPU_BRIDGE		121
     55 #define SRST_CTI3		123
     56 #define SRST_CTI3_APB		124
     57 
     58 #endif
     59