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