A power-enable toggle gpio is not available, it is always on and protected with
a resettable fuse.
Btw: With USB working I have a "crippled" standalone solution by tftp-ing the
kernel and storing the rootfs on USB. ADSL is working out of the box! Next up is gpio.
Signed-off-by: Pieter Voorthuijsen<p.voorthuijsen at gmail.com>
---
Index: target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
===================================================================
--- target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
(revision 31146)
+++ target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/mach-netgear.c
(working copy)
@@ -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 @@
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,
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel