From: Felix Fietkau <nbd@nbd.name> Date: Thu, 12 Jan 2017 14:16:02 +0000 (+0100) Subject: ar71xx: default to external USB power on RB-912UAG X-Git-Tag: v17.01.0-rc1~109 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d6c77b9d99c77c388de297350189429fa6bf2357;p=openwrt%2Fstaging%2Fxback.git 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> --- 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 da963bf64d..66be8e76d5 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