bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs
PATCH 2/8 bcm63xx: register VoIP DSP for bcm96348gw-10 and bcm96348gw designs
This patchs makes bcm96348gw-10 and bcm96348gw designs register the VoIP DSP platform device.
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/bcm63xx/boards/board_bcm963xx.c +20 -0
@@ -27,6 +27,7 @@#include <bcm63xx_dev_pcmcia.h> #include <bcm63xx_dev_usb_ohci.h> #include <bcm63xx_dev_usb_ehci.h> +#include <bcm63xx_dev_dsp.h> #include <board_bcm963xx.h> #define PFX "board_bcm963xx: "
@@ -72,6 +73,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 = {
@@ -116,6 +125,14 @@ static struct board_info __initdata board_96348gw = { }, .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 = {
@@ -514,6 +531,9 @@ int __init board_register_devices(void)if (board.has_ehci0)bcm63xx_ehci_register (); +if (board.has_dsp) +bcm63xx_dsp_register (&board.dsp); +/* Generate MAC address for WLAN and * register our SPROM */ #ifdef CONFIG_SSB_PCIHOST
On Fri, Aug 07, 2009 at 11:46:34PM +0200, Florian Fainelli wrote:
Folded into "MIPS: BCM63XX: Add board support code."
Ralf