From 9d928f0418b55a6796f737e5b166634e493a3413 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 27 Mar 2018 12:13:13 +0200 Subject: [PATCH] arm64: zynqmp: Use keycode from input/input.h Instead of hardcoding numbers. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index efa94a1419..c04e37dc65 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 #include #include #include @@ -51,7 +52,7 @@ sw19 { label = "sw19"; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; - linux,code = <108>; /* down */ + linux,code = ; gpio-key,wakeup; autorepeat; }; -- 2.39.5