summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorFabien Parent <fparent@baylibre.com>2019-07-18 19:08:09 +0200
committerTom Rini <trini@konsulko.com>2019-07-29 09:32:11 -0400
commitbb4c5d6055a6889ea8199c729c94f9e05ad6e855 (patch)
treec7707ae398eb62a5ad7c0edc95e196dd62465dc1 /board
parente66b202eb3aba9f3cf93c2a20d8f28360dfb095f (diff)
board: mediatek: Add pumpkin board support
The pumpkin board is made by Gossamer Engineering and is using a MediaTek SoC. The board currently comes in two available version: MT8516 SoC and MT8167 SoC. The board provides the following IOs: eMMC, NAND, SD card, USB type-A, Ethernet, Wi-Fi, Bluetooth, Audio (jack out, 2 PDM port, 1 analog in), serial over USB, and an expansion header. Additionally there is a HDMI port, DSI port, and camera port only on the MT8167 version of the board. The board can be powered by battery and/or via a USB Type-C port and is using a PMIC MT6392. The eMMC and NAND are sharing pins and cannot be used together. This commit is adding the basic boot support for the Pumpkin MT8516 board on the eMMC. Signed-off-by: Fabien Parent <fparent@baylibre.com>
Diffstat (limited to 'board')
-rw-r--r--board/mediatek/pumpkin/Kconfig13
-rw-r--r--board/mediatek/pumpkin/MAINTAINERS6
-rw-r--r--board/mediatek/pumpkin/Makefile3
-rw-r--r--board/mediatek/pumpkin/pumpkin.c11
4 files changed, 33 insertions, 0 deletions
diff --git a/board/mediatek/pumpkin/Kconfig b/board/mediatek/pumpkin/Kconfig
new file mode 100644
index 0000000000..34b1c0b09d
--- /dev/null
+++ b/board/mediatek/pumpkin/Kconfig
@@ -0,0 +1,13 @@
+if TARGET_MT8516
+
+config SYS_BOARD
+ default "pumpkin"
+
+config SYS_CONFIG_NAME
+ default "pumpkin"
+
+config MTK_BROM_HEADER_INFO
+ string
+ default "media=emmc"
+
+endif
diff --git a/board/mediatek/pumpkin/MAINTAINERS b/board/mediatek/pumpkin/MAINTAINERS
new file mode 100644
index 0000000000..16beadc027
--- /dev/null
+++ b/board/mediatek/pumpkin/MAINTAINERS
@@ -0,0 +1,6 @@
+Pumpkin
+M: Fabien Parent <fparent@baylibre.com>
+S: Maintained
+F: board/mediatek/pumpkin
+F: include/configs/pumpkin.h
+F: configs/pumpkin_defconfig
diff --git a/board/mediatek/pumpkin/Makefile b/board/mediatek/pumpkin/Makefile
new file mode 100644
index 0000000000..75fce4a393
--- /dev/null
+++ b/board/mediatek/pumpkin/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y += pumpkin.o
diff --git a/board/mediatek/pumpkin/pumpkin.c b/board/mediatek/pumpkin/pumpkin.c
new file mode 100644
index 0000000000..666e4d6a26
--- /dev/null
+++ b/board/mediatek/pumpkin/pumpkin.c
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2019 BayLibre SAS
+ */
+
+#include <common.h>
+
+int board_init(void)
+{
+ return 0;
+}