From 61cbfaa050906f978151679f18a8effeedb22499 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 2 Oct 2020 12:58:37 -0500 Subject: Add MTAC Slot Pinout to mtac driver --- machine/sam9g25_gpio.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 machine/sam9g25_gpio.h (limited to 'machine/sam9g25_gpio.h') diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h new file mode 100644 index 0000000..4e0132e --- /dev/null +++ b/machine/sam9g25_gpio.h @@ -0,0 +1,21 @@ +#ifndef SAM9G25_MFSER_GPIO_H +#define SAM9G25_MFSER_GPIO_H + +#include + +// 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 +#define M_AP1_NRESET AT91_PIN_PB12 + +// 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 +#define M_AP2_NRESET AT91_PIN_PB13 +#endif /* SAM9G25_MFSER_GPIO_H */ \ No newline at end of file -- cgit v1.2.3