From eee45b4f545902a9089f68331c925898da813ac0 Mon Sep 17 00:00:00 2001 From: Thomas McKahan Date: Mon, 25 Jun 2018 16:50:17 +0200 Subject: 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 Signed-off-by: Thomas McKahan Signed-off-by: Neil Armstrong --- include/configs/nanopi-k2.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/configs/nanopi-k2.h (limited to 'include') diff --git a/include/configs/nanopi-k2.h b/include/configs/nanopi-k2.h new file mode 100644 index 00000000000..f7ecb7be18a --- /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 + +#endif /* __CONFIG_H */ -- cgit v1.2.3