ipq807x: fix gl-ax1800 switch button high active level

The active status of the switch button in the DTS configuration
is the opposite of that marked on the product housing.

The switch button should be activated at high GPIO level.

Fixes: WIFI-8042
Signed-off-by: GL.iNet-Xinfa.Deng <xinfa.deng@gl-inet.com>
This commit is contained in:
GL.iNet-Xinfa.Deng
2022-05-23 15:34:24 +08:00
committed by John Crispin
parent 2003632ddb
commit 899b4d6bfd

View File

@@ -262,7 +262,7 @@
switch {
label = "switch";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
gpios = <&tlmm 9 GPIO_ACTIVE_HIGH>;
linux,input-type = <1>;
debounce-interval = <60>;
};