summaryrefslogtreecommitdiff
path: root/board/sunxi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-07 15:26:06 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:40 +0100
commit4458b7a6e1a601386fce1b76f17a1d41dd7aeddb (patch)
treeb113b344312743558aa390f8c582f06d4ed47948 /board/sunxi
parent0eccec4ef1431aafb8d67118c515703e6a7f7a3e (diff)
downloadu-boot-imx-4458b7a6e1a601386fce1b76f17a1d41dd7aeddb.zip
u-boot-imx-4458b7a6e1a601386fce1b76f17a1d41dd7aeddb.tar.gz
u-boot-imx-4458b7a6e1a601386fce1b76f17a1d41dd7aeddb.tar.bz2
sunxi: usbc: Add support for usb0 to the common usbc code
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index c5105bb..6a4d764 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -267,6 +267,13 @@ config MMC_SUNXI_SLOT_EXTRA
slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
support for this.
+config USB0_VBUS_PIN
+ string "Vbus enable pin for usb0 (otg)"
+ default ""
+ ---help---
+ Set the Vbus enable pin for usb0 (otg). This takes a string in the
+ format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
+
config USB1_VBUS_PIN
string "Vbus enable pin for usb1 (ehci0)"
default "PH6" if MACH_SUN4I || MACH_SUN7I