Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208626
b: refs/heads/master
c: 8ae807c
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Egger authored and Eric Miao committed Aug 5, 2010
1 parent 45132c4 commit 03d56e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13a542475d1c62a12c77abfa83a790245598fc61
refs/heads/master: 8ae807c581338bc7d0b870bfb4c8caac3772ca64
12 changes: 1 addition & 11 deletions trunk/arch/arm/mach-pxa/include/mach/gumstix.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,15 @@

/*
GPIOn - Input from MAX823 (or equiv), normalizing USB +5V into a clean
interrupt signal for determining cable presence. On the original gumstix,
this is GPIO81, and GPIO83 needs to be defined as well. On the gumstix F,
interrupt signal for determining cable presence. On the gumstix F,
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. */

#ifdef CONFIG_ARCH_GUMSTIX_ORIG

#define GPIO_GUMSTIX_USB_GPIOn 81
#define GPIO_GUMSTIX_USB_GPIOx 83

#else

#define GPIO_GUMSTIX_USB_GPIOn 35
#define GPIO_GUMSTIX_USB_GPIOx 41

#endif

/* usb state change */
#define GUMSTIX_USB_INTR_IRQ IRQ_GPIO(GPIO_GUMSTIX_USB_GPIOn)

Expand Down

0 comments on commit 03d56e0

Please sign in to comment.