Skip to contentSkip to conversation

tb100 - add Abilis TB100 board

PATCH New Alexey Brodkin 1 participant 1 message May 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tb100 - add Abilis TB100 board

Development board for headless gateway platform from Abilis Systems. Initial commit with working UART and DW GMAC.

For now with generic Ethernet PHY due to problems in Realtek PHY driver.

Cc Vineet Gupta <[email protected]>
Cc Christian Ruppert <[email protected]>
Cc Pierrick Hascoet <[email protected]>
---
 board/abilis/tb100/Makefile |   7 +++
 board/abilis/tb100/tb100.c  |  23 +++++++++
 boards.cfg                  |   1 +
 include/configs/tb100.h     | 123 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 154 insertions(+)
 create mode 100644 board/abilis/tb100/Makefile
 create mode 100644 board/abilis/tb100/tb100.c
 create mode 100644 include/configs/tb100.h
board/abilis/tb100/Makefile new file +7 -0
new file mode 100644
index 0000000..4f273b3
@@ -0,0 +1,7 @@
+#
+# (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y	+= tb100.o
board/abilis/tb100/tb100.c new file +23 -0
new file mode 100644
index 0000000..ff3632f
@@ -0,0 +1,23 @@
+/*
+ * (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#include <common.h>
+#include <netdev.h>
+#include <asm/io.h>
+
+void reset_cpu(ulong addr)
+{
+#define CRM_SWRESET	0xff101044
+	writel(0x1, (void *)CRM_SWRESET);
+}
+
+int board_eth_init(bd_t *bis)
+{
+	if (designware_initialize(ETH0_BASE_ADDRESS, 0) >= 0)
+		return 1;
+
+	return 0;
+}
boards.cfg +1 -0
index 0497a91..64f3dca 100644
@@ -47,6 +47,7 @@ Active  aarch64     armv8          -           armltd          vexpress64
 Active  arc         arc700         -           synopsys        -                   axs101                                -                                                                                                                                 Alexey Brodkin <[email protected]>
 Active  arc         arc700         -           synopsys        <none>              arcangel4                             -                                                                                                                                 Alexey Brodkin <[email protected]>
 Active  arc         arc700         -           synopsys        <none>              arcangel4-be                          -                                                                                                                                 Alexey Brodkin <[email protected]>
+Active  arc         arc700         -           abilis          -                   tb100                                 -                                                                                                                                 Alexey Brodkin <[email protected]>
 Active  arm         arm1136        -           armltd          integrator          integratorcp_cm1136                   integratorcp:CM1136                                                                                                               Linus Walleij <[email protected]>
 Active  arm         arm1136        mx31        -               -                   imx31_phycore                         -                                                                                                                                 -
 Active  arm         arm1136        mx31        davedenx        -                   qong                                  -                                                                                                                                 Wolfgang Denk <[email protected]>
include/configs/tb100.h new file +123 -0

123 lines not on this page · raw message

Signature · 1 line
1.9.0