diff options
author | John Crispin <john@openwrt.org> | 2012-04-05 20:03:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-04-05 20:03:19 +0000 |
commit | 94af65db49117de79f58462b1f9513b7d58bbad7 (patch) | |
tree | 5ba14ebcaac1073199fcb460bb5dc25e347d8d28 /target/linux/lantiq | |
parent | 032f3ea5e7dce34da3926f505fe939ded599a6fa (diff) | |
download | mtk-20170518-94af65db49117de79f58462b1f9513b7d58bbad7.zip mtk-20170518-94af65db49117de79f58462b1f9513b7d58bbad7.tar.gz mtk-20170518-94af65db49117de79f58462b1f9513b7d58bbad7.tar.bz2 |
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>
SVN-Revision: 31205
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r-- | target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c | 3 |
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 ed9098e..f30478c 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(<q_pci_data); ltq_register_etop(<q_eth_data); ltq_register_spi(<q_spi_data, &spi_info, 1); + /* The usb power is always enabled, protected by a fuse */ + xway_register_dwc(-1); } MIPS_MACHINE(LANTIQ_MACH_DGN3500B, |