ucp1020.h 922 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  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. #ifndef __UCP1020_H__
  9. #define __UCP1020_H__
  10. #define GPIO0 31
  11. #define GPIO1 30
  12. #define GPIO2 29
  13. #define GPIO3 28
  14. #define GPIO4 27
  15. #define GPIO5 26
  16. #define GPIO6 25
  17. #define GPIO7 24
  18. #define GPIO8 23
  19. #define GPIO9 22
  20. #define GPIO10 21
  21. #define GPIO11 20
  22. #define GPIO12 19
  23. #define GPIO13 18
  24. #define GPIO14 17
  25. #define GPIO15 16
  26. #define GPIO_MAX_NUM 16
  27. #define GPIO_SDHC_CD GPIO8
  28. #define GPIO_SDHC_WP GPIO9
  29. #define GPIO_USB_PCTL0 GPIO10
  30. #define GPIO_PCIE1_EN GPIO11
  31. #define GPIO_PCIE2_EN GPIO10
  32. #define GPIO_USB_PCTL1 GPIO11
  33. #define GPIO_WD GPIO15
  34. static char *defkargs = "root=/dev/mtdblock1 rootfstype=cramfs ro";
  35. static char *mmckargs = "root=/dev/mmcblk0p1 rootwait rw";
  36. int get_arc_info(void);
  37. #endif