summaryrefslogtreecommitdiff
path: root/board/amlogic/sei610/sei610.c
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-10-11 17:33:56 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2019-10-18 14:47:00 +0200
commitb8ada582cffb7e58307da0f2cc8da94ee703100f (patch)
tree4ee36c01f6a0be6761e12ee191986985cf6f3827 /board/amlogic/sei610/sei610.c
parent21cd92faa5f65072b9867c69f4b63ce357cb9bcf (diff)
boards: amlogic: add SEI610 support
Add support for the customer board SEI610 manufactured by SEI Robotics with the following specifications: - Amlogic S905X3 ARM Cortex-A55 quad-core SoC - 2GB DDR4 SDRAM - 10/100 Ethernet (Internal PHY) - 1 x USB 3.0 Host - 1 x USB Type-C DRD - 1 x FTDI USB Serial Debug Interface - eMMC - SDcard - Infrared receiver - SDIO WiFi Module Like it's SEI510 counterpart, the boot flow is designed to boot Android AOSP built for the Yukawa Android device. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'board/amlogic/sei610/sei610.c')
-rw-r--r--board/amlogic/sei610/sei610.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/amlogic/sei610/sei610.c b/board/amlogic/sei610/sei610.c
new file mode 100644
index 0000000000..b17eb9ef55
--- /dev/null
+++ b/board/amlogic/sei610/sei610.c
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2016 BayLibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include <common.h>
+#include <dm.h>
+#include <env_internal.h>
+#include <asm/io.h>
+#include <asm/arch/axg.h>
+#include <asm/arch/sm.h>
+#include <asm/arch/eth.h>
+#include <asm/arch/mem.h>
+
+int misc_init_r(void)
+{
+ meson_eth_init(PHY_INTERFACE_MODE_RMII,
+ MESON_USE_INTERNAL_RMII_PHY);
+
+ meson_generate_serial_ethaddr();
+
+ env_set("serial#", "AMLG12ASEI610");
+
+ return 0;
+}