From: Michal Simek Date: Tue, 27 Mar 2018 10:13:13 +0000 (+0200) Subject: arm64: zynqmp: Use keycode from input/input.h X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=237d981ef8272a4f4306f38cda7890a2e7b052e6;p=thirdparty%2Fu-boot.git arm64: zynqmp: Use keycode from input/input.h zcu100 could use sw4 as key_power instead of key_down. Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts index b6210f53a7b..c130f77c351 100644 --- a/arch/arm/dts/zynqmp-zcu100-revC.dts +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts @@ -12,6 +12,7 @@ #include "zynqmp.dtsi" #include "zynqmp-clk-ccf.dtsi" +#include #include #include #include @@ -54,7 +55,7 @@ sw4 { label = "sw4"; gpios = <&gpio 23 GPIO_ACTIVE_LOW>; - linux,code = <108>; /* down */ + linux,code = ; gpio-key,wakeup; autorepeat; };