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-lte-sku.dtsi"
14 model = "Google Herobrine (rev1+)";
15 compatible = "google,herobrine", "qcom,sc7280";
19 * ADDITIONS TO FIXED REGULATORS DEFINED IN PARENT DEVICE TREE FILES
21 * Sort order matches the order in the parent files (parents before children).
48 /* ADDITIONS TO NODES DEFINED IN PARENT DEVICE TREE FILES */
55 * Although the trackpad is really part of the herobrine baseboard, we'll
56 * put the actual definition in the board device tree since different boards
57 * might hook up different trackpads (or no i2c trackpad at all in the case
58 * of tablets / detachables).
62 clock-frequency = <400000>;
64 trackpad: trackpad@15 {
65 compatible = "elan,ekth3000";
67 pinctrl-names = "default";
68 pinctrl-0 = <&tp_int_odl>;
70 interrupt-parent = <&tlmm>;
71 interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
73 vcc-supply = <&pp3300_z1>;
80 * The touchscreen connector might come off the Qcard, at least in the case of
81 * eDP. Like the trackpad, we'll put it in the board device tree file since
82 * different boards have different touchscreens.
86 clock-frequency = <400000>;
88 ap_ts: touchscreen@5c {
89 compatible = "hid-over-i2c";
91 pinctrl-names = "default";
92 pinctrl-0 = <&ts_int_conn>, <&ts_rst_conn>;
94 interrupt-parent = <&tlmm>;
95 interrupts = <55 IRQ_TYPE_LEVEL_LOW>;
97 post-power-on-delay-ms = <500>;
98 hid-descr-addr = <0x0000>;
100 vdd-supply = <&ts_avdd>;
132 /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */
135 * This pin goes to the display panel but then doesn't actually do anything
136 * on the panel itself (it doesn't connect to the touchscreen controller).
137 * We'll set a pullup here just to park the line.
143 /* PINCTRL - BOARD-SPECIFIC */
146 * Methodology for gpio-line-names:
147 * - If a pin goes to herobrine board and is named it gets that name.
148 * - If a pin goes to herobrine board and is not named, it gets no name.
149 * - If a pin is totally internal to Qcard then it gets Qcard name.
150 * - If a pin is not hooked up on Qcard, it gets no name.
154 gpio-line-names = "FLASH_STROBE_1", /* 1 */
166 gpio-line-names = "AP_TP_I2C_SDA", /* 0 */
177 "GNSS_L1_EN", /* 10 */
184 * AP_FLASH_WP is crossystem ABI. Schematics
185 * call it BIOS_FLASH_WP_OD.
192 "UF_CAM_RST_L", /* 20 */
203 "MOS_BT_UART_TX", /* 30 */
214 "AP_EC_SPI_MISO", /* 40 */
225 "IO_BRD_MLB_ID2", /* 50 */
236 "EDP_HOT_PLUG_DET_N", /* 60 */
247 "UF_CAM_SCL", /* 70 */
258 "EN_PP3300_DX_EDP", /* 80 */
266 "MOS_PCIE0_CLKREQ_N",
269 "MOS_LAA_AS_EN", /* 90 */
273 "MOS_BT_WLAN_SLIMBUS_CLK",
274 "MOS_BT_WLAN_SLIMBUS_DAT0",
280 "HP_LRCLK", /* 100 */
289 "UIM1_DATA_GPIO_109",
291 "UIM1_CLK_GPIO_110", /* 110 */
292 "UIM1_RESET_GPIO_111",
302 "FASTBOOT_SEL_0", /* 120 */
307 "SM_RFFE4_CLK_GRFC_8",
308 "SM_RFFE4_DATA_GRFC_9",
309 "WLAN_COEX_UART1_RX",
310 "WLAN_COEX_UART1_TX",
318 "QLINK0_WMSS_RESET_N",
321 "SMR526_QLINK1_WMSS_RESET_N",
324 "SAR1_IRQ_ODL", /* 140 */
335 "DMIC01_CLK", /* 150 */