From: Michal Simek Date: Tue, 27 Mar 2018 10:13:13 +0000 (+0200) Subject: arm64: zynqmp: Use keycode from input/input.h X-Git-Tag: v2025.01-rc5-pxa1908~4519^2~40 X-Git-Url: http://git.dujemihanovic.xyz/%22/icons/right.gif/static/git-logo.png?a=commitdiff_plain;h=9d928f0418b55a6796f737e5b166634e493a3413;p=u-boot.git arm64: zynqmp: Use keycode from input/input.h Instead of hardcoding numbers. Signed-off-by: Michal Simek --- 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; };