The gpio is actually low active, fix it.
Fixes: 40e7fab9e4a2 ("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>
+ button-wps {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
-+ gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
++ gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ };
+ };
+
button-wps {
label = "wps";
linux,code = <KEY_WPS_BUTTON>;
- gpios = <&pio 0 GPIO_ACTIVE_HIGH>;
+ gpios = <&pio 0 GPIO_ACTIVE_LOW>;
};
};