ramips: fix RT-AC57U button level
Both buttons on the RT-AC57U are active-low. Fix the GPIO flag for the WPS cutton to fix button behavior. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user