diff options
author | John Klug <john.klug@multitech.com> | 2020-10-02 11:38:47 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-02 11:38:47 -0500 |
commit | a0f2265f433f14f0e0afa768b098ff4a54b2b27a (patch) | |
tree | 4379b0f71aa79439978129b7ff59711bcad3fcbb /machine/ti43x_mfser_gpio.h | |
parent | 3f05329be8476d12900ce31e78bb48a8f38a9761 (diff) | |
download | mtac-mfser-a0f2265f433f14f0e0afa768b098ff4a54b2b27a.tar.gz mtac-mfser-a0f2265f433f14f0e0afa768b098ff4a54b2b27a.tar.bz2 mtac-mfser-a0f2265f433f14f0e0afa768b098ff4a54b2b27a.zip |
Add TI Processer GPIO's to MTAC-MFSER module
Diffstat (limited to 'machine/ti43x_mfser_gpio.h')
-rw-r--r-- | machine/ti43x_mfser_gpio.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/machine/ti43x_mfser_gpio.h b/machine/ti43x_mfser_gpio.h new file mode 100644 index 0000000..ce227e7 --- /dev/null +++ b/machine/ti43x_mfser_gpio.h @@ -0,0 +1,19 @@ +#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(0,24) +#define M_AP1_GPIO3 OMAP_GPIO(0,23) +#define M_AP1_GPIO4 OMAP_GPIO(0,22) + +// 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) +#endif /* SAM9G25_MFSER_GPIO_H */
\ No newline at end of file |