sunxi: A20-OLinuXino-Lime2 USB0 VBUS detect and enable pins
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 29 Mar 2015 09:19:48 +0000 (11:19 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 Apr 2015 14:17:18 +0000 (16:17 +0200)
This allows enabling MUSB (on the OTG port).

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/A20-OLinuXino-Lime2_defconfig

index 1f4fa123dbc0ae58ec85d2e27f2fe73717f2f710..4fcff923ba7c3470f4fa0ea166c7d86669de7fc0 100644 (file)
@@ -2,6 +2,8 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3),USB_EHCI"
 CONFIG_FDTFILE="sun7i-a20-olinuxino-lime2.dtb"
 CONFIG_MMC0_CD_PIN="PH1"
+CONFIG_USB0_VBUS_PIN="PC17"
+CONFIG_USB0_VBUS_DET="PH5"
 CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN7I=y