1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Homestar board device tree source
5 * Copyright 2021 Google LLC.
11 #include "sc7180-trogdor.dtsi"
14 /* BOARD-SPECIFIC TOP LEVEL NODES */
16 max98360a_1: max98360a_1 {
17 compatible = "maxim,max98360a";
18 #sound-dai-cells = <0>;
21 max98360a_2: max98360a_2 {
22 compatible = "maxim,max98360a";
23 #sound-dai-cells = <0>;
26 max98360a_3: max98360a_3 {
27 compatible = "maxim,max98360a";
28 #sound-dai-cells = <0>;
31 pp3300_touch: pp3300-touch {
32 compatible = "regulator-fixed";
33 regulator-name = "pp3300_touch";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
38 gpio = <&tlmm 87 GPIO_ACTIVE_HIGH>;
40 pinctrl-names = "default";
41 pinctrl-0 = <&en_pp3300_touch>;
43 vin-supply = <&pp3300_a>;
47 skin_temp_thermal: skin-temp-thermal {
48 polling-delay-passive = <250>;
51 thermal-sensors = <&pm6150_adc_tm 1>;
52 sustainable-power = <965>;
55 skin_temp_alert0: trip-point0 {
56 temperature = <55000>;
61 skin_temp_alert1: trip-point1 {
62 temperature = <58000>;
68 temperature = <73000>;
76 trip = <&skin_temp_alert0>;
77 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
78 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
82 trip = <&skin_temp_alert1>;
83 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
84 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
95 ap_ts_pen_1v8: &i2c4 {
97 clock-frequency = <400000>;
99 ap_ts: touchscreen@14 {
100 compatible = "goodix,gt7375p";
102 pinctrl-names = "default";
103 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
105 interrupt-parent = <&tlmm>;
106 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
108 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
110 vdd-supply = <&pp3300_touch>;
114 /* Panel controls backlight over aux channel */
125 compatible = "samsung,atna33xc20";
126 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
127 /delete-property/ backlight;
131 skin-temp-thermistor@4d {
132 reg = <ADC5_AMUX_THM1_100K_PU>;
134 qcom,hw-settle-time = <200>;
141 skin-temp-thermistor@1 {
143 io-channels = <&pm6150_adc ADC5_AMUX_THM1_100K_PU>;
145 qcom,hw-settle-time-us = <200>;
150 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
154 qcom,playback-sd-lines = <0 1>;
157 &sound_multimedia1_codec {
158 sound-dai = <&max98360a>, <&max98360a_1>, <&max98360a_2>, <&max98360a_3> ;
162 qcom,ath10k-calibration-variant = "GO_HOMESTAR";
165 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
179 pins = "gpio49", "gpio50", "gpio51", "gpio52";
187 * We want reset state by default and it will be up to the
188 * driver to disable this when it's ready.
194 /* PINCTRL - board-specific pinctrl */
197 gpio-line-names = "HUB_RST_L",
264 * AP_FLASH_WP_L is crossystem ABI. Schematics
265 * call it BIOS_FLASH_WP_L.
315 "FORCED_USB_BOOT_POL",
321 en_pp3300_touch: en-pp3300-touch {
329 drive-strength = <2>;