Thibaut VARÈNE cb73dd21a3 ar71xx: rbspi: fix RB wAP AC gpio conflict and LED
e15c63a37574bd15ce3a6636c2f04741ab76f7b9 introduced code that was trying
to register GPIO 1 as both an LED and a button. The OEM source makes it
clear that LED1 is not wired to the SoC GPIOs. GPIO 1 is the reset button.

Furthermore the (green) power led default state should also be defined,
(matching OEM source), and it should be used by diag.sh since it's
currently the only software-controllable LED.

This patch fixes these issues and renames the corresponding #defines for
clarity

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
(cherry picked from commit e99f760235bb45716018faab52d31ce8165f49a0)
2018-07-30 11:12:41 +02:00
..
2012-02-10 08:19:31 +00:00
2015-07-07 08:06:05 +00:00
2016-01-10 17:19:34 +00:00
2015-08-17 06:16:54 +00:00
2012-02-10 08:19:31 +00:00
2014-11-26 08:28:22 +00:00
2017-10-11 22:36:04 +02:00
2017-01-20 00:40:33 +01:00
2012-02-10 08:19:31 +00:00
2015-09-24 09:08:47 +00:00
2017-03-30 09:57:22 +02:00
2016-06-06 14:58:11 +02:00
2012-02-10 08:19:31 +00:00