From e80fe22bd12dbd8d4f452eb162a1c4416b7a622e Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 29 Jun 2022 09:46:24 -0500 Subject: GPIO is now done by name. Old machine dependent GPIO mapping is no longer used. --- machine/ti43x_gpio.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 machine/ti43x_gpio.h (limited to 'machine/ti43x_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 */ -- cgit v1.2.3