1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright 2020 Google LLC 4 */ 5/dts-v1/; 6#include "mt8192-asurada.dtsi" 7 8/ { 9 model = "Google Hayato rev1"; 10 compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192"; 11}; 12 13&keyboard_controller { 14 function-row-physmap = < 15 MATRIX_KEY(0x00, 0x02, 0) /* T1 */ 16 MATRIX_KEY(0x03, 0x02, 0) /* T2 */ 17 MATRIX_KEY(0x02, 0x02, 0) /* T3 */ 18 MATRIX_KEY(0x01, 0x02, 0) /* T4 */ 19 MATRIX_KEY(0x03, 0x04, 0) /* T5 */ 20 MATRIX_KEY(0x02, 0x04, 0) /* T6 */ 21 MATRIX_KEY(0x01, 0x04, 0) /* T7 */ 22 MATRIX_KEY(0x02, 0x09, 0) /* T8 */ 23 MATRIX_KEY(0x01, 0x09, 0) /* T9 */ 24 MATRIX_KEY(0x00, 0x04, 0) /* T10 */ 25 >; 26 linux,keymap = < 27 MATRIX_KEY(0x00, 0x02, KEY_BACK) 28 MATRIX_KEY(0x03, 0x02, KEY_FORWARD) 29 MATRIX_KEY(0x02, 0x02, KEY_REFRESH) 30 MATRIX_KEY(0x01, 0x02, KEY_FULL_SCREEN) 31 MATRIX_KEY(0x03, 0x04, KEY_SCALE) 32 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) 33 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) 34 MATRIX_KEY(0x02, 0x09, KEY_MUTE) 35 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) 36 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) 37 38 CROS_STD_MAIN_KEYMAP 39 >; 40}; 41 42&touchscreen { 43 compatible = "hid-over-i2c"; 44 post-power-on-delay-ms = <10>; 45 hid-descr-addr = <0x0001>; 46 vdd-supply = <&pp3300_u>; 47}; 48