From 8afd4ea5b9d5d9a18db4e9fee16d89999711d205 Mon Sep 17 00:00:00 2001 From: Loic Devulder Date: Wed, 3 Oct 2018 12:02:07 +0200 Subject: ARM: meson: Add Khadas VIM2 board support This adds platform code for the Khadas VIM2 board based on a Meson GXM (S912) SoC with the Meson GXM configuration. This initial submission supports UART, MMC/SDCard and Ethernet. USB is partially supported. All the code is from Neil Armstrong! I just rebased the code, do some cleanup and tested on my board. Signed-off-by: Neil Armstrong Signed-off-by: Loic Devulder Acked-by: Neil Armstrong --- include/configs/khadas-vim2.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/configs/khadas-vim2.h (limited to 'include') diff --git a/include/configs/khadas-vim2.h b/include/configs/khadas-vim2.h new file mode 100644 index 0000000000..7ef8f42bd2 --- /dev/null +++ b/include/configs/khadas-vim2.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Configuration for Khadas VIM2 + * + * Copyright (C) 2017 Baylibre, SAS + * Author: Neil Armstrong + */ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#define CONFIG_MISC_INIT_R + +#define MESON_FDTFILE_SETTING "fdtfile=amlogic/meson-gxm-khadas-vim2.dtb\0" + +#include + +#endif /* __CONFIG_H */ -- cgit