mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-17 17:03:27 +00:00
ramips: fix button definitions for Zyxel WSM20
Setting the events of the WPS and LED buttons to
the best matching values based from the documentation:
<https://openwrt.org/docs/guide-user/hardware/hardware.button#procd_buttons>
Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com>
(cherry picked from commit b0120f7c8b)
This commit is contained in:
parent
bc7362fbce
commit
df34f71be4
@ -66,7 +66,7 @@
|
|||||||
led {
|
led {
|
||||||
label = "led";
|
label = "led";
|
||||||
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_0>;
|
linux,code = <KEY_LIGHTS_TOGGLE>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reset {
|
reset {
|
||||||
@ -78,7 +78,7 @@
|
|||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WLAN>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user