summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-11-27 10:16:19 +0100
committerTom Rini <trini@konsulko.com>2017-12-04 09:59:03 -0500
commit96e7b5a174365c87adabbafed56f2258de04b207 (patch)
tree1ce902ff9ab913c54b872e5c4e26bd231ecd17bb /include
parentf49638e9f9b8c3fe282c2305a8272944b5debe33 (diff)
arm: Add LibreTech CC support based on Meson GXL family
This adds platform code for the Libre Computer CC "Le Potato" board based on a Meson GXL (S905X) SoC with the Meson GXL configuration. This initial submission supports UART, MMC/SDCard and Ethernet with the Internal RMII PHY. The meson-gxl-s905x-libretech-cc.dts is synchronised from the linux 4.13 stable tree as of 4.13.8. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/libretech-cc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/libretech-cc.h b/include/configs/libretech-cc.h
new file mode 100644
index 0000000000..ffaca2648b
--- /dev/null
+++ b/include/configs/libretech-cc.h
@@ -0,0 +1,21 @@
+/*
+ * Configuration for LibreTech CC
+ *
+ * Copyright (C) 2017 Baylibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_MISC_INIT_R
+
+#define CONFIG_PHY_ADDR 8
+
+#define MESON_FDTFILE_SETTING "fdtfile=amlogic/meson-gxl-s905x-libretech-cc.dtb\0"
+
+#include <configs/meson-gxbb-common.h>
+
+#endif /* __CONFIG_H */