mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
ARM: dts: ixp4xx: Use right restart keycode
The "reset" key on a few IXP4xx routers were sending KEY_ESC but what we want to send is KEY_RESTART which will make OpenWrt and similar userspace do a controlled reboot. Link: https://lore.kernel.org/r/20230908-ixp4xx-dts-v1-2-98d36264ed6d@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
2ffdee77f0
commit
d3c849020b
|
|
@ -57,7 +57,7 @@ gpio_keys {
|
|||
|
||||
button-reset {
|
||||
wakeup-source;
|
||||
linux,code = <KEY_ESC>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
label = "reset";
|
||||
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ button-sync {
|
|||
};
|
||||
button-reset {
|
||||
wakeup-source;
|
||||
linux,code = <KEY_ESC>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
label = "reset";
|
||||
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ button-power {
|
|||
};
|
||||
button-reset {
|
||||
wakeup-source;
|
||||
linux,code = <KEY_ESC>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
label = "reset";
|
||||
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ button-power {
|
|||
};
|
||||
button-reset {
|
||||
wakeup-source;
|
||||
linux,code = <KEY_ESC>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
label = "reset";
|
||||
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user