浏览代码

Blackfin arch: bug fixing, add missing BF533_FAMILY GPIO_PFx definition

Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Bryan Wu 18 年之前
父节点
当前提交
214cccbbb2
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      include/asm-blackfin/gpio.h

+ 18 - 0
include/asm-blackfin/gpio.h

@@ -144,6 +144,24 @@
 
 
 #ifdef BF533_FAMILY
 #ifdef BF533_FAMILY
 #define MAX_BLACKFIN_GPIOS 16
 #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
 #endif
 
 
 #ifdef BF537_FAMILY
 #ifdef BF537_FAMILY