summaryrefslogtreecommitdiff
path: root/arch
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 /arch
parent9c7ad1ed012b7c80d3c9e57e9baf65edd8049d3b (diff)
downloadu-boot-eee45b4f545902a9089f68331c925898da813ac0.tar.gz
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 'arch')
-rw-r--r--arch/arm/dts/Makefile1
-rw-r--r--arch/arm/mach-meson/Kconfig8
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index f8605887e8..016c54da77 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -55,6 +55,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
dtb-$(CONFIG_ARCH_MESON) += \
meson-gxbb-nanopi-k2.dtb \
meson-gxbb-odroidc2.dtb \
+ meson-gxbb-nanopi-k2.dtb \
meson-gxl-s905x-p212.dtb \
meson-gxl-s905x-libretech-cc.dtb \
meson-gxl-s905x-khadas-vim.dtb
diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index 9a06ccc861..cc3383a7e2 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -29,6 +29,12 @@ config TARGET_ODROID_C2
with 2 GiB of RAM, Gigabit Ethernet, HDMI, 4 USB, micro-SD
slot, eMMC, IR receiver and a 40-pin GPIO header.
+config TARGET_NANOPI_K2
+ bool "NANOPI_K2"
+ help
+ NANOPI_K2 is a single board computer based on Meson GXBaby
+ with 2 GiB of RAM, Gigabit Ethernet,AP6212 Wifi, HDMI, 4 USB,
+ micro-SD slot, eMMC, IR receiver and a 40-pin GPIO header.
endif
if MESON_GXL
@@ -64,6 +70,8 @@ config SYS_MALLOC_F_LEN
source "board/amlogic/odroid-c2/Kconfig"
+source "board/amlogic/nanopi-k2/Kconfig"
+
source "board/amlogic/p212/Kconfig"
source "board/amlogic/libretech-cc/Kconfig"