blob: 243459c44615080d132f2fa44e64afb3413191e8 [file] [log] [blame]
Oleksandr G Zhadan19ac6882015-04-29 16:57:39 -04001/*
2 * Copyright 2013-2015 Arcturus Networks, Inc.
3 * http://www.arcturusnetworks.com/products/ucp1020/
4 * by Oleksandr G Zhadan et al.
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef __UCP1020_H__
10#define __UCP1020_H__
11
12#define GPIO0 31
13#define GPIO1 30
14#define GPIO2 29
15#define GPIO3 28
16#define GPIO4 27
17#define GPIO5 26
18#define GPIO6 25
19#define GPIO7 24
20#define GPIO8 23
21#define GPIO9 22
22#define GPIO10 21
23#define GPIO11 20
24#define GPIO12 19
25#define GPIO13 18
26#define GPIO14 17
27#define GPIO15 16
28#define GPIO_MAX_NUM 16
29
30#define GPIO_SDHC_CD GPIO8
31#define GPIO_SDHC_WP GPIO9
32#define GPIO_USB_PCTL0 GPIO10
33#define GPIO_PCIE1_EN GPIO11
34#define GPIO_PCIE2_EN GPIO10
35#define GPIO_USB_PCTL1 GPIO11
36
37#define GPIO_WD GPIO15
38
39static char *defkargs = "root=/dev/mtdblock1 rootfstype=cramfs ro";
40static char *mmckargs = "root=/dev/mmcblk0p1 rootwait rw";
41
42int get_arc_info(void);
43
44#endif