From 9a6b7b04a1c8d5c3d2445e4811d075416a7aa529 Mon Sep 17 00:00:00 2001 From: hcg Date: Tue, 5 Jun 2007 03:31:12 +0000 Subject: 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 --- target/linux/at91-2.6/patches/011-vlink-resetfix.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/at91-2.6/patches/011-vlink-resetfix.patch (limited to 'target/linux/at91-2.6/patches') 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 000000000..78ff38481 --- /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 + + } + -- cgit v1.2.3