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