aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-26 09:01:28 +0000
committerJohn Crispin <john@openwrt.org>2015-10-26 09:01:28 +0000
commit632c92094ad4b4632df7b661999089bd26f30c6d (patch)
treefcdb428216c7636cbd855033c331e6898f17bae1 /target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
parentf080f2aa8ed71967d442afec7be1f24735f693b9 (diff)
downloadupstream-632c92094ad4b4632df7b661999089bd26f30c6d.tar.gz
upstream-632c92094ad4b4632df7b661999089bd26f30c6d.tar.bz2
upstream-632c92094ad4b4632df7b661999089bd26f30c6d.zip
ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47261
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
index 880bc72e9d..0a81227b51 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
@@ -26,7 +26,7 @@
#define ANTMINER_S1_GPIO_LED_SYSTEM 23
#define ANTMINER_S1_GPIO_LED_WLAN 0
-#define ANTMINER_S1_GPIO_USB_POWER 8
+#define ANTMINER_S1_GPIO_USB_POWER 26
#define ANTMINER_S1_KEYSPOLL_INTERVAL 20 /* msecs */
#define ANTMINER_S1_KEYSDEBOUNCE_INTERVAL (3 * ANTMINER_S1_KEYSPOLL_INTERVAL)