Ticket #10785: wps_active_low.patch

File wps_active_low.patch, 786 bytes (added by fredrik.ohrn@…, 4 years ago)

WPS button is active low on AGPF-S0.

  • target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch

    diff --git a/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch b/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch
    index c25aafd..adc4f9c 100644
    a b  
    11--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    22+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    3 @@ -1612,6 +1612,98 @@ static struct board_info __initdata boar 
     3@@ -1612,6 +1612,99 @@ static struct board_info __initdata boar 
    44  
    55        .has_ohci0 = 1, 
    66        .has_ehci0 = 1, 
     
    9191+               { 
    9292+                       .desc           = "wps", 
    9393+                       .gpio           = 34, 
     94+                       .active_low     = 1, 
    9495+                       .type           = EV_KEY, 
    9596+                       .code           = KEY_WPS_BUTTON, 
    9697+                       .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,