summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas McKahan <tonymckahan@gmail.com>2018-06-25 16:50:17 +0200
committerTom Rini <trini@konsulko.com>2018-07-19 16:17:58 -0400
commiteee45b4f545902a9089f68331c925898da813ac0 (patch)
treeb2c0e6e3a685338dd6b164fb0fb2e9fb4a4552f9 /include
parent9c7ad1ed012b7c80d3c9e57e9baf65edd8049d3b (diff)
boards: amlogic: Add FriendlyElec NanoPi K2 board support
This adds platform code for the FriendlyElec NanoPi K2 board based on a Meson GXBB (S905) SoC with the Meson GXBB configuration. This initial submission only supports: - UART - MMC/SDCard - Ethernet - Reset Controller - Clock controller Cc: Yuefei Tan <yftan@friendlyarm.com> Signed-off-by: Thomas McKahan <tonymckahan@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/nanopi-k2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/configs/nanopi-k2.h b/include/configs/nanopi-k2.h
new file mode 100644
index 0000000000..f7ecb7be18
--- /dev/null
+++ b/include/configs/nanopi-k2.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Configuration for NANOPI-K2
+ * (C) Copyright 2018 Thomas McKahan
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_MISC_INIT_R
+
+/* Serial setup */
+
+#define MESON_FDTFILE_SETTING "fdtfile=amlogic/meson-gxbb-nanopi-k2.dtb\0"
+
+#include <configs/meson-gx-common.h>
+
+#endif /* __CONFIG_H */