summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-n9.dts
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2018-01-02 15:59:48 +0300
committerTony Lindgren <tony@atomide.com>2018-01-19 18:40:13 +0300
commit0e6e6dcce8d578516ef3aea2c9f9b4d0a0d53194 (patch)
tree2bd6a5e4cf58ff8ab09167ab7d67c1ae2e5050ed /arch/arm/boot/dts/omap3-n9.dts
parent64c358b3bdb08d0692e0601b6e7a3e3308661dee (diff)
downloadlinux-0e6e6dcce8d578516ef3aea2c9f9b4d0a0d53194.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/omap3-n9.dts')
-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 @@
/dts-v1/;
#include "omap3-n950-n9.dtsi"
+#include <dt-bindings/input/input.h>
/ {
model = "Nokia N9";
@@ -72,3 +73,9 @@
st,max-limit-y = <46>;
st,max-limit-z = <46>;
};
+
+&twl_keypad {
+ linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
+ MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
+ >;
+};