From 5c0169d1c503aab2d62ee6f6e342a78e2ea9e3ed Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 11 Feb 2014 18:07:13 +0100 Subject: ARM: mvebu: use input DT defines in Armada 370/XP boards Instead of harcoding keycodes specifications in the Armada 370/XP boards, use the header file and its keycode definitions. Signed-off-by: Thomas Petazzoni Acked-by: Gregory CLEMENT Signed-off-by: Jason Cooper --- arch/arm/boot/dts/armada-xp-axpwifiap.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/boot/dts/armada-xp-axpwifiap.dts') diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts index db1ef5856063..d83d7d69ac01 100644 --- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts +++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts @@ -17,6 +17,7 @@ /dts-v1/; #include +#include #include "armada-xp-mv78230.dtsi" / { @@ -158,7 +159,7 @@ button@1 { label = "Factory Reset Button"; - linux,code = <141>; /* KEY_SETUP */ + linux,code = ; gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; }; }; -- cgit v1.2.3