1*2f72a4f5SYunlong Jia// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*2f72a4f5SYunlong Jia/* 3*2f72a4f5SYunlong Jia * Google Pazquel board device tree source 4*2f72a4f5SYunlong Jia * 5*2f72a4f5SYunlong Jia * Copyright 2021 Google LLC. 6*2f72a4f5SYunlong Jia */ 7*2f72a4f5SYunlong Jia 8*2f72a4f5SYunlong Jia/* This file must be included after sc7180-trogdor.dtsi */ 9*2f72a4f5SYunlong Jia#include "sc7180-trogdor-pazquel.dtsi" 10*2f72a4f5SYunlong Jia 11*2f72a4f5SYunlong Jia&alc5682 { 12*2f72a4f5SYunlong Jia compatible = "realtek,rt5682s"; 13*2f72a4f5SYunlong Jia realtek,dmic1-clk-pin = <2>; 14*2f72a4f5SYunlong Jia realtek,dmic-clk-rate-hz = <2048000>; 15*2f72a4f5SYunlong Jia}; 16*2f72a4f5SYunlong Jia 17*2f72a4f5SYunlong Jia&keyboard_controller { 18*2f72a4f5SYunlong Jia function-row-physmap = < 19*2f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x02, 0) /* T1 */ 20*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x02, 0) /* T2 */ 21*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x02, 0) /* T3 */ 22*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x02, 0) /* T4 */ 23*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x04, 0) /* T5 */ 24*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x04, 0) /* T6 */ 25*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x04, 0) /* T7 */ 26*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x09, 0) /* T8 */ 27*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x09, 0) /* T9 */ 28*2f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x04, 0) /* T10 */ 29*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x09, 0) /* T11 */ 30*2f72a4f5SYunlong Jia >; 31*2f72a4f5SYunlong Jia linux,keymap = < 32*2f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x02, KEY_BACK) 33*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x02, KEY_REFRESH) 34*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x02, KEY_ZOOM) 35*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x02, KEY_SCALE) 36*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x04, KEY_SYSRQ) 37*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) 38*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) 39*2f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x09, KEY_MUTE) 40*2f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) 41*2f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) 42*2f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x09, KEY_SLEEP) 43*2f72a4f5SYunlong Jia CROS_STD_MAIN_KEYMAP 44*2f72a4f5SYunlong Jia >; 45*2f72a4f5SYunlong Jia}; 46*2f72a4f5SYunlong Jia 47*2f72a4f5SYunlong Jia&sound { 48*2f72a4f5SYunlong Jia compatible = "google,sc7180-trogdor"; 49*2f72a4f5SYunlong Jia model = "sc7180-rt5682s-max98357a-1mic"; 50*2f72a4f5SYunlong Jia}; 51