From: Pavel Machek Date: Tue, 2 Jan 2018 12:59:48 +0000 (+0100) Subject: ARM: dts: Nokia N9: add support for up/down keys in the dts X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0e6e6dcce8d578516ef3aea2c9f9b4d0a0d53194;p=linux.git 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 Reviewed-by: Sebastian Reichel Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts index 39e35f8b8206a..e44d93fc644cc 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 / { 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) + >; +};