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/ &pp3300_codec;
16 /* BOARD-SPECIFIC TOP LEVEL NODES */
18 adau7002: audio-codec-1 {
19 compatible = "adi,adau7002";
20 IOVDD-supply = <&pp1800_l15a>;
21 wakeup-delay-ms = <80>;
22 #sound-dai-cells = <0>;
26 skin_temp_thermal: skin-temp-thermal {
27 polling-delay-passive = <250>;
30 thermal-sensors = <&pm6150_adc_tm 1>;
31 sustainable-power = <965>;
34 skin_temp_alert0: trip-point0 {
35 temperature = <42000>;
40 skin_temp_alert1: trip-point1 {
41 temperature = <45000>;
47 temperature = <60000>;
55 trip = <&skin_temp_alert0>;
56 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
57 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
61 trip = <&skin_temp_alert1>;
62 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
63 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
75 pwms = <&cros_ec_pwm 0>;
84 compatible = "google,cros-ec-keyb-switches";
87 cros_ec_proximity: proximity {
88 compatible = "google,cros-ec-mkbp-proximity";
89 label = "proximity-wifi";
93 ap_ts_pen_1v8: &i2c4 {
95 clock-frequency = <400000>;
97 ap_ts: touchscreen@5d {
98 compatible = "goodix,gt7375p";
100 pinctrl-names = "default";
101 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
103 interrupt-parent = <&tlmm>;
104 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
107 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
109 vdd-supply = <&pp3300_ts>;
118 compatible = "boe,nv110wtm-n61";
123 reg = <ADC5_AMUX_THM2_100K_PU>;
125 qcom,hw-settle-time = <200>;
126 label = "skin_therm";
133 skin-temp-thermistor@1 {
135 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
137 qcom,hw-settle-time-us = <200>;
158 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
166 data-lanes = <0 1 2 3>;
170 compatible = "google,sc7180-coachz";
171 model = "sc7180-adau7002-max98357a";
172 audio-routing = "PDM_DAT", "DMIC";
174 pinctrl-names = "default";
175 pinctrl-0 = <&dmic_clk_en>;
178 &sound_multimedia0_codec {
179 sound-dai = <&adau7002>;
182 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
190 * We want reset state by default and it will be up to the
191 * driver to disable this when it's ready.
196 /* PINCTRL - board-specific pinctrl */
199 gpio-line-names = "HUB_RST_L",
266 * AP_FLASH_WP_L is crossystem ABI. Schematics
267 * call it BIOS_FLASH_WP_L.
323 dmic_clk_en: dmic-clk-en-state {
326 drive-strength = <8>;