aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-15 12:07:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-15 12:07:58 +0000
commita64c102618b460239efd7ce51dbda6cfebfd88bc (patch)
treeba4766b5da5a20d4a62ded937e4acf8efd8d38c8 /target/linux/ar71xx/files/include
parent1edcc1f086259975e9f6f66227af37dcc26bd10f (diff)
downloadupstream-a64c102618b460239efd7ce51dbda6cfebfd88bc.tar.gz
upstream-a64c102618b460239efd7ce51dbda6cfebfd88bc.tar.bz2
upstream-a64c102618b460239efd7ce51dbda6cfebfd88bc.zip
ar71xx: add GPIO driver for the NXP 74HC153 chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/linux/nxp_74hc153.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/linux/nxp_74hc153.h b/target/linux/ar71xx/files/include/linux/nxp_74hc153.h
new file mode 100644
index 0000000000..20b8845e53
--- /dev/null
+++ b/target/linux/ar71xx/files/include/linux/nxp_74hc153.h
@@ -0,0 +1,24 @@
+/*
+ * NXP 74HC153 - Dual 4-input multiplexer defines
+ *
+ * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _NXP_74HC153_H
+#define _NXP_74HC153_H
+
+#define NXP_74HC153_DRIVER_NAME "nxp-74hc153"
+
+struct nxp_74hc153_platform_data {
+ unsigned gpio_base;
+ unsigned gpio_pin_s0;
+ unsigned gpio_pin_s1;
+ unsigned gpio_pin_1y;
+ unsigned gpio_pin_2y;
+};
+
+#endif /* _NXP_74HC153_H */