From e5e990fd4f049b14da23c3909f28ca4a09ab3b0e Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 23 Jun 2018 06:40:01 +0200 Subject: [PATCH] chg: adjustment to RDV40 gpios, since it make use of some previous used for other things.. --- include/config_gpio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/config_gpio.h b/include/config_gpio.h index a30ef0635..cfcb56399 100644 --- a/include/config_gpio.h +++ b/include/config_gpio.h @@ -20,6 +20,7 @@ #define GPIO_LED_B AT91C_PIO_PA8 #define GPIO_LED_C AT91C_PIO_PA9 +// defines for flash mem, or rdv40 ? // flashmem hooked on PA10 //#define GPIO_NCS2 AT91C_PIO_PA1 #define GPIO_NCS2 AT91C_PA10_NPCS2 @@ -34,8 +35,17 @@ #define GPIO_SSC_DIN AT91C_PA18_RD #define GPIO_MUXSEL_HIPKD AT91C_PIO_PA19 #define GPIO_MUXSEL_LOPKD AT91C_PIO_PA20 + + #define GPIO_MUXSEL_HIRAW AT91C_PIO_PA21 #define GPIO_MUXSEL_LORAW AT91C_PIO_PA22 + +// RDV40 has no HIRAW/LORAW, its used for FPC +#ifdef WITH_FPC +#define GPIO_FPC_RDX AT91C_PA21_RXD1 +#define GPIO_FPC_TDX AT91C_PA22_TXD1 +#endif + #define GPIO_BUTTON AT91C_PIO_PA23 #define GPIO_USB_PU AT91C_PIO_PA24 #define GPIO_RELAY AT91C_PIO_PA25