aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-26 09:17:51 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-26 09:17:51 +0000
commitab97f5c459c7b34607957eebd7e4af34e6b141b2 (patch)
treeccc501ca43e148fc31d48ca369672431659fe837 /target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
parent626f9510a865fbd71fef5ed663bc426fd1b8e4dc (diff)
downloadupstream-ab97f5c459c7b34607957eebd7e4af34e6b141b2.tar.gz
upstream-ab97f5c459c7b34607957eebd7e4af34e6b141b2.tar.bz2
upstream-ab97f5c459c7b34607957eebd7e4af34e6b141b2.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> Backport of r47261 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)