~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Google Pompom board device tree source
  4  *
  5  * Copyright 2020 Google LLC.
  6  */
  7 
  8 #include "sc7180-trogdor.dtsi"
  9 #include "sc7180-trogdor-clamshell.dtsi"
 10 #include "sc7180-trogdor-rt5682i-sku.dtsi"
 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
 12 
 13 / {
 14         thermal-zones {
 15                 5v-choke-thermal {
 16                         thermal-sensors = <&pm6150_adc_tm 1>;
 17 
 18                         trips {
 19                                 5v-choke-crit {
 20                                         temperature = <125000>;
 21                                         hysteresis = <1000>;
 22                                         type = "critical";
 23                                 };
 24                         };
 25                 };
 26         };
 27 };
 28 
 29 &alc5682 {
 30         realtek,dmic-clk-driving-high;
 31 };
 32 
 33 &ap_tp_i2c {
 34         status = "okay";
 35 };
 36 
 37 &cpu6_alert0 {
 38         temperature = <60000>;
 39 };
 40 
 41 &cpu6_alert1 {
 42         temperature = <65000>;
 43 };
 44 
 45 &cpu6_thermal {
 46         sustainable-power = <1124>;
 47 };
 48 
 49 &cpu7_alert0 {
 50         temperature = <60000>;
 51 };
 52 
 53 &cpu7_alert1 {
 54         temperature = <65000>;
 55 };
 56 
 57 &cpu7_thermal {
 58         sustainable-power = <1124>;
 59 };
 60 
 61 &cpu8_alert0 {
 62         temperature = <60000>;
 63 };
 64 
 65 &cpu8_alert1 {
 66         temperature = <65000>;
 67 };
 68 
 69 &cpu8_thermal {
 70         sustainable-power = <1124>;
 71 };
 72 
 73 &cpu9_alert0 {
 74         temperature = <60000>;
 75 };
 76 
 77 &cpu9_alert1 {
 78         temperature = <65000>;
 79 };
 80 
 81 &cpu9_thermal {
 82         sustainable-power = <1124>;
 83 };
 84 
 85 &gpio_keys {
 86         status = "okay";
 87 };
 88 
 89 ap_ts_pen_1v8: &i2c4 {
 90         status = "okay";
 91         clock-frequency = <400000>;
 92 
 93         ap_ts: touchscreen@10 {
 94                 compatible = "hid-over-i2c";
 95                 reg = <0x10>;
 96                 pinctrl-names = "default";
 97                 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
 98 
 99                 interrupt-parent = <&tlmm>;
100                 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
101 
102                 panel = <&panel>;
103                 post-power-on-delay-ms = <20>;
104                 hid-descr-addr = <0x0001>;
105 
106                 vdd-supply = <&pp3300_ts>;
107         };
108 };
109 
110 &keyboard_controller {
111         function-row-physmap = <
112                 MATRIX_KEY(0x00, 0x02, 0)       /* T1 */
113                 MATRIX_KEY(0x03, 0x02, 0)       /* T2 */
114                 MATRIX_KEY(0x02, 0x02, 0)       /* T3 */
115                 MATRIX_KEY(0x01, 0x02, 0)       /* T4 */
116                 MATRIX_KEY(0x03, 0x04, 0)       /* T5 */
117                 MATRIX_KEY(0x02, 0x04, 0)       /* T6 */
118                 MATRIX_KEY(0x01, 0x04, 0)       /* T7 */
119                 MATRIX_KEY(0x02, 0x09, 0)       /* T8 */
120                 MATRIX_KEY(0x01, 0x09, 0)       /* T9 */
121                 MATRIX_KEY(0x00, 0x04, 0)       /* T10 */
122         >;
123         linux,keymap = <
124                 MATRIX_KEY(0x00, 0x02, KEY_BACK)
125                 MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
126                 MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
127                 MATRIX_KEY(0x01, 0x02, KEY_SCALE)
128                 MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
129                 MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
130                 MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
131                 MATRIX_KEY(0x02, 0x09, KEY_MUTE)
132                 MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
133                 MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
134 
135                 CROS_STD_MAIN_KEYMAP
136         >;
137 };
138 
139 &panel {
140         compatible = "edp-panel";
141 };
142 
143 &pen_insert {
144         /* Insert = high, eject = low */
145         gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;
146 };
147 
148 &pm6150_adc {
149         channel@4e {
150                 reg = <ADC5_AMUX_THM2_100K_PU>;
151                 qcom,ratiometric;
152                 qcom,hw-settle-time = <200>;
153                 label = "5v_choke_therm";
154         };
155 };
156 
157 &pm6150_adc_tm {
158         status = "okay";
159 
160         5v-choke-thermistor@1 {
161                 reg = <1>;
162                 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
163                 qcom,ratiometric;
164                 qcom,hw-settle-time-us = <200>;
165         };
166 };
167 
168 &sdhc_2 {
169         status = "okay";
170 };
171 
172 &sound {
173         model = "sc7180-rt5682-max98357a-2mic";
174         pinctrl-names = "default";
175         pinctrl-0 = <&dmic_sel>;
176         dmic-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
177 };
178 
179 &usb_c1 {
180         status = "disabled";
181 };
182 
183 &wifi {
184         qcom,ath10k-calibration-variant = "GO_POMPOM";
185 };
186 
187 /* PINCTRL - board-specific pinctrl */
188 
189 &tlmm {
190         gpio-line-names = "TP_INT_ODL",
191                           "AP_RAM_ID0",
192                           "AP_SKU_ID2",
193                           "AP_RAM_ID1",
194                           "",
195                           "AP_RAM_ID2",
196                           "AP_TP_I2C_SDA",
197                           "AP_TP_I2C_SCL",
198                           "TS_RESET_L",
199                           "TS_INT_L",
200                           "",
201                           "EDP_BRIJ_IRQ",
202                           "AP_EDP_BKLTEN",
203                           "",
204                           "",
205                           "EDP_BRIJ_I2C_SDA",
206                           "EDP_BRIJ_I2C_SCL",
207                           "HUB_RST_L",
208                           "",
209                           "",
210                           "",
211                           "",
212                           "",
213                           "AMP_EN",
214                           "P_SENSOR_INT_L",
215                           "AP_SAR_SENSOR_SDA",
216                           "AP_SAR_SENSOR_SCL",
217                           "",
218                           "HP_IRQ",
219                           "",
220                           "EN_PP3300_DX_EDP",
221                           "AP_BRD_ID2",
222                           "BRIJ_SUSPEND",
223                           "AP_BRD_ID0",
224                           "AP_H1_SPI_MISO",
225                           "AP_H1_SPI_MOSI",
226                           "AP_H1_SPI_CLK",
227                           "AP_H1_SPI_CS_L",
228                           "",
229                           "",
230                           "",
231                           "",
232                           "H1_AP_INT_ODL",
233                           "",
234                           "UART_AP_TX_DBG_RX",
235                           "UART_DBG_TX_AP_RX",
236                           "HP_I2C_SDA",
237                           "HP_I2C_SCL",
238                           "FORCED_USB_BOOT",
239                           "AMP_BCLK",
240                           "AMP_LRCLK",
241                           "AMP_DIN",
242                           "PEN_PDCT_L",
243                           "HP_BCLK",
244                           "HP_LRCLK",
245                           "HP_DOUT",
246                           "HP_DIN",
247                           "HP_MCLK",
248                           "AP_SKU_ID0",
249                           "AP_EC_SPI_MISO",
250                           "AP_EC_SPI_MOSI",
251                           "AP_EC_SPI_CLK",
252                           "AP_EC_SPI_CS_L",
253                           "AP_SPI_CLK",
254                           "AP_SPI_MOSI",
255                           "AP_SPI_MISO",
256                           /*
257                            * AP_FLASH_WP_L is crossystem ABI. Schematics
258                            * call it BIOS_FLASH_WP_L.
259                            */
260                           "AP_FLASH_WP_L",
261                           "",
262                           "AP_SPI_CS0_L",
263                           "SD_CD_ODL",
264                           "",
265                           "",
266                           "",
267                           "",
268                           "",
269                           "UIM2_DATA",
270                           "UIM2_CLK",
271                           "UIM2_RST",
272                           "UIM2_PRESENT",
273                           "UIM1_DATA",
274                           "UIM1_CLK",
275                           "UIM1_RST",
276                           "",
277                           "EN_PP3300_CODEC",
278                           "EN_PP3300_HUB",
279                           "",
280                           "DMIC_SEL",
281                           "",
282                           "",
283                           "",
284                           "AP_SKU_ID1",
285                           "AP_RST_REQ",
286                           "",
287                           "AP_BRD_ID1",
288                           "AP_EC_INT_R_L",
289                           "",
290                           "",
291                           "",
292                           "",
293                           "",
294                           "",
295                           "",
296                           "",
297                           "",
298                           "EDP_BRIJ_EN",
299                           "",
300                           "",
301                           "",
302                           "",
303                           "",
304                           "",
305                           "",
306                           "",
307                           "",
308                           "",
309                           "AP_TS_PEN_I2C_SDA",
310                           "AP_TS_PEN_I2C_SCL",
311                           "DP_HOT_PLUG_DET",
312                           "EC_IN_RW_ODL";
313 
314         dmic_sel: dmic-sel-state {
315                 pins = "gpio86";
316                 function = "gpio";
317                 bias-pull-down;
318         };
319 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php