packages: uboot-sunxi: fix SATA powerup on Bananapro
[openwrt/openwrt.git] / package / boot / uboot-sunxi / patches / 020-fix-bananapro-sata-LDO4.patch
1 From 54be0f057825b886af008d8d43a97802e5537ab6 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Fri, 22 Jan 2016 14:55:47 +0100
4 Subject: [PATCH] sunxi: Bananapro: Set LDO4 to 2.5V
5
6 According to the Bananapro schematic VDD25-SATA either comes from a
7 dedicated WL2003E25-5 LTO, or it is connected to LDO4 via a
8 0 Ohm resistor.
9
10 In practice it seems that LDO4 is used, so enable it and set it to 2.5V.
11
12 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 ---
14 configs/Bananapro_defconfig | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig
18 index 40588b9..4f4a07b 100644
19 --- a/configs/Bananapro_defconfig
20 +++ b/configs/Bananapro_defconfig
21 @@ -17,3 +17,4 @@ CONFIG_CMD_GPIO=y
22 CONFIG_NETCONSOLE=y
23 CONFIG_ETH_DESIGNWARE=y
24 CONFIG_USB_EHCI_HCD=y
25 +CONFIG_AXP_ALDO4_VOLT=2500