summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx27-pdk.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-04-17 15:23:31 -0300
committerShawn Guo <shawn.guo@freescale.com>2014-05-16 23:02:01 +0800
commitf6bd3f3087991a85fdf2216fe25784c31f01793b (patch)
tree20c528c9670a5514221dc01c13f1abf9aa8e76e1 /arch/arm/boot/dts/imx27-pdk.dts
parentb41331ecebb2e1bbaeb96d2a5b7bfd79834b0137 (diff)
ARM: dts: imx27-pdk: Add keypad support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx27-pdk.dts')
-rw-r--r--arch/arm/boot/dts/imx27-pdk.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts
index 042d7ffdffee..764cf798b915 100644
--- a/arch/arm/boot/dts/imx27-pdk.dts
+++ b/arch/arm/boot/dts/imx27-pdk.dts
@@ -84,6 +84,21 @@
status = "okay";
};
+&kpp {
+ linux,keymap = <
+ MATRIX_KEY(0, 0, KEY_UP)
+ MATRIX_KEY(0, 1, KEY_DOWN)
+ MATRIX_KEY(1, 0, KEY_RIGHT)
+ MATRIX_KEY(1, 1, KEY_LEFT)
+ MATRIX_KEY(1, 2, KEY_ENTER)
+ MATRIX_KEY(2, 0, KEY_F6)
+ MATRIX_KEY(2, 1, KEY_F8)
+ MATRIX_KEY(2, 2, KEY_F9)
+ MATRIX_KEY(2, 3, KEY_F10)
+ >;
+ status = "okay";
+};
+
&nfc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>;