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"
11 #include "sc7180-trogdor-rt5682i-sku.dtsi"
13 /* This board only has 1 USB Type-C port. */
14 /delete-node/ &usb_c1;
17 ppvar_lcd: ppvar-lcd-regulator {
18 compatible = "regulator-fixed";
19 regulator-name = "ppvar_lcd";
21 gpio = <&tlmm 88 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&ppvar_lcd_en>;
26 vin-supply = <&pp5000_a>;
29 v1p8_disp: v1p8-disp-regulator {
30 compatible = "regulator-fixed";
31 regulator-name = "v1p8_disp";
33 gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
35 pinctrl-names = "default";
36 pinctrl-0 = <&pp1800_disp_on>;
38 vin-supply = <&pp3300_a>;
43 pwms = <&cros_ec_pwm 0>;
52 compatible = "google,cros-ec-keyb-switches";
62 clock-frequency = <400000>;
64 ap_ts: touchscreen@10 {
65 compatible = "hid-over-i2c";
67 pinctrl-names = "default";
68 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
70 interrupt-parent = <&tlmm>;
71 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
74 post-power-on-delay-ms = <20>;
75 hid-descr-addr = <0x0001>;
77 vdd-supply = <&pp3300_ts>;
83 /* Compatible will be filled in per-board */
85 enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&lcd_rst>;
88 avdd-supply = <&ppvar_lcd>;
89 pp1800-supply = <&v1p8_disp>;
90 pp3300-supply = <&pp3300_dx_edp>;
91 backlight = <&backlight>;
96 remote-endpoint = <&mdss_dsi0_out>;
104 remote-endpoint = <&panel_in>;
105 data-lanes = <0 1 2 3>;
132 * No eDP on this board but it's logically the same signal so just give it
133 * a new name and assign the proper GPIO.
135 pp3300_disp_on: &pp3300_dx_edp {
136 gpio = <&tlmm 67 GPIO_ACTIVE_HIGH>;
139 /* PINCTRL - modifications to sc7180-trogdor.dtsi */
142 * No eDP on this board but it's logically the same signal so just give it
143 * a new name and assign the proper GPIO.
146 tp_en: &en_pp3300_dx_edp {
150 /* PINCTRL - board-specific pinctrl */
153 gpio-line-names = "HUB_RST_L",
220 * AP_FLASH_WP_L is crossystem ABI. Schematics
221 * call it BIOS_FLASH_WP_L.
277 lcd_rst: lcd-rst-state {
280 drive-strength = <2>;
284 ppvar_lcd_en: ppvar-lcd-en-state {
287 drive-strength = <2>;
291 pp1800_disp_on: pp1800-disp-on-state {
294 drive-strength = <2>;