aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-01-14 23:56:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-01-14 23:56:46 +0000
commit1b2c77588b824ba271de80d77a4f99cc31bd0f71 (patch)
tree2220e422d2f838543e5c05810d0221cb57b34c6a /target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
parent83567d367c583e41d40844b33b3db9782f9be7bd (diff)
downloadmaster-187ad058-1b2c77588b824ba271de80d77a4f99cc31bd0f71.tar.gz
master-187ad058-1b2c77588b824ba271de80d77a4f99cc31bd0f71.tar.bz2
master-187ad058-1b2c77588b824ba271de80d77a4f99cc31bd0f71.zip
brcm63xx: 96368MVWG supports USB gadget, enable it
Enable the use of the USB gadget device at the board level so we can use bcm63xx_udc on this board. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch14
1 files changed, 11 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch b/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
index bc5bd3d83e..d01e179f95 100644
--- a/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
+++ b/target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
@@ -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;