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