mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 07:48:59 +02:00
[ar71xx] tew-632brp: add status LED
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13648 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dd0fb21b4c
commit
8381f3a203
@ -21,6 +21,7 @@
|
||||
#include <asm/mach-ar71xx/ar71xx.h>
|
||||
#include <asm/mach-ar71xx/platform.h>
|
||||
|
||||
#define TEW_632BRP_GPIO_LED_STATUS 1
|
||||
#define TEW_632BRP_GPIO_LED_WPS 3
|
||||
#define TEW_632BRP_GPIO_LED_WLAN 6
|
||||
#define TEW_632BRP_GPIO_BTN_RESET 21
|
||||
@ -78,6 +79,10 @@ static struct spi_board_info tew_632brp_spi_info[] = {
|
||||
|
||||
static struct gpio_led tew_632brp_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tew-632brp:green:status",
|
||||
.gpio = TEW_632BRP_GPIO_LED_STATUS,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tew-632brp:blue:wps",
|
||||
.gpio = TEW_632BRP_GPIO_LED_WPS,
|
||||
.active_low = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user