1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Google Lazor 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#include "sc7180-trogdor-ti-sn65dsi86.dtsi" 15 16&ap_sar_sensor { 17 semtech,cs0-ground; 18 semtech,combined-sensors = <3>; 19 semtech,resolution = "fine"; 20 semtech,startup-sensor = <0>; 21 semtech,proxraw-strength = <8>; 22 semtech,avg-pos-strength = <64>; 23}; 24 25/* 26 * Lazor is stuffed with a 47k NTC as charger thermistor which currently is 27 * not supported by the PM6150 ADC driver. Disable the charger thermal zone 28 * to avoid using bogus temperature values. 29 */ 30&charger_thermal { 31 status = "disabled"; 32}; 33 34ap_ts_pen_1v8: &i2c4 { 35 status = "okay"; 36 clock-frequency = <400000>; 37 38 ap_ts: touchscreen@10 { 39 compatible = "hid-over-i2c"; 40 reg = <0x10>; 41 pinctrl-names = "default"; 42 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>; 43 44 interrupt-parent = <&tlmm>; 45 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 46 47 post-power-on-delay-ms = <20>; 48 hid-descr-addr = <0x0001>; 49 50 vdd-supply = <&pp3300_ts>; 51 }; 52}; 53 54&panel { 55 compatible = "boe,nv133fhm-n62"; 56}; 57 58&pm6150_adc { 59 status = "disabled"; 60 61 /delete-node/ charger-thermistor@4f; 62}; 63 64&pm6150_adc_tm { 65 status = "disabled"; 66 67 /delete-node/ charger-thermistor@0; 68}; 69 70&trackpad { 71 interrupts = <58 IRQ_TYPE_EDGE_FALLING>; 72}; 73 74&wifi { 75 qcom,ath10k-calibration-variant = "GO_LAZOR"; 76}; 77 78/* PINCTRL - modifications to sc7180-trogdor.dtsi */ 79 80&trackpad_int_1v8_odl { 81 pinmux { 82 pins = "gpio58"; 83 }; 84 85 pinconf { 86 pins = "gpio58"; 87 }; 88}; 89 90&ts_reset_l { 91 pinconf { 92 /* This pin is not connected on -rev0, pull up to park. */ 93 /delete-property/bias-disable; 94 bias-pull-up; 95 }; 96}; 97 98/* PINCTRL - board-specific pinctrl */ 99 100&tlmm { 101 gpio-line-names = "ESIM_MISO", 102 "ESIM_MOSI", 103 "ESIM_CLK", 104 "ESIM_CS_L", 105 "", 106 "", 107 "AP_TP_I2C_SDA", 108 "AP_TP_I2C_SCL", 109 "TS_RESET_L", 110 "TS_INT_L", 111 "", 112 "EDP_BRIJ_IRQ", 113 "AP_EDP_BKLTEN", 114 "AP_RAM_ID2", 115 "", 116 "EDP_BRIJ_I2C_SDA", 117 "EDP_BRIJ_I2C_SCL", 118 "HUB_RST_L", 119 "", 120 "AP_RAM_ID1", 121 "AP_SKU_ID2", 122 "", 123 "", 124 "AMP_EN", 125 "P_SENSOR_INT_L", 126 "AP_SAR_SENSOR_SDA", 127 "AP_SAR_SENSOR_SCL", 128 "", 129 "HP_IRQ", 130 "AP_RAM_ID0", 131 "EN_PP3300_DX_EDP", 132 "AP_BRD_ID2", 133 "BRIJ_SUSPEND", 134 "AP_BRD_ID0", 135 "AP_H1_SPI_MISO", 136 "AP_H1_SPI_MOSI", 137 "AP_H1_SPI_CLK", 138 "AP_H1_SPI_CS_L", 139 "", 140 "", 141 "", 142 "", 143 "H1_AP_INT_ODL", 144 "", 145 "UART_AP_TX_DBG_RX", 146 "UART_DBG_TX_AP_RX", 147 "HP_I2C_SDA", 148 "HP_I2C_SCL", 149 "FORCED_USB_BOOT", 150 "", 151 "", 152 "AMP_DIN", 153 "", 154 "HP_BCLK", 155 "HP_LRCLK", 156 "HP_DOUT", 157 "HP_DIN", 158 "HP_MCLK", 159 "TRACKPAD_INT_1V8_ODL", 160 "AP_EC_SPI_MISO", 161 "AP_EC_SPI_MOSI", 162 "AP_EC_SPI_CLK", 163 "AP_EC_SPI_CS_L", 164 "AP_SPI_CLK", 165 "AP_SPI_MOSI", 166 "AP_SPI_MISO", 167 /* 168 * AP_FLASH_WP_L is crossystem ABI. Schematics 169 * call it BIOS_FLASH_WP_L. 170 */ 171 "AP_FLASH_WP_L", 172 "DBG_SPI_HOLD_L", 173 "AP_SPI_CS0_L", 174 "", 175 "", 176 "", 177 "", 178 "", 179 "", 180 "UIM2_DATA", 181 "UIM2_CLK", 182 "UIM2_RST", 183 "UIM2_PRESENT", 184 "UIM1_DATA", 185 "UIM1_CLK", 186 "UIM1_RST", 187 "", 188 "EN_PP3300_CODEC", 189 "EN_PP3300_HUB", 190 "", 191 "", 192 "", 193 "", 194 "", 195 "AP_SKU_ID1", 196 "AP_RST_REQ", 197 "", 198 "AP_BRD_ID1", 199 "AP_EC_INT_L", 200 "", 201 "", 202 "", 203 "", 204 "", 205 "", 206 "", 207 "", 208 "", 209 "EDP_BRIJ_EN", 210 "AP_SKU_ID0", 211 "", 212 "", 213 "", 214 "", 215 "", 216 "", 217 "", 218 "", 219 "", 220 "AP_TS_PEN_I2C_SDA", 221 "AP_TS_PEN_I2C_SCL", 222 "DP_HOT_PLUG_DET", 223 "EC_IN_RW_ODL"; 224}; 225