summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-rc32434/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-rc32434/gpio.h')
-rw-r--r--include/asm-mips/mach-rc32434/gpio.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-mips/mach-rc32434/gpio.h b/include/asm-mips/mach-rc32434/gpio.h
index f946f5f..4fe18db 100644
--- a/include/asm-mips/mach-rc32434/gpio.h
+++ b/include/asm-mips/mach-rc32434/gpio.h
@@ -61,6 +61,15 @@ struct rb532_gpio_reg {
/* PCI messaging unit */
#define RC32434_PCI_MSU_GPIO (1 << 13)
+/* NAND GPIO signals */
+#define GPIO_RDY (1 << 0x08)
+#define GPIO_WPX (1 << 0x09)
+#define GPIO_ALE (1 << 0x0a)
+#define GPIO_CLE (1 << 0x0b)
+
+/* Compact Flash GPIO pin */
+#define CF_GPIO_NUM 13
+
extern void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val);
extern unsigned get_434_reg(unsigned reg_offs);