1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Quackingstick board device tree source
5 * Copyright 2021 Google LLC.
10 #include "sc7180-trogdor.dtsi"
12 /* This board only has 1 USB Type-C port. */
13 /delete-node/ &usb_c1;
16 ppvar_lcd: ppvar-lcd {
17 compatible = "regulator-fixed";
18 regulator-name = "ppvar_lcd";
20 gpio = <&tlmm 88 GPIO_ACTIVE_HIGH>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&ppvar_lcd_en>;
25 vin-supply = <&pp5000_a>;
28 v1p8_disp: v1p8-disp {
29 compatible = "regulator-fixed";
30 regulator-name = "v1p8_disp";
32 gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
34 pinctrl-names = "default";
35 pinctrl-0 = <&pp1800_disp_on>;
37 vin-supply = <&pp3300_a>;
42 pwms = <&cros_ec_pwm 0>;
51 compatible = "google,cros-ec-keyb-switches";
57 /* Compatible will be filled in per-board */
59 enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
60 pinctrl-names = "default";
61 pinctrl-0 = <&lcd_rst>;
62 avdd-supply = <&ppvar_lcd>;
63 pp1800-supply = <&v1p8_disp>;
64 pp3300-supply = <&pp3300_dx_edp>;
65 backlight = <&backlight>;
74 remote-endpoint = <&dsi0_out>;
83 remote-endpoint = <&panel_in>;
84 data-lanes = <0 1 2 3>;
96 clock-frequency = <400000>;
98 ap_ts: touchscreen@10 {
99 compatible = "hid-over-i2c";
101 pinctrl-names = "default";
102 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
104 interrupt-parent = <&tlmm>;
105 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
107 post-power-on-delay-ms = <20>;
108 hid-descr-addr = <0x0001>;
110 vdd-supply = <&pp3300_ts>;
135 * No eDP on this board but it's logically the same signal so just give it
136 * a new name and assign the proper GPIO.
138 pp3300_disp_on: &pp3300_dx_edp {
139 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
142 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
145 * No eDP on this board but it's logically the same signal so just give it
146 * a new name and assign the proper GPIO.
149 tp_en: &en_pp3300_dx_edp {
159 /* PINCTRL - board-specific pinctrl */
162 gpio-line-names = "HUB_RST_L",
229 * AP_FLASH_WP_L is crossystem ABI. Schematics
230 * call it BIOS_FLASH_WP_L.
294 drive-strength = <2>;
299 ppvar_lcd_en: ppvar-lcd-en {
307 drive-strength = <2>;
312 pp1800_disp_on: pp1800-disp-on {
320 drive-strength = <2>;