[source] ar71xx: default to external USB power on RB-912UAG
LEDE Commits
lede-commits at lists.infradead.org
Fri Jan 13 01:53:14 PST 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/d6c77b9d99c77c388de297350189429fa6bf2357
commit d6c77b9d99c77c388de297350189429fa6bf2357
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Jan 12 15:16:02 2017 +0100
ar71xx: default to external USB power on RB-912UAG
There's a GPIO that can switch between power to USB pins for the
internal MiniPCIe slot or the external USB port.
People are more likely to use the external one so enable it by default.
Existing configurations should be unaffected
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
index da963bf..66be8e7 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches
@@ -25,7 +25,7 @@ wbs510)
;;
rb-912uag-2hpnd|\
rb-912uag-5hpnd)
- ucidef_add_gpio_switch "usb_power_switch" "USB Power Switch" "52"
+ ucidef_add_gpio_switch "usb_power_switch" "USB Power Switch" "52" "1"
;;
esac
More information about the lede-commits
mailing list