mediatek: fix wps button for nokia ea0326gmp

The gpio is actually low active, fix it.

Fixes: 40e7fab9e4 ("mediatek: add Nokia EA0326GMP support")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/15651
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Tianling Shen 2024-06-07 19:28:47 +08:00 committed by Robert Marko
parent 2ded629864
commit 4edde98768
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@
+ button-wps {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ };
+ };
+

View File

@ -40,7 +40,7 @@
button-wps {
label = "wps";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
gpios = <&pio 0 GPIO_ACTIVE_LOW>;
};
};