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