1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Homestar board device tree source
5 * Copyright 2021 Google LLC.
8 /* This file must be included after sc7180-trogdor.dtsi */
11 /* BOARD-SPECIFIC TOP LEVEL NODES */
13 max98360a_1: max98360a_1 {
14 compatible = "maxim,max98360a";
15 #sound-dai-cells = <0>;
18 max98360a_2: max98360a_2 {
19 compatible = "maxim,max98360a";
20 #sound-dai-cells = <0>;
23 max98360a_3: max98360a_3 {
24 compatible = "maxim,max98360a";
25 #sound-dai-cells = <0>;
28 pp3300_touch: pp3300-touch {
29 compatible = "regulator-fixed";
30 regulator-name = "pp3300_touch";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
35 gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&en_pp3300_touch>;
40 vin-supply = <&pp3300_a>;
44 skin_temp_thermal: skin-temp-thermal {
45 polling-delay-passive = <250>;
48 thermal-sensors = <&pm6150_adc_tm 1>;
49 sustainable-power = <965>;
52 skin_temp_alert0: trip-point0 {
53 temperature = <55000>;
58 skin_temp_alert1: trip-point1 {
59 temperature = <58000>;
65 temperature = <73000>;
73 trip = <&skin_temp_alert0>;
74 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
75 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
79 trip = <&skin_temp_alert1>;
80 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
81 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
88 ap_ts_pen_1v8: &i2c4 {
90 clock-frequency = <400000>;
92 ap_ts: touchscreen@14 {
93 compatible = "goodix,gt7375p";
95 pinctrl-names = "default";
96 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
98 interrupt-parent = <&tlmm>;
99 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
101 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
103 vdd-supply = <&pp3300_touch>;
107 /* Panel controls backlight over aux channel */
118 compatible = "samsung,atna33xc20";
119 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
120 /delete-property/ backlight;
124 skin-temp-thermistor@4d {
125 reg = <ADC5_AMUX_THM1_100K_PU>;
127 qcom,hw-settle-time = <200>;
134 skin-temp-thermistor@1 {
136 io-channels = <&pm6150_adc ADC5_AMUX_THM1_100K_PU>;
138 qcom,hw-settle-time-us = <200>;
159 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
163 qcom,playback-sd-lines = <0 1>;
166 &sound_multimedia1_codec {
167 sound-dai = <&max98360a>, <&max98360a_1>, <&max98360a_2>, <&max98360a_3> ;
171 qcom,ath10k-calibration-variant = "GO_HOMESTAR";
174 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
188 pins = "gpio49", "gpio50", "gpio51", "gpio52";
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.
324 "FORCED_USB_BOOT_POL",
330 en_pp3300_touch: en-pp3300-touch {
338 drive-strength = <2>;