Changeset 41516


Ignore:
Timestamp:
2014-07-05T21:40:15+02:00 (4 years ago)
Author:
hauke
Message:

brcm47xx: fix LEDs on WRTSL54GS

https://dev.archive.openwrt.org/ticket/16991.html

Signed-off-by: Rafał Miłecki <zajec5@…>
Signed-off-by: Hauke Mehrtens <hauke@…>

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.10/146-MIPS-BCM47XX-Devices-database-update-for-3.17.patch

    r41501 r41516  
    3939        BCM47XX_GPIO_LED(8, "blue", "wps", 0, LEDS_GPIO_DEFSTATE_OFF), 
    4040 }; 
    41 @@ -425,6 +434,9 @@ void __init bcm47xx_leds_register(void) 
     41@@ -333,11 +342,10 @@ bcm47xx_leds_linksys_wrt610nv2[] __initc 
     42  
     43 static const struct gpio_led 
     44 bcm47xx_leds_linksys_wrtsl54gs[] __initconst = { 
     45-       BCM47XX_GPIO_LED(0, "unk", "wlan", 1, LEDS_GPIO_DEFSTATE_OFF), 
     46-       BCM47XX_GPIO_LED(1, "unk", "power", 0, LEDS_GPIO_DEFSTATE_ON), 
     47-       BCM47XX_GPIO_LED(2, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     48-       BCM47XX_GPIO_LED(3, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     49-       BCM47XX_GPIO_LED(7, "unk", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF), 
     50+       BCM47XX_GPIO_LED(0, "green", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF), 
     51+       BCM47XX_GPIO_LED(1, "green", "power", 0, LEDS_GPIO_DEFSTATE_ON), 
     52+       BCM47XX_GPIO_LED(5, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     53+       BCM47XX_GPIO_LED(7, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     54 }; 
     55  
     56 /* Motorola */ 
     57@@ -425,6 +433,9 @@ void __init bcm47xx_leds_register(void) 
    4258        case BCM47XX_BOARD_ASUS_RTN12: 
    4359                bcm47xx_set_pdata(bcm47xx_leds_asus_rtn12); 
  • trunk/target/linux/brcm47xx/patches-3.14/146-MIPS-BCM47XX-Devices-database-update-for-3.17.patch

    r41501 r41516  
    3939        BCM47XX_GPIO_LED(8, "blue", "wps", 0, LEDS_GPIO_DEFSTATE_OFF), 
    4040 }; 
    41 @@ -425,6 +434,9 @@ void __init bcm47xx_leds_register(void) 
     41@@ -333,11 +342,10 @@ bcm47xx_leds_linksys_wrt610nv2[] __initc 
     42  
     43 static const struct gpio_led 
     44 bcm47xx_leds_linksys_wrtsl54gs[] __initconst = { 
     45-       BCM47XX_GPIO_LED(0, "unk", "wlan", 1, LEDS_GPIO_DEFSTATE_OFF), 
     46-       BCM47XX_GPIO_LED(1, "unk", "power", 0, LEDS_GPIO_DEFSTATE_ON), 
     47-       BCM47XX_GPIO_LED(2, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     48-       BCM47XX_GPIO_LED(3, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     49-       BCM47XX_GPIO_LED(7, "unk", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF), 
     50+       BCM47XX_GPIO_LED(0, "green", "dmz", 1, LEDS_GPIO_DEFSTATE_OFF), 
     51+       BCM47XX_GPIO_LED(1, "green", "power", 0, LEDS_GPIO_DEFSTATE_ON), 
     52+       BCM47XX_GPIO_LED(5, "white", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     53+       BCM47XX_GPIO_LED(7, "orange", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), 
     54 }; 
     55  
     56 /* Motorola */ 
     57@@ -425,6 +433,9 @@ void __init bcm47xx_leds_register(void) 
    4258        case BCM47XX_BOARD_ASUS_RTN12: 
    4359                bcm47xx_set_pdata(bcm47xx_leds_asus_rtn12); 
Note: See TracChangeset for help on using the changeset viewer.