xref: /linux/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Google CoachZ board device tree source
4 *
5 * Copyright 2020 Google LLC.
6 */
7
8/dts-v1/;
9
10#include "sc7180-trogdor-coachz.dtsi"
11
12/ {
13	model = "Google CoachZ (rev1 - 2)";
14	compatible = "google,coachz-rev1", "google,coachz-rev2", "qcom,sc7180";
15};
16
17/*
18 * CoachZ rev1 is stuffed with a 47k NTC as charger thermistor which currently
19 * is not supported by the PM6150 ADC driver. Disable the charger thermal zone
20 * to avoid using bogus temperature values.
21 */
22&charger_thermal {
23	status = "disabled";
24};
25
26&pm6150_adc {
27	/delete-node/ channel@4e;
28	/delete-node/ channel@4f;
29};
30
31&pm6150_adc_tm {
32	status = "disabled";
33
34	/delete-node/ charger-thermistor@0;
35	/delete-node/ skin-temp-thermistor@1;
36};
37
38/*
39 * CoachZ rev1 is stuffed with a 47k NTC as thermistor for skin temperature,
40 * which currently is not supported by the PM6150 ADC driver. Disable the
41 * skin temperature thermal zone to avoid using bogus temperature values.
42 */
43&skin_temp_thermal {
44	status = "disabled";
45};
46
47&tlmm {
48	gpio-line-names = "HUB_RST_L",
49			  "AP_RAM_ID0",
50			  "AP_SKU_ID2",
51			  "AP_RAM_ID1",
52			  "FP_TO_AP_IRQ_L",
53			  "AP_RAM_ID2",
54			  "UF_CAM_EN",
55			  "WF_CAM_EN",
56			  "TS_RESET_L",
57			  "TS_INT_L",
58			  "FPMCU_BOOT0",
59			  "EDP_BRIJ_IRQ",
60			  "AP_EDP_BKLTEN",
61			  "UF_CAM_MCLK",
62			  "WF_CAM_CLK",
63			  "EDP_BRIJ_I2C_SDA",
64			  "EDP_BRIJ_I2C_SCL",
65			  "UF_CAM_SDA",
66			  "UF_CAM_SCL",
67			  "WF_CAM_SDA",
68			  "WF_CAM_SCL",
69			  "WLC_IRQ",
70			  "FP_RST_L",
71			  "AMP_EN",
72			  "WLC_NRST",
73			  "AP_SAR_SENSOR_SDA",
74			  "AP_SAR_SENSOR_SCL",
75			  "",
76			  "",
77			  "WF_CAM_RST_L",
78			  "UF_CAM_RST_L",
79			  "AP_BRD_ID2",
80			  "BRIJ_SUSPEND",
81			  "AP_BRD_ID0",
82			  "AP_H1_SPI_MISO",
83			  "AP_H1_SPI_MOSI",
84			  "AP_H1_SPI_CLK",
85			  "AP_H1_SPI_CS_L",
86			  "",
87			  "",
88			  "",
89			  "",
90			  "H1_AP_INT_ODL",
91			  "",
92			  "UART_AP_TX_DBG_RX",
93			  "UART_DBG_TX_AP_RX",
94			  "",
95			  "",
96			  "FORCED_USB_BOOT",
97			  "AMP_BCLK",
98			  "AMP_LRCLK",
99			  "AMP_DIN",
100			  "EN_PP3300_DX_EDP",
101			  "HP_BCLK",
102			  "HP_LRCLK",
103			  "HP_DOUT",
104			  "HP_DIN",
105			  "HP_MCLK",
106			  "AP_SKU_ID0",
107			  "AP_EC_SPI_MISO",
108			  "AP_EC_SPI_MOSI",
109			  "AP_EC_SPI_CLK",
110			  "AP_EC_SPI_CS_L",
111			  "AP_SPI_CLK",
112			  "AP_SPI_MOSI",
113			  "AP_SPI_MISO",
114			  /*
115			   * AP_FLASH_WP_L is crossystem ABI. Schematics
116			   * call it BIOS_FLASH_WP_L.
117			   */
118			  "AP_FLASH_WP_L",
119			  "",
120			  "AP_SPI_CS0_L",
121			  "SD_CD_ODL",
122			  "",
123			  "",
124			  "",
125			  "",
126			  "FPMCU_SEL",
127			  "UIM2_DATA",
128			  "UIM2_CLK",
129			  "UIM2_RST",
130			  "UIM2_PRESENT_L",
131			  "UIM1_DATA",
132			  "UIM1_CLK",
133			  "UIM1_RST",
134			  "",
135			  "DMIC_CLK_EN",
136			  "HUB_EN",
137			  "",
138			  "AP_SPI_FP_MISO",
139			  "AP_SPI_FP_MOSI",
140			  "AP_SPI_FP_CLK",
141			  "AP_SPI_FP_CS_L",
142			  "AP_SKU_ID1",
143			  "AP_RST_REQ",
144			  "",
145			  "AP_BRD_ID1",
146			  "AP_EC_INT_L",
147			  "",
148			  "",
149			  "",
150			  "",
151			  "",
152			  "",
153			  "",
154			  "",
155			  "",
156			  "EDP_BRIJ_EN",
157			  "",
158			  "",
159			  "",
160			  "",
161			  "",
162			  "",
163			  "",
164			  "",
165			  "",
166			  "",
167			  "AP_TS_PEN_I2C_SDA",
168			  "AP_TS_PEN_I2C_SCL",
169			  "DP_HOT_PLUG_DET",
170			  "EC_IN_RW_ODL";
171};
172