aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2018-01-02 07:59:48 -0500
committerTony Lindgren <tony@atomide.com>2018-01-19 10:40:13 -0500
commit0e6e6dcce8d578516ef3aea2c9f9b4d0a0d53194 (patch)
tree2bd6a5e4cf58ff8ab09167ab7d67c1ae2e5050ed
parent64c358b3bdb08d0692e0601b6e7a3e3308661dee (diff)
ARM: dts: Nokia N9: add support for up/down keys in the dts
This adds support for volume up/down keys in the dts. Signed-off-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/omap3-n9.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts
index 39e35f8b8206..e44d93fc644c 100644
--- a/arch/arm/boot/dts/omap3-n9.dts
+++ b/arch/arm/boot/dts/omap3-n9.dts
@@ -11,6 +11,7 @@
11/dts-v1/; 11/dts-v1/;
12 12
13#include "omap3-n950-n9.dtsi" 13#include "omap3-n950-n9.dtsi"
14#include <dt-bindings/input/input.h>
14 15
15/ { 16/ {
16 model = "Nokia N9"; 17 model = "Nokia N9";
@@ -72,3 +73,9 @@
72 st,max-limit-y = <46>; 73 st,max-limit-y = <46>;
73 st,max-limit-z = <46>; 74 st,max-limit-z = <46>;
74}; 75};
76
77&twl_keypad {
78 linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
79 MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
80 >;
81};