Add a property of linux-event-code about button.
Fixed the below message during booting.
"Checking PowerKey button state (for THOR download mode): Button 'PowerKey' not found (err=-22)"
Change-Id: I96bc91ce936754513059ff7b219c6714874e2bca
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
*/
#include "meson-sm1-u-boot.dtsi"
+#include <dt-bindings/input/linux-event-codes.h>
ðmac {
snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
power_key {
label = "PowerKey";
+ linux,code = <BTN_0>;
gpios = <&gpio GPIOX_3 GPIO_ACTIVE_LOW>;
};
};