diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-01 21:00:41 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-01 21:00:41 +0000 |
commit | 0bda624fc7068c5090c97a6cacd0f9617d9c57b5 (patch) | |
tree | 1a667a98d90555ead32cd514e521d13d7c951536 /target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | |
parent | d97b12f8b7a274a104cca079d235cddddb0f4a27 (diff) | |
download | upstream-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.tar.gz upstream-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.tar.bz2 upstream-0bda624fc7068c5090c97a6cacd0f9617d9c57b5.zip |
add the infrastructure to use a MPI/GPIO connected VoIP DSP
SVN-Revision: 16650
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c index 18389983a7..b9ff9759eb 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c @@ -24,6 +24,7 @@ #include <bcm63xx_dev_uart.h> #include <bcm63xx_dev_wdt.h> #include <bcm63xx_dev_enet.h> +#include <bcm63xx_dev_dsp.h> #include <bcm63xx_dev_pcmcia.h> #include <bcm63xx_dev_usb_ohci.h> #include <bcm63xx_dev_usb_ehci.h> @@ -114,6 +115,14 @@ static struct board_info __initdata board_96348gw_10 = { .has_ohci0 = 1, .has_pccard = 1, .has_ehci0 = 1, + + .has_dsp = 1, + .dsp = { + .gpio_rst = 6, + .gpio_int = 34, + .cs = 2, + .ext_irq = 2, + }, }; static struct board_info __initdata board_96348gw_11 = { @@ -157,7 +166,15 @@ static struct board_info __initdata board_96348gw = { .force_duplex_full = 1, }, - .has_ohci0 = 1, + .has_ohci0 = 1, + .has_dsp = 1, + + .dsp = { + .gpio_rst = 6, + .gpio_int = 34, + .ext_irq = 2, + .cs = 2, + }, }; static struct board_info __initdata board_FAST2404 = { @@ -559,6 +576,10 @@ int __init board_register_devices(void) if (board.has_udc0) bcm63xx_udc_register(); + + if (board.has_dsp) + bcm63xx_dsp_register(&board.dsp); + /* Generate MAC address for WLAN and * register our SPROM */ #ifdef CONFIG_PCI |