brcm63xx: 96368MVWG supports USB gadget, enable it
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.10 / 520-bcm63xx-add-support-for-96368MVWG-board.patch
index bc5bd3d83ee500689a5670b9a46c4ddf015e2812..d01e179f958907551377022157bcca18835a9cf9 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2225,6 +2225,78 @@ static struct board_info __initdata boar
+@@ -2225,6 +2225,86 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -23,6 +23,14 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +
 +      .has_uart0                      = 1,
 +      .has_pci                        = 1,
++
++      .has_usbd                       = 1,
++
++      .usbd = {
++              .use_fullspeed          = 0,
++              .port_no                = 0,
++      },
++
 +      .has_enetsw                     = 1,
 +
 +      .enetsw = {
@@ -89,7 +97,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -2279,6 +2351,10 @@ static const struct board_info __initcon
+@@ -2279,6 +2359,10 @@ static const struct board_info __initcon
        &board_HW553,
        &board_spw303v,
  #endif
@@ -100,7 +108,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
  };
  
  /*
-@@ -2460,12 +2536,25 @@ void __init board_prom_init(void)
+@@ -2460,12 +2544,25 @@ void __init board_prom_init(void)
                bcm63xx_pci_enabled = 1;
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G2_PCI;