1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Herobrine board device tree source
5 * Copyright 2022 Google LLC.
10 #include "sc7280-herobrine.dtsi"
11 #include "sc7280-herobrine-audio-rt5682.dtsi"
12 #include "sc7280-herobrine-lte-sku.dtsi"
15 model = "Google Herobrine (rev1+)";
16 compatible = "google,herobrine", "qcom,sc7280";
20 * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
22 * Sort order matches the order in the parent files (parents before children).
49 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
52 * Although the trackpad is really part of the herobrine baseboard, we'll
53 * put the actual definition in the board device tree since different boards
54 * might hook up different trackpads (or no i2c trackpad at all in the case
55 * of tablets / detachables).
59 clock-frequency = <400000>;
61 trackpad: trackpad@15 {
62 compatible = "elan,ekth3000";
64 pinctrl-names = "default";
65 pinctrl-0 = <&tp_int_odl>;
67 interrupt-parent = <&tlmm>;
68 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
70 vcc-supply = <&pp3300_z1>;
77 * The touchscreen connector might come off the Qcard, at least in the case of
78 * eDP. Like the trackpad, we'll put it in the board device tree file since
79 * different boards have different touchscreens.
83 clock-frequency = <400000>;
85 ap_ts: touchscreen@5c {
86 compatible = "hid-over-i2c";
88 pinctrl-names = "default";
89 pinctrl-0 = <&ts_int_conn>, <&ts_rst_conn>;
91 interrupt-parent = <&tlmm>;
92 interrupts = <55 IRQ_TYPE_LEVEL_LOW>;
94 post-power-on-delay-ms = <500>;
95 hid-descr-addr = <0x0000>;
97 vdd-supply = <&ts_avdd>;
129 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
132 * This pin goes to the display panel but then doesn't actually do anything
133 * on the panel itself (it doesn't connect to the touchscreen controller).
134 * We'll set a pullup here just to park the line.
140 /* PINCTRL - BOARD-SPECIFIC */
143 * Methodology for gpio-line-names:
144 * - If a pin goes to herobrine board and is named it gets that name.
145 * - If a pin goes to herobrine board and is not named, it gets no name.
146 * - If a pin is totally internal to Qcard then it gets Qcard name.
147 * - If a pin is not hooked up on Qcard, it gets no name.
151 gpio-line-names = "FLASH_STROBE_1", /* 1 */
163 gpio-line-names = "AP_TP_I2C_SDA", /* 0 */
174 "GNSS_L1_EN", /* 10 */
181 * AP_FLASH_WP is crossystem ABI. Schematics
182 * call it BIOS_FLASH_WP_OD.
189 "UF_CAM_RST_L", /* 20 */
200 "MOS_BT_UART_TX", /* 30 */
211 "AP_EC_SPI_MISO", /* 40 */
222 "IO_BRD_MLB_ID2", /* 50 */
233 "EDP_HOT_PLUG_DET_N", /* 60 */
244 "UF_CAM_SCL", /* 70 */
255 "EN_PP3300_DX_EDP", /* 80 */
263 "MOS_PCIE0_CLKREQ_N",
266 "MOS_LAA_AS_EN", /* 90 */
270 "MOS_BT_WLAN_SLIMBUS_CLK",
271 "MOS_BT_WLAN_SLIMBUS_DAT0",
277 "HP_LRCLK", /* 100 */
286 "UIM1_DATA_GPIO_109",
288 "UIM1_CLK_GPIO_110", /* 110 */
289 "UIM1_RESET_GPIO_111",
299 "FASTBOOT_SEL_0", /* 120 */
304 "SM_RFFE4_CLK_GRFC_8",
305 "SM_RFFE4_DATA_GRFC_9",
306 "WLAN_COEX_UART1_RX",
307 "WLAN_COEX_UART1_TX",
315 "QLINK0_WMSS_RESET_N",
318 "SMR526_QLINK1_WMSS_RESET_N",
321 "SAR1_IRQ_ODL", /* 140 */
332 "DMIC01_CLK", /* 150 */