summaryrefslogtreecommitdiff
path: root/arch/blackfin/include/mach-common/ports-j.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-26 05:11:10 +0400
committerMike Frysinger <vapier@gentoo.org>2011-01-10 15:18:06 +0300
commit4de2bf8786ec8ec9a45b556e1ddf5c80c807a361 (patch)
tree7ac3dbd87b81d207c8417b5e581122ff5dba0fa4 /arch/blackfin/include/mach-common/ports-j.h
parent9887f41533c860777b2fcf2eccf04f95980ab52a (diff)
downloadlinux-4de2bf8786ec8ec9a45b556e1ddf5c80c807a361.tar.xz
Blackfin: push gpio (port) defines into common headers
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/mach-common/ports-j.h')
-rw-r--r--arch/blackfin/include/mach-common/ports-j.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/blackfin/include/mach-common/ports-j.h b/arch/blackfin/include/mach-common/ports-j.h
new file mode 100644
index 000000000000..924123ecec5a
--- /dev/null
+++ b/arch/blackfin/include/mach-common/ports-j.h
@@ -0,0 +1,25 @@
+/*
+ * Port J Masks
+ */
+
+#ifndef __BFIN_PERIPHERAL_PORT_J__
+#define __BFIN_PERIPHERAL_PORT_J__
+
+#define PJ0 (1 << 0)
+#define PJ1 (1 << 1)
+#define PJ2 (1 << 2)
+#define PJ3 (1 << 3)
+#define PJ4 (1 << 4)
+#define PJ5 (1 << 5)
+#define PJ6 (1 << 6)
+#define PJ7 (1 << 7)
+#define PJ8 (1 << 8)
+#define PJ9 (1 << 9)
+#define PJ10 (1 << 10)
+#define PJ11 (1 << 11)
+#define PJ12 (1 << 12)
+#define PJ13 (1 << 13)
+#define PJ14 (1 << 14)
+#define PJ15 (1 << 15)
+
+#endif