diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2012-07-14 14:01:09 -0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-30 14:15:52 -0400 |
commit | 22df90f6bb687db58298084a200782dd0148d247 (patch) | |
tree | d344148a22e2959f922395e337f5b72c72aa4093 /arch/mips/bcm63xx/boards | |
parent | 5fd66c2b2b7ce5cfc660cc75abbb3bf248ba3e9b (diff) |
MIPS: BCM63XX: Create platform_device for USBD
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Reviewed-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4111/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm63xx/boards')
-rw-r--r-- | arch/mips/bcm63xx/boards/board_bcm963xx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c index feb05258a4d1..ea4ea77c6297 100644 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <bcm63xx_dev_flash.h> | 24 | #include <bcm63xx_dev_flash.h> |
25 | #include <bcm63xx_dev_pcmcia.h> | 25 | #include <bcm63xx_dev_pcmcia.h> |
26 | #include <bcm63xx_dev_spi.h> | 26 | #include <bcm63xx_dev_spi.h> |
27 | #include <bcm63xx_dev_usb_usbd.h> | ||
27 | #include <board_bcm963xx.h> | 28 | #include <board_bcm963xx.h> |
28 | 29 | ||
29 | #define PFX "board_bcm963xx: " | 30 | #define PFX "board_bcm963xx: " |
@@ -42,6 +43,12 @@ static struct board_info __initdata board_96328avng = { | |||
42 | 43 | ||
43 | .has_uart0 = 1, | 44 | .has_uart0 = 1, |
44 | .has_pci = 1, | 45 | .has_pci = 1, |
46 | .has_usbd = 0, | ||
47 | |||
48 | .usbd = { | ||
49 | .use_fullspeed = 0, | ||
50 | .port_no = 0, | ||
51 | }, | ||
45 | 52 | ||
46 | .leds = { | 53 | .leds = { |
47 | { | 54 | { |
@@ -888,6 +895,9 @@ int __init board_register_devices(void) | |||
888 | !board_get_mac_address(board.enet1.mac_addr)) | 895 | !board_get_mac_address(board.enet1.mac_addr)) |
889 | bcm63xx_enet_register(1, &board.enet1); | 896 | bcm63xx_enet_register(1, &board.enet1); |
890 | 897 | ||
898 | if (board.has_usbd) | ||
899 | bcm63xx_usbd_register(&board.usbd); | ||
900 | |||
891 | if (board.has_dsp) | 901 | if (board.has_dsp) |
892 | bcm63xx_dsp_register(&board.dsp); | 902 | bcm63xx_dsp_register(&board.dsp); |
893 | 903 | ||