aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-09-08 21:14:20 +0200
committerAndre Przywara <andre.przywara@arm.com>2021-10-11 10:46:44 +0100
commit0534153fd14115cf66d33c2b841c1ac6048aed60 (patch)
tree537526549279dbeba77d9d78b8c52b5e187e9e19
parent8f872bb37dc216785822b77d4421dc7f782e236c (diff)
downloadu-boot-0534153fd14115cf66d33c2b841c1ac6048aed60.zip
u-boot-0534153fd14115cf66d33c2b841c1ac6048aed60.tar.gz
u-boot-0534153fd14115cf66d33c2b841c1ac6048aed60.tar.bz2
pinephone_defconfig: add support for early-boot status LED
This commit enables the green status LED (PD18/GPIO 114) on boot in the SPL, in order to provide visual feedback that the PinePhone is booting. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Samuel Holland <samuel@sholland.org> Tested-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r--configs/pinephone_defconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
index 64e13d3..9d39204 100644
--- a/configs/pinephone_defconfig
+++ b/configs/pinephone_defconfig
@@ -1,6 +1,7 @@
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone-1.2"
+CONFIG_SPL_DRIVERS_MISC=y
CONFIG_SPL=y
CONFIG_MACH_SUN50I=y
CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
@@ -10,3 +11,8 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_PINEPHONE_DT_SELECTION=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_OF_LIST="sun50i-a64-pinephone-1.1 sun50i-a64-pinephone-1.2"
+CONFIG_LED_STATUS=y
+CONFIG_LED_STATUS_GPIO=y
+CONFIG_LED_STATUS0=y
+CONFIG_LED_STATUS_BIT=114
+CONFIG_LED_STATUS_STATE=2