From ab00639e778e63ccbca5ff7c99832dfff515fe13 Mon Sep 17 00:00:00 2001 From: Anthoine Bourgeois Date: Tue, 4 Aug 2015 22:53:26 +0200 Subject: [PATCH] ARM: dts: omap3-devkit8000: Add user button support This patch links the user button to the BTN_EXTRA action. Signed-off-by: Anthoine Bourgeois [tony@atomide.com: added missing sign as noted by Anthoine] Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-devkit8000.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index be2297116a14..540ae56b8671 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -7,6 +7,8 @@ */ /dts-v1/; +#include + #include "omap34xx.dtsi" / { model = "TimLL OMAP3 Devkit8000"; @@ -54,6 +56,17 @@ "MAINMIC", "Main Mic", "Main Mic", "Mic Bias 1"; }; + + gpio_keys { + compatible = "gpio-keys"; + + user { + label = "user"; + gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; + linux,code = ; + gpio-key,wakeup; + }; + }; }; &i2c1 { -- 2.20.1