aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-06-05 03:31:12 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-06-05 03:31:12 +0000
commit8402a8c1db1aa3d27bf030a087e0867eadca1b71 (patch)
treeabe3a17496c7903bc4ca1b176537b54dd0ecb94d
parent1c22b9419a8e3e49c47cb11c17a875c0a1972246 (diff)
downloadupstream-8402a8c1db1aa3d27bf030a087e0867eadca1b71.tar.gz
upstream-8402a8c1db1aa3d27bf030a087e0867eadca1b71.tar.bz2
upstream-8402a8c1db1aa3d27bf030a087e0867eadca1b71.zip
Sets GPIO PB28 to multi-drive (open collector) - fixes reset issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7498 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/at91-2.6/patches/011-vlink-resetfix.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/patches/011-vlink-resetfix.patch b/target/linux/at91-2.6/patches/011-vlink-resetfix.patch
new file mode 100644
index 0000000000..78ff38481e
--- /dev/null
+++ b/target/linux/at91-2.6/patches/011-vlink-resetfix.patch
@@ -0,0 +1,10 @@
+--- linux-2.6.21.1.old/arch/arm/mach-at91/board-vlink.c 2007-06-04 15:45:19.000000000 +0200
++++ linux-2.6.21.1/arch/arm/mach-at91/board-vlink.c 2007-06-05 05:27:19.000000000 +0200
+@@ -175,6 +175,7 @@
+ /* USB Device control */
+ at91_set_gpio_input(AT91_PIN_PB27, 1); // UDB_CNX
+ at91_set_gpio_output(AT91_PIN_PB28, 1); // UDB_PUP
++ at91_set_multi_drive(AT91_PIN_PB28, 1); // Set to multi-drive
+
+ }
+