Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201592
b: refs/heads/master
c: 426ab49
h: refs/heads/master
v: v3
  • Loading branch information
Jason Wang authored and Sascha Hauer committed Jul 26, 2010
1 parent 8689db0 commit 1554241
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3fb53a81c73a78f31c3bddb6037adcb7d223ce4
refs/heads/master: 426ab49b3361474622e492cff949853584e3451f
15 changes: 15 additions & 0 deletions trunk/arch/arm/plat-mxc/include/mach/iomux-v3.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,21 @@ struct pad_desc {
#define PAD_CTL_SRE_FAST (1 << 0)
#define PAD_CTL_SRE_SLOW (0 << 0)


#define MX51_NUM_GPIO_PORT 4

#define GPIO_PIN_MASK 0x1f

#define GPIO_PORT_SHIFT 5
#define GPIO_PORT_MASK (0x7 << GPIO_PORT_SHIFT)

#define GPIO_PORTA (0 << GPIO_PORT_SHIFT)
#define GPIO_PORTB (1 << GPIO_PORT_SHIFT)
#define GPIO_PORTC (2 << GPIO_PORT_SHIFT)
#define GPIO_PORTD (3 << GPIO_PORT_SHIFT)
#define GPIO_PORTE (4 << GPIO_PORT_SHIFT)
#define GPIO_PORTF (5 << GPIO_PORT_SHIFT)

/*
* setups a single pad in the iomuxer
*/
Expand Down

0 comments on commit 1554241

Please sign in to comment.