Reboot Using Button

configname: CONFIG_NWBUTTON_REBOOT

Linux Kernel Configuration
└─>Device Drivers
└─>Character devices
└─>Reboot Using Button
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
If you say Y here, then you will be able to initiate a system
shutdown and reboot by pressing the orange button a number of times.
The number of presses to initiate the shutdown is two by default,
but this can be altered by modifying the value of NUM_PRESSES_REBOOT
in nwbutton.h and recompiling the driver or, if you compile the
driver as a module, you can specify the number of presses at load
time with "insmod button reboot_count=<something>".

depends
CONFIG_NWBUTTON