1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google CoachZ board device tree source
5 * Copyright 2020 Google LLC.
13 #include "sc7180-trogdor.dtsi"
15 /* Deleted nodes from trogdor.dtsi */
17 /delete-node/ &alc5682;
18 /delete-node/ &pp3300_codec;
21 /* BOARD-SPECIFIC TOP LEVEL NODES */
23 adau7002: audio-codec-1 {
24 compatible = "adi,adau7002";
25 IOVDD-supply = <&pp1800_l15a>;
26 wakeup-delay-ms = <15>;
27 #sound-dai-cells = <0>;
31 skin_temp_thermal: skin-temp-thermal {
32 polling-delay-passive = <250>;
35 thermal-sensors = <&pm6150_adc_tm 1>;
36 sustainable-power = <814>;
39 skin_temp_alert0: trip-point0 {
40 temperature = <42000>;
45 skin_temp_alert1: trip-point1 {
46 temperature = <45000>;
52 temperature = <60000>;
60 trip = <&skin_temp_alert0>;
61 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
62 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
66 trip = <&skin_temp_alert1>;
67 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
68 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
80 pwms = <&cros_ec_pwm 0>;
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>;
122 compatible = "boe,nv110wtm-n61";
126 skin-temp-thermistor@4e {
127 reg = <ADC5_AMUX_THM2_100K_PU>;
129 qcom,hw-settle-time = <200>;
136 skin-temp-thermistor@1 {
138 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
140 qcom,hw-settle-time-us = <200>;
145 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
153 data-lanes = <0 1 2 3>;
157 compatible = "google,sc7180-coachz";
158 model = "sc7180-adau7002-max98357a";
159 audio-routing = "PDM_DAT", "DMIC";
161 pinctrl-names = "default";
162 pinctrl-0 = <&dmic_clk_en>;
165 &sound_multimedia0_codec {
166 sound-dai = <&adau7002>;
169 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
184 * We want reset state by default and it will be up to the
185 * driver to disable this when it's ready.
191 /* PINCTRL - board-specific pinctrl */
194 gpio-line-names = "HUB_RST_L",
261 * AP_FLASH_WP_L is crossystem ABI. Schematics
262 * call it BIOS_FLASH_WP_L.
318 dmic_clk_en: dmic_clk_en {
326 drive-strength = <8>;