1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google CoachZ board device tree source
5 * Copyright 2020 Google LLC.
8 #include "sc7180-trogdor.dtsi"
9 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
11 /* Deleted nodes from sc7180-trogdor.dtsi */
13 /delete-node/ &alc5682;
14 /delete-node/ &pp3300_codec;
17 /* BOARD-SPECIFIC TOP LEVEL NODES */
19 adau7002: audio-codec-1 {
20 compatible = "adi,adau7002";
21 IOVDD-supply = <&pp1800_l15a>;
22 wakeup-delay-ms = <80>;
23 #sound-dai-cells = <0>;
27 skin_temp_thermal: skin-temp-thermal {
28 polling-delay-passive = <250>;
31 thermal-sensors = <&pm6150_adc_tm 1>;
32 sustainable-power = <965>;
35 skin_temp_alert0: trip-point0 {
36 temperature = <42000>;
41 skin_temp_alert1: trip-point1 {
42 temperature = <45000>;
48 temperature = <60000>;
56 trip = <&skin_temp_alert0>;
57 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
58 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
62 trip = <&skin_temp_alert1>;
63 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
64 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
76 pwms = <&cros_ec_pwm 0>;
85 compatible = "google,cros-ec-keyb-switches";
88 cros_ec_proximity: proximity {
89 compatible = "google,cros-ec-mkbp-proximity";
90 label = "proximity-wifi";
94 ap_ts_pen_1v8: &i2c4 {
96 clock-frequency = <400000>;
98 ap_ts: touchscreen@5d {
99 compatible = "goodix,gt7375p";
101 pinctrl-names = "default";
102 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
104 interrupt-parent = <&tlmm>;
105 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
107 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
109 vdd-supply = <&pp3300_ts>;
118 compatible = "boe,nv110wtm-n61";
122 skin-temp-thermistor@4e {
123 reg = <ADC5_AMUX_THM2_100K_PU>;
125 qcom,hw-settle-time = <200>;
132 skin-temp-thermistor@1 {
134 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
136 qcom,hw-settle-time-us = <200>;
157 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
165 data-lanes = <0 1 2 3>;
169 compatible = "google,sc7180-coachz";
170 model = "sc7180-adau7002-max98357a";
171 audio-routing = "PDM_DAT", "DMIC";
173 pinctrl-names = "default";
174 pinctrl-0 = <&dmic_clk_en>;
177 &sound_multimedia0_codec {
178 sound-dai = <&adau7002>;
181 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
196 * We want reset state by default and it will be up to the
197 * driver to disable this when it's ready.
203 /* PINCTRL - board-specific pinctrl */
206 gpio-line-names = "HUB_RST_L",
273 * AP_FLASH_WP_L is crossystem ABI. Schematics
274 * call it BIOS_FLASH_WP_L.
330 dmic_clk_en: dmic_clk_en {
338 drive-strength = <8>;