summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/include/asm-mips
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-01 21:00:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-01 21:00:41 +0000
commit0bda624fc7068c5090c97a6cacd0f9617d9c57b5 (patch)
tree1a667a98d90555ead32cd514e521d13d7c951536 /target/linux/brcm63xx/files/include/asm-mips
parentd97b12f8b7a274a104cca079d235cddddb0f4a27 (diff)
downloadmaster-31e0f0ae-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.tar.gz
master-31e0f0ae-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.tar.bz2
master-31e0f0ae-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.zip
add the infrastructure to use a MPI/GPIO connected VoIP DSP
SVN-Revision: 16650
Diffstat (limited to 'target/linux/brcm63xx/files/include/asm-mips')
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_dev_dsp.h13
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h5
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_dev_dsp.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_dev_dsp.h
new file mode 100644
index 0000000000..b587d45c30
--- /dev/null
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_dev_dsp.h
@@ -0,0 +1,13 @@
+#ifndef __BCM63XX_DSP_H
+#define __BCM63XX_DSP_H
+
+struct bcm63xx_dsp_platform_data {
+ unsigned gpio_rst;
+ unsigned gpio_int;
+ unsigned cs;
+ unsigned ext_irq;
+};
+
+int __init bcm63xx_dsp_register(const struct bcm63xx_dsp_platform_data *pd);
+
+#endif /* __BCM63XX_DSP_H */
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
index 2f357fa87e..85d1e5f418 100644
--- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/board_bcm963xx.h
@@ -3,6 +3,7 @@
#include <linux/types.h>
#include <bcm63xx_dev_enet.h>
+#include <bcm63xx_dev_dsp.h>
/*
* flash mapping
@@ -42,10 +43,14 @@ struct board_info {
unsigned int has_ohci0:1;
unsigned int has_ehci0:1;
unsigned int has_udc0:1;
+ unsigned int has_dsp:1;
/* ethernet config */
struct bcm63xx_enet_platform_data enet0;
struct bcm63xx_enet_platform_data enet1;
+
+ /* DSP config */
+ struct bcm63xx_dsp_platform_data dsp;
};
#endif /* ! BOARD_BCM963XX_H_ */