diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-01-18 00:58:43 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 13:24:08 -0500 |
commit | 3a5c64d6bacbeb25d8aa5ccb18ca49de99dee027 (patch) | |
tree | e0d76795b8f1dc18658dc3d58cc1e2c7aecf28d9 /arch/arm/boot/dts/tegra20-whistler.dts | |
parent | ecfd6c7f05db5c3f41f846d489861646e0934b56 (diff) |
ARM: tegra: whistler: enable keyboard in DT
Enable Tegra based keyboard controller and populate the key mapping
for Whistler.
With this patch, HOME, BACK, POWER and MENU keys will work.
Still other keys which are in ROW3 and ROW4 will not work as it
conflicts with KBC pins on SDIO2 pinmux.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-whistler.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-whistler.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts index 5836ad6fb4dd..b8e0ee1d2172 100644 --- a/arch/arm/boot/dts/tegra20-whistler.dts +++ b/arch/arm/boot/dts/tegra20-whistler.dts | |||
@@ -520,6 +520,18 @@ | |||
520 | bus-width = <8>; | 520 | bus-width = <8>; |
521 | }; | 521 | }; |
522 | 522 | ||
523 | kbc { | ||
524 | status = "okay"; | ||
525 | nvidia,debounce-delay-ms = <20>; | ||
526 | nvidia,repeat-delay-ms = <160>; | ||
527 | nvidia,kbc-row-pins = <0 1 2>; | ||
528 | nvidia,kbc-col-pins = <16 17>; | ||
529 | linux,keymap = <0x00000074 /* KEY_POWER */ | ||
530 | 0x01000066 /* KEY_HOME */ | ||
531 | 0x0101009E /* KEY_BACK */ | ||
532 | 0x0201008B>; /* KEY_MENU */ | ||
533 | }; | ||
534 | |||
523 | regulators { | 535 | regulators { |
524 | compatible = "simple-bus"; | 536 | compatible = "simple-bus"; |
525 | #address-cells = <1>; | 537 | #address-cells = <1>; |