mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
arm64: zynqmp: Use keycode from input/input.h
Instead of hardcoding numbers. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
52af7e3e81
commit
9d928f0418
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "zynqmp.dtsi"
|
||||
#include "zynqmp-clk-ccf.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
|
||||
#include <dt-bindings/phy/phy.h>
|
||||
|
@ -51,7 +52,7 @@
|
|||
sw19 {
|
||||
label = "sw19";
|
||||
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
||||
linux,code = <108>; /* down */
|
||||
linux,code = <KEY_DOWN>;
|
||||
gpio-key,wakeup;
|
||||
autorepeat;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue