Changeset 45656


Ignore:
Timestamp:
2015-05-10T09:47:04+02:00 (3 years ago)
Author:
luka
Message:

ar71xx: add status led found on ew-dorin boards

Signed-off-by: Catrinel Catrinescu <cc@…>

Location:
trunk/target/linux/ar71xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r45553 r45656  
    8080        el-m150) 
    8181                status_led="easylink:green:system" 
     82                ;; 
     83        ew-dorin | ew-dorin-router) 
     84                status_led="dorin:green:status" 
    8285                ;; 
    8386        f9k1115v2) 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c

    r32934 r45656  
    33 *  (based on Atheros Ref. Design AP121) 
    44 *  Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> 
    5  *  Copyright (C) 2012 Embedded Wireless GmbH    www.80211.de 
     5 *  Copyright (C) 2012-2015 Embedded Wireless GmbH    www.80211.de 
    66 * 
    77 *  This program is free software; you can redistribute it and/or modify it 
     
    3030#define DORIN_GPIO_LED_21               21 
    3131#define DORIN_GPIO_LED_22               22 
     32#define DORIN_GPIO_LED_STATUS   23 
    3233 
    3334#define DORIN_GPIO_BTN_JUMPSTART        11 
     
    4344                .name           = "dorin:green:led22", 
    4445                .gpio           = DORIN_GPIO_LED_22, 
     46                .active_low     = 1, 
     47        }, 
     48        { 
     49                .name           = "dorin:green:status", 
     50                .gpio           = DORIN_GPIO_LED_STATUS, 
    4551                .active_low     = 1, 
    4652        }, 
Note: See TracChangeset for help on using the changeset viewer.