summaryrefslogtreecommitdiff
path: root/board/Arcturus/ucp1020/ucp1020.h
diff options
context:
space:
mode:
authorOleksandr G Zhadan <oleks@arcturusnetworks.com>2015-04-29 16:57:39 -0400
committerYork Sun <yorksun@freescale.com>2015-05-04 09:26:26 -0700
commit8b0044ff5942943eaa49935f49d5006b346a60f8 (patch)
treee23da9698ddffc12e227b071e0fad288a87ea8f2 /board/Arcturus/ucp1020/ucp1020.h
parentd7732faad3104369fca72c071818b95ddb3e35db (diff)
downloadu-boot-imx-8b0044ff5942943eaa49935f49d5006b346a60f8.zip
u-boot-imx-8b0044ff5942943eaa49935f49d5006b346a60f8.tar.gz
u-boot-imx-8b0044ff5942943eaa49935f49d5006b346a60f8.tar.bz2
powerpc/mpc85xx: Add board support for ucp1020
New QorIQ p1020 based board support from Arcturus Networks Inc. http://www.arcturusnetworks.com/products/ucp1020/ Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com> Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com> [York Sun: remove patman tags from commit message] Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/Arcturus/ucp1020/ucp1020.h')
-rw-r--r--board/Arcturus/ucp1020/ucp1020.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/board/Arcturus/ucp1020/ucp1020.h b/board/Arcturus/ucp1020/ucp1020.h
new file mode 100644
index 0000000..243459c
--- /dev/null
+++ b/board/Arcturus/ucp1020/ucp1020.h
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2013-2015 Arcturus Networks, Inc.
+ * http://www.arcturusnetworks.com/products/ucp1020/
+ * by Oleksandr G Zhadan et al.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __UCP1020_H__
+#define __UCP1020_H__
+
+#define GPIO0 31
+#define GPIO1 30
+#define GPIO2 29
+#define GPIO3 28
+#define GPIO4 27
+#define GPIO5 26
+#define GPIO6 25
+#define GPIO7 24
+#define GPIO8 23
+#define GPIO9 22
+#define GPIO10 21
+#define GPIO11 20
+#define GPIO12 19
+#define GPIO13 18
+#define GPIO14 17
+#define GPIO15 16
+#define GPIO_MAX_NUM 16
+
+#define GPIO_SDHC_CD GPIO8
+#define GPIO_SDHC_WP GPIO9
+#define GPIO_USB_PCTL0 GPIO10
+#define GPIO_PCIE1_EN GPIO11
+#define GPIO_PCIE2_EN GPIO10
+#define GPIO_USB_PCTL1 GPIO11
+
+#define GPIO_WD GPIO15
+
+static char *defkargs = "root=/dev/mtdblock1 rootfstype=cramfs ro";
+static char *mmckargs = "root=/dev/mmcblk0p1 rootwait rw";
+
+int get_arc_info(void);
+
+#endif