diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-10-04 09:21:35 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-11-01 08:02:18 -0400 |
commit | 092778190d693a10d2d364b5e99f5deca903fe41 (patch) | |
tree | 39c775f04cb4b985e54fb7768a7a799355b5b0af /arch/arm/boot/dts/stuib.dtsi | |
parent | cb5527035d384d7fdead83adf00833d734c282ce (diff) |
ARM: ux500: Supply the STMPE keypad Device Tree node to the STUIB DT
This patch allows the STMPE keypad driver to be successfully probed
and initialised during a Device Tree enabled boot sequence. It
contains all of the required properties needed to setup and map
each key on the 6x3 keypad located on the ST User Interface Board.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/stuib.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stuib.dtsi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi index d6e36b5757a3..6c7e492f220b 100644 --- a/arch/arm/boot/dts/stuib.dtsi +++ b/arch/arm/boot/dts/stuib.dtsi | |||
@@ -21,6 +21,33 @@ | |||
21 | 21 | ||
22 | wakeup-source; | 22 | wakeup-source; |
23 | st,autosleep-timeout = <1024>; | 23 | st,autosleep-timeout = <1024>; |
24 | |||
25 | stmpe_keypad { | ||
26 | compatible = "st,stmpe-keypad"; | ||
27 | |||
28 | debounce-interval = <64>; | ||
29 | st,scan-count = <8>; | ||
30 | st,no-autorepeat; | ||
31 | |||
32 | linux,keymap = <0x205006b | ||
33 | 0x4010074 | ||
34 | 0x3050072 | ||
35 | 0x1030004 | ||
36 | 0x502006a | ||
37 | 0x500000a | ||
38 | 0x5008b | ||
39 | 0x706001c | ||
40 | 0x405000b | ||
41 | 0x6070003 | ||
42 | 0x3040067 | ||
43 | 0x303006c | ||
44 | 0x60400e7 | ||
45 | 0x602009e | ||
46 | 0x4020073 | ||
47 | 0x5050002 | ||
48 | 0x4030069 | ||
49 | 0x3020008>; | ||
50 | }; | ||
24 | }; | 51 | }; |
25 | }; | 52 | }; |
26 | 53 | ||