aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx51-babbage.dts
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2013-01-03 07:37:34 -0500
committerShawn Guo <shawn.guo@linaro.org>2013-02-10 10:25:43 -0500
commit67eb7c0bc8ee66aa74ed891b9c97f8da9c44a9c9 (patch)
tree03c05dd98e28e722cad88feb51d9c3f32c72d092 /arch/arm/boot/dts/imx51-babbage.dts
parent6012555c2462a0fea1149fb2a54d214b6d1fbe48 (diff)
ARM i.MX51 babbage: Add keypad support
The keypad is on the accessory board of i.MX51 babbage main board and is driven by Keypad Port(KPP) in SoC. The keymap is the same to i.MX25 3stack platform as the accessory board schematic tells that it is designed in this way. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx51-babbage.dts')
-rw-r--r--arch/arm/boot/dts/imx51-babbage.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index fb33aff5b4b9..aab6e43219af 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -273,3 +273,25 @@
273 phy-mode = "mii"; 273 phy-mode = "mii";
274 status = "okay"; 274 status = "okay";
275}; 275};
276
277&kpp {
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_kpp_1>;
280 linux,keymap = <0x00000067 /* KEY_UP */
281 0x0001006c /* KEY_DOWN */
282 0x00020072 /* KEY_VOLUMEDOWN */
283 0x00030066 /* KEY_HOME */
284 0x0100006a /* KEY_RIGHT */
285 0x01010069 /* KEY_LEFT */
286 0x0102001c /* KEY_ENTER */
287 0x01030073 /* KEY_VOLUMEUP */
288 0x02000040 /* KEY_F6 */
289 0x02010042 /* KEY_F8 */
290 0x02020043 /* KEY_F9 */
291 0x02030044 /* KEY_F10 */
292 0x0300003b /* KEY_F1 */
293 0x0301003c /* KEY_F2 */
294 0x0302003d /* KEY_F3 */
295 0x03030074>; /* KEY_POWER */
296 status = "okay";
297};