Changeset 37963


Ignore:
Timestamp:
2013-09-13T17:01:40+02:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: add wireless bgn led support for dir-825-c1

I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@…>
Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c

    r35957 r37963  
    3535#define DIR825C1_GPIO_LED_ORANGE_PLANET         19 
    3636#define DIR825C1_GPIO_LED_BLUE_PLANET           18 
     37#define DIR825C1_GPIO_LED_WIFI_BGN              13 
    3738 
    3839#define DIR825C1_GPIO_BTN_RESET                 17 
     
    7677                .name           = "d-link:blue:planet", 
    7778                .gpio           = DIR825C1_GPIO_LED_BLUE_PLANET, 
     79                .active_low     = 1, 
     80        }, { 
     81                .name           = "d-link:blue:wifi_bgn", 
     82                .gpio           = DIR825C1_GPIO_LED_WIFI_BGN, 
    7883                .active_low     = 1, 
    7984        }, 
Note: See TracChangeset for help on using the changeset viewer.