diff options
author | Jeff Kletsky <git-commits@allycomm.com> | 2019-01-20 14:48:09 -0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2019-01-26 10:40:06 +0100 |
commit | ee3120a9db780480e58199f6811c52896f494b1d (patch) | |
tree | 5c290e42c33a09abade912c8480ddd96092901b2 /scripts/redboot-script.pl | |
parent | 0465e41e0532ae54c2018ddbfa01927a9b594769 (diff) | |
download | upstream-ee3120a9db780480e58199f6811c52896f494b1d.tar.gz upstream-ee3120a9db780480e58199f6811c52896f494b1d.tar.bz2 upstream-ee3120a9db780480e58199f6811c52896f494b1d.zip |
ath79: fix GL.iNet AR300M family GPIOs/LEDs
Change the "status" LED to proper GPIO 12 and "red" naming.
Remove GPIO 2 from definition as a USB LED.
GPIO 2 is used to control power to the USB socket, not an LED.
As such, PWM on the line or typical LED triggers are inappropriate.
Users who wish to control the USB power for custom applications
can manipulate the GPIO through code, or for example, export it
through /sys/class/gpio/export.
Runtime-tested: GL.iNet AR300M-Lite
Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
Diffstat (limited to 'scripts/redboot-script.pl')
0 files changed, 0 insertions, 0 deletions