diff options
author | Michal Simek | 2018-03-27 12:13:13 +0200 |
---|---|---|
committer | Michal Simek | 2018-04-09 12:14:48 +0200 |
commit | 9d928f0418b55a6796f737e5b166634e493a3413 (patch) | |
tree | 3f2ebe60ef1edaa51b7c07cc90d41dbfcadbcb57 /arch/arm | |
parent | 52af7e3e81b92911906e19294df16c77f17fdab6 (diff) |
arm64: zynqmp: Use keycode from input/input.h
Instead of hardcoding numbers.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/zynqmp-zcu102-revA.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index efa94a14194..c04e37dc65f 100644 --- a/arch/arm/dts/zynqmp-zcu102-revA.dts +++ b/arch/arm/dts/zynqmp-zcu102-revA.dts @@ -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; }; |