xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sc7180-trogdor-pompom-r2.dts (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google Pompom board device tree source
4 *
5 * Copyright 2020 Google LLC.
6 */
7
8/dts-v1/;
9
10#include "sc7180-trogdor-pompom.dtsi"
11
12/ {
13	model = "Google Pompom (rev2+)";
14	compatible = "google,pompom", "qcom,sc7180";
15};
16
17&keyboard_controller {
18	function-row-physmap = <
19		MATRIX_KEY(0x00, 0x02, 0)	/* T1 */
20		MATRIX_KEY(0x03, 0x02, 0)	/* T2 */
21		MATRIX_KEY(0x02, 0x02, 0)	/* T3 */
22		MATRIX_KEY(0x01, 0x02, 0)	/* T4 */
23		MATRIX_KEY(0x03, 0x04, 0)	/* T5 */
24		MATRIX_KEY(0x02, 0x04, 0)	/* T6 */
25		MATRIX_KEY(0x01, 0x04, 0)	/* T7 */
26		MATRIX_KEY(0x02, 0x09, 0)	/* T8 */
27		MATRIX_KEY(0x01, 0x09, 0)	/* T9 */
28		MATRIX_KEY(0x00, 0x04, 0)	/* T10 */
29	>;
30	linux,keymap = <
31		MATRIX_KEY(0x00, 0x02, KEY_BACK)
32		MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
33		MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
34		MATRIX_KEY(0x01, 0x02, KEY_SCALE)
35		MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
36		MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
37		MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
38		MATRIX_KEY(0x02, 0x09, KEY_MUTE)
39		MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
40		MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
41
42		CROS_STD_MAIN_KEYMAP
43	>;
44};
45