blob: e9f213d2771184d04244837b007009eaaf62a861 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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#include <arm/cros-ec-keyboard.dtsi>
10
11&ap_sar_sensor {
12 semtech,cs0-ground;
13 semtech,combined-sensors = <3>;
14 semtech,resolution = "fine";
15 semtech,startup-sensor = <0>;
16 semtech,proxraw-strength = <8>;
17 semtech,avg-pos-strength = <64>;
18};
19
20&ap_tp_i2c {
21 status = "okay";
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 panel = <&panel>;
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 /delete-node/ channel@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 pins = "gpio58";
80};
81
82&ts_reset_l {
83 /* This pin is not connected on -rev0, pull up to park. */
84 /delete-property/bias-disable;
85 bias-pull-up;
86};
87
88/* PINCTRL - board-specific pinctrl */
89
90&tlmm {
91 gpio-line-names = "ESIM_MISO",
92 "ESIM_MOSI",
93 "ESIM_CLK",
94 "ESIM_CS_L",
95 "",
96 "",
97 "AP_TP_I2C_SDA",
98 "AP_TP_I2C_SCL",
99 "TS_RESET_L",
100 "TS_INT_L",
101 "",
102 "EDP_BRIJ_IRQ",
103 "AP_EDP_BKLTEN",
104 "AP_RAM_ID2",
105 "",
106 "EDP_BRIJ_I2C_SDA",
107 "EDP_BRIJ_I2C_SCL",
108 "HUB_RST_L",
109 "",
110 "AP_RAM_ID1",
111 "AP_SKU_ID2",
112 "",
113 "",
114 "AMP_EN",
115 "P_SENSOR_INT_L",
116 "AP_SAR_SENSOR_SDA",
117 "AP_SAR_SENSOR_SCL",
118 "",
119 "HP_IRQ",
120 "AP_RAM_ID0",
121 "EN_PP3300_DX_EDP",
122 "AP_BRD_ID2",
123 "BRIJ_SUSPEND",
124 "AP_BRD_ID0",
125 "AP_H1_SPI_MISO",
126 "AP_H1_SPI_MOSI",
127 "AP_H1_SPI_CLK",
128 "AP_H1_SPI_CS_L",
129 "",
130 "",
131 "",
132 "",
133 "H1_AP_INT_ODL",
134 "",
135 "UART_AP_TX_DBG_RX",
136 "UART_DBG_TX_AP_RX",
137 "HP_I2C_SDA",
138 "HP_I2C_SCL",
139 "FORCED_USB_BOOT",
140 "",
141 "",
142 "AMP_DIN",
143 "",
144 "HP_BCLK",
145 "HP_LRCLK",
146 "HP_DOUT",
147 "HP_DIN",
148 "HP_MCLK",
149 "TRACKPAD_INT_1V8_ODL",
150 "AP_EC_SPI_MISO",
151 "AP_EC_SPI_MOSI",
152 "AP_EC_SPI_CLK",
153 "AP_EC_SPI_CS_L",
154 "AP_SPI_CLK",
155 "AP_SPI_MOSI",
156 "AP_SPI_MISO",
157 /*
158 * AP_FLASH_WP_L is crossystem ABI. Schematics
159 * call it BIOS_FLASH_WP_L.
160 */
161 "AP_FLASH_WP_L",
162 "DBG_SPI_HOLD_L",
163 "AP_SPI_CS0_L",
164 "",
165 "",
166 "",
167 "",
168 "",
169 "",
170 "UIM2_DATA",
171 "UIM2_CLK",
172 "UIM2_RST",
173 "UIM2_PRESENT",
174 "UIM1_DATA",
175 "UIM1_CLK",
176 "UIM1_RST",
177 "",
178 "EN_PP3300_CODEC",
179 "EN_PP3300_HUB",
180 "",
181 "",
182 "",
183 "",
184 "",
185 "AP_SKU_ID1",
186 "AP_RST_REQ",
187 "",
188 "AP_BRD_ID1",
189 "AP_EC_INT_L",
190 "",
191 "",
192 "",
193 "",
194 "",
195 "",
196 "",
197 "",
198 "",
199 "EDP_BRIJ_EN",
200 "AP_SKU_ID0",
201 "",
202 "",
203 "",
204 "",
205 "",
206 "",
207 "",
208 "",
209 "",
210 "AP_TS_PEN_I2C_SDA",
211 "AP_TS_PEN_I2C_SCL",
212 "DP_HOT_PLUG_DET",
213 "EC_IN_RW_ODL";
214};