aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorThomas Schröder <tschroeder_github@outlook.com>2023-06-09 12:03:31 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-06-09 22:28:45 +0200
commitb0120f7c8bb35088f298f00eb4a630f62fb4183f (patch)
tree34d0298a4ef862de6180c6dd46eb933b22dd6815 /target
parenta5fc132aa3e43c8cc3a3beac3479b003e1a8f16a (diff)
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_zyxel_wsm20.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts b/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts
index 315e2e1d79..299d982dc1 100644
--- a/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts
+++ b/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts
@@ -66,7 +66,7 @@
led {
label = "led";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
- linux,code = <BTN_0>;
+ linux,code = <KEY_LIGHTS_TOGGLE>;
};
reset {
@@ -78,7 +78,7 @@
wps {
label = "wps";
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
- linux,code = <KEY_WLAN>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};