summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-06-29 09:46:24 -0500
committerJohn Klug <john.klug@multitech.com>2022-06-29 09:49:31 -0500
commite80fe22bd12dbd8d4f452eb162a1c4416b7a622e (patch)
treec1a523c4c28cd03f034cbff62e4dc44759c16d80
parent1e3ad41a155b4172fcd67f77b62d92efceac49b7 (diff)
downloadmtac-e80fe22bd12dbd8d4f452eb162a1c4416b7a622e.tar.gz
mtac-e80fe22bd12dbd8d4f452eb162a1c4416b7a622e.tar.bz2
mtac-e80fe22bd12dbd8d4f452eb162a1c4416b7a622e.zip
GPIO is now done by name. Old machine dependent GPIO mapping is no longer used.
-rw-r--r--machine/sam9g25_gpio.h29
-rw-r--r--machine/ti43x_gpio.h27
2 files changed, 0 insertions, 56 deletions
diff --git a/machine/sam9g25_gpio.h b/machine/sam9g25_gpio.h
deleted file mode 100644
index 3c1ee26..0000000
--- a/machine/sam9g25_gpio.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#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
-#define M_AP1_GPIO3_MTCDT0_2 AT91_PIN_PC10
-#define M_AP1_GPIO4_MTCDT0_2 AT91_PIN_PC11
-#define M_AP1_NRESET AT91_PIN_PB12
-#define M_AP1_NINT1 AT91_PIN_PB14
-#define M_AP1_NINT2 AT91_PIN_PB15
-
-// 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_GPIO3_MTCDT0_2 AT91_PIN_PC30
-#define M_AP2_GPIO4_MTCDT0_2 AT91_PIN_PC29
-#define M_AP2_NRESET AT91_PIN_PB13
-#define M_AP2_NINT1 AT91_PIN_PB17
-#define M_AP2_NINT2 AT91_PIN_PB18
-#endif /* SAM9G25_MFSER_GPIO_H */
diff --git a/machine/ti43x_gpio.h b/machine/ti43x_gpio.h
deleted file mode 100644
index 33ca3f2..0000000
--- a/machine/ti43x_gpio.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#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 */