uboot/board/Arcturus/ucp1020/ucp1020.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0+ */
   2/*
   3 * Copyright 2013-2019 Arcturus Networks, Inc.
   4 *           https://www.arcturusnetworks.com/products/ucp1020/
   5 *           by Oleksandr G Zhadan et al.
   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#ifdef CONFIG_MMC
  39static char *defkargs = "root=/dev/mtdblock1 rootfstype=cramfs ro";
  40static char *mmckargs = "root=/dev/mmcblk0p1 rootwait rw";
  41#endif
  42
  43int get_arc_info(void);
  44
  45#endif
  46