diff options
author | Cezary Jackiewicz <cezary.jackiewicz@gmail.com> | 2016-05-25 19:36:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-27 10:27:44 +0200 |
commit | 71e0ef3978f82a80e9065f6f294c0813bb7e40ec (patch) | |
tree | 0a4ca4ab76b643769c49b21e73aa6ef1f65c709f /target/linux | |
parent | 7d67f79cb5548703f13d8ec6dfef495cb8b9803a (diff) | |
download | upstream-71e0ef3978f82a80e9065f6f294c0813bb7e40ec.tar.gz upstream-71e0ef3978f82a80e9065f6f294c0813bb7e40ec.tar.bz2 upstream-71e0ef3978f82a80e9065f6f294c0813bb7e40ec.zip |
ar71xx: add GPIO pin for usb power switch for RouterBOARD 912
RB912 has one usb shared between external USB and miniPCIe slot. GPIO52 can
reroute power to external USB (=1) or internal miniPCIe slot (=0)
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches | 4 |
1 files changed, 4 insertions, 0 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 00cc167254..5b95f155cf 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 @@ -21,6 +21,10 @@ cpe210|\ cpe510) ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "20" ;; +rb-912uag-2hpnd|\ +rb-912uag-5hpnd) + ucidef_add_gpio_switch "usb_power_switch" "USB Power Switch" "52" + ;; esac board_config_flush |