Path: blob/master/Documentation/devicetree/bindings/input/input-reset.txt
26308 views
Input: sysrq reset sequence12A simple binding to represent a set of keys as described in3include/uapi/linux/input.h. This is to communicate a sequence of keys to the4sysrq driver. Upon holding the keys for a specified amount of time (if5specified) the system is sync'ed and reset.67Key sequences are global to the system but all the keys in a set must be coming8from the same input device.910The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define11a set of keys.1213Required property:14keyset: array of Linux keycodes, one keycode per cell.1516Optional property:17timeout-ms: duration keys must be pressed together in milliseconds before18generating a sysrq. If omitted the system is rebooted immediately when a valid19sequence has been recognized.2021Example:2223chosen {24linux,sysrq-reset-seq {25keyset = <0x03260x04270x0a>;28timeout-ms = <3000>;29};30};3132Would represent KEY_2, KEY_3 and KEY_9.333435