summaryrefslogtreecommitdiff
path: root/machine/ti43x_gpio.h
blob: 33ca3f25bfb1ebea4a2b790782cb0da41b0dff67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TI43X_MFSER_GPIO_H
#define TI43X_MFSER_GPIO_H

#define OMAP_GPIO(BANK, GPIO) ((BANK*32)+GPIO)

// M_* for machine specific GPIO pin

// gpio pins for Accessory Card 1
#define M_AP1_GPIO1 OMAP_GPIO(1,0)
#define M_AP1_GPIO2 OMAP_GPIO(3,24)
#define M_AP1_GPIO3 OMAP_GPIO(3,25)
#define M_AP1_GPIO4 OMAP_GPIO(0,24)
#define M_AP1_LBTRESET OMAP_GPIO(2,22)
#define M_AP1_NRESET OMAP_GPIO(1,1)
#define M_AP1_NINT1 OMAP_GPIO(2,4)
#define M_AP1_NINT2 OMAP_GPIO(2,5)

// gpio pins for Accessory Card 2
#define M_AP2_GPIO1 OMAP_GPIO(3,19)
#define M_AP2_GPIO2 OMAP_GPIO(3,16)
#define M_AP2_GPIO3 OMAP_GPIO(3,20)
#define M_AP2_GPIO4 OMAP_GPIO(0,19)
#define M_AP2_LBTRESET OMAP_GPIO(2,13)
#define M_AP2_NRESET OMAP_GPIO(5,29)
#define M_AP2_NINT1 OMAP_GPIO(3,17)
#define M_AP2_NINT2 OMAP_GPIO(3,18)
#endif  /* TI MTCDT3-BB */