Ignore:
Timestamp:
2011-11-13T00:40:12+01:00 (5 years ago)
Author:
blogic
Message:

lantiq: rename leds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c

    r28999 r29002  
    168168        { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, .default_trigger = "default-on" }, 
    169169        { .name = "soc:green:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" }, 
    170         { .name = "soc:green:wlan", .gpio = 6, .active_low = 1, .default_trigger = "default-on" }, 
     170        { .name = "soc:green:wifi", .gpio = 6, .active_low = 1, .default_trigger = "default-on" }, 
    171171        { .name = "soc:yellow:wps", .gpio = 7, .active_low = 1, .default_trigger = "default-on" }, 
    172172        { .name = "soc:red:fail", .gpio = 8, .active_low = 1, .default_trigger = "default-on" }, 
     
    180180static struct gpio_button 
    181181arv4518pw_gpio_buttons[] __initdata = { 
    182         { .desc = "wlan", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 28, .active_low = 1, }, 
     182        { .desc = "wifi", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 28, .active_low = 1, }, 
    183183        { .desc = "wps", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 29, .active_low = 1, }, 
    184184        { .desc = "reset", .type = EV_KEY, .code = BTN_2, .threshold = 3, .gpio = 30, .active_low = 1, }, 
     
    199199        { .name = "soc:blue:voice", .gpio = 104, .active_low = 1, }, 
    200200        { .name = "soc:blue:usb", .gpio = 105, .active_low = 1, }, 
    201         { .name = "soc:blue:wlan", .gpio = 106, .active_low = 1, }, 
     201        { .name = "soc:blue:wifi", .gpio = 106, .active_low = 1, }, 
    202202}; 
    203203 
     
    216216        { .name = "soc:blue:voice", .gpio = 104, .active_low = 1, .default_trigger = "default-on" }, 
    217217        { .name = "soc:blue:usb", .gpio = 105, .active_low = 1, .default_trigger = "default-on" }, 
    218         { .name = "soc:blue:wlan", .gpio = 106, .active_low = 1, .default_trigger = "default-on" }, 
     218        { .name = "soc:blue:wifi", .gpio = 106, .active_low = 1, .default_trigger = "default-on" }, 
    219219        { .name = "soc:blue:internet", .gpio = 108, .active_low = 1, .default_trigger = "default-on" }, 
    220220        { .name = "soc:red:internet", .gpio = 109, .active_low = 1, .default_trigger = "default-on" }, 
     
    223223static struct gpio_led 
    224224arv4525pw_gpio_leds[] __initdata = { 
    225         { .name = "soc:green:festnetz", .gpio = 4, .active_low = 1, .default_trigger = "default-on" }, 
    226         { .name = "soc:green:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" }, 
    227         { .name = "soc:green:dsl", .gpio = 6, .active_low = 1, .default_trigger = "default-on" }, 
    228         { .name = "soc:green:wlan", .gpio = 8, .active_low = 1, .default_trigger = "default-on" }, 
     225        { .name = "soc:green:fxs1", .gpio = 4, .active_low = 1, .default_trigger = "default-on" }, 
     226        { .name = "soc:green:fxs2", .gpio = 5, .active_low = 1, .default_trigger = "default-on" }, 
     227        { .name = "soc:red:dsl", .gpio = 6, .active_low = 1, .default_trigger = "default-on" }, 
     228        { .name = "soc:green:wifi", .gpio = 8, .active_low = 1, .default_trigger = "default-on" }, 
    229229        { .name = "soc:green:online", .gpio = 9, .active_low = 1, .default_trigger = "default-on" }, 
    230230}; 
     
    239239        { .name = "soc:red:voice", .gpio = 104, .active_low = 1, .default_trigger = "default-on" }, 
    240240        { .name = "soc:green:usb", .gpio = 105, .active_low = 1, .default_trigger = "default-on" }, 
    241         { .name = "soc:green:wlan", .gpio = 106, .active_low = 1, .default_trigger = "default-on" }, 
    242         { .name = "soc:green:wlan1", .gpio = 107, .active_low = 1, .default_trigger = "default-on" }, 
    243         { .name = "soc:blue:wlan", .gpio = 108, .active_low = 1, .default_trigger = "default-on" }, 
    244         { .name = "soc:blue:wlan1", .gpio = 109, .active_low = 1, .default_trigger = "default-on" }, 
     241        { .name = "soc:green:wifi", .gpio = 106, .active_low = 1, .default_trigger = "default-on" }, 
     242        { .name = "soc:green:wifi1", .gpio = 107, .active_low = 1, .default_trigger = "default-on" }, 
     243        { .name = "soc:blue:wifi", .gpio = 108, .active_low = 1, .default_trigger = "default-on" }, 
     244        { .name = "soc:blue:wifi1", .gpio = 109, .active_low = 1, .default_trigger = "default-on" }, 
    245245        { .name = "soc:green:eth1", .gpio = 111, .active_low = 1, .default_trigger = "default-on" }, 
    246246        { .name = "soc:green:eth2", .gpio = 112, .active_low = 1, .default_trigger = "default-on" }, 
     
    261261        { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, }, 
    262262        { .name = "soc:green:internet", .gpio = 5, .active_low = 1, }, 
    263         { .name = "soc:green:wlan", .gpio = 6, .active_low = 1, }, 
     263        { .name = "soc:green:wifi", .gpio = 6, .active_low = 1, }, 
    264264        { .name = "soc:red:internet", .gpio = 8, .active_low = 1, }, 
    265265        { .name = "soc:green:usb", .gpio = 19, .active_low = 1, }, 
     
    269269arv7518pw_gpio_buttons[] __initdata = { 
    270270        { .desc = "reset", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 23, .active_low = 1, }, 
    271         { .desc = "wlan", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 25, .active_low = 1, }, 
     271        { .desc = "wifi", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 25, .active_low = 1, }, 
    272272}; 
    273273 
Note: See TracChangeset for help on using the changeset viewer.