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"
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>;
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 {
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";
117 enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&vdd_reset_1800>;
120 avdd-supply = <&avdd_lcd>;
121 avee-supply = <&avee_lcd>;
122 pp1800-supply = <&v1p8_mipi>;
123 pp3300-supply = <&pp3300_dx_edp>;
124 backlight = <&backlight>;
128 #address-cells = <1>;
133 remote-endpoint = <&dsi0_out>;
142 remote-endpoint = <&panel_in>;
143 data-lanes = <0 1 2 3>;
151 clock-frequency = <400000>;
153 ap_ts: touchscreen@1 {
154 compatible = "hid-over-i2c";
156 pinctrl-names = "default";
157 pinctrl-0 = <&ts_int_l>;
159 interrupt-parent = <&tlmm>;
160 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
162 post-power-on-delay-ms = <70>;
163 hid-descr-addr = <0x0001>;
165 vdd-supply = <&pp3300_ts>;
166 vddl-supply = <&pp1800_ts>;
171 skin-temp-thermistor@4d {
172 reg = <ADC5_AMUX_THM1_100K_PU>;
174 qcom,hw-settle-time = <200>;
181 skin-temp-thermistor@1 {
183 io-channels = <&pm6150_adc ADC5_AMUX_THM1_100K_PU>;
185 qcom,hw-settle-time-us = <200>;
206 qcom,ath10k-calibration-variant = "GO_WORMDINGLER";
210 * No eDP on this board but it's logically the same signal so just give it
211 * a new name and assign the proper GPIO.
213 pp3300_disp_on: &pp3300_dx_edp {
214 gpio = <&tlmm 85 GPIO_ACTIVE_HIGH>;
217 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
220 * No eDP on this board but it's logically the same signal so just give it
221 * a new name and assign the proper GPIO.
224 tp_en: &en_pp3300_dx_edp {
234 /* PINCTRL - board-specific pinctrl */
237 gpio-line-names = "HUB_RST_L",
304 * AP_FLASH_WP_L is crossystem ABI. Schematics
305 * call it BIOS_FLASH_WP_L.
355 "FORCED_USB_BOOT_POL",
361 avdd_lcd_en: avdd-lcd-en {
369 drive-strength = <2>;
374 avee_lcd_en: avee-lcd-en {
382 drive-strength = <2>;
387 mipi_1800_en: mipi-1800-en {
395 drive-strength = <2>;
400 vdd_reset_1800: vdd-reset-1800 {
408 drive-strength = <2>;