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-trogdor-clamshell.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 32 ap_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 panel = <&panel>; 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 &pm6150_adc { 58 /delete-node/ channel@4f; 59 }; 60 61 &pm6150_adc_tm { 62 status = "disabled"; 63 64 /delete-node/ charger-thermistor@0; 65 }; 66 67 &trackpad { 68 interrupts = <58 IRQ_TYPE_EDGE_FALLING>; 69 }; 70 71 &wifi { 72 qcom,ath10k-calibration-variant = "GO_LAZOR"; 73 }; 74 75 /* PINCTRL - modifications to sc7180-trogdor.dtsi */ 76 77 &trackpad_int_1v8_odl { 78 pins = "gpio58"; 79 }; 80 81 &ts_reset_l { 82 /* This pin is not connected on -rev0, pull up to park. */ 83 /delete-property/bias-disable; 84 bias-pull-up; 85 }; 86 87 /* PINCTRL - board-specific pinctrl */ 88 89 &tlmm { 90 gpio-line-names = "ESIM_MISO", 91 "ESIM_MOSI", 92 "ESIM_CLK", 93 "ESIM_CS_L", 94 "", 95 "", 96 "AP_TP_I2C_SDA", 97 "AP_TP_I2C_SCL", 98 "TS_RESET_L", 99 "TS_INT_L", 100 "", 101 "EDP_BRIJ_IRQ", 102 "AP_EDP_BKLTEN", 103 "AP_RAM_ID2", 104 "", 105 "EDP_BRIJ_I2C_SDA", 106 "EDP_BRIJ_I2C_SCL", 107 "HUB_RST_L", 108 "", 109 "AP_RAM_ID1", 110 "AP_SKU_ID2", 111 "", 112 "", 113 "AMP_EN", 114 "P_SENSOR_INT_L", 115 "AP_SAR_SENSOR_SDA", 116 "AP_SAR_SENSOR_SCL", 117 "", 118 "HP_IRQ", 119 "AP_RAM_ID0", 120 "EN_PP3300_DX_EDP", 121 "AP_BRD_ID2", 122 "BRIJ_SUSPEND", 123 "AP_BRD_ID0", 124 "AP_H1_SPI_MISO", 125 "AP_H1_SPI_MOSI", 126 "AP_H1_SPI_CLK", 127 "AP_H1_SPI_CS_L", 128 "", 129 "", 130 "", 131 "", 132 "H1_AP_INT_ODL", 133 "", 134 "UART_AP_TX_DBG_RX", 135 "UART_DBG_TX_AP_RX", 136 "HP_I2C_SDA", 137 "HP_I2C_SCL", 138 "FORCED_USB_BOOT", 139 "", 140 "", 141 "AMP_DIN", 142 "", 143 "HP_BCLK", 144 "HP_LRCLK", 145 "HP_DOUT", 146 "HP_DIN", 147 "HP_MCLK", 148 "TRACKPAD_INT_1V8_ODL", 149 "AP_EC_SPI_MISO", 150 "AP_EC_SPI_MOSI", 151 "AP_EC_SPI_CLK", 152 "AP_EC_SPI_CS_L", 153 "AP_SPI_CLK", 154 "AP_SPI_MOSI", 155 "AP_SPI_MISO", 156 /* 157 * AP_FLASH_WP_L is crossystem ABI. Schematics 158 * call it BIOS_FLASH_WP_L. 159 */ 160 "AP_FLASH_WP_L", 161 "DBG_SPI_HOLD_L", 162 "AP_SPI_CS0_L", 163 "", 164 "", 165 "", 166 "", 167 "", 168 "", 169 "UIM2_DATA", 170 "UIM2_CLK", 171 "UIM2_RST", 172 "UIM2_PRESENT", 173 "UIM1_DATA", 174 "UIM1_CLK", 175 "UIM1_RST", 176 "", 177 "EN_PP3300_CODEC", 178 "EN_PP3300_HUB", 179 "", 180 "", 181 "", 182 "", 183 "", 184 "AP_SKU_ID1", 185 "AP_RST_REQ", 186 "", 187 "AP_BRD_ID1", 188 "AP_EC_INT_L", 189 "", 190 "", 191 "", 192 "", 193 "", 194 "", 195 "", 196 "", 197 "", 198 "EDP_BRIJ_EN", 199 "AP_SKU_ID0", 200 "", 201 "", 202 "", 203 "", 204 "", 205 "", 206 "", 207 "", 208 "", 209 "AP_TS_PEN_I2C_SDA", 210 "AP_TS_PEN_I2C_SCL", 211 "DP_HOT_PLUG_DET", 212 "EC_IN_RW_ODL"; 213 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.