34a79f9d5b134a1d769ff8367b66634666e4e65a
[openwrt/staging/neocturne.git] /
1 From cdb8faa00e3fcdd0ad10add743516d616dc7d38e Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz>
3 Date: Mon, 11 Mar 2019 22:08:22 +0100
4 Subject: [PATCH] mips: bcm47xx: Enable USB power on Netgear WNDR3400v2
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Eric has reported on OpenWrt's bug tracking system[1], that he's not
10 able to use USB devices on his WNDR3400v2 device after the boot, until
11 he turns on GPIO #21 manually through sysfs.
12
13 1. https://bugs.openwrt.org/index.php?do=details&task_id=2170
14
15 Cc: Rafał Miłecki <zajec5@gmail.com>
16 Cc: Hauke Mehrtens <hauke@hauke-m.de>
17 Reported-by: Eric Bohlman <ericbohlman@gmail.com>
18 Tested-by: Eric Bohlman <ericbohlman@gmail.com>
19 Signed-off-by: Petr Štetiar <ynezz@true.cz>
20 Signed-off-by: Paul Burton <paul.burton@mips.com>
21 ---
22 arch/mips/bcm47xx/workarounds.c | 1 +
23 1 file changed, 1 insertion(+)
24
25 --- a/arch/mips/bcm47xx/workarounds.c
26 +++ b/arch/mips/bcm47xx/workarounds.c
27 @@ -24,6 +24,7 @@ void __init bcm47xx_workarounds(void)
28 case BCM47XX_BOARD_NETGEAR_WNR3500L:
29 bcm47xx_workarounds_enable_usb_power(12);
30 break;
31 + case BCM47XX_BOARD_NETGEAR_WNDR3400V2:
32 case BCM47XX_BOARD_NETGEAR_WNDR3400_V3:
33 bcm47xx_workarounds_enable_usb_power(21);
34 break;