aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-rc32434
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-rc32434')
-rw-r--r--include/asm-mips/mach-rc32434/gpio.h9
-rw-r--r--include/asm-mips/mach-rc32434/irq.h5
2 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-mips/mach-rc32434/gpio.h b/include/asm-mips/mach-rc32434/gpio.h
index f946f5f45bbb..4fe18dbacaf7 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 {
61/* PCI messaging unit */ 61/* PCI messaging unit */
62#define RC32434_PCI_MSU_GPIO (1 << 13) 62#define RC32434_PCI_MSU_GPIO (1 << 13)
63 63
64/* NAND GPIO signals */
65#define GPIO_RDY (1 << 0x08)
66#define GPIO_WPX (1 << 0x09)
67#define GPIO_ALE (1 << 0x0a)
68#define GPIO_CLE (1 << 0x0b)
69
70/* Compact Flash GPIO pin */
71#define CF_GPIO_NUM 13
72
64 73
65extern void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val); 74extern void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val);
66extern unsigned get_434_reg(unsigned reg_offs); 75extern unsigned get_434_reg(unsigned reg_offs);
diff --git a/include/asm-mips/mach-rc32434/irq.h b/include/asm-mips/mach-rc32434/irq.h
index cb9e4725f5dc..d68318b6b76d 100644
--- a/include/asm-mips/mach-rc32434/irq.h
+++ b/include/asm-mips/mach-rc32434/irq.h
@@ -5,4 +5,9 @@
5 5
6#include <asm/mach-generic/irq.h> 6#include <asm/mach-generic/irq.h>
7 7
8#define ETH0_DMA_RX_IRQ (GROUP1_IRQ_BASE + 0)
9#define ETH0_DMA_TX_IRQ (GROUP1_IRQ_BASE + 1)
10#define ETH0_RX_OVR_IRQ (GROUP3_IRQ_BASE + 9)
11#define ETH0_TX_UND_IRQ (GROUP3_IRQ_BASE + 10)
12
8#endif /* __ASM_RC32434_IRQ_H */ 13#endif /* __ASM_RC32434_IRQ_H */