blob: f147fe27fe107d141320f16f20c1b0d127ed9c82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2014 Beniamino Galvani <b.galvani@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __MACH_RK3188_REGS_H
#define __MACH_RK3188_REGS_H
#define RK_CRU_BASE 0x20000000
#define RK_GRF_BASE 0x20008000
#define RK_CRU_GLB_SRST_SND 0x0104
#define RK_GRF_SOC_CON0 0x00a0
#define RK_SOC_CON0_REMAP (1 << 12)
/* UART */
#define RK3188_UART0_BASE 0x10124000
#define RK3188_UART1_BASE 0x10126000
#define RK3188_UART2_BASE 0x20064000
#define RK3188_UART3_BASE 0x20068000
#endif /* __MACH_RK3188_REGS_H */
|