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