diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c index 575a976aecb005a0b8ed370cdd130346a5d4ec99..5544596f91fea3094fff2e54b6a45dd0eb1905f0 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c @@ -47,7 +47,7 @@ static struct gpio_keys_button dorin_gpio_keys[] __initdata = { .code = KEY_WPS_BUTTON, .debounce_interval = DORIN_KEYS_DEBOUNCE_INTERVAL, .gpio = DORIN_GPIO_BTN_JUMPSTART, - .active_low = 1, + .active_low = 0, }, { .desc = "reset button", diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts index 4761b910937b8896e1e84448b6a2ad170f1bd49b..349c7ffc4d92a51161593c5a85b66b17cf770403 100644 --- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts +++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts @@ -33,7 +33,7 @@ wps { label = "wps"; linux,code = <KEY_WPS_BUTTON>; - gpios = <&gpio 11 GPIO_ACTIVE_LOW>; + gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; }; reset {