summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-12 15:16:02 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-13 10:53:05 +0100
commitd6c77b9d99c77c388de297350189429fa6bf2357 (patch)
tree3c7b26a3a6b5bab9f3f3dbb81f96e4f377f3e488 /target/linux/ar71xx
parent5919cc2dc4a76026eb88379c38bab61aff1b5b77 (diff)
downloadmtk-20170518-d6c77b9d99c77c388de297350189429fa6bf2357.zip
mtk-20170518-d6c77b9d99c77c388de297350189429fa6bf2357.tar.gz
mtk-20170518-d6c77b9d99c77c388de297350189429fa6bf2357.tar.bz2
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@nbd.name>
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/03_gpio_switches2
1 files changed, 1 insertions, 1 deletions
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