1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Wormdingler board device tree source
5 * Copyright 2021 Google LLC.
10 #include "sc7180-trogdor.dtsi"
13 avdd_lcd: avdd-lcd-regulator {
14 compatible = "regulator-fixed";
15 regulator-name = "avdd_lcd";
17 gpio = <&tlmm 88 GPIO_ACTIVE_HIGH>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&avdd_lcd_en>;
22 vin-supply = <&pp5000_a>;
25 avee_lcd: avee-lcd-regulator {
26 compatible = "regulator-fixed";
27 regulator-name = "avee_lcd";
29 gpio = <&tlmm 21 GPIO_ACTIVE_HIGH>;
31 pinctrl-names = "default";
32 pinctrl-0 = <&avee_lcd_en>;
34 vin-supply = <&pp5000_a>;
38 v1p8_mipi: v1p8-mipi-regulator {
39 compatible = "regulator-fixed";
40 regulator-name = "v1p8_mipi";
42 gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&mipi_1800_en>;
47 vin-supply = <&pp3300_a>;
51 skin_temp_thermal: skin-temp-thermal {
52 polling-delay-passive = <250>;
55 thermal-sensors = <&pm6150_adc_tm 1>;
56 sustainable-power = <574>;
59 skin_temp_alert0: trip-point0 {
60 temperature = <58000>;
65 skin_temp_alert1: trip-point1 {
66 temperature = <62500>;
72 temperature = <68000>;
80 trip = <&skin_temp_alert0>;
81 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
82 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
86 trip = <&skin_temp_alert1>;
87 cooling-device = <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
88 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
96 pwms = <&cros_ec_pwm 0>;
104 base_detection: cbas {
105 compatible = "google,cros-cbas";
108 keyboard-controller {
109 compatible = "google,cros-ec-keyb-switches";
115 clock-frequency = <400000>;
117 ap_ts: touchscreen@1 {
118 compatible = "hid-over-i2c";
120 pinctrl-names = "default";
121 pinctrl-0 = <&ts_int_l>;
123 interrupt-parent = <&tlmm>;
124 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
127 post-power-on-delay-ms = <70>;
128 hid-descr-addr = <0x0001>;
130 vdd-supply = <&pp3300_ts>;
131 vddl-supply = <&pp1800_ts>;
139 enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&vdd_reset_1800>;
142 avdd-supply = <&avdd_lcd>;
143 avee-supply = <&avee_lcd>;
144 pp1800-supply = <&v1p8_mipi>;
145 pp3300-supply = <&pp3300_dx_edp>;
146 backlight = <&backlight>;
151 remote-endpoint = <&mdss_dsi0_out>;
159 remote-endpoint = <&panel_in>;
160 data-lanes = <0 1 2 3>;
168 reg = <ADC5_AMUX_THM1_100K_PU>;
170 qcom,hw-settle-time = <200>;
171 label = "skin_therm";
178 skin-temp-thermistor@1 {
180 io-channels = <&pm6150_adc ADC5_AMUX_THM1_100K_PU>;
182 qcom,hw-settle-time-us = <200>;
203 qcom,ath10k-calibration-variant = "GO_WORMDINGLER";
207 * No eDP on this board but it's logically the same signal so just give it
208 * a new name and assign the proper GPIO.
210 pp3300_disp_on: &pp3300_dx_edp {
211 gpio = <&tlmm 85 GPIO_ACTIVE_HIGH>;
214 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
217 * No eDP on this board but it's logically the same signal so just give it
218 * a new name and assign the proper GPIO.
221 tp_en: &en_pp3300_dx_edp {
225 /* PINCTRL - board-specific pinctrl */
228 gpio-line-names = "HUB_RST_L",
295 * AP_FLASH_WP_L is crossystem ABI. Schematics
296 * call it BIOS_FLASH_WP_L.
346 "FORCED_USB_BOOT_POL",
352 avdd_lcd_en: avdd-lcd-en-state {
355 drive-strength = <2>;
359 avee_lcd_en: avee-lcd-en-state {
362 drive-strength = <2>;
366 mipi_1800_en: mipi-1800-en-state {
369 drive-strength = <2>;
373 vdd_reset_1800: vdd-reset-1800-state {
376 drive-strength = <2>;