aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/files-3.2
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-04-05 20:03:19 +0000
committerJohn Crispin <blogic@openwrt.org>2012-04-05 20:03:19 +0000
commit9a4f59ca9783582f24970adf0763f7e5d45bd761 (patch)
tree4261c8317fe4db2029722b51b2d5d22283836ddd /target/linux/lantiq/files-3.2
parent9bea396d2f2a6647c488550a6d53cea4d4529cd2 (diff)
downloadupstream-9a4f59ca9783582f24970adf0763f7e5d45bd761.tar.gz
upstream-9a4f59ca9783582f24970adf0763f7e5d45bd761.tar.bz2
upstream-9a4f59ca9783582f24970adf0763f7e5d45bd761.zip
[lantiq] enable usb on dgn3500
A power-enable toggle gpio is not available, it is always on and protected with a resettable fuse. Signed-off-by: Pieter Voorthuijsen<p.voorthuijsen at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/files-3.2')
-rw-r--r--target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c b/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
index ed9098e7fc..f30478c0fd 100644
--- a/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
+++ b/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
@@ -21,6 +21,7 @@
#include "../machtypes.h"
#include "devices.h"
+#include "dev-dwc_otg.h"
static struct ltq_pci_data ltq_pci_data = {
.clock = PCI_CLOCK_INT,
@@ -77,6 +78,8 @@ static void __init dgn3500_init(void)
ltq_register_pci(&ltq_pci_data);
ltq_register_etop(&ltq_eth_data);
ltq_register_spi(&ltq_spi_data, &spi_info, 1);
+ /* The usb power is always enabled, protected by a fuse */
+ xway_register_dwc(-1);
}
MIPS_MACHINE(LANTIQ_MACH_DGN3500B,