1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Google Trogdor board device tree source 4 * 5 * Copyright 2020 Google LLC. 6 */ 7 8/dts-v1/; 9 10#include "sc7180-trogdor.dtsi" 11#include "sc7180-trogdor-ti-sn65dsi86.dtsi" 12 13/ { 14 model = "Google Trogdor (rev1+)"; 15 compatible = "google,trogdor", "qcom,sc7180"; 16}; 17 18&ap_tp_i2c { 19 status = "okay"; 20}; 21 22ap_ts_pen_1v8: &i2c4 { 23 status = "okay"; 24 clock-frequency = <400000>; 25 26 ap_ts: touchscreen@10 { 27 compatible = "elan,ekth3500"; 28 reg = <0x10>; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 31 32 interrupt-parent = <&tlmm>; 33 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 34 35 vcc33-supply = <&pp3300_ts>; 36 37 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 38 }; 39}; 40 41&panel { 42 compatible = "auo,b116xa01"; 43}; 44 45&pp3300_hub { 46 /* pp3300_l7c is used to power the USB hub */ 47 /delete-property/regulator-always-on; 48 /delete-property/regulator-boot-on; 49}; 50 51&pp3300_l7c { 52 regulator-always-on; 53 regulator-boot-on; 54}; 55 56&sdhc_2 { 57 status = "okay"; 58}; 59 60&trackpad { 61 interrupts = <58 IRQ_TYPE_EDGE_FALLING>; 62}; 63 64/* PINCTRL - modifications to sc7180-trogdor.dtsi */ 65 66&trackpad_int_1v8_odl { 67 pinmux { 68 pins = "gpio58"; 69 }; 70 71 pinconf { 72 pins = "gpio58"; 73 }; 74}; 75 76/* PINCTRL - board-specific pinctrl */ 77 78&tlmm { 79 gpio-line-names = "ESIM_MISO", 80 "ESIM_MOSI", 81 "ESIM_CLK", 82 "ESIM_CS_L", 83 "FP_TO_AP_IRQ_L", 84 "FP_RST_L", 85 "AP_TP_I2C_SDA", 86 "AP_TP_I2C_SCL", 87 "TS_RESET_L", 88 "TS_INT_L", 89 "FPMCU_BOOT0", 90 "EDP_BRIJ_IRQ", 91 "AP_EDP_BKLTEN", 92 "", 93 "", 94 "EDP_BRIJ_I2C_SDA", 95 "EDP_BRIJ_I2C_SCL", 96 "HUB_RST_L", 97 "PEN_RST_ODL", 98 "AP_RAM_ID1", 99 "AP_RAM_ID2", 100 "PEN_IRQ_L", 101 "FPMCU_SEL", 102 "AMP_EN", 103 "P_SENSOR_INT_L", 104 "AP_SAR_SENSOR_SDA", 105 "AP_SAR_SENSOR_SCL", 106 "", 107 "HP_IRQ", 108 "AP_RAM_ID0", 109 "EN_PP3300_DX_EDP", 110 "AP_BRD_ID2", 111 "BRIJ_SUSPEND", 112 "AP_BRD_ID0", 113 "AP_H1_SPI_MISO", 114 "AP_H1_SPI_MOSI", 115 "AP_H1_SPI_CLK", 116 "AP_H1_SPI_CS_L", 117 "", 118 "", 119 "", 120 "", 121 "H1_AP_INT_ODL", 122 "", 123 "UART_AP_TX_DBG_RX", 124 "UART_DBG_TX_AP_RX", 125 "HP_I2C_SDA", 126 "HP_I2C_SCL", 127 "FORCED_USB_BOOT", 128 "", 129 "", 130 "AMP_DIN", 131 "PEN_PDCT_L", 132 "HP_BCLK", 133 "HP_LRCLK", 134 "HP_DOUT", 135 "HP_DIN", 136 "HP_MCLK", 137 "TRACKPAD_INT_1V8_ODL", 138 "AP_EC_SPI_MISO", 139 "AP_EC_SPI_MOSI", 140 "AP_EC_SPI_CLK", 141 "AP_EC_SPI_CS_L", 142 "AP_SPI_CLK", 143 "AP_SPI_MOSI", 144 "AP_SPI_MISO", 145 /* 146 * AP_FLASH_WP_L is crossystem ABI. Schematics 147 * call it BIOS_FLASH_WP_L. 148 */ 149 "AP_FLASH_WP_L", 150 "DBG_SPI_HOLD_L", 151 "AP_SPI_CS0_L", 152 "SD_CD_ODL", 153 "", 154 "", 155 "", 156 "", 157 "", 158 "UIM2_DATA", 159 "UIM2_CLK", 160 "UIM2_RST", 161 "UIM2_PRESENT", 162 "UIM1_DATA", 163 "UIM1_CLK", 164 "UIM1_RST", 165 "", 166 "EN_PP3300_CODEC", 167 "EN_PP3300_HUB", 168 "", 169 "AP_SPI_FP_MISO", 170 "AP_SPI_FP_MOSI", 171 "AP_SPI_FP_CLK", 172 "AP_SPI_FP_CS_L", 173 "AP_SKU_ID1", 174 "AP_RST_REQ", 175 "", 176 "AP_BRD_ID1", 177 "AP_EC_INT_L", 178 "", 179 "", 180 "", 181 "", 182 "", 183 "", 184 "", 185 "", 186 "", 187 "EDP_BRIJ_EN", 188 "AP_SKU_ID0", 189 "", 190 "", 191 "", 192 "", 193 "", 194 "", 195 "", 196 "", 197 "", 198 "AP_TS_PEN_I2C_SDA", 199 "AP_TS_PEN_I2C_SCL", 200 "DP_HOT_PLUG_DET", 201 "EC_IN_RW_ODL"; 202}; 203