diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-01 21:00:41 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-07-01 21:00:41 +0000 |
commit | c33ead0f7c493581d316afb48c2d300c16cd51a6 (patch) | |
tree | fc7ad0f495161152dd3512998e0cdc1069ff3f7b /target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c | |
parent | 7a4bc09b3466913e1539f03c56a09e4b5c9741ea (diff) |
[brcm63xx] add the infrastructure to use a MPI/GPIO connected VoIP DSP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16650 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |