We recently gained a simple way to enable a power LED very early in the SPL boot, through simple Kconfig variables. Add those symbols to those boards' defconfigs where the DT indicates a default-on power LED. The number used is <port bank> * 32 + <pin no>, an active low setup means CONFIG_SPL_SUNXI_LED_STATUS_ACTIVE_HIGH must be undefined. This will light up the power LED very early in the (SPL) boot phase on those 64-bit boards. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Paul Kocialkowski <paulk@sys-base.io>
30 lines
851 B
Plaintext
30 lines
851 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun50i-h313-tanix-tx1"
|
|
CONFIG_SPL=y
|
|
CONFIG_DRAM_SUNXI_DX_ODT=0x06060606
|
|
CONFIG_DRAM_SUNXI_DX_DRI=0x0d0d0d0d
|
|
CONFIG_DRAM_SUNXI_CA_DRI=0x1919
|
|
CONFIG_DRAM_SUNXI_ODT_EN=0x9988eeee
|
|
CONFIG_DRAM_SUNXI_TPR6=0x2fb08080
|
|
CONFIG_DRAM_SUNXI_TPR10=0x402f4469
|
|
CONFIG_DRAM_SUNXI_TPR11=0x0e0f0d0d
|
|
CONFIG_DRAM_SUNXI_TPR12=0x11131213
|
|
CONFIG_MACH_SUN50I_H616=y
|
|
CONFIG_SUNXI_DRAM_H616_LPDDR3=y
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_R_I2C_ENABLE=y
|
|
CONFIG_SPL_SUNXI_LED_STATUS=y
|
|
CONFIG_SPL_SUNXI_LED_STATUS_GPIO=231
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SPL_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
|
CONFIG_AXP313_POWER=y
|
|
CONFIG_AXP_DCDC3_VOLT=1200
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|