aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/gpio.h')
-rw-r--r--include/asm-blackfin/gpio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h
index d98d77ad71f7..bc0cca02850b 100644
--- a/include/asm-blackfin/gpio.h
+++ b/include/asm-blackfin/gpio.h
@@ -204,6 +204,10 @@
204 204
205#endif 205#endif
206 206
207#ifdef BF548_FAMILY
208#include <asm-blackfin/mach-bf548/gpio.h>
209#endif
210
207#ifdef BF561_FAMILY 211#ifdef BF561_FAMILY
208#define MAX_BLACKFIN_GPIOS 48 212#define MAX_BLACKFIN_GPIOS 48
209#define PORT_FIO0 GPIO_0 213#define PORT_FIO0 GPIO_0
@@ -264,6 +268,7 @@ unsigned short get_gpiop_maska(unsigned short);
264unsigned short get_gpiop_maskb(unsigned short); 268unsigned short get_gpiop_maskb(unsigned short);
265unsigned short get_gpiop_data(unsigned short); 269unsigned short get_gpiop_data(unsigned short);
266 270
271#ifndef BF548_FAMILY
267struct gpio_port_t { 272struct gpio_port_t {
268 unsigned short data; 273 unsigned short data;
269 unsigned short dummy1; 274 unsigned short dummy1;
@@ -299,6 +304,7 @@ struct gpio_port_t {
299 unsigned short dummy16; 304 unsigned short dummy16;
300 unsigned short inen; 305 unsigned short inen;
301}; 306};
307#endif
302 308
303#ifdef CONFIG_PM 309#ifdef CONFIG_PM
304#define PM_WAKE_RISING 0x1 310#define PM_WAKE_RISING 0x1