1*84943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*84943d6fSEmmanuel Vadot/* 3*84943d6fSEmmanuel Vadot * Copyright 2022 Google LLC 4*84943d6fSEmmanuel Vadot */ 5*84943d6fSEmmanuel Vadot/dts-v1/; 6*84943d6fSEmmanuel Vadot#include "mt8192-asurada.dtsi" 7*84943d6fSEmmanuel Vadot 8*84943d6fSEmmanuel Vadot/ { 9*84943d6fSEmmanuel Vadot model = "Google Hayato rev5"; 10*84943d6fSEmmanuel Vadot compatible = "google,hayato-rev5-sku2", "google,hayato-sku2", 11*84943d6fSEmmanuel Vadot "google,hayato", "mediatek,mt8192"; 12*84943d6fSEmmanuel Vadot}; 13*84943d6fSEmmanuel Vadot 14*84943d6fSEmmanuel Vadot&keyboard_controller { 15*84943d6fSEmmanuel Vadot function-row-physmap = < 16*84943d6fSEmmanuel Vadot MATRIX_KEY(0x00, 0x02, 0) /* T1 */ 17*84943d6fSEmmanuel Vadot MATRIX_KEY(0x03, 0x02, 0) /* T2 */ 18*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x02, 0) /* T3 */ 19*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x02, 0) /* T4 */ 20*84943d6fSEmmanuel Vadot MATRIX_KEY(0x03, 0x04, 0) /* T5 */ 21*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x04, 0) /* T6 */ 22*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x04, 0) /* T7 */ 23*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x09, 0) /* T8 */ 24*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x09, 0) /* T9 */ 25*84943d6fSEmmanuel Vadot MATRIX_KEY(0x00, 0x04, 0) /* T10 */ 26*84943d6fSEmmanuel Vadot >; 27*84943d6fSEmmanuel Vadot linux,keymap = < 28*84943d6fSEmmanuel Vadot MATRIX_KEY(0x00, 0x02, KEY_BACK) 29*84943d6fSEmmanuel Vadot MATRIX_KEY(0x03, 0x02, KEY_FORWARD) 30*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x02, KEY_REFRESH) 31*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x02, KEY_FULL_SCREEN) 32*84943d6fSEmmanuel Vadot MATRIX_KEY(0x03, 0x04, KEY_SCALE) 33*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) 34*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) 35*84943d6fSEmmanuel Vadot MATRIX_KEY(0x02, 0x09, KEY_MUTE) 36*84943d6fSEmmanuel Vadot MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) 37*84943d6fSEmmanuel Vadot MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) 38*84943d6fSEmmanuel Vadot 39*84943d6fSEmmanuel Vadot CROS_STD_MAIN_KEYMAP 40*84943d6fSEmmanuel Vadot >; 41*84943d6fSEmmanuel Vadot}; 42*84943d6fSEmmanuel Vadot 43*84943d6fSEmmanuel Vadot&rt5682 { 44*84943d6fSEmmanuel Vadot compatible = "realtek,rt5682s"; 45*84943d6fSEmmanuel Vadot}; 46*84943d6fSEmmanuel Vadot 47*84943d6fSEmmanuel Vadot&sound { 48*84943d6fSEmmanuel Vadot compatible = "mediatek,mt8192_mt6359_rt1015p_rt5682s"; 49*84943d6fSEmmanuel Vadot 50*84943d6fSEmmanuel Vadot speaker-codecs { 51*84943d6fSEmmanuel Vadot sound-dai = <&rt1015p>; 52*84943d6fSEmmanuel Vadot }; 53*84943d6fSEmmanuel Vadot 54*84943d6fSEmmanuel Vadot headset-codec { 55*84943d6fSEmmanuel Vadot sound-dai = <&rt5682 0>; 56*84943d6fSEmmanuel Vadot }; 57*84943d6fSEmmanuel Vadot}; 58*84943d6fSEmmanuel Vadot 59*84943d6fSEmmanuel Vadot&touchscreen { 60*84943d6fSEmmanuel Vadot compatible = "hid-over-i2c"; 61*84943d6fSEmmanuel Vadot post-power-on-delay-ms = <10>; 62*84943d6fSEmmanuel Vadot hid-descr-addr = <0x0001>; 63*84943d6fSEmmanuel Vadot vdd-supply = <&pp3300_u>; 64*84943d6fSEmmanuel Vadot}; 65