aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2015-08-04 16:53:26 -0400
committerTony Lindgren <tony@atomide.com>2015-08-06 03:27:27 -0400
commitab00639e778e63ccbca5ff7c99832dfff515fe13 (patch)
tree58d4a5e227d0f7713690f3d98fdaba14537fd91e
parent1e9f747400f5b061bb088a41c4616342a14fb976 (diff)
ARM: dts: omap3-devkit8000: Add user button support
This patch links the user button to the BTN_EXTRA action. Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com> [tony@atomide.com: added missing sign as noted by Anthoine] Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/omap3-devkit8000.dts13
1 files changed, 13 insertions, 0 deletions
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 @@
7 */ 7 */
8/dts-v1/; 8/dts-v1/;
9 9
10#include <dt-bindings/input/input.h>
11
10#include "omap34xx.dtsi" 12#include "omap34xx.dtsi"
11/ { 13/ {
12 model = "TimLL OMAP3 Devkit8000"; 14 model = "TimLL OMAP3 Devkit8000";
@@ -54,6 +56,17 @@
54 "MAINMIC", "Main Mic", 56 "MAINMIC", "Main Mic",
55 "Main Mic", "Mic Bias 1"; 57 "Main Mic", "Mic Bias 1";
56 }; 58 };
59
60 gpio_keys {
61 compatible = "gpio-keys";
62
63 user {
64 label = "user";
65 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
66 linux,code = <BTN_EXTRA>;
67 gpio-key,wakeup;
68 };
69 };
57}; 70};
58 71
59&i2c1 { 72&i2c1 {