[PATCH v3] sunxi: a64: Add a defconfig for the PinePhone
Samuel Holland
samuel at sholland.org
Tue Nov 3 04:32:50 CET 2020
The PinePhone is a smartphone produced by Pine64, with an A64 SoC,
2 or 3 GiB LPDDR3 RAM, 16 or 32 GiB eMMC, 720x1440 MIPI-DSI panel,
and Quectel EG25-G modem.
There are two main board revisions: 1.1 for early adopters, and 1.2
for mass production. Since there is code to detect the board revision
at boot, one config/image can support both boards.
Acked-by: Maxime Ripard <mripard at kernel.org>
Signed-off-by: Samuel Holland <samuel at sholland.org>
---
Changes v2->v3:
- All other patches merged
- Added entry to MAINTAINERS
Changes v1->v2:
- Regenerated defconfig with `make savedefconfig`
- Added Acked-by tag
board/sunxi/MAINTAINERS | 5 +++++
configs/pinephone_defconfig | 12 ++++++++++++
2 files changed, 17 insertions(+)
create mode 100644 configs/pinephone_defconfig
diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index 1180b86db3..d3755ae41a 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -451,6 +451,11 @@ M: Icenowy Zheng <icenowy at aosc.io>
S: Maintained
F: configs/pine_h64_defconfig
+PINEPHONE BOARD
+M: Samuel Holland <samuel at sholland.org>
+S: Maintained
+F: configs/pinephone_defconfig
+
R16 EVB PARROT BOARD
M: Quentin Schulz <quentin.schulz at free-electrons.com>
S: Maintained
diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
new file mode 100644
index 0000000000..64ecef59c9
--- /dev/null
+++ b/configs/pinephone_defconfig
@@ -0,0 +1,12 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN50I=y
+CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
+CONFIG_DRAM_CLK=552
+CONFIG_DRAM_ZQ=3881949
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_PINEPHONE_DT_SELECTION=y
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone-1.2"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_OF_LIST="sun50i-a64-pinephone-1.1 sun50i-a64-pinephone-1.2"
--
2.26.2
More information about the U-Boot
mailing list