Changeset 32678


Ignore:
Timestamp:
2012-07-12T10:34:21+02:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: airrouter power led support

This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch

    r32677 r32678  
    5858        ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_xm_leds_gpio), 
    5959                                 ubnt_xm_leds_gpio); 
    60 @@ -79,9 +85,107 @@ static void __init ubnt_xm_init(void) 
     60@@ -79,9 +85,112 @@ static void __init ubnt_xm_init(void) 
    6161  
    6262        ath79_register_m25p80(NULL); 
     
    100100+               .gpio           = 0, 
    101101+               .active_low     = 1, 
     102+       }, { 
     103+               .name           = "ubnt:green:power", 
     104+               .gpio           = 11, 
     105+               .active_low     = 1, 
     106+               .default_state  = LEDS_GPIO_DEFSTATE_ON, 
    102107+       } 
    103108+}; 
Note: See TracChangeset for help on using the changeset viewer.