summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/gpio.h
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-07-25 14:42:03 +0800
committerBryan Wu <bryan.wu@analog.com>2007-07-25 14:42:03 +0800
commit214cccbbb22136566e72956fcd23c48c2a4abb33 (patch)
treef466a873939a8769b86c802b960584fb3695857f /include/asm-blackfin/gpio.h
parent31430ba58a3c33cf32aa89117876f6e24f1b9a6e (diff)
downloadop-kernel-dev-214cccbbb22136566e72956fcd23c48c2a4abb33.zip
op-kernel-dev-214cccbbb22136566e72956fcd23c48c2a4abb33.tar.gz
Blackfin arch: bug fixing, add missing BF533_FAMILY GPIO_PFx definition
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/gpio.h')
-rw-r--r--include/asm-blackfin/gpio.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h
index e714363..dd203cd 100644
--- a/include/asm-blackfin/gpio.h
+++ b/include/asm-blackfin/gpio.h
@@ -144,6 +144,24 @@
#ifdef BF533_FAMILY
#define MAX_BLACKFIN_GPIOS 16
+
+#define GPIO_PF0 0
+#define GPIO_PF1 1
+#define GPIO_PF2 2
+#define GPIO_PF3 3
+#define GPIO_PF4 4
+#define GPIO_PF5 5
+#define GPIO_PF6 6
+#define GPIO_PF7 7
+#define GPIO_PF8 8
+#define GPIO_PF9 9
+#define GPIO_PF10 10
+#define GPIO_PF11 11
+#define GPIO_PF12 12
+#define GPIO_PF13 13
+#define GPIO_PF14 14
+#define GPIO_PF15 15
+
#endif
#ifdef BF537_FAMILY
OpenPOWER on IntegriCloud