summaryrefslogtreecommitdiff
path: root/machine/sam9g25_mfser_gpio.h
blob: 1f94a835683da2b7e1cd21f36b7bbc4a7ef3acbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SAM9G25_MFSER_GPIO_H
#define SAM9G25_MFSER_GPIO_H

#include <linux/at91gpio.h>

// M_* for machine specific GPIO pin

// gpio pins for Accessory Card 1
#define M_AP1_GPIO1 AT91_PIN_PC6
#define M_AP1_GPIO2 AT91_PIN_PC7
#define M_AP1_GPIO3 AT91_PIN_PC8
#define M_AP1_GPIO4 AT91_PIN_PC9

// gpio pins for Accessory Card 2
#define M_AP2_GPIO1 AT91_PIN_PC20
#define M_AP2_GPIO2 AT91_PIN_PC21
#define M_AP2_GPIO3 AT91_PIN_PC22
#define M_AP2_GPIO4 AT91_PIN_PC23
#endif  /* SAM9G25_MFSER_GPIO_H */