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
..
2018-05-24 16:03:58 +02:00
2018-05-24 17:24:30 +02:00
2018-05-24 17:24:30 +02:00
2018-07-30 11:11:21 +02:00
2018-01-09 10:26:16 +01:00
2018-05-24 17:24:31 +02:00
2018-04-19 14:38:57 +02:00
2018-05-24 16:03:58 +02:00
2018-06-07 09:03:05 +02:00