summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2011-10-13 14:38:24 -0400
committerSean Paul <seanpaul@chromium.org>2011-10-13 12:21:10 -0700
commit3e149baa0a74ca85f45ef706c81d4b76f639fc7d (patch)
tree94af6758403c5a9e968509918c93d2827aa106a2 /board
parentab38688c64dad6afe23a223b5bd9cc971f6bef92 (diff)
CHROMIUM: ARM: tegra: asymptote: Add keyboard mapping for Vol and Search buttons
Map the volume and search keys to Ctrl+D/U and space so we can interact with the developer screen on asymptote. BUG=None TEST=Built and tested u-boot for Asymptote, ensured the key mappings worked as expected. Signed-off-by: Sean Paul <seanpaul@chromium.org> Change-Id: I05fe9b317d3878388c8881c816555185911bd2c8 Reviewed-on: http://gerrit.chromium.org/gerrit/10031 Reviewed-by: Jon Kliegman <kliegs@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/seaboard/tegra2-asymptote.dts59
1 files changed, 59 insertions, 0 deletions
diff --git a/board/nvidia/seaboard/tegra2-asymptote.dts b/board/nvidia/seaboard/tegra2-asymptote.dts
index 564c738183a..7b411d96640 100644
--- a/board/nvidia/seaboard/tegra2-asymptote.dts
+++ b/board/nvidia/seaboard/tegra2-asymptote.dts
@@ -113,4 +113,63 @@
utmi = <&usbphy>;
host-mode = <0>;
};
+
+ /*
+ * Custom mappings for asymptote (to make up for lack of keyboard):
+ * - Volume Up -> Ctrl+D
+ * - Volume Dn -> Ctrl+U
+ * - Search Bn -> SPACE
+ */
+ kbc@0x7000e200 {
+ keycode-plain = [00 00 00 00 00 00 00 00
+ ' ' 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 04 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 15 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00];
+
+ keycode-shift = [00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00];
+
+ keycode-ctrl = [00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00];
+ };
};