12f72a4f5SYunlong Jia// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 22f72a4f5SYunlong Jia/* 32f72a4f5SYunlong Jia * Google Pazquel board device tree source 42f72a4f5SYunlong Jia * 52f72a4f5SYunlong Jia * Copyright 2021 Google LLC. 62f72a4f5SYunlong Jia */ 72f72a4f5SYunlong Jia 82f72a4f5SYunlong Jia/* This file must be included after sc7180-trogdor.dtsi */ 92f72a4f5SYunlong Jia#include "sc7180-trogdor-pazquel.dtsi" 102f72a4f5SYunlong Jia 112f72a4f5SYunlong Jia&alc5682 { 122f72a4f5SYunlong Jia compatible = "realtek,rt5682s"; 132f72a4f5SYunlong Jia realtek,dmic1-clk-pin = <2>; 142f72a4f5SYunlong Jia realtek,dmic-clk-rate-hz = <2048000>; 152f72a4f5SYunlong Jia}; 162f72a4f5SYunlong Jia 17335fe4b7SDouglas Andersonap_ts_pen_1v8: &i2c4 { 18335fe4b7SDouglas Anderson clock-frequency = <400000>; 19335fe4b7SDouglas Anderson status = "okay"; 20335fe4b7SDouglas Anderson 21335fe4b7SDouglas Anderson ap_ts: touchscreen@10 { 22335fe4b7SDouglas Anderson compatible = "elan,ekth3915", "elan,ekth3500"; 23335fe4b7SDouglas Anderson reg = <0x10>; 24335fe4b7SDouglas Anderson pinctrl-names = "default"; 25335fe4b7SDouglas Anderson pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 26335fe4b7SDouglas Anderson 27335fe4b7SDouglas Anderson interrupt-parent = <&tlmm>; 28335fe4b7SDouglas Anderson interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 29335fe4b7SDouglas Anderson 30335fe4b7SDouglas Anderson vcc33-supply = <&pp3300_ts>; 31335fe4b7SDouglas Anderson vccio-supply = <&pp1800_l10a>; 32335fe4b7SDouglas Anderson reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 33335fe4b7SDouglas Anderson }; 34335fe4b7SDouglas Anderson}; 35335fe4b7SDouglas Anderson 362f72a4f5SYunlong Jia&keyboard_controller { 372f72a4f5SYunlong Jia function-row-physmap = < 382f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x02, 0) /* T1 */ 392f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x02, 0) /* T2 */ 402f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x02, 0) /* T3 */ 412f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x02, 0) /* T4 */ 422f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x04, 0) /* T5 */ 432f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x04, 0) /* T6 */ 442f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x04, 0) /* T7 */ 452f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x09, 0) /* T8 */ 462f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x09, 0) /* T9 */ 472f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x04, 0) /* T10 */ 482f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x09, 0) /* T11 */ 492f72a4f5SYunlong Jia >; 502f72a4f5SYunlong Jia linux,keymap = < 512f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x02, KEY_BACK) 522f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x02, KEY_REFRESH) 532f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x02, KEY_ZOOM) 542f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x02, KEY_SCALE) 552f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x04, KEY_SYSRQ) 562f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) 572f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) 582f72a4f5SYunlong Jia MATRIX_KEY(0x02, 0x09, KEY_MUTE) 592f72a4f5SYunlong Jia MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) 602f72a4f5SYunlong Jia MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) 612f72a4f5SYunlong Jia MATRIX_KEY(0x03, 0x09, KEY_SLEEP) 622f72a4f5SYunlong Jia CROS_STD_MAIN_KEYMAP 632f72a4f5SYunlong Jia >; 642f72a4f5SYunlong Jia}; 652f72a4f5SYunlong Jia 662f72a4f5SYunlong Jia&sound { 672f72a4f5SYunlong Jia compatible = "google,sc7180-trogdor"; 682f72a4f5SYunlong Jia model = "sc7180-rt5682s-max98357a-1mic"; 692f72a4f5SYunlong Jia}; 70*c326e851SYunlong Jia 71*c326e851SYunlong Jia&wifi { 72*c326e851SYunlong Jia qcom,ath10k-calibration-variant = "GO_PAZQUEL360"; 73*c326e851SYunlong Jia}; 74