aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2016-03-29 11:42:14 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2016-03-29 11:42:14 +0000
commit73b5446e9a64adb1cc55da1982447251babe2076 (patch)
treedda18363491e6f9961f7bf8f0aa01fab18bf5cc3 /package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch
parent5c2c0d25018a6207430e6199ce068ae723ae98d3 (diff)
downloadmaster-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.tar.gz
master-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.tar.bz2
master-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.zip
package: uboot-sunxi: various changes
- bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49089 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch b/package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch
new file mode 100644
index 0000000000..4d2a583d06
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch
@@ -0,0 +1,35 @@
+From ce0d0926758f631fdd655d438acd32d5935d43a4 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Fri, 18 Mar 2016 08:45:21 +0100
+Subject: [PATCH] sunxi: Specify USB vbus pins for orangepi boards
+
+This fixes the USB ports not working on the orangepi_plus and stops us
+from messing with gpio-s which we should not touch on the orangepi_pc.
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Acked-by: Ian Campbell <ijc@hellion.org.uk>
+---
+ configs/orangepi_pc_defconfig | 3 +++
+ configs/orangepi_plus_defconfig | 1 +
+ 2 files changed, 4 insertions(+)
+
+diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
+index aaf0f68..4e9051d 100644
+--- a/configs/orangepi_pc_defconfig
++++ b/configs/orangepi_pc_defconfig
+@@ -14,3 +14,6 @@ CONFIG_SPL=y
+ CONFIG_CMD_GPIO=y
+ CONFIG_SY8106A_POWER=y
+ CONFIG_USB_EHCI_HCD=y
++CONFIG_USB1_VBUS_PIN=""
++CONFIG_USB2_VBUS_PIN=""
++CONFIG_USB3_VBUS_PIN=""
+diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig
+index e52dcfc..6ecb30e 100644
+--- a/configs/orangepi_plus_defconfig
++++ b/configs/orangepi_plus_defconfig
+@@ -14,3 +14,4 @@ CONFIG_SPL=y
+ CONFIG_CMD_GPIO=y
+ CONFIG_SY8106A_POWER=y
+ CONFIG_USB_EHCI_HCD=y
++CONFIG_USB1_VBUS_PIN="PG13"