pmaports/device/testing/u-boot-pocketbook-614-plus/0002-ARM-add-defconfig-for-PocketBook-614-Plus.patch
Denis Burkov 59f889ceb7
pocketbook-614-plus: new device (MR 4901)
[ci:skip-build]: already built successfully in CI
2024-03-13 21:33:28 +01:00

46 lines
1.3 KiB
Diff

From 2173a3cefb958508008cf6f8f9bdc2540b443465 Mon Sep 17 00:00:00 2001
From: Denis Burkov <hitechshell@mail.ru>
Date: Mon, 11 Mar 2024 19:24:48 +0500
Subject: [PATCH] ARM: add defconfig for PocketBook 614 Plus
---
configs/A13-pocketbook614plus_defconfig | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 configs/A13-pocketbook614plus_defconfig
diff --git a/configs/A13-pocketbook614plus_defconfig b/configs/A13-pocketbook614plus_defconfig
new file mode 100644
index 0000000000..2746b866ba
--- /dev/null
+++ b/configs/A13-pocketbook614plus_defconfig
@@ -0,0 +1,27 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-pocketbook-614-plus"
+CONFIG_SPL=y
+CONFIG_MACH_SUN5I=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_EMR1=0
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_AXP_GPIO=y
+CONFIG_REGULATOR_AXP_USB_POWER=y
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_ID_DET="PG02"
+CONFIG_USB1_VBUS_PIN="PG11"
+
+CONFIG_SPL_I2C=y
+CONFIG_CMD_DFU=y
+CONFIG_CMD_USB_MASS_STORAGE=y
+CONFIG_DFU_RAM=y
+CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
+CONFIG_AXP_ALDO3_VOLT=3300
+CONFIG_CONS_INDEX=2
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
--
2.43.0