X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d4db749fd7871921ff4a6aeb6e9631c641851998..3329b43e7655951c4b496eb7c24b2af096fcbef7:/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch?ds=sidebyside diff --git a/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch b/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch index 570a40354..ff94cb6b4 100644 --- a/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch +++ b/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch @@ -23,9 +23,9 @@ Signed-off-by: Bobby Powers /* BTRESET - Reset line to Bluetooth module, active low signal. */ #define GPIO_GUMSTIX_BTRESET 7 -@@ -28,9 +31,18 @@ has detected a cable insertion; driven l - - #else +@@ -20,9 +23,18 @@ this moves to GPIO17 and GPIO37. */ + /* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn + has detected a cable insertion; driven low otherwise. */ +#ifndef CONFIG_MACH_GUMSTIX_VERDEX + @@ -34,15 +34,15 @@ Signed-off-by: Bobby Powers +#else + -+#define GPIO_GUMSTIX_USB_GPIOn 100 -+#define GPIO_GUMSTIX_USB_GPIOx 27 ++#define GPIO_GUMSTIX_USB_GPIOn 100 ++#define GPIO_GUMSTIX_USB_GPIOx 27 + +#endif + - #endif - /* usb state change */ -@@ -52,48 +64,136 @@ has detected a cable insertion; driven l + #define GUMSTIX_USB_INTR_IRQ IRQ_GPIO(GPIO_GUMSTIX_USB_GPIOn) + +@@ -42,48 +54,136 @@ has detected a cable insertion; driven l * ETH_RST provides a hardware reset line to the ethernet chip * ETH is the IRQ line in from the ethernet chip to the PXA */