1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Google Pompom board device tree source 4 * 5 * Copyright 2020 Google LLC. 6 */ 7 8#include "sc7180.dtsi" 9 10ap_ec_spi: &spi6 {}; 11ap_h1_spi: &spi0 {}; 12 13#include "sc7180-trogdor.dtsi" 14 15/ { 16 thermal-zones { 17 5v-choke-thermal { 18 polling-delay-passive = <0>; 19 polling-delay = <250>; 20 21 thermal-sensors = <&pm6150_adc_tm 1>; 22 23 trips { 24 5v-choke-crit { 25 temperature = <125000>; 26 hysteresis = <1000>; 27 type = "critical"; 28 }; 29 }; 30 }; 31 }; 32}; 33 34&alc5682 { 35 realtek,dmic-clk-driving-high = "true"; 36}; 37 38&cpu6_alert0 { 39 temperature = <60000>; 40}; 41 42&cpu6_alert1 { 43 temperature = <65000>; 44}; 45 46&cpu6_thermal { 47 sustainable-power = <948>; 48}; 49 50&cpu7_alert0 { 51 temperature = <60000>; 52}; 53 54&cpu7_alert1 { 55 temperature = <65000>; 56}; 57 58&cpu7_thermal { 59 sustainable-power = <948>; 60}; 61 62&cpu8_alert0 { 63 temperature = <60000>; 64}; 65 66&cpu8_alert1 { 67 temperature = <65000>; 68}; 69 70&cpu8_thermal { 71 sustainable-power = <948>; 72}; 73 74&cpu9_alert0 { 75 temperature = <60000>; 76}; 77 78&cpu9_alert1 { 79 temperature = <65000>; 80}; 81 82&cpu9_thermal { 83 sustainable-power = <948>; 84}; 85 86&gpio_keys { 87 status = "okay"; 88}; 89 90ap_ts_pen_1v8: &i2c4 { 91 status = "okay"; 92 clock-frequency = <400000>; 93 94 ap_ts: touchscreen@10 { 95 compatible = "hid-over-i2c"; 96 reg = <0x10>; 97 pinctrl-names = "default"; 98 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 99 100 interrupt-parent = <&tlmm>; 101 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 102 103 post-power-on-delay-ms = <20>; 104 hid-descr-addr = <0x0001>; 105 106 vdd-supply = <&pp3300_ts>; 107 }; 108}; 109 110&panel { 111 compatible = "kingdisplay,kd116n21-30nv-a010"; 112}; 113 114&pen_insert { 115 /* Insert = high, eject = low */ 116 gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 117}; 118 119&pm6150_adc { 120 5v-choke-thermistor@4e { 121 reg = <ADC5_AMUX_THM2_100K_PU>; 122 qcom,ratiometric; 123 qcom,hw-settle-time = <200>; 124 }; 125}; 126 127&pm6150_adc_tm { 128 status = "okay"; 129 130 5v-choke-thermistor@1 { 131 reg = <1>; 132 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>; 133 qcom,ratiometric; 134 qcom,hw-settle-time-us = <200>; 135 }; 136}; 137 138&sdhc_2 { 139 status = "okay"; 140}; 141 142&usb_c1 { 143 status = "disabled"; 144}; 145 146&wifi { 147 qcom,ath10k-calibration-variant = "GO_POMPOM"; 148}; 149 150/* PINCTRL - board-specific pinctrl */ 151 152&tlmm { 153 gpio-line-names = "TP_INT_ODL", 154 "AP_RAM_ID0", 155 "AP_SKU_ID2", 156 "AP_RAM_ID1", 157 "", 158 "AP_RAM_ID2", 159 "AP_TP_I2C_SDA", 160 "AP_TP_I2C_SCL", 161 "TS_RESET_L", 162 "TS_INT_L", 163 "", 164 "EDP_BRIJ_IRQ", 165 "AP_EDP_BKLTEN", 166 "", 167 "", 168 "EDP_BRIJ_I2C_SDA", 169 "EDP_BRIJ_I2C_SCL", 170 "HUB_RST_L", 171 "", 172 "", 173 "", 174 "", 175 "", 176 "AMP_EN", 177 "P_SENSOR_INT_L", 178 "AP_SAR_SENSOR_SDA", 179 "AP_SAR_SENSOR_SCL", 180 "", 181 "HP_IRQ", 182 "", 183 "EN_PP3300_DX_EDP", 184 "AP_BRD_ID2", 185 "BRIJ_SUSPEND", 186 "AP_BRD_ID0", 187 "AP_H1_SPI_MISO", 188 "AP_H1_SPI_MOSI", 189 "AP_H1_SPI_CLK", 190 "AP_H1_SPI_CS_L", 191 "", 192 "", 193 "", 194 "", 195 "H1_AP_INT_ODL", 196 "", 197 "UART_AP_TX_DBG_RX", 198 "UART_DBG_TX_AP_RX", 199 "HP_I2C_SDA", 200 "HP_I2C_SCL", 201 "FORCED_USB_BOOT", 202 "AMP_BCLK", 203 "AMP_LRCLK", 204 "AMP_DIN", 205 "PEN_PDCT_L", 206 "HP_BCLK", 207 "HP_LRCLK", 208 "HP_DOUT", 209 "HP_DIN", 210 "HP_MCLK", 211 "AP_SKU_ID0", 212 "AP_EC_SPI_MISO", 213 "AP_EC_SPI_MOSI", 214 "AP_EC_SPI_CLK", 215 "AP_EC_SPI_CS_L", 216 "AP_SPI_CLK", 217 "AP_SPI_MOSI", 218 "AP_SPI_MISO", 219 /* 220 * AP_FLASH_WP_L is crossystem ABI. Schematics 221 * call it BIOS_FLASH_WP_L. 222 */ 223 "AP_FLASH_WP_L", 224 "", 225 "AP_SPI_CS0_L", 226 "SD_CD_ODL", 227 "", 228 "", 229 "", 230 "", 231 "", 232 "UIM2_DATA", 233 "UIM2_CLK", 234 "UIM2_RST", 235 "UIM2_PRESENT", 236 "UIM1_DATA", 237 "UIM1_CLK", 238 "UIM1_RST", 239 "", 240 "EN_PP3300_CODEC", 241 "EN_PP3300_HUB", 242 "", 243 "DMIC_SEL", 244 "", 245 "", 246 "", 247 "AP_SKU_ID1", 248 "AP_RST_REQ", 249 "", 250 "AP_BRD_ID1", 251 "AP_EC_INT_R_L", 252 "", 253 "", 254 "", 255 "", 256 "", 257 "", 258 "", 259 "", 260 "", 261 "EDP_BRIJ_EN", 262 "", 263 "", 264 "", 265 "", 266 "", 267 "", 268 "", 269 "", 270 "", 271 "", 272 "AP_TS_PEN_I2C_SDA", 273 "AP_TS_PEN_I2C_SCL", 274 "DP_HOT_PLUG_DET", 275 "EC_IN_RW_ODL"; 276 277 dmic_sel: dmic-sel { 278 pinmux { 279 pins = "gpio86"; 280 function = "gpio"; 281 }; 282 283 pinconf { 284 pins = "gpio86"; 285 bias-pull-down; 286 }; 287 }; 288}; 289